text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">in the Carousel Example, I replaced the .navbar-static-top to fixed and I notice when I scroll down the carousel indicator overlaps the dropdown.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6ece22a06c91ec13c3f1717080094f8764dd779928555c29450a8e2ef71315b0/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353135363838342f313133333933312f37633366653133652d316265372d313165332d383365372d6264633962616337656163632e6a7067"><img src="https://camo.githubusercontent.com/6ece22a06c91ec13c3f1717080094f8764dd779928555c29450a8e2ef71315b0/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353135363838342f313133333933312f37633366653133652d316265372d313165332d383365372d6264633962616337656163632e6a7067" alt="error" data-canonical-src="https://f.cloud.github.com/assets/5156884/1133931/7c3fe13e-1be7-11e3-83e7-bdc9bac7eacc.jpg" style="max-width: 100%;"></a></p>
<p dir="auto">When the nav bar is set to fixed-top, the carousel-indicators scroll over the top of the nav bar while the rest of the carousel goes under the nav bar.</p>
1
<p dir="auto">Hello, I'm trying to update from v3 to v4 and am running into an issue where GlideApp is not being generated.</p> <p dir="auto">I have followed the instructions located here <a href="http://bumptech.github.io/glide/doc/configuration.html" rel="nofollow">http://bumptech.github.io/glide/doc/configuration.html</a> and confirmed with a coworker that my implementation looks correct. We only have one AppGlideModule, I did override manifest parsing and return false, and my glide module is in Java (I originally had it in kotlin but <code class="notranslate">kapt</code> was giving me trouble, so I'm just using <code class="notranslate">annotationProcessor</code> instead and converted the file to Java. It's a very simple module as follows:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@GlideModule public class MyGlideModule extends AppGlideModule { @Inject @Named(DEFAULT) OkHttpClient client; public MyGlideModule() { MyApplication.getNetworkComponent().inject(this); } @Override public boolean isManifestParsingEnabled() { return false; } @Override public void applyOptions(Context context, GlideBuilder builder) { super.applyOptions(context, builder); builder.setDefaultRequestOptions( new RequestOptions().format(DecodeFormat.PREFER_ARGB_8888) ); } @Override public void registerComponents(Context context, Glide glide, Registry registry) { super.registerComponents(context, glide, registry); registry.replace( GlideUrl.class, InputStream.class, new OkHttpProgressUrlLoader.Factory(client) ); } }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">GlideModule</span> <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">MyGlideModule</span> <span class="pl-k">extends</span> <span class="pl-smi">AppGlideModule</span> { <span class="pl-c1">@</span><span class="pl-c1">Inject</span> <span class="pl-c1">@</span><span class="pl-c1">Named</span>(<span class="pl-c1">DEFAULT</span>) <span class="pl-smi">OkHttpClient</span> <span class="pl-s1">client</span>; <span class="pl-k">public</span> <span class="pl-smi">MyGlideModule</span>() { <span class="pl-smi">MyApplication</span>.<span class="pl-en">getNetworkComponent</span>().<span class="pl-en">inject</span>(<span class="pl-smi">this</span>); } <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">boolean</span> <span class="pl-en">isManifestParsingEnabled</span>() { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">applyOptions</span>(<span class="pl-smi">Context</span> <span class="pl-s1">context</span>, <span class="pl-smi">GlideBuilder</span> <span class="pl-s1">builder</span>) { <span class="pl-en">super</span>.<span class="pl-en">applyOptions</span>(<span class="pl-s1">context</span>, <span class="pl-s1">builder</span>); <span class="pl-s1">builder</span>.<span class="pl-en">setDefaultRequestOptions</span>( <span class="pl-k">new</span> <span class="pl-smi">RequestOptions</span>().<span class="pl-en">format</span>(<span class="pl-smi">DecodeFormat</span>.<span class="pl-c1">PREFER_ARGB_8888</span>) ); } <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">registerComponents</span>(<span class="pl-smi">Context</span> <span class="pl-s1">context</span>, <span class="pl-smi">Glide</span> <span class="pl-s1">glide</span>, <span class="pl-smi">Registry</span> <span class="pl-s1">registry</span>) { <span class="pl-en">super</span>.<span class="pl-en">registerComponents</span>(<span class="pl-s1">context</span>, <span class="pl-s1">glide</span>, <span class="pl-s1">registry</span>); <span class="pl-s1">registry</span>.<span class="pl-en">replace</span>( <span class="pl-smi">GlideUrl</span>.<span class="pl-k">class</span>, <span class="pl-smi">InputStream</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">OkHttpProgressUrlLoader</span>.<span class="pl-smi">Factory</span>(<span class="pl-s1">client</span>) ); } }</pre></div> <p dir="auto">I don't see any errors pertaining to Glide and I can fully build (clean + build too) but I don't have any generated GlideApp and thus, my module is not being used to replace one of the components as you can see.</p> <p dir="auto"><strong>Glide Version</strong>: 4.0.0</p> <p dir="auto"><strong>Integration libraries</strong>: glide-okhttp3-integration-4.0.0</p> <p dir="auto"><strong>Device/Android Version</strong>: N/A</p> <p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>: Noted Above</p> <p dir="auto">I was able to generate a GlideApp in a small sample project so I'm curious if anyone has any guesses as to why it's not working in a larger project.</p>
<p dir="auto">I'm trying to use glide 4.0.0-RC0 by Gradle:</p> <div class="highlight highlight-source-groovy-gradle notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dependencies { compile 'com.android.support:appcompat-v7:25.1.0' compile 'com.caverock:androidsvg:1.2.2-beta-1' compile 'com.github.bumptech.glide:glide:4.0.0-RC0' compile 'com.android.support:support-v4:25.3.1' }"><pre class="notranslate"><span class="pl-en">dependencies</span> { compile <span class="pl-s"><span class="pl-pds">'</span>com.android.support:appcompat-v7:25.1.0<span class="pl-pds">'</span></span> compile <span class="pl-s"><span class="pl-pds">'</span>com.caverock:androidsvg:1.2.2-beta-1<span class="pl-pds">'</span></span> compile <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:glide:4.0.0-RC0<span class="pl-pds">'</span></span> compile <span class="pl-s"><span class="pl-pds">'</span>com.android.support:support-v4:25.3.1<span class="pl-pds">'</span></span> }</pre></div> <p dir="auto">I followed the example here: <a href="https://github.com/bumptech/glide/tree/master/samples/svg/src/main/java/com/bumptech/glide/samples/svg">https://github.com/bumptech/glide/tree/master/samples/svg/src/main/java/com/bumptech/glide/samples/svg</a><br> but after add glide by Gradle, I got error: <strong>Cannot resolve symbol 'GlideApp'</strong><br> My source:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="package com.example.quangson.glidesvg; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import static com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions.withCrossFade; import android.content.ContentResolver; import android.graphics.drawable.PictureDrawable; import android.net.Uri; import android.widget.ImageView; import android.widget.LinearLayout; import com.bumptech.glide.RequestBuilder; import com.example.quangson.glidesvg.glide.SvgSoftwareLayerSetter; public class MainActivity extends AppCompatActivity { private static final String TAG = &quot;SVGActivity&quot;; private ImageView imageViewRes; private ImageView imageViewNet; private RequestBuilder&lt;PictureDrawablerequestBuilder; LinearLayout ll; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); imageViewNet = (ImageView) findViewById(R.id.svg_image_view2); requestBuilder = GlideApp.with(this) .as(PictureDrawable.class) .placeholder(R.drawable.image_loading) .error(R.drawable.image_error) .transition(withCrossFade()) .listener(new SvgSoftwareLayerSetter()); Uri uri = Uri.parse(&quot;http://www.clker.com/cliparts/u/Z/2/b/a/6/android-toy-h.svg&quot;); requestBuilder.load(uri).into(imageViewNet); } }"><pre class="notranslate"><span class="pl-k">package</span> <span class="pl-s1">com</span>.<span class="pl-s1">example</span>.<span class="pl-s1">quangson</span>.<span class="pl-s1">glidesvg</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">support</span>.<span class="pl-s1">v7</span>.<span class="pl-s1">app</span>.<span class="pl-s1">AppCompatActivity</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">os</span>.<span class="pl-s1">Bundle</span>; <span class="pl-k">import</span> <span class="pl-k">static</span> <span class="pl-s1">com</span>.<span class="pl-s1">bumptech</span>.<span class="pl-s1">glide</span>.<span class="pl-s1">load</span>.<span class="pl-s1">resource</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">DrawableTransitionOptions</span>.<span class="pl-s1">withCrossFade</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">content</span>.<span class="pl-s1">ContentResolver</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">graphics</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">PictureDrawable</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">net</span>.<span class="pl-s1">Uri</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">widget</span>.<span class="pl-s1">ImageView</span>; <span class="pl-k">import</span> <span class="pl-s1">android</span>.<span class="pl-s1">widget</span>.<span class="pl-s1">LinearLayout</span>; <span class="pl-k">import</span> <span class="pl-s1">com</span>.<span class="pl-s1">bumptech</span>.<span class="pl-s1">glide</span>.<span class="pl-s1">RequestBuilder</span>; <span class="pl-k">import</span> <span class="pl-s1">com</span>.<span class="pl-s1">example</span>.<span class="pl-s1">quangson</span>.<span class="pl-s1">glidesvg</span>.<span class="pl-s1">glide</span>.<span class="pl-s1">SvgSoftwareLayerSetter</span>; <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">MainActivity</span> <span class="pl-k">extends</span> <span class="pl-smi">AppCompatActivity</span> { <span class="pl-k">private</span> <span class="pl-k">static</span> <span class="pl-k">final</span> <span class="pl-smi">String</span> <span class="pl-c1">TAG</span> = <span class="pl-s">"SVGActivity"</span>; <span class="pl-k">private</span> <span class="pl-smi">ImageView</span> <span class="pl-s1">imageViewRes</span>; <span class="pl-k">private</span> <span class="pl-smi">ImageView</span> <span class="pl-s1">imageViewNet</span>; <span class="pl-k">private</span> <span class="pl-s1">RequestBuilder</span>&lt;<span class="pl-smi">PictureDrawablerequestBuilder</span>; <span class="pl-smi">LinearLayout</span> <span class="pl-s1">ll</span>; <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">protected</span> <span class="pl-smi">void</span> <span class="pl-en">onCreate</span>(<span class="pl-smi">Bundle</span> <span class="pl-s1">savedInstanceState</span>) { <span class="pl-en">super</span>.<span class="pl-en">onCreate</span>(<span class="pl-s1">savedInstanceState</span>); <span class="pl-en">setContentView</span>(<span class="pl-smi">R</span>.<span class="pl-s1">layout</span>.<span class="pl-s1">activity_main</span>); <span class="pl-s1">imageViewNet</span> = (<span class="pl-smi">ImageView</span>) <span class="pl-en">findViewById</span>(<span class="pl-smi">R</span>.<span class="pl-s1">id</span>.<span class="pl-s1">svg_image_view2</span>); <span class="pl-s1">requestBuilder</span> = <span class="pl-smi">GlideApp</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>) .<span class="pl-en">as</span>(<span class="pl-smi">PictureDrawable</span>.<span class="pl-k">class</span>) .<span class="pl-en">placeholder</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">image_loading</span>) .<span class="pl-en">error</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">image_error</span>) .<span class="pl-en">transition</span>(<span class="pl-en">withCrossFade</span>()) .<span class="pl-en">listener</span>(<span class="pl-k">new</span> <span class="pl-smi">SvgSoftwareLayerSetter</span>()); <span class="pl-smi">Uri</span> <span class="pl-s1">uri</span> = <span class="pl-smi">Uri</span>.<span class="pl-en">parse</span>(<span class="pl-s">"http://www.clker.com/cliparts/u/Z/2/b/a/6/android-toy-h.svg"</span>); <span class="pl-s1">requestBuilder</span>.<span class="pl-en">load</span>(<span class="pl-s1">uri</span>).<span class="pl-en">into</span>(<span class="pl-s1">imageViewNet</span>); } }</pre></div> <p dir="auto">Please help</p>
1
<p dir="auto">Not sure how to describe how the navbar looks but it doesn't look right in FF on the Google Nexus 7 tablet. The top portion of the navbar is obscured by the browser address bar. The navbar may well be slightly aligned too far left but that may be my eyes.</p> <p dir="auto">Please see the navbar on the official Bootstrap 3 site as an example.</p>
<p dir="auto">Right now you can only specify one breakpoint of pull/push/offset which then applies to all viewport sizes. I can't think of any situation where this would work, since most likely the entire reason I want to push/pull/offset is to deal with a specific viewport size.</p> <p dir="auto">Suggestion: add col-sm-offset (or col-md as I suggest in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="17326623" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/8755" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/8755/hovercard" href="https://github.com/twbs/bootstrap/issues/8755">#8755</a>), col-lg-offset, col-sm-push, col-lg-push, etc. variations.</p>
0
<p dir="auto">OS: Windows</p> <ol dir="auto"> <li>open the built-in terminal</li> <li>run command that produces a bunch of output such as 'npm list' or cat a file</li> <li>try to scroll up to reveal text that was already scrolled out of sight<br> -&gt; content is scrolled to the left (and then gets stuck)<br> -&gt; there is no reliable way to get the terminal back into a 'normal' state; sometime Enter works, sometimes not</li> </ol> <p dir="auto">Here is a <a href="https://www.dropbox.com/s/y0x7m77ys8xne3v/scroll-issue.mov?dl=0" rel="nofollow">screen recording</a>.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156234819" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/6658" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/6658/hovercard" href="https://github.com/microsoft/vscode/issues/6658">#6658</a></p> <ul dir="auto"> <li>VSCode Version: alpha</li> <li>OS Version: os x</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>debug the Typescript repo - checker.ts</li> <li>notice that we only show 100 variables, currently there is no way to show all the 900 variables</li> <li>we could offer the user an option to list all variables - for example via a context menu action on the scope</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1926584/15499899/aaa160d0-21a6-11e6-8c6b-3971a628fb37.png"><img src="https://cloud.githubusercontent.com/assets/1926584/15499899/aaa160d0-21a6-11e6-8c6b-3971a628fb37.png" alt="screen shot 2016-05-24 at 11 57 05" style="max-width: 100%;"></a></p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report [x] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report [x] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">The <code class="notranslate">canLoad</code> guard is called with the <code class="notranslate">Route</code> as the only argument.</p> <p dir="auto"><strong>Expected/desired behavior</strong></p> <p dir="auto">The <code class="notranslate">RouterStateSnapshot</code> of the future state is provided so the URL can be stored. The use case would be redirecting the user to a login page, then returning to the previously attempted URL after logging in.</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://plnkr.co" rel="nofollow">https://plnkr.co</a> or similar (you can use this template as a starting point: <a href="http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5" rel="nofollow">http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5</a>).</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-rc.X</li> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li> <li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</li> </ul> <p dir="auto">cc: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vsavkin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vsavkin">@vsavkin</a></p>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[] bug report =&gt; search github for a similar issue or PR before submitting [x] feature request [ ] support request =&gt;"><pre class="notranslate"><code class="notranslate">[] bug report =&gt; search github for a similar issue or PR before submitting [x] feature request [ ] support request =&gt; </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> I try to implement simple app with silent login via auth token (sessionId). If no sessionId provided- fallback to login via username/password.<br> If i try to navigate to component from synchronously loaded module - in can be protected with CanActivate guard - we have ActivatedRouteSnapshot with query parameters. If i try to navigate to a lazily loaded component - it is prtoected with CanLoad guard.<br> CanLoad guard has no access query parameter (?&amp;) or parameter in matrix notation(;) from browser address string - has no ActivatedRouteSnapshot parameter.</p> <p dir="auto"><strong>Expected behavior</strong><br> i expect, that query parameters (or matrix notation parameters) are available in CanLoad guard via ActivatedRoute parameter.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> <a href="http://plnkr.co" rel="nofollow">http://plnkr.co</a> has no possibility to use many html pages -&gt; i have prepared modified sample of heroes app from tutorial <a href="https://angular.io/docs/ts/latest/guide/router.html" rel="nofollow">https://angular.io/docs/ts/latest/guide/router.html</a>.<br> Modified sample can be found at <a href="https://github.com/adoris/tour-of-heroes">https://github.com/adoris/tour-of-heroes</a></p> <ol dir="auto"> <li>load and prepare app from: <a href="https://github.com/adoris/tour-of-heroes.git">https://github.com/adoris/tour-of-heroes.git</a></li> <li>ng serve</li> <li>call browser <a href="http://localhost:4200/index_angular2.html" rel="nofollow">http://localhost:4200/index_angular2.html</a></li> <li>use any link. First link works as expected with login page.<br> All other links must be processed without login page, but login page displayed.</li> </ol> <p dir="auto">If I call app with this links from my sample app - i want to proceed without login-screen:<br> <a href="http://localhost:4200/hero/13?SessionId=98765&amp;Extras1=testextras" rel="nofollow">http://localhost:4200/hero/13?SessionId=98765&amp;Extras1=testextras</a><br> <a href="http://localhost:4200/heroes;id=13;SessionId=98765;Extras1=testextras" rel="nofollow">http://localhost:4200/heroes;id=13;SessionId=98765;Extras1=testextras</a></p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> angular-cli, windows, vs code.</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.1.0</li> </ul>
1
<h3 dir="auto">Describe the workflow you want to enable</h3> <p dir="auto">I want to be able to run Forward Sequential Feature Selector and know the order which it picked the features.<br> Right now you can only get the indices or a boolean mask of all the features you've selected. Of course, you can run it once and select 1 feature, then run it again and select 2 features, and continue this to pull out the order that features were selected. However, this would be unnecessarily computationally costly.</p> <h3 dir="auto">Describe your proposed solution</h3> <p dir="auto">Add an attribute <code class="notranslate">feature_order</code>. I should be able to do <code class="notranslate">SequentialFeatureSelector.feature_order</code> and get an array of the indices of the features as they are selected.<br> I edited the source code (sklearn/feature_selection/_sequential.py) on my laptop with just 3 lines of code and it works.<br> Under the function <code class="notranslate">def fit(...)</code> I added:</p> <blockquote> <p dir="auto">feature_order = [] # before the for loop<br> feature_order.append(new_feature_idx) # this is at the end of the for loop<br> self.feature_order = feature_order # at the end of the function</p> </blockquote> <h3 dir="auto">Describe alternatives you've considered, if relevant</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional context</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto">Is it currently possible to extract the order in which the features in the sequential feature selection transformer are selected?<br> Similar to the ranking in the RFE transformer for example.</p>
1
<p dir="auto">It's very important that declaring a class field with <code class="notranslate">declare x</code> does <em>not</em> emit a real field.</p> <p dir="auto">See this example (<a href="https://www.typescriptlang.org/play?useDefineForClassFields=true&amp;target=99&amp;isolatedModules=true&amp;ts=4.4.4#code/KYDwDg9gTgLgBAYwDYEMDOa4DEITgbwFgAoOMuEALjgDsBXAWwCNgoBuE8xCGtGKOghjQAFFVqMWUAJQFOXcjAAWASzQA6EHAC8FDqXIBfEseIlQkWIlQY4AIRRQ4oGMBoATTDjxEDZd8DIjsAU1ACMAEwAzPpcCDx8AkKisr4K5Gh0YKwikVHSsUYmQA" rel="nofollow">playground link</a>):</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export class Foo { x: number; constructor(x: number) { this.x = x; } } export class Bar extends Foo { declare x: 123; constructor() { super(123); } }"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">number</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">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">Bar</span> <span class="pl-k">extends</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-k">declare</span> <span class="pl-c1">x</span>: <span class="pl-c1">123</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-c1">123</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">Correctly compiled by TSC:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export class Foo { x; constructor(x) { this.x = x; } } export class Bar extends Foo { constructor() { super(123); } }"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">x</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">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">Bar</span> <span class="pl-k">extends</span> <span class="pl-v">Foo</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-c1">123</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">Incorrectly emitted by Deno:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" class Foo { x; constructor(x){ this.x = x; } } class Bar extends Foo { x; // &lt;-- should not be here constructor(){ super(123); } }"><pre class="notranslate"> <span class="pl-k">class</span> <span class="pl-v">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">x</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">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Bar</span> <span class="pl-k">extends</span> <span class="pl-v">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;-- should not be here</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-c1">123</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 Foo and Bar have two completely different fields named <code class="notranslate">x</code>. The <code class="notranslate">declare</code> keyword is supposed to give you a way around this.</p>
<p dir="auto">In the code sample below, the parent Example class sets thing to the first arg of the constructor. For the child class, the constructor knows that the super constructor sets thing to the first arg, so it doesn't assign it directly. If I try declaring the type for the thing property on the Example2 class, I get warnings for deno-ts 2564 and 2612. As shown in the screenshot below, one of the recommended fixes is "Prefix with 'declare'" and it resolves the issue.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3241653/120904922-6e78fb00-c614-11eb-8087-9b25835e0dff.png"><img src="https://user-images.githubusercontent.com/3241653/120904922-6e78fb00-c614-11eb-8087-9b25835e0dff.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">If I try using the declared property, it doesn't show any warnings or errors.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3241653/120904973-bbf56800-c614-11eb-9596-153b8c0fd216.png"><img src="https://user-images.githubusercontent.com/3241653/120904973-bbf56800-c614-11eb-9596-153b8c0fd216.png" alt="image" style="max-width: 100%;"></a></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { assertEquals } from &quot;https://deno.land/[email protected]/testing/asserts.ts&quot;; interface Thing { x: number; y: number; } interface Thing2 extends Thing { z: number; } class Example { thing: Thing; constructor(thing: Thing) { this.thing = thing; } } Deno.test(&quot;example 1&quot;, () =&gt; { const example = new Example({x:2, y:3}); const {x, y} = example.thing; assertEquals(x * y, 6); }) class Example2 extends Example { declare thing: Thing2; constructor(thing: Thing2) { super(thing); } } Deno.test(&quot;example 2&quot;, () =&gt; { const example = new Example2({x:2, y:3, z:4}); const {x, y, z} = example.thing; assertEquals(x * y * z, 24); })"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">assertEquals</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/[email protected]/testing/asserts.ts"</span><span class="pl-kos">;</span> <span class="pl-k">interface</span> <span class="pl-smi">Thing</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-c1">y</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">interface</span> <span class="pl-smi">Thing2</span> <span class="pl-k">extends</span> <span class="pl-smi">Thing</span> <span class="pl-kos">{</span> <span class="pl-c1">z</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">Example</span> <span class="pl-kos">{</span> <span class="pl-c1">thing</span>: <span class="pl-smi">Thing</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">thing</span>: <span class="pl-smi">Thing</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">thing</span> <span class="pl-c1">=</span> <span class="pl-s1">thing</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"example 1"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">example</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">Example</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">x</span>:<span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">y</span>:<span class="pl-c1">3</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-kos">{</span>x<span class="pl-kos">,</span> y<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">example</span><span class="pl-kos">.</span><span class="pl-c1">thing</span><span class="pl-kos">;</span> <span class="pl-en">assertEquals</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">*</span> <span class="pl-s1">y</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-smi">Example2</span> <span class="pl-k">extends</span> <span class="pl-smi">Example</span> <span class="pl-kos">{</span> <span class="pl-k">declare</span> <span class="pl-c1">thing</span>: <span class="pl-smi">Thing2</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">thing</span>: <span class="pl-smi">Thing2</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">thing</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"example 2"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">example</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">Example2</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">x</span>:<span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">y</span>:<span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">z</span>:<span class="pl-c1">4</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-kos">{</span>x<span class="pl-kos">,</span> y<span class="pl-kos">,</span> z<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">example</span><span class="pl-kos">.</span><span class="pl-c1">thing</span><span class="pl-kos">;</span> <span class="pl-en">assertEquals</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">*</span> <span class="pl-s1">y</span> <span class="pl-c1">*</span> <span class="pl-s1">z</span><span class="pl-kos">,</span> <span class="pl-c1">24</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">If I run the above deno tests, the results change after using --no-check. In the example below, the first 2 runs without --no-check are successful. As soon as I run with --no-check, the example 2 test case fails with an error saying "TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined.". The following 2 runs without --no-check now fail with the same error. The only way to get the error go away without --no-check is to edit the file, but if I run deno test with --no-check again, it ends up causing the issue to happen again. I believe the correct behavior would be for the tests to pass with or without the --no-check flag.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (3ms) test example 2 ... ok (1ms) test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (631ms) $ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (1ms) test example 2 ... ok (2ms) test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (625ms) $ deno test --no-check example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (3ms) test example 2 ... FAILED (1ms) failures: example 2 TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined. at file:///home/kyle/Projects/deno/oauth2_server/example_test.ts:36:10 at asyncOpSanitizer (deno:runtime/js/40_testing.js:21:15) at resourceSanitizer (deno:runtime/js/40_testing.js:58:13) at exitSanitizer (deno:runtime/js/40_testing.js:85:15) at runTest (deno:runtime/js/40_testing.js:199:13) at Object.runTests (deno:runtime/js/40_testing.js:244:13) at async file:///home/kyle/Projects/deno/oauth2_server/$deno$test.js:1:1 failures: example 2 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out (41ms) $ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (1ms) test example 2 ... FAILED (2ms) failures: example 2 TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined. at file:///home/kyle/Projects/deno/oauth2_server/example_test.ts:36:10 at asyncOpSanitizer (deno:runtime/js/40_testing.js:21:15) at resourceSanitizer (deno:runtime/js/40_testing.js:58:13) at exitSanitizer (deno:runtime/js/40_testing.js:85:15) at runTest (deno:runtime/js/40_testing.js:199:13) at Object.runTests (deno:runtime/js/40_testing.js:244:13) at async file:///home/kyle/Projects/deno/oauth2_server/$deno$test.js:1:1 failures: example 2 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out (617ms) $ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (3ms) test example 2 ... FAILED (1ms) failures: example 2 TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined. at file:///home/kyle/Projects/deno/oauth2_server/example_test.ts:36:10 at asyncOpSanitizer (deno:runtime/js/40_testing.js:21:15) at resourceSanitizer (deno:runtime/js/40_testing.js:58:13) at exitSanitizer (deno:runtime/js/40_testing.js:85:15) at runTest (deno:runtime/js/40_testing.js:199:13) at Object.runTests (deno:runtime/js/40_testing.js:244:13) at async file:///home/kyle/Projects/deno/oauth2_server/$deno$test.js:1:1 failures: example 2 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out (641ms)"><pre class="notranslate"><code class="notranslate">$ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (3ms) test example 2 ... ok (1ms) test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (631ms) $ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (1ms) test example 2 ... ok (2ms) test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (625ms) $ deno test --no-check example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (3ms) test example 2 ... FAILED (1ms) failures: example 2 TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined. at file:///home/kyle/Projects/deno/oauth2_server/example_test.ts:36:10 at asyncOpSanitizer (deno:runtime/js/40_testing.js:21:15) at resourceSanitizer (deno:runtime/js/40_testing.js:58:13) at exitSanitizer (deno:runtime/js/40_testing.js:85:15) at runTest (deno:runtime/js/40_testing.js:199:13) at Object.runTests (deno:runtime/js/40_testing.js:244:13) at async file:///home/kyle/Projects/deno/oauth2_server/$deno$test.js:1:1 failures: example 2 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out (41ms) $ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (1ms) test example 2 ... FAILED (2ms) failures: example 2 TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined. at file:///home/kyle/Projects/deno/oauth2_server/example_test.ts:36:10 at asyncOpSanitizer (deno:runtime/js/40_testing.js:21:15) at resourceSanitizer (deno:runtime/js/40_testing.js:58:13) at exitSanitizer (deno:runtime/js/40_testing.js:85:15) at runTest (deno:runtime/js/40_testing.js:199:13) at Object.runTests (deno:runtime/js/40_testing.js:244:13) at async file:///home/kyle/Projects/deno/oauth2_server/$deno$test.js:1:1 failures: example 2 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out (617ms) $ deno test example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts Check file:///home/kyle/Projects/deno/oauth2_server/example_test.ts running 2 tests from file:///home/kyle/Projects/deno/oauth2_server/example_test.ts test example 1 ... ok (3ms) test example 2 ... FAILED (1ms) failures: example 2 TypeError: Cannot destructure property 'x' of 'example.thing' as it is undefined. at file:///home/kyle/Projects/deno/oauth2_server/example_test.ts:36:10 at asyncOpSanitizer (deno:runtime/js/40_testing.js:21:15) at resourceSanitizer (deno:runtime/js/40_testing.js:58:13) at exitSanitizer (deno:runtime/js/40_testing.js:85:15) at runTest (deno:runtime/js/40_testing.js:199:13) at Object.runTests (deno:runtime/js/40_testing.js:244:13) at async file:///home/kyle/Projects/deno/oauth2_server/$deno$test.js:1:1 failures: example 2 test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out (641ms) </code></pre></div> <p dir="auto">I'm using the latest version of deno.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno 1.10.3 (release, x86_64-unknown-linux-gnu) v8 9.1.269.27 typescript 4.2.2"><pre class="notranslate"><code class="notranslate">deno 1.10.3 (release, x86_64-unknown-linux-gnu) v8 9.1.269.27 typescript 4.2.2 </code></pre></div>
1
<h4 dir="auto">Issue Description</h4> <p dir="auto">I was writing my code for a problem and testing an output of one of my variables when I got the error message that says "SyntaxError: Illegal return statement".</p> <p dir="auto">I figured it it might be some additional code messing it up so I commented out things progressively until I finally just decided to comment out everything in the scope of the function and just return a plane number, and it is still giving me this error.</p> <p dir="auto">I tried the hard refresh and clearing the local storage, and I still cannot get the issue to clear.</p> <h4 dir="auto">Browser Information</h4> <p dir="auto">*I am using the most updated version of Google Chrome 2016</p> <ul dir="auto"> <li>I am using Windows 8</li> </ul> <h4 dir="auto">Your Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function sumPrimes(num) { //var primes = []; //var x = 2; //do { // var wilsonTheorem = 0; //for (var i = 1; i &lt;= 13; i++){ //wilsonTheorem += (i-1); // } /* if (wilsonTheorem%x &gt; 2){ primes.push(x); } x++; } while (primes.length != num);*/ return 5; } sumPrimes(3);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">sumPrimes</span><span class="pl-kos">(</span><span class="pl-s1">num</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">//var primes = [];</span> <span class="pl-c">//var x = 2;</span> <span class="pl-c">//do {</span> <span class="pl-c">// var wilsonTheorem = 0;</span> <span class="pl-c">//for (var i = 1; i &lt;= 13; i++){</span> <span class="pl-c">//wilsonTheorem += (i-1);</span> <span class="pl-c">// }</span> <span class="pl-c">/* if (wilsonTheorem%x &gt; 2){</span> <span class="pl-c"> primes.push(x);</span> <span class="pl-c"> }</span> <span class="pl-c"></span> <span class="pl-c"> x++;</span> <span class="pl-c"></span> <span class="pl-c"> } while (primes.length != num);*/</span> <span class="pl-k">return</span> <span class="pl-c1">5</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">sumPrimes</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <h4 dir="auto">Screenshot</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/17515551/14271213/8ff87678-fac4-11e5-8b7c-7d1dc7756d1e.png"><img src="https://cloud.githubusercontent.com/assets/17515551/14271213/8ff87678-fac4-11e5-8b7c-7d1dc7756d1e.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a href="https://gyazo.com/34f611dc15cbf4f756b835338504e63f" rel="nofollow"><img src="https://camo.githubusercontent.com/7404e8fe236131ff6b8770f3cc234b1d918f9a669891d0fa451849213d95c4c2/68747470733a2f2f692e6779617a6f2e636f6d2f33346636313164633135636266346637353662383335333338353034653633662e706e67" alt="https://gyazo.com/34f611dc15cbf4f756b835338504e63f" data-canonical-src="https://i.gyazo.com/34f611dc15cbf4f756b835338504e63f.png" style="max-width: 100%;"></a></p>
0
<h3 dir="auto">Describe the bug</h3> <div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[sklearn/feature_extraction/text.py]n _preprocess(doc, accent_function, lower) 69 &quot;&quot;&quot; 70 if lower: ---&gt; 71 doc = doc.lower() 72 if accent_function is not None: 73 doc = accent_function(doc) AttributeError: 'list' object has no attribute 'lower'"><pre class="notranslate">[sklearn/feature_extraction/text.py]n _preprocess(doc, accent_function, lower) <span class="pl-c1">69</span> <span class="pl-s"><span class="pl-pds">"""</span></span> <span class="pl-c1">70</span> <span class="pl-k">if</span> lower: ---&gt; 71 doc = doc.lower() <span class="pl-c1">72</span> <span class="pl-k">if</span> accent_function <span class="pl-k">is</span> <span class="pl-k">not</span> <span class="pl-c1">None</span>: <span class="pl-c1">73</span> doc <span class="pl-k">=</span> accent_function(doc) <span class="pl-en">AttributeError</span>: <span class="pl-s">'list' object has no attribute 'lower'</span></pre></div> <h3 dir="auto">Steps/Code to Reproduce</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def cosine_similarity_T(k, query): print(&quot;1&quot;) preprocessed_query = re.sub(&quot;\W+&quot;, &quot; &quot;, query).strip() print(&quot;2&quot;) tokens = word_tokenize(str(preprocessed_query)) q_df = pd.DataFrame(columns=['q_clean']) q_df.loc[0,'q_clean'] =tokens q_df['q_clean'] =q_df['q_clean'].apply(lambda x: remove_stopwords(x)) d_cosines = [] print(&quot;3&quot;) query_vector = gen_vector_T(q_df['q_clean']) for d in vectors.A: d_cosines.append(cosine_sim(query_vector, d)) out = np.array(d_cosines).argsort()[-k:][::-1] #print(&quot;&quot;) d_cosines.sort() a = pd.DataFrame() for i,index in enumerate(out): a.loc[i,'index'] = str(index) a.loc[i,'Subject'] = df['Subject'][index] for j,simScore in enumerate(d_cosines[-k:][::-1]): a.loc[j,'Score'] = simScore return "><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">cosine_similarity_T</span>(<span class="pl-s1">k</span>, <span class="pl-s1">query</span>): <span class="pl-en">print</span>(<span class="pl-s">"1"</span>) <span class="pl-s1">preprocessed_query</span> <span class="pl-c1">=</span> <span class="pl-s1">re</span>.<span class="pl-en">sub</span>(<span class="pl-s">"\W+"</span>, <span class="pl-s">" "</span>, <span class="pl-s1">query</span>).<span class="pl-en">strip</span>() <span class="pl-en">print</span>(<span class="pl-s">"2"</span>) <span class="pl-s1">tokens</span> <span class="pl-c1">=</span> <span class="pl-en">word_tokenize</span>(<span class="pl-en">str</span>(<span class="pl-s1">preprocessed_query</span>)) <span class="pl-s1">q_df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'q_clean'</span>]) <span class="pl-s1">q_df</span>.<span class="pl-s1">loc</span>[<span class="pl-c1">0</span>,<span class="pl-s">'q_clean'</span>] <span class="pl-c1">=</span><span class="pl-s1">tokens</span> <span class="pl-s1">q_df</span>[<span class="pl-s">'q_clean'</span>] <span class="pl-c1">=</span><span class="pl-s1">q_df</span>[<span class="pl-s">'q_clean'</span>].<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-en">remove_stopwords</span>(<span class="pl-s1">x</span>)) <span class="pl-s1">d_cosines</span> <span class="pl-c1">=</span> [] <span class="pl-en">print</span>(<span class="pl-s">"3"</span>) <span class="pl-s1">query_vector</span> <span class="pl-c1">=</span> <span class="pl-en">gen_vector_T</span>(<span class="pl-s1">q_df</span>[<span class="pl-s">'q_clean'</span>]) <span class="pl-k">for</span> <span class="pl-s1">d</span> <span class="pl-c1">in</span> <span class="pl-s1">vectors</span>.<span class="pl-v">A</span>: <span class="pl-s1">d_cosines</span>.<span class="pl-en">append</span>(<span class="pl-en">cosine_sim</span>(<span class="pl-s1">query_vector</span>, <span class="pl-s1">d</span>)) <span class="pl-s1">out</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">d_cosines</span>).<span class="pl-en">argsort</span>()[<span class="pl-c1">-</span><span class="pl-s1">k</span>:][::<span class="pl-c1">-</span><span class="pl-c1">1</span>] <span class="pl-c">#print("")</span> <span class="pl-s1">d_cosines</span>.<span class="pl-en">sort</span>() <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>() <span class="pl-k">for</span> <span class="pl-s1">i</span>,<span class="pl-s1">index</span> <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>(<span class="pl-s1">out</span>): <span class="pl-s1">a</span>.<span class="pl-s1">loc</span>[<span class="pl-s1">i</span>,<span class="pl-s">'index'</span>] <span class="pl-c1">=</span> <span class="pl-en">str</span>(<span class="pl-s1">index</span>) <span class="pl-s1">a</span>.<span class="pl-s1">loc</span>[<span class="pl-s1">i</span>,<span class="pl-s">'Subject'</span>] <span class="pl-c1">=</span> <span class="pl-s1">df</span>[<span class="pl-s">'Subject'</span>][<span class="pl-s1">index</span>] <span class="pl-k">for</span> <span class="pl-s1">j</span>,<span class="pl-s1">simScore</span> <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>(<span class="pl-s1">d_cosines</span>[<span class="pl-c1">-</span><span class="pl-s1">k</span>:][::<span class="pl-c1">-</span><span class="pl-c1">1</span>]): <span class="pl-s1">a</span>.<span class="pl-s1">loc</span>[<span class="pl-s1">j</span>,<span class="pl-s">'Score'</span>] <span class="pl-c1">=</span> <span class="pl-s1">simScore</span> <span class="pl-k">return</span> </pre></div> <h3 dir="auto">Expected Results</h3> <p dir="auto">ist gets converted to lowercase as well</p> <h3 dir="auto">Actual Results</h3> <p dir="auto">only string gets converted to lowecase</p> <h3 dir="auto">Versions</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="wish we could have that functionality to convert a list to lowercase too as we do for a string"><pre class="notranslate">wish we could have that functionality to convert a list to lowercase too as we <span class="pl-k">do</span> <span class="pl-k">for</span> a string</pre></div>
<p dir="auto">I wonder if we should allow <code class="notranslate">(n_samples, 1)</code> input to CountVectorizer. I think we had this discussion before, right now we basically have a special case in <code class="notranslate">ColumnTransformer</code> with scalar columns to produce 1d arrays.<br> Does anyone remember where this discussion was?</p> <p dir="auto">A lot of my students are struggling with putting a CountVectorizer into a ColumnTransformer and it might be nice to be more generous with the input formats, and ensure we raise nice error messages.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd from sklearn.feature_extraction.text import CountVectorizer X = pd.DataFrame([&quot;what is my purpose?&quot;, &quot;You bring the butter.&quot;]) CountVectorizer().fit_transform(X)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">feature_extraction</span>.<span class="pl-s1">text</span> <span class="pl-k">import</span> <span class="pl-v">CountVectorizer</span> <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([<span class="pl-s">"what is my purpose?"</span>, <span class="pl-s">"You bring the butter."</span>]) <span class="pl-v">CountVectorizer</span>().<span class="pl-en">fit_transform</span>(<span class="pl-v">X</span>)</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) &lt;ipython-input-6-6cae33e8c706&gt; in &lt;module&gt; 3 from sklearn.compose import ColumnTransformer 4 X = pd.DataFrame([&quot;what is my purpose?&quot;, &quot;You bring the butter.&quot;]) ----&gt; 5 CountVectorizer().fit_transform(X) ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in fit_transform(self, raw_documents, y) 1218 1219 vocabulary, X = self._count_vocab(raw_documents, -&gt; 1220 self.fixed_vocabulary_) 1221 1222 if self.binary: ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in _count_vocab(self, raw_documents, fixed_vocab) 1129 for doc in raw_documents: 1130 feature_counter = {} -&gt; 1131 for feature in analyze(doc): 1132 try: 1133 feature_idx = vocabulary[feature] ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in _analyze(doc, analyzer, tokenizer, ngrams, preprocessor, decoder, stop_words) 101 else: 102 if preprocessor is not None: --&gt; 103 doc = preprocessor(doc) 104 if tokenizer is not None: 105 doc = tokenizer(doc) ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in _preprocess(doc, accent_function, lower) 66 &quot;&quot;&quot; 67 if lower: ---&gt; 68 doc = doc.lower() 69 if accent_function is not None: 70 doc = accent_function(doc) AttributeError: 'int' object has no attribute 'lower'"><pre lang="pythontb" class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) &lt;ipython-input-6-6cae33e8c706&gt; in &lt;module&gt; 3 from sklearn.compose import ColumnTransformer 4 X = pd.DataFrame(["what is my purpose?", "You bring the butter."]) ----&gt; 5 CountVectorizer().fit_transform(X) ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in fit_transform(self, raw_documents, y) 1218 1219 vocabulary, X = self._count_vocab(raw_documents, -&gt; 1220 self.fixed_vocabulary_) 1221 1222 if self.binary: ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in _count_vocab(self, raw_documents, fixed_vocab) 1129 for doc in raw_documents: 1130 feature_counter = {} -&gt; 1131 for feature in analyze(doc): 1132 try: 1133 feature_idx = vocabulary[feature] ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in _analyze(doc, analyzer, tokenizer, ngrams, preprocessor, decoder, stop_words) 101 else: 102 if preprocessor is not None: --&gt; 103 doc = preprocessor(doc) 104 if tokenizer is not None: 105 doc = tokenizer(doc) ~/miniconda3/lib/python3.7/site-packages/sklearn/feature_extraction/text.py in _preprocess(doc, accent_function, lower) 66 """ 67 if lower: ---&gt; 68 doc = doc.lower() 69 if accent_function is not None: 70 doc = accent_function(doc) AttributeError: 'int' object has no attribute 'lower' </code></pre></div>
1
<h1 dir="auto">Description of the new feature/enhancement</h1> <p dir="auto">We can currently select text in the terminal by dragging mouse with key pressed. Linux terminals and Windows command prompt allows you to select text by also Shift + arrow keys. I have tried this in the Windows terminal and instead of selecting the texts it just prints characters (Shift + right arrow prints 'D' for me).</p> <p dir="auto">Would be great to have the keyboard method for text selection for windows users. Would be very helpful for keyboard heavy users</p> <h2 dir="auto">Update</h2> <p dir="auto">I checked that powershell on terminal works as expected<br> cmd on terminal doesn't print extra characters, the cursor just moves instead of selection<br> WSL prints extra characters (shift + right =&gt; D, Shift + left =&gt; C, etc)</p>
<p dir="auto">Hello,</p> <p dir="auto">I'm using tmux on Linux machines and ConEmu on Windows machines and I really love that I can do text selection with the keyboard.</p> <p dir="auto">In ConEmu, there is a keybinding for "Start text selection (like text editors)", whereas in tmux there is the same thing with <code class="notranslate">&lt;prefix&gt;&lt;b&gt;</code> (I think that is default), where I get a cursor that I can move with the arrow keys around the console window.<br> While doing this, I can select text while holding shift and (in case of ConEmu) press ENTER to copy the text into the clipboard and end the text selection.<br> It can also be compared with Vim's visual mode.</p> <p dir="auto">It would be nice if the new Windows Terminal could support this out of the box, so I can use it in e.g. PowerShell :-)</p>
1
<p dir="auto">I am using Neo4j 1.9.1. I am getting an incorrect node count in the red bubble which shows the number of nodes with a given relationship and this behaviour occurs after I select one of the nodes from that bubble.</p> <p dir="auto">To show this, I downloaded the Cineeast database from <a href="http://www.neo4j.org/develop/example_data" rel="nofollow">here</a>. I went to to the data browser and searched for node 431. That node has 14 nodes with relationship ACTS_IN coming into it. I clicked on the red bubble with 14 nodes written in it. I selected node number 434 from the pop-up list. After selecting that node, the node count displayed went down to 12 instead of 13. When I click on that red bubble again, I can see that the list has 13 nodes in it. So the error is in the node count text.</p> <p dir="auto">cheers</p>
<p dir="auto">The properties count on the front page of the webadmin GUI does not actually report the total number of properties, which is what anyone would assume. It instead reports the number of property blocks, where every node and relationship has at least one block, and each block holds up to four properties.</p> <p dir="auto">For example, I recently imported a data set containing 6,645 nodes with one property each, and 11,469 relationships with two properties each. I expected the total number of properties to be 29,583 (6,645 + (11,469 * 2)). Instead it was 18,114 (6,645 + 11,469).</p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat inventory.ini [local] localhost ansible_connection=local $ cat test.yml - hosts: local tasks: - git: dest=tmp [email protected]:[REDACTED].git depth=1 version=master $ ansible-playbook --version ansible-playbook 1.5.2 $ ansible-playbook -i inventory.ini test.yml PLAY [local] ****************************************************************** GATHERING FACTS *************************************************************** failed: [localhost] =&gt; {&quot;failed&quot;: true, &quot;parsed&quot;: false} invalid output was: Traceback (most recent call last): File &quot;/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup&quot;, line 3442, in &lt;module&gt; main() File &quot;/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup&quot;, line 2359, in main data = run_setup(module) File &quot;/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup&quot;, line 2300, in run_setup facts = ansible_facts(module) File &quot;/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup&quot;, line 2291, in ansible_facts facts.update(Network(module).populate()) TypeError: __init__() takes exactly 1 argument (2 given) TASK: [git dest=tmp [email protected]:[REDACTED].git depth=1 version=master] *** FATAL: no hosts matched or all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/Users/filosottile/test.retry localhost : ok=0 changed=0 unreachable=0 failed=1 "><pre class="notranslate"><code class="notranslate">$ cat inventory.ini [local] localhost ansible_connection=local $ cat test.yml - hosts: local tasks: - git: dest=tmp [email protected]:[REDACTED].git depth=1 version=master $ ansible-playbook --version ansible-playbook 1.5.2 $ ansible-playbook -i inventory.ini test.yml PLAY [local] ****************************************************************** GATHERING FACTS *************************************************************** failed: [localhost] =&gt; {"failed": true, "parsed": false} invalid output was: Traceback (most recent call last): File "/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup", line 3442, in &lt;module&gt; main() File "/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup", line 2359, in main data = run_setup(module) File "/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup", line 2300, in run_setup facts = ansible_facts(module) File "/Users/filosottile/.ansible/tmp/ansible-tmp-1394724478.91-116117321188700/setup", line 2291, in ansible_facts facts.update(Network(module).populate()) TypeError: __init__() takes exactly 1 argument (2 given) TASK: [git dest=tmp [email protected]:[REDACTED].git depth=1 version=master] *** FATAL: no hosts matched or all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/Users/filosottile/test.retry localhost : ok=0 changed=0 unreachable=0 failed=1 </code></pre></div>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.5.2</p> <h5 dir="auto">Environment:</h5> <p dir="auto">OSX on my laptop<br> vagrant 1.5.0<br> Ansible<br> Ubuntu 12.04 for the VMs</p> <h5 dir="auto">Summary:</h5> <p dir="auto">After updating to ansible 1.5.2, starting getting errors on the GATHERING FACTS portion of the play</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">Fresh install vagrant 1.5.0, virtualbox 4.3.8, ansible 1.5.2<br> run an ansible play that worked prior to the update</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">GATHERING FACTS should say localhost [OK]</p> <h5 dir="auto">Actual Results:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="GATHERING FACTS *************************************************************** failed: [localhost] =&gt; {&quot;failed&quot;: true, &quot;parsed&quot;: false} invalid output was: Traceback (most recent call last): File &quot;/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup&quot;, line 3442, in &lt;module&gt; main() File &quot;/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup&quot;, line 2359, in main data = run_setup(module) File &quot;/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup&quot;, line 2300, in run_setup facts = ansible_facts(module) File &quot;/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup&quot;, line 2291, in ansible_facts facts.update(Network(module).populate()) TypeError: __init__() takes exactly 1 argument (2 given)"><pre class="notranslate"><code class="notranslate">GATHERING FACTS *************************************************************** failed: [localhost] =&gt; {"failed": true, "parsed": false} invalid output was: Traceback (most recent call last): File "/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup", line 3442, in &lt;module&gt; main() File "/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup", line 2359, in main data = run_setup(module) File "/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup", line 2300, in run_setup facts = ansible_facts(module) File "/Users/tchong/.ansible/tmp/ansible-tmp-1394605176.37-234489011526252/setup", line 2291, in ansible_facts facts.update(Network(module).populate()) TypeError: __init__() takes exactly 1 argument (2 given) </code></pre></div> <p dir="auto">My first play is for cloudformation. Here's what it looks like</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --- - name: bot AWS services that are shared between developer and prod hosts: localhost tasks: - name: create developer aws services with cloudformation cloudformation: &gt; stack_name=&quot;{{ app_stack_name }}&quot; state=present region={{ app_default_ec2_region }} template=cloudformation/stack_shared.json args: template_parameters: S3BucketName: &quot;{{ stack_s3 }}&quot;"><pre class="notranslate"><code class="notranslate"> --- - name: bot AWS services that are shared between developer and prod hosts: localhost tasks: - name: create developer aws services with cloudformation cloudformation: &gt; stack_name="{{ app_stack_name }}" state=present region={{ app_default_ec2_region }} template=cloudformation/stack_shared.json args: template_parameters: S3BucketName: "{{ stack_s3 }}" </code></pre></div> <p dir="auto">Google searches turn up nothing. Thanks for your help.</p>
1
<p dir="auto">I use pip3 to install scrapy with python3.7.But it failed.<br> It showed that the twisted install failed.<br> I am not sure about if scrapy can works with python3.7.<br> Please. Thank you!</p>
<p dir="auto">The goal is to add python 3.7 to travis and pass all tests, the first beta was already released at the end of January.</p>
1
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong><br> When a webpack configuration includes <code class="notranslate">resolve: { symlinks: false }</code>, dependencies that are linked into the <code class="notranslate">node_modules</code> folder as symlinks do not get watched properly by webpack-dev-server: changes to those dependencies do not trigger a rebuild or browser refresh.</p> <p dir="auto">It is my understanding that using the <code class="notranslate">resolve.symlinks</code> property in this way is valid and shouldn't cause this issue. In the real application where this was discovered, we are using <code class="notranslate">resolve.symlinks</code> to avoid errors resulting from the symlinked module pulling in duplicate copies of other dependencies (React specifically).</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto">Please see <a href="https://github.com/rpokorny/webpack-link-bug">https://github.com/rpokorny/webpack-link-bug</a> for a reproduction of the issue.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> When a file in the symlinked dependency is modified, the change should automatically get picked up resulting in a rebuild of the bundle and a refresh of the webpage if it is open in a browser.</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 5.24.3<br> Node.js version: 12.18.0<br> Operating System: Linux 5.10.14-arch1-1<br> Additional tools: webpack-dev-server 3.11.2</p>
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong><br> I install deps with <a href="https://github.com/cnpm/npminstall">npminstall</a>(it can install faster), but the file tree in <code class="notranslate">node_modules</code> is special bacause npminstall install pkgs with symbol link to download and write less files.</p> <p dir="auto">The file tree looks like this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app ├── index.js └── node_modules ├── [email protected]@a(real dir) | ├── index.js | └── node_modules | └── b(symbol link to app/node_modules/[email protected]@b) ├── [email protected]@b(real dir) | ├── index.js | └── node_modules | └── a(symbol link to app/node_modules/[email protected]@a) ├── a(symbol link to app/node_modules/[email protected]@a) └── b(symbol link to app/node_modules/[email protected]@b)"><pre class="notranslate"><code class="notranslate">app ├── index.js └── node_modules ├── [email protected]@a(real dir) | ├── index.js | └── node_modules | └── b(symbol link to app/node_modules/[email protected]@b) ├── [email protected]@b(real dir) | ├── index.js | └── node_modules | └── a(symbol link to app/node_modules/[email protected]@a) ├── a(symbol link to app/node_modules/[email protected]@a) └── b(symbol link to app/node_modules/[email protected]@b) </code></pre></div> <p dir="auto">Because of a,b is reference by each other, <code class="notranslate">contextTimestampQueue</code> and <code class="notranslate">contextHashQueue</code> in <code class="notranslate">FileSystemInfo</code> will never reach the end.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto">The minimal reproduction repo is <a href="https://github.com/killagu/npminstall_webpack">here</a>.<br> The reproduce step is</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone [email protected]:killagu/npminstall_webpack.git cd npminstall_webpack npm i -g cnpm # must use cnpm install cnpm i npm run build"><pre class="notranslate">git clone [email protected]:killagu/npminstall_webpack.git <span class="pl-c1">cd</span> npminstall_webpack npm i -g cnpm <span class="pl-c"><span class="pl-c">#</span> must use cnpm install</span> cnpm i npm run build</pre></div> <p dir="auto">Build snapshow will fail.</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <ul dir="auto"> <li>Use <code class="notranslate">fs.lstat</code> to get file info, and use target path to process.</li> <li>Skip files if has been processed</li> </ul> <p dir="auto"><strong>Other relevant information:</strong></p> <p dir="auto">webpack version: 5.11.0<br> Node.js version: 12.16.3<br> Operating System: macOS Big Sur 11.0.1 (20B29)</p> <p dir="auto">If it is ok, I'm happy to make a pr to fix it.</p>
1
<p dir="auto"><strong>Describe the feature</strong>:</p> <p dir="auto">it would be great if the API documentation (the stuff on the web) had a "newbie" mode that would show query components within the context of a complete query. for example, on <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-common-terms-query.html" rel="nofollow">https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-common-terms-query.html</a>, there are examples of the "common" block, but it's not clear (to me at least) where the "common" block fits in the query.</p> <p dir="auto">I realize that adding that information to every page would be noisy for experienced users, so I'd suggest a way for newbies to say "show me this in the context of the ENTIRE query". That would also be helpful as a learning tool, because by seeing lots of different examples, the newbie learns the structure of queries by osmosis.</p>
<p dir="auto"><strong>Describe the feature</strong>:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="152001521" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/18075" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/18075/hovercard" href="https://github.com/elastic/elasticsearch/pull/18075">#18075</a> will merge soon, testing all the <code class="notranslate">// CONSOLE</code> snippets in our docs. But lots of our docs <em>aren't</em> annotated with it! We should annotate more snippets so we test more of the docs.</p> <p dir="auto">Edit: <code class="notranslate">// CONSOLE</code> has replaced <code class="notranslate">// AUTOSENSE</code>. The sense application is named console in 5.0.0.</p>
1
<p dir="auto">I am trying to start a new flutter project but it is now working because I cannot connect to <a href="https://pub.dartlang.org" rel="nofollow">https://pub.dartlang.org</a>. Is it down or something?</p> <p dir="auto">I have tried pinging it with no success. Even the Browser cannot open the website.</p> <p dir="auto">Sorry if it is duplicate.</p> <p dir="auto">I will try to use a VPN. Thanks</p>
<h2 dir="auto">Steps to Reproduce</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" return new InkWell( onTap: () { Navigator.of(context).push(getAqLanesEditRoute(mapIdx: mapIdx, initialBG: bgIdx)); }, child: new Material( child: new Column( children: &lt;Widget&gt;[ new Container( decoration: new BoxDecoration( color: ChqTheme.colors(Theme.of(context).brightness).listElementBg, boxShadow: &lt;BoxShadow&gt;[ new BoxShadow ( color: const Color(0xcc000000), offset: new Offset(0.0, 5.0), blurRadius: 5.0, ), ], ), height: taskListHeight, child: new MapTaskList( mapIdx: mapIdx, clanId: clanId, bgIdx: bgIdx, ), ), //new ChqHorizontalLine( // color: ChqTheme.colors(Theme.of(context).brightness).cardBorder, //), ], ), ), );"><pre class="notranslate"><code class="notranslate"> return new InkWell( onTap: () { Navigator.of(context).push(getAqLanesEditRoute(mapIdx: mapIdx, initialBG: bgIdx)); }, child: new Material( child: new Column( children: &lt;Widget&gt;[ new Container( decoration: new BoxDecoration( color: ChqTheme.colors(Theme.of(context).brightness).listElementBg, boxShadow: &lt;BoxShadow&gt;[ new BoxShadow ( color: const Color(0xcc000000), offset: new Offset(0.0, 5.0), blurRadius: 5.0, ), ], ), height: taskListHeight, child: new MapTaskList( mapIdx: mapIdx, clanId: clanId, bgIdx: bgIdx, ), ), //new ChqHorizontalLine( // color: ChqTheme.colors(Theme.of(context).brightness).cardBorder, //), ], ), ), ); </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/378599/35071136-940d4086-fb94-11e7-994e-15f10c47ffce.png"><img src="https://user-images.githubusercontent.com/378599/35071136-940d4086-fb94-11e7-994e-15f10c47ffce.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... Built build/app/outputs/apk/app-debug.apk (31.6MB). Installing build/app/outputs/apk/app.apk... I/FlutterActivityDelegate(18737): onResume setting current activity to this I/zygote (18737): Do partial code cache collection, code=29KB, data=23KB I/zygote (18737): After code cache collection, code=28KB, data=23KB I/zygote (18737): Increasing code cache capacity to 128KB Syncing files to device Android SDK built for x86... I/DynamiteModule(18737): Considering local module com.google.android.gms.firebase_database:4 and remote module com.google.android.gms.firebase_database:6 I/DynamiteModule(18737): Selected remote version of com.google.android.gms.firebase_database, version &gt;= 6 W/zygote (18737): Unsupported class loader W/zygote (18737): Skipping duplicate class check due to unsupported classloader I/zygote (18737): The ClassLoaderContext is a special shared library. I/zygote (18737): The ClassLoaderContext is a special shared library. I/flutter (18737): ON TOKEN REFRESH: dMzPx27bFgQ:APA91bHU90q6ap1hWQG-pobCi3BEw1qBDhZZd9pLtavXm3riuw7uyKU7a4QB72p4g6FfaW4ZWb9dlXtWgfKu5bIh7JhQWkUtR-Lvs4kiECZ0e3IZD-tBqP6VnKiOso1BT2MAeHdM-cGp, old: null W/linker (18737): /data/app/com.google.android.gms-RLCRcG5Tz9PHefS2F24zew==/lib/x86/libgmscore.so: is missing DT_SONAME will use basename as a replacement: &quot;libgmscore.so&quot; W/linker (18737): &quot;/data/app/com.google.android.gms-RLCRcG5Tz9PHefS2F24zew==/lib/x86/libconscrypt_gmscore_jni.so&quot; unused DT entry: type 0xf arg 0x91 W/linker (18737): /data/app/com.google.android.gms-RLCRcG5Tz9PHefS2F24zew==/lib/x86/libconscrypt_gmscore_jni.so: is missing DT_SONAME will use basename as a replacement: &quot;libconscrypt_gmscore_jni.so&quot; V/NativeCrypto(18737): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 276 native methods... I/ProviderInstaller(18737): Installed default security provider GmsCore_OpenSSL I/zygote (18737): Do partial code cache collection, code=60KB, data=47KB I/zygote (18737): After code cache collection, code=60KB, data=47KB I/zygote (18737): Increasing code cache capacity to 256KB I/flutter (18737): on config changed W/BiChannelGoogleApi(18737): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms W/BiChannelGoogleApi(18737): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms I/flutter (18737): got initial connectionn: ConnectivityResult.mobile I/flutter (18737): [WARNING] network connectivity changed: true I/flutter (18737): [WARNING] firebase connectivity changed: true I/flutter (18737): chat screen connectivity changed: true I/flutter (18737): [WARNING] network connectivity changed: true I/zygote (18737): Do full code cache collection, code=121KB, data=92KB I/zygote (18737): After code cache collection, code=109KB, data=65KB I/zygote (18737): Do partial code cache collection, code=120KB, data=82KB I/zygote (18737): Background concurrent copying GC freed 44040(1726KB) AllocSpace objects, 12(372KB) LOS objects, 50% free, 3MB/6MB, paused 1.035ms total 144.230ms I/zygote (18737): After code cache collection, code=120KB, data=82KB I/zygote (18737): Increasing code cache capacity to 512KB I/zygote (18737): Do full code cache collection, code=243KB, data=171KB I/zygote (18737): After code cache collection, code=224KB, data=134KB I/zygote (18737): Do partial code cache collection, code=239KB, data=156KB I/zygote (18737): After code cache collection, code=239KB, data=156KB I/zygote (18737): Increasing code cache capacity to 1024KB"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on Android SDK built for x86 in debug mode... Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... Built build/app/outputs/apk/app-debug.apk (31.6MB). Installing build/app/outputs/apk/app.apk... I/FlutterActivityDelegate(18737): onResume setting current activity to this I/zygote (18737): Do partial code cache collection, code=29KB, data=23KB I/zygote (18737): After code cache collection, code=28KB, data=23KB I/zygote (18737): Increasing code cache capacity to 128KB Syncing files to device Android SDK built for x86... I/DynamiteModule(18737): Considering local module com.google.android.gms.firebase_database:4 and remote module com.google.android.gms.firebase_database:6 I/DynamiteModule(18737): Selected remote version of com.google.android.gms.firebase_database, version &gt;= 6 W/zygote (18737): Unsupported class loader W/zygote (18737): Skipping duplicate class check due to unsupported classloader I/zygote (18737): The ClassLoaderContext is a special shared library. I/zygote (18737): The ClassLoaderContext is a special shared library. I/flutter (18737): ON TOKEN REFRESH: dMzPx27bFgQ:APA91bHU90q6ap1hWQG-pobCi3BEw1qBDhZZd9pLtavXm3riuw7uyKU7a4QB72p4g6FfaW4ZWb9dlXtWgfKu5bIh7JhQWkUtR-Lvs4kiECZ0e3IZD-tBqP6VnKiOso1BT2MAeHdM-cGp, old: null W/linker (18737): /data/app/com.google.android.gms-RLCRcG5Tz9PHefS2F24zew==/lib/x86/libgmscore.so: is missing DT_SONAME will use basename as a replacement: "libgmscore.so" W/linker (18737): "/data/app/com.google.android.gms-RLCRcG5Tz9PHefS2F24zew==/lib/x86/libconscrypt_gmscore_jni.so" unused DT entry: type 0xf arg 0x91 W/linker (18737): /data/app/com.google.android.gms-RLCRcG5Tz9PHefS2F24zew==/lib/x86/libconscrypt_gmscore_jni.so: is missing DT_SONAME will use basename as a replacement: "libconscrypt_gmscore_jni.so" V/NativeCrypto(18737): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 276 native methods... I/ProviderInstaller(18737): Installed default security provider GmsCore_OpenSSL I/zygote (18737): Do partial code cache collection, code=60KB, data=47KB I/zygote (18737): After code cache collection, code=60KB, data=47KB I/zygote (18737): Increasing code cache capacity to 256KB I/flutter (18737): on config changed W/BiChannelGoogleApi(18737): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms W/BiChannelGoogleApi(18737): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms I/flutter (18737): got initial connectionn: ConnectivityResult.mobile I/flutter (18737): [WARNING] network connectivity changed: true I/flutter (18737): [WARNING] firebase connectivity changed: true I/flutter (18737): chat screen connectivity changed: true I/flutter (18737): [WARNING] network connectivity changed: true I/zygote (18737): Do full code cache collection, code=121KB, data=92KB I/zygote (18737): After code cache collection, code=109KB, data=65KB I/zygote (18737): Do partial code cache collection, code=120KB, data=82KB I/zygote (18737): Background concurrent copying GC freed 44040(1726KB) AllocSpace objects, 12(372KB) LOS objects, 50% free, 3MB/6MB, paused 1.035ms total 144.230ms I/zygote (18737): After code cache collection, code=120KB, data=82KB I/zygote (18737): Increasing code cache capacity to 512KB I/zygote (18737): Do full code cache collection, code=243KB, data=171KB I/zygote (18737): After code cache collection, code=224KB, data=134KB I/zygote (18737): Do partial code cache collection, code=239KB, data=156KB I/zygote (18737): After code cache collection, code=239KB, data=156KB I/zygote (18737): Increasing code cache capacity to 1024KB </code></pre></div> <p dir="auto"><strong>Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:21:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:22:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:23:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:24:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:25:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:26:19 • strong_mode_implicit_dynamic_type error • Missing parameter type for 'localeName' at lib/i18n/chq_messages_all.dart:29:35 • strong_mode_implicit_dynamic_parameter error • Type 'dynamic' of the switch expression isn't assignable to the type 'String' of case expressions at lib/i18n/chq_messages_all.dart:30:11 • switch_expression_not_assignable error • Missing parameter type for 'locale' at lib/i18n/chq_messages_all.dart:64:50 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'String' at lib/i18n/chq_messages_all.dart:65:42 • argument_type_not_assignable error • Missing parameter type for '_' at lib/i18n/chq_messages_all.dart:66:19 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm0' at lib/i18n/chq_messages_de.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_de.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_de.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_de.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_de.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_de.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_de.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_de.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_de.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_de.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_de.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_de.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_de.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_de.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_de.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_de.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_de.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_de.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_de.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_de.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_de.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_de.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_de.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_de.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_de.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_de.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_de.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_de.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_de.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_de.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_de.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_de.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_de.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_de.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_de.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_de.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_de.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_de.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_de.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_de.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_de.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_de.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_de.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_de.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_de.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_de.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_de.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_de.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_de.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_de.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_en.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_en.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_en.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_en.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_en.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_en.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_en.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_en.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_en.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_en.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_en.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_en.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_en.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_en.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_en.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_en.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_en.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_en.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_en.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_en.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_en.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_en.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_en.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_en.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_en.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_en.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_en.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_en.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_en.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_en.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_en.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_en.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_en.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_en.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_en.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_en.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_en.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_en.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_en.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_en.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_en.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_en.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_en.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_en.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_en.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_en.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_en.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_en.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_en.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_en.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_es.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_es.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_es.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_es.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_es.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_es.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_es.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_es.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_es.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_es.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_es.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_es.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_es.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_es.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_es.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_es.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_es.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_es.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_es.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_es.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_es.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_es.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_es.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_es.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_es.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_es.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_es.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_es.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_es.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_es.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_es.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_es.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_es.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_es.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_es.dart:68:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm25' at lib/i18n/chq_messages_es.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_es.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_es.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_es.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_es.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_es.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_es.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_es.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_es.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_es.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_es.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_es.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_es.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_es.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_es.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_es.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_es.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_es.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_fr.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_fr.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_fr.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_fr.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_fr.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_fr.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_fr.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_fr.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_fr.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_fr.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_fr.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_fr.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_fr.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_fr.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_fr.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_fr.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_fr.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_fr.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_fr.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_fr.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_fr.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_fr.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_fr.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_fr.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_fr.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_fr.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_fr.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_fr.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_fr.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_fr.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_fr.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_fr.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_fr.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_fr.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_fr.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_fr.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_fr.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_fr.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_fr.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_fr.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_fr.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_fr.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_fr.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_fr.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_fr.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_fr.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_fr.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_fr.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_fr.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_fr.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_it.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_it.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_it.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_it.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_it.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_it.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_it.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_it.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_it.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_it.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_it.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_it.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_it.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_it.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_it.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_it.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_it.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_it.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_it.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_it.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_it.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_it.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_it.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_it.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_it.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_it.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_it.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_it.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_it.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_it.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_it.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_it.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_it.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_it.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_it.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_it.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_it.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_it.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_it.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_it.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_it.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_it.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_it.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_it.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_it.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_it.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_it.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_it.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_it.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_it.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_pt.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_pt.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_pt.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_pt.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_pt.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_pt.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_pt.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_pt.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_pt.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_pt.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_pt.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_pt.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_pt.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_pt.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_pt.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_pt.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_pt.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_pt.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_pt.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_pt.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_pt.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_pt.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_pt.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_pt.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_pt.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_pt.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_pt.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_pt.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_pt.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_pt.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_pt.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_pt.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_pt.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_pt.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_pt.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_pt.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_pt.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_pt.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_pt.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_pt.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_pt.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_pt.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_pt.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_pt.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_pt.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_pt.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_pt.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_pt.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_pt.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_pt.dart:85:36 • strong_mode_implicit_dynamic_map_literal lint • Close instances of `dart.core.Sink` at lib/service/firestore_rest.dart:29:26 • close_sinks"><pre class="notranslate"><code class="notranslate"> error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:21:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:22:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:23:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:24:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:25:19 • strong_mode_implicit_dynamic_type error • Missing type arguments for generic type 'Future&lt;dynamic&gt;' at lib/i18n/chq_messages_all.dart:26:19 • strong_mode_implicit_dynamic_type error • Missing parameter type for 'localeName' at lib/i18n/chq_messages_all.dart:29:35 • strong_mode_implicit_dynamic_parameter error • Type 'dynamic' of the switch expression isn't assignable to the type 'String' of case expressions at lib/i18n/chq_messages_all.dart:30:11 • switch_expression_not_assignable error • Missing parameter type for 'locale' at lib/i18n/chq_messages_all.dart:64:50 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'String' at lib/i18n/chq_messages_all.dart:65:42 • argument_type_not_assignable error • Missing parameter type for '_' at lib/i18n/chq_messages_all.dart:66:19 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm0' at lib/i18n/chq_messages_de.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_de.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_de.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_de.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_de.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_de.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_de.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_de.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_de.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_de.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_de.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_de.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_de.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_de.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_de.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_de.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_de.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_de.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_de.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_de.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_de.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_de.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_de.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_de.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_de.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_de.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_de.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_de.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_de.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_de.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_de.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_de.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_de.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_de.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_de.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_de.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_de.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_de.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_de.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_de.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_de.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_de.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_de.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_de.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_de.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_de.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_de.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_de.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_de.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_de.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_de.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_de.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_de.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_de.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_en.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_en.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_en.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_en.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_en.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_en.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_en.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_en.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_en.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_en.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_en.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_en.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_en.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_en.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_en.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_en.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_en.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_en.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_en.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_en.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_en.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_en.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_en.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_en.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_en.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_en.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_en.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_en.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_en.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_en.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_en.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_en.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_en.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_en.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_en.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_en.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_en.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_en.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_en.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_en.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_en.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_en.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_en.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_en.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_en.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_en.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_en.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_en.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_en.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_en.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_en.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_en.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_en.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_en.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_es.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_es.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_es.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_es.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_es.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_es.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_es.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_es.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_es.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_es.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_es.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_es.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_es.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_es.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_es.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_es.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_es.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_es.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_es.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_es.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_es.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_es.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_es.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_es.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_es.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_es.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_es.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_es.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_es.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_es.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_es.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_es.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_es.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_es.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_es.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_es.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_es.dart:68:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm25' at lib/i18n/chq_messages_es.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_es.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_es.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_es.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_es.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_es.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_es.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_es.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_es.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_es.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_es.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_es.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_es.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_es.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_es.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_es.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_es.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_es.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_es.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_fr.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_fr.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_fr.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_fr.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_fr.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_fr.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_fr.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_fr.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_fr.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_fr.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_fr.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_fr.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_fr.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_fr.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_fr.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_fr.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_fr.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_fr.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_fr.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_fr.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_fr.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_fr.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_fr.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_fr.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_fr.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_fr.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_fr.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_fr.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_fr.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_fr.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_fr.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_fr.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_fr.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_fr.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_fr.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_fr.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_fr.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_fr.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_fr.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_fr.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_fr.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_fr.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_fr.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_fr.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_fr.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_fr.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_fr.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_fr.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_fr.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_fr.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_fr.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_fr.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_fr.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_fr.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_it.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_it.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_it.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_it.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_it.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_it.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_it.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_it.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_it.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_it.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_it.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_it.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_it.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_it.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_it.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_it.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_it.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_it.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_it.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_it.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_it.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_it.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_it.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_it.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_it.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_it.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_it.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_it.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_it.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_it.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_it.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_it.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_it.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_it.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_it.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_it.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_it.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_it.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_it.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_it.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_it.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_it.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_it.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_it.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_it.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_it.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_it.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_it.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_it.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_it.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_it.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_it.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_it.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_it.dart:85:36 • strong_mode_implicit_dynamic_map_literal error • Missing return type for 'm0' at lib/i18n/chq_messages_pt.dart:20:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:20:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm1' at lib/i18n/chq_messages_pt.dart:22:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numBg' at lib/i18n/chq_messages_pt.dart:22:13 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:22:38 • argument_type_not_assignable error • Missing return type for 'm2' at lib/i18n/chq_messages_pt.dart:24:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:24:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm3' at lib/i18n/chq_messages_pt.dart:26:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:26:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm4' at lib/i18n/chq_messages_pt.dart:28:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:28:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm5' at lib/i18n/chq_messages_pt.dart:30:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:30:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm6' at lib/i18n/chq_messages_pt.dart:32:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'inviterName' at lib/i18n/chq_messages_pt.dart:32:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm7' at lib/i18n/chq_messages_pt.dart:34:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:34:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm8' at lib/i18n/chq_messages_pt.dart:36:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:36:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm9' at lib/i18n/chq_messages_pt.dart:38:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:38:13 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm10' at lib/i18n/chq_messages_pt.dart:40:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:40:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm11' at lib/i18n/chq_messages_pt.dart:42:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:42:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'date' at lib/i18n/chq_messages_pt.dart:42:20 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm12' at lib/i18n/chq_messages_pt.dart:44:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:44:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm13' at lib/i18n/chq_messages_pt.dart:46:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'timeString' at lib/i18n/chq_messages_pt.dart:46:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm14' at lib/i18n/chq_messages_pt.dart:48:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'game' at lib/i18n/chq_messages_pt.dart:48:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm15' at lib/i18n/chq_messages_pt.dart:50:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:50:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm16' at lib/i18n/chq_messages_pt.dart:52:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:52:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm17' at lib/i18n/chq_messages_pt.dart:54:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:54:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm18' at lib/i18n/chq_messages_pt.dart:56:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'clanName' at lib/i18n/chq_messages_pt.dart:56:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm19' at lib/i18n/chq_messages_pt.dart:58:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:58:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm20' at lib/i18n/chq_messages_pt.dart:60:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:60:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm21' at lib/i18n/chq_messages_pt.dart:62:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'name' at lib/i18n/chq_messages_pt.dart:62:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm22' at lib/i18n/chq_messages_pt.dart:64:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'days' at lib/i18n/chq_messages_pt.dart:64:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:64:38 • argument_type_not_assignable error • Missing return type for 'm23' at lib/i18n/chq_messages_pt.dart:66:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numDays' at lib/i18n/chq_messages_pt.dart:66:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm24' at lib/i18n/chq_messages_pt.dart:68:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'hours' at lib/i18n/chq_messages_pt.dart:68:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:68:39 • argument_type_not_assignable error • Missing return type for 'm25' at lib/i18n/chq_messages_pt.dart:70:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'minutes' at lib/i18n/chq_messages_pt.dart:70:14 • strong_mode_implicit_dynamic_parameter error • The argument type 'dynamic' can't be assigned to the parameter type 'int' at lib/i18n/chq_messages_pt.dart:70:41 • argument_type_not_assignable error • Missing return type for 'm26' at lib/i18n/chq_messages_pt.dart:72:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'numWeeks' at lib/i18n/chq_messages_pt.dart:72:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm27' at lib/i18n/chq_messages_pt.dart:74:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'tag' at lib/i18n/chq_messages_pt.dart:74:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm28' at lib/i18n/chq_messages_pt.dart:76:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'idx' at lib/i18n/chq_messages_pt.dart:76:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm29' at lib/i18n/chq_messages_pt.dart:78:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'charactersRemaining' at lib/i18n/chq_messages_pt.dart:78:14 • strong_mode_implicit_dynamic_parameter error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_pt.dart:78:35 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm30' at lib/i18n/chq_messages_pt.dart:80:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'characterLimit' at lib/i18n/chq_messages_pt.dart:80:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for 'm31' at lib/i18n/chq_messages_pt.dart:82:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for 'X' at lib/i18n/chq_messages_pt.dart:82:14 • strong_mode_implicit_dynamic_parameter error • Missing return type for '_notInlinedMessages' at lib/i18n/chq_messages_pt.dart:85:3 • strong_mode_implicit_dynamic_return error • Missing parameter type for '_' at lib/i18n/chq_messages_pt.dart:85:30 • strong_mode_implicit_dynamic_parameter error • Missing type arguments for map literal at lib/i18n/chq_messages_pt.dart:85:36 • strong_mode_implicit_dynamic_map_literal lint • Close instances of `dart.core.Sink` at lib/service/firestore_rest.dart:29:26 • close_sinks </code></pre></div> <h2 dir="auto">Flutter Doctor</h2> <p dir="auto"><strong>Paste the output of running <code class="notranslate">flutter doctor</code> here.</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS X 10.13.2 17C205, locale en-US, channel alpha-chq) • Flutter at /Users/deborah/flutter • Framework revision 0bd83f8c34 (13 days ago), 2018-01-04 18:01:44 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/deborah/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [-] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.8.6 ✗ ios-deploy out of date (1.9.2 is required). To upgrade: brew upgrade ios-deploy • CocoaPods version 1.3.1 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] IntelliJ IDEA Community Edition (version 2017.3.2) • Flutter plugin version 20.0.3 • Dart plugin version 173.4127.31 [✓] Connected devices • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator) • iPhone • b08050db65c1aecd9eda3ffc2bd8a89148c82a46 • ios • iOS 11.2.2 "><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS X 10.13.2 17C205, locale en-US, channel alpha-chq) • Flutter at /Users/deborah/flutter • Framework revision 0bd83f8c34 (13 days ago), 2018-01-04 18:01:44 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/deborah/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [-] iOS toolchain - develop for iOS devices (Xcode 9.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.2, Build version 9C40b • ios-deploy 1.8.6 ✗ ios-deploy out of date (1.9.2 is required). To upgrade: brew upgrade ios-deploy • CocoaPods version 1.3.1 [✓] Android Studio (version 3.0) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08) [✓] IntelliJ IDEA Community Edition (version 2017.3.2) • Flutter plugin version 20.0.3 • Dart plugin version 173.4127.31 [✓] Connected devices • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator) • iPhone • b08050db65c1aecd9eda3ffc2bd8a89148c82a46 • ios • iOS 11.2.2 </code></pre></div> <blockquote> <p dir="auto">For more information about diagnosing and reporting Flutter bugs, please see <a href="https://flutter.io/bug-reports/" rel="nofollow">https://flutter.io/bug-reports/</a>.</p> </blockquote>
0
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/maciej/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/maciej">@maciej</a> on 2016-11-07T17:28:08Z</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">docker_container</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0.0 config file = [redacted]/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0 config file = [redacted]/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults] host_key_checking=False"><pre class="notranslate"><code class="notranslate">[defaults] host_key_checking=False </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Running ansible from: macOS Sierra<br> Provisioning: CentOS 7.2, Docker installed from <a href="https://yum.dockerproject.org/repo/main/centos/7" rel="nofollow">https://yum.dockerproject.org/repo/main/centos/7</a></p> <h5 dir="auto">SUMMARY</h5> <p dir="auto"><code class="notranslate">docker_container</code> module fails with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [default]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;failed&quot;: true, &quot;msg&quot;: &quot;Error pulling image httpd:latest - pull() got an unexpected keyword argument 'decode'&quot;}"><pre class="notranslate"><code class="notranslate">fatal: [default]: FAILED! =&gt; {"changed": false, "failed": true, "msg": "Error pulling image httpd:latest - pull() got an unexpected keyword argument 'decode'"} </code></pre></div> <p dir="auto">while pulling an image</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Execute ansible-playbook with the following play:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: &quot;Start container&quot; docker_container: name: whatever image: &quot;httpd&quot; pull: true"><pre class="notranslate"><code class="notranslate">- name: "Start container" docker_container: name: whatever image: "httpd" pull: true </code></pre></div> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187775121" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/5515" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/5515/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/5515">ansible/ansible-modules-core#5515</a></p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <ul dir="auto"> <li>docker_container</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.2.1.0 config file = /usr/home/sean/work/ansible/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0 config file = /usr/home/sean/work/ansible/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <ul dir="auto"> <li>Nothing.</li> </ul> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">The docker_container documentation says it requires a docker-py&gt;=1.7.0. However, as of 2.2.1.0, the minimum version is actually 1.8.0 because of the addition of the <code class="notranslate">decode</code> argument to the <code class="notranslate">pull</code> method. That keyword argument was added for docker-py 1.8.0-rc1.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Use docker_container with a remote host that has 1.7.x, such as CentOS 7.2's 1.7.2.</p> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Work.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="failed: [host.example.com] (item=worker) =&gt; {&quot;failed&quot;: true, &quot;item&quot;: &quot;worker&quot;, &quot;msg&quot;: &quot;Error pulling image imagename:latest - pull() got an unexpected keyword argument 'decode'&quot;}"><pre class="notranslate"><code class="notranslate">failed: [host.example.com] (item=worker) =&gt; {"failed": true, "item": "worker", "msg": "Error pulling image imagename:latest - pull() got an unexpected keyword argument 'decode'"} </code></pre></div>
1
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">I have a trouble with template bugs. The vue warning identifies the file but not the specific location of the error. For example when I access some property of undefined object I receive the name of property and that is all. If this property has multiple occurences it is hard to find which is the root cause. The source map unfortunatelly does not apply for template code.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Vue warn]: Error in render: &quot;TypeError: Cannot read property 'since' of undefined&quot; found in ---&gt; &lt;Profile&gt; at src/views/Profile.vue &lt;App&gt; at src/App.vue &lt;Root&gt;"><pre class="notranslate"><code class="notranslate">[Vue warn]: Error in render: "TypeError: Cannot read property 'since' of undefined" found in ---&gt; &lt;Profile&gt; at src/views/Profile.vue &lt;App&gt; at src/App.vue &lt;Root&gt; </code></pre></div> <p dir="auto">This error from the error handler is useless too:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: Cannot read property 'since' of undefined at Proxy.render (Profile.vue?08f5:69) at VueComponent.Vue._render (vue.runtime.esm.js:3548) at VueComponent.updateComponent (vue.runtime.esm.js:4066) at Watcher.get (vue.runtime.esm.js:4479) at Watcher.run (vue.runtime.esm.js:4554) at flushSchedulerQueue (vue.runtime.esm.js:4310) at Array.&lt;anonymous&gt; (vue.runtime.esm.js:1980) at flushCallbacks (vue.runtime.esm.js:1906)"><pre class="notranslate"><code class="notranslate">TypeError: Cannot read property 'since' of undefined at Proxy.render (Profile.vue?08f5:69) at VueComponent.Vue._render (vue.runtime.esm.js:3548) at VueComponent.updateComponent (vue.runtime.esm.js:4066) at Watcher.get (vue.runtime.esm.js:4479) at Watcher.run (vue.runtime.esm.js:4554) at flushSchedulerQueue (vue.runtime.esm.js:4310) at Array.&lt;anonymous&gt; (vue.runtime.esm.js:1980) at flushCallbacks (vue.runtime.esm.js:1906) </code></pre></div> <p dir="auto">I prepared minimum reproducible project: <a href="https://wwww.github.com/literakl/vue-errors">https://wwww.github.com/literakl/vue-errors</a></p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">The error can look this way:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Vue warn]: Error in render at line 35: &quot;TypeError: Cannot read property 'since' of undefined&quot; found in ---&gt; &lt;Profile&gt; at src/views/Profile.vue &lt;App&gt; at src/App.vue &lt;Root&gt;"><pre class="notranslate"><code class="notranslate">[Vue warn]: Error in render at line 35: "TypeError: Cannot read property 'since' of undefined" found in ---&gt; &lt;Profile&gt; at src/views/Profile.vue &lt;App&gt; at src/App.vue &lt;Root&gt; </code></pre></div>
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">I don't want to add mixin to every route page, and I don't want to add global mixin to affect all components even with third parties</p> <p dir="auto">let's do this with one single code ok ?</p> <h3 dir="auto">What does the proposed API look like?</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.$keepalive[id].purge(Component) // purge the cache of the Component's instance if exists"><pre class="notranslate"><code class="notranslate">this.$keepalive[id].purge(Component) // purge the cache of the Component's instance if exists </code></pre></div>
0
<p dir="auto">Similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="154130084" data-permission-text="Title is private" data-url="https://github.com/axios/axios/issues/318" data-hovercard-type="issue" data-hovercard-url="/axios/axios/issues/318/hovercard" href="https://github.com/axios/axios/issues/318">#318</a> , I am unable to make a post request with axios on node. But on browser the same piece of code seems to work fine.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const fdata = new FormData(); fdata.append('user', u); fdata.append('hostnames', n.join(' ')); const host = localStorage.getItem('host'); const port = localStorage.getItem('port'); axios({ url: `http://${host}:${port}/hosts/remove`, method: 'post', data: fdata }).then(response =&gt; { if (response.status === 200) { console.log(response.data); console.log('Removed host successfully'); } return null; }).catch(er =&gt; console.log(er));"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">fdata</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">FormData</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">fdata</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">'user'</span><span class="pl-kos">,</span> <span class="pl-s1">u</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">fdata</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">'hostnames'</span><span class="pl-kos">,</span> <span class="pl-s1">n</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s">' '</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">host</span> <span class="pl-c1">=</span> <span class="pl-s1">localStorage</span><span class="pl-kos">.</span><span class="pl-en">getItem</span><span class="pl-kos">(</span><span class="pl-s">'host'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">port</span> <span class="pl-c1">=</span> <span class="pl-s1">localStorage</span><span class="pl-kos">.</span><span class="pl-en">getItem</span><span class="pl-kos">(</span><span class="pl-s">'port'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">axios</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">url</span>: <span class="pl-s">`http://<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">host</span><span class="pl-kos">}</span></span>:<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">port</span><span class="pl-kos">}</span></span>/hosts/remove`</span><span class="pl-kos">,</span> <span class="pl-c1">method</span>: <span class="pl-s">'post'</span><span class="pl-kos">,</span> <span class="pl-c1">data</span>: <span class="pl-s1">fdata</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">response</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">.</span><span class="pl-c1">status</span> <span class="pl-c1">===</span> <span class="pl-c1">200</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">response</span><span class="pl-kos">.</span><span class="pl-c1">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">'Removed host successfully'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-c1">null</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">catch</span><span class="pl-kos">(</span><span class="pl-s1">er</span> <span class="pl-c1">=&gt;</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">er</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">With unirest it works:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="unirest.post(`http://${host}:${port}/hosts/remove`) .headers({ 'Content-Type': 'multipart/form-data' }) .field('user', u) .field('hostnames', h.join(' ')) .end(response =&gt; { console.log(response.body); });"><pre class="notranslate"><span class="pl-s1">unirest</span><span class="pl-kos">.</span><span class="pl-en">post</span><span class="pl-kos">(</span><span class="pl-s">`http://<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">host</span><span class="pl-kos">}</span></span>:<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">port</span><span class="pl-kos">}</span></span>/hosts/remove`</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">headers</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-s">'Content-Type'</span>: <span class="pl-s">'multipart/form-data'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">field</span><span class="pl-kos">(</span><span class="pl-s">'user'</span><span class="pl-kos">,</span> <span class="pl-s1">u</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">field</span><span class="pl-kos">(</span><span class="pl-s">'hostnames'</span><span class="pl-kos">,</span> <span class="pl-s1">h</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s">' '</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">end</span><span class="pl-kos">(</span><span class="pl-s1">response</span> <span class="pl-c1">=&gt;</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">response</span><span class="pl-kos">.</span><span class="pl-c1">body</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> <ul dir="auto"> <li>axios version: <em>v0.16.2</em></li> <li>Environment: <em>node v8.0.0, windows 8.1</em></li> </ul>
<p dir="auto">From the documentation of axios it seems that nodejs doesn't natively support FormData objects</p> <p dir="auto"><code class="notranslate"> // data is the data to be sent as the request body // Only applicable for request methods 'PUT', 'POST', and 'PATCH' // When no transformRequest is set, must be of one of the following types: // - string, plain object, ArrayBuffer, ArrayBufferView, URLSearchParams // - Browser only: FormData, File, Blob // - Node only: Stream data: { firstName: 'Fred' },</code></p> <p dir="auto">So if I want to use axios in a jasmine test running with nodejs, then how would I go ahead and post a multipart/formdata object to a website?</p> <p dir="auto">Thanks for your help..</p>
1
<h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li><code class="notranslate">7.1.8</code></li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li><code class="notranslate">macOS 10.13.6</code></li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li><code class="notranslate">N/A</code></li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto"><code class="notranslate">titleBarStyle: 'customButtonsOnHover'</code> should only affect the buttons and not change the shape of the window to be a rectangle</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The buttons are rendered properly, but the window loses its rounded corners</p> <p dir="auto"><strong>Here's a sample of the upper-right corner of a window with each mode:</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6835891/72211672-55126480-349d-11ea-989c-c67cce6e5bee.png"><img src="https://user-images.githubusercontent.com/6835891/72211672-55126480-349d-11ea-989c-c67cce6e5bee.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Left</strong> - <code class="notranslate">'hidden'</code><br> <strong>Right</strong> - <code class="notranslate">'customButtonsOnHover'</code></p> <h3 dir="auto">To Reproduce</h3> <p dir="auto">Create a <code class="notranslate">BrowserWindow</code> with <code class="notranslate">titleBarStyle: 'customButtonsOnHover'</code> and observe the lack of rounded borders</p> <h3 dir="auto">Additional Information</h3> <p dir="auto"><code class="notranslate">customButtonsOnHover</code> didn't work at all in <code class="notranslate">4.1.5</code>, so it's really awesome to see it working so close to perfectly!</p> <hr> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6835891/72211700-b9352880-349d-11ea-8f55-de9edc272121.png"><img src="https://user-images.githubusercontent.com/6835891/72211700-b9352880-349d-11ea-8f55-de9edc272121.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>All glory to the Electron Team</strong></p>
<ul dir="auto"> <li>Electron version: 1.7.5</li> <li>Operating system: macOS 10.12.6</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">The corners should be rounded like they were in 1.6.x</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">The browser windows corners are no longer rounded when running with electron 1.7.5</p> <h3 dir="auto">How to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/emilylaguna/electron-quick-start.git cd electron-quick-start npm install ./node_modules/.bin/electron ."><pre class="notranslate"><code class="notranslate">git clone https://github.com/emilylaguna/electron-quick-start.git cd electron-quick-start npm install ./node_modules/.bin/electron . </code></pre></div>
1
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>For English only</strong>, other languages will not accept.</p> <p dir="auto">Before report a bug, make sure you have:</p> <ul dir="auto"> <li>Searched open and closed <a href="https://github.com/apache/shardingsphere/issues">GitHub issues</a>.</li> <li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li> </ul> <p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br> If no response anymore and we cannot reproduce it on current information, we will <strong>close it</strong>.</p> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/792829660d2bf7b2dbc7890d8431242a47541333/hovercard" href="https://github.com/apache/shardingsphere/commit/792829660d2bf7b2dbc7890d8431242a47541333"><tt>7928296</tt></a></p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-Proxy</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">SS have same performance</p> <h3 dir="auto">Actual behavior</h3> <h4 dir="auto">proxy</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/86462784/203500635-2c3114f1-4cdc-4f5d-a10d-36072ee1377a.png"><img width="946" alt="image" src="https://user-images.githubusercontent.com/86462784/203500635-2c3114f1-4cdc-4f5d-a10d-36072ee1377a.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/86462784/203501908-a576fbf0-838a-41c5-ac03-d45404be316a.png"><img width="607" alt="image" src="https://user-images.githubusercontent.com/86462784/203501908-a576fbf0-838a-41c5-ac03-d45404be316a.png" style="max-width: 100%;"></a></p> <h4 dir="auto">DB</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/86462784/203501741-df7bc353-734c-48df-84c0-39321f58326c.png"><img width="853" alt="image" src="https://user-images.githubusercontent.com/86462784/203501741-df7bc353-734c-48df-84c0-39321f58326c.png" style="max-width: 100%;"></a></p> <h3 dir="auto">Reason analyze (If you can)</h3> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <p dir="auto">case like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1447831237" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/22170" data-hovercard-type="issue" data-hovercard-url="/apache/shardingsphere/issues/22170/hovercard" href="https://github.com/apache/shardingsphere/issues/22170">#22170</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test=&gt; \d t_ssdb_tb Table &quot;public.t_ssdb_tb&quot; Column | Type | Modifiers --------+---------------+----------- id | integer | c_id | integer | a | integer | b | character(10) |"><pre class="notranslate"><code class="notranslate">test=&gt; \d t_ssdb_tb Table "public.t_ssdb_tb" Column | Type | Modifiers --------+---------------+----------- id | integer | c_id | integer | a | integer | b | character(10) | </code></pre></div> <h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<p dir="auto">The IT result is different with load data from database.</p> <p dir="auto">Case name: SELECT AVG(user_id) AS user_id_avg FROM t_order<br> Expected: is "19"<br> but: was "19.5000"</p> <p dir="auto">Please see:</p> <ol dir="auto"> <li><code class="notranslate">dql-integration-test-cases.xml</code> and search <code class="notranslate">FIXME #15593</code></li> <li><code class="notranslate">BaseDQLIT</code> and search <code class="notranslate">// FIXME #15593 verify accurate data types</code>, please remove the try catch to reproduce the issue</li> </ol>
1
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Page with a router (both useRouter, withRouter) calls the page component two times, one without router params and the second time with them. It doesn't work in static export</p> <p dir="auto">A clear and concise description of what the bug is.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">I've used your example for new routers, add static export config and got the same results as on my project.</p> <p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/ondrejsika/nextjs--router-bug-example cd nextjs--router-bug-example/examples/dynamic-routing yarn"><pre class="notranslate"><code class="notranslate">git clone https://github.com/ondrejsika/nextjs--router-bug-example cd nextjs--router-bug-example/examples/dynamic-routing yarn </code></pre></div> <h3 dir="auto">Dev Server</h3> <p dir="auto">See two runs of page component in console.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1665772/67763512-28c37c00-fa48-11e9-8e9b-e2fb24954b65.png"><img width="1429" alt="Screen Shot 2019-10-29 at 12 17 21" src="https://user-images.githubusercontent.com/1665772/67763512-28c37c00-fa48-11e9-8e9b-e2fb24954b65.png" style="max-width: 100%;"></a></p> <h3 dir="auto">Static Export</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn static"><pre class="notranslate"><code class="notranslate">yarn static </code></pre></div> <p dir="auto">see out/post/first/index.html there is no post.id rendered</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Run the component only one time and export propper static page.</p> <h3 dir="auto">System information</h3> <ul dir="auto"> <li>OS: macOS</li> <li>Browser (if applies) chrome</li> <li>Version of Next.js: 9.1.1</li> </ul>
<p dir="auto">Because of the way Next.js does initial render of the pages, and that the initial render on client-side and server-side has to be the same (see <a href="https://reactjs.org/docs/react-dom.html#hydrate" rel="nofollow">https://reactjs.org/docs/react-dom.html#hydrate</a> ), sometimes when a page is rendered, its' <code class="notranslate">query</code> (returned i.e. by <code class="notranslate">useRouter()</code> hook) will be empty, even though it actually has query params. After the initial render, soon after there will be another render in which the <code class="notranslate">query</code> will be then populated with proper query params. ( Example described also in i.e. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="466425942" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/7880" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/7880/hovercard" href="https://github.com/vercel/next.js/issues/7880">#7880</a> )</p> <p dir="auto">My code relies on those query params very heavily and we need to know "are those the real current query params or not yet?". (i.e. because if query params are missing or incorrect, we'd like to redirect the user to another page)</p> <h2 dir="auto">Describe the solution you'd like</h2> <p dir="auto">I think that either:</p> <ul dir="auto"> <li><code class="notranslate">query</code> should be always populated with the current query params (even on initial client-side hydration that happens after a server-side render)</li> <li>or, (IMO better), add a <code class="notranslate">ready: boolean</code> flag to <code class="notranslate">Router</code>, so the component can listen to this using i.e. <code class="notranslate">useEffect</code> and ignore the query params when they aren't parsed yet.</li> </ul> <h2 dir="auto">Describe alternatives you've considered</h2> <p dir="auto">I think we'll have to go with some <code class="notranslate">setTimeout</code> or sth for now until a better solution is found.</p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Version 10.0.18362.356 Windows Terminal version 0.4.2382.0 Any other software? yes, **mine** (also a terminal emulator)"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Version 10.0.18362.356 Windows Terminal version 0.4.2382.0 Any other software? yes, **mine** (also a terminal emulator) </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Best way to see this (if you don't have key tracing on in our own terminal app),<br> fire up a <a href="https://github.com/tmux/tmux">TMUX</a> session, have it configured with at least one more line, like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bind ^space next-window"><pre class="notranslate"><code class="notranslate">bind ^space next-window </code></pre></div> <p dir="auto">which basically states, that Ctrl+Space will cause the terminal to switch to the next window.</p> <p dir="auto">Except, that on Windows Terminal (or my terminal emulator, using ConPTY), it doesn't. :-)</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">TMUX windows switching (i.e.: NUL-byte sent to PTY slave)</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Action Ignored.</p>
<ul dir="auto"> <li>Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)</li> </ul> <p dir="auto">Microsoft Windows [Version 10.0.18362.86]</p> <ul dir="auto"> <li>What you're doing and what's happening: (Copy &amp; paste specific commands and their output, or include screen shots)</li> </ul> <p dir="auto">vim /some/large/document.txt<br> Ctrl+F<br> Ctrl+B</p> <ul dir="auto"> <li>What's wrong / what should be happening instead:</li> </ul> <p dir="auto">Ctrl+F should cause page down<br> Ctrl+B should cause page up</p> <p dir="auto">These work fine in existing cmd, powershell, etc. but don't work as expected in Terminal.</p> <p dir="auto">vim --version<br> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 3 2014 09:06:12)<br> MS-Windows 32-bit console version<br> Included patches: 1-493</p> <p dir="auto">(I believe I installed the above through chocolatey at some point.)</p>
0
<p dir="auto">Using <code class="notranslate">display:inline-block</code> (instead of <code class="notranslate">display:block</code>) on responsive utilities (<code class="notranslate">.visible-x</code> and <code class="notranslate">-hidden-x</code>) would expand its usage to inline elements.<br> Currently, when using them on inline elements, the problem is that when the element becomes visible again, it gets <code class="notranslate">display:block</code> applied, usually generating undesirable line breaks.</p>
<p dir="auto">related to issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="16856611" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/8500" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/8500/hovercard" href="https://github.com/twbs/bootstrap/pull/8500">#8500</a> , <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="14075731" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/7808" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/7808/hovercard" href="https://github.com/twbs/bootstrap/issues/7808">#7808</a> , <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="6609454" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/4929" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/4929/hovercard" href="https://github.com/twbs/bootstrap/issues/4929">#4929</a> ; using <code class="notranslate">.hidden-sm</code> to hide span within <code class="notranslate">.nav &gt; li &gt; a</code> . Because class is <code class="notranslate">display: block</code> above -sm then text wraps to new line. Would you consider <code class="notranslate">.hidden-*</code> classes to be <code class="notranslate">display: inline-block</code> instead ?</p> <p dir="auto">Here's a jsfiddle of the two cases - but the repercussions could be greater outside of this situation so probably needs more consideration... <a href="http://jsfiddle.net/jholl/P86yf/" rel="nofollow">http://jsfiddle.net/jholl/P86yf/</a></p>
1
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class X { foo = 1 constructor( setup? : ( obj : this ) =&gt; void ) { if( setup ) setup( this ) } } var x = new X( obj =&gt; { obj.foo = 2 // Ok, allowed // obj.bar = 3 // Ok, not allowed } )"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">X</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span> <span class="pl-s1">setup</span>? : <span class="pl-kos">(</span> <span class="pl-s1">obj</span> : this <span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi"><span class="pl-k">void</span></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">setup</span> <span class="pl-kos">)</span> <span class="pl-en">setup</span><span class="pl-kos">(</span> <span class="pl-smi">this</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">x</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">X</span><span class="pl-kos">(</span> <span class="pl-s1">obj</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">obj</span><span class="pl-kos">.</span><span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span> <span class="pl-c">// Ok, allowed</span> <span class="pl-c">// obj.bar = 3 // Ok, not allowed</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span></pre></div> <blockquote> <p dir="auto">A 'this' type is available only in a non-static member of a class or interface.</p> </blockquote>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.8.9 / nightly<br> <strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="abstract class Abstract { protected name: string; constructor () { this.abstractMethod(); } protected abstract abstractMethod (): void; } class Concrete extends Abstract { protected name: string = 'Concrete'; protected abstractMethod () { console.log(this, this.name); // Concrete, undefined } } new Concrete(); "><pre class="notranslate"><span class="pl-k">abstract</span> <span class="pl-k">class</span> <span class="pl-smi">Abstract</span> <span class="pl-kos">{</span> <span class="pl-k">protected</span> <span class="pl-c1">name</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">abstractMethod</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">protected</span> <span class="pl-k">abstract</span> <span class="pl-c1">abstractMethod</span> <span class="pl-kos">(</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-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">Concrete</span> <span class="pl-k">extends</span> <span class="pl-smi">Abstract</span> <span class="pl-kos">{</span> <span class="pl-k">protected</span> <span class="pl-c1">name</span>: <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">'Concrete'</span><span class="pl-kos">;</span> <span class="pl-k">protected</span> <span class="pl-en">abstractMethod</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Concrete, undefined</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">new</span> <span class="pl-smi">Concrete</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Playground: <a href="http://www.typescriptlang.org/play/index.html#src=abstract%20class%20Abstract%20%7B%0D%0A%09protected%20name%3A%20string%3B%0D%0A%09%0D%0A%09constructor%20%28%29%20%7B%0D%0A%09%09this.abstractMethod%28%29%3B%0D%0A%09%7D%0D%0A%09%0D%0A%09protected%20abstract%20abstractMethod%20%28%29%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Aclass%20Concrete%20extends%20Abstract%20%7B%0D%0A%09protected%20name%3A%20string%20%3D%20'Concrete'%3B%0D%0A%09%0D%0A%09protected%20abstractMethod%20%28%29%20%7B%0D%0A%09%09console.log%28this%2C%20this.name%29%3B%0D%0A%09%7D%0D%0A%7D%0D%0A%0D%0Anew%20Concrete%28%29%3B" rel="nofollow">link</a></p> <p dir="auto"><strong>Expected behavior:</strong><br> this.name inside abstractMethod() realization must be pointed at <code class="notranslate">name</code> property of <code class="notranslate">Concrete</code> class.</p> <p dir="auto"><strong>Actual behavior:</strong><br> this.name inside abstractMethod() realization is pointed at <code class="notranslate">name</code> property of <code class="notranslate">Abstract</code> class.</p>
0
<h3 dir="auto">Current Behavior:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ find . . ./package.json ./project-a ./project-a/package.json ./project-b ./project-b/package.json $ cat package.json { &quot;name&quot;: &quot;root&quot;, &quot;workspaces&quot;: [ &quot;project-a&quot;, &quot;project-b&quot; ] } $ cat project-a/package.json { &quot;name&quot;: &quot;project-a&quot;, &quot;dependencies&quot;: { &quot;webpack&quot;: &quot;^4.41&quot;, &quot;webpack-dev-server&quot;: &quot;^3.9&quot; } } $ cat project-b/package.json { &quot;name&quot;: &quot;project-b&quot;, &quot;dependencies&quot;: { &quot;webpack&quot;: &quot;^4.41&quot;, &quot;webpack-dev-server&quot;: &quot;^3.9&quot; } } $ npm install &lt;unrelated warnings&gt; added 591 packages in 25s $ ls node_modules package.json project-a project-b $ npm ls root@ /tmp ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── project-a@ -&gt; /tmp/project-a ├── project-b@ -&gt; /tmp/project-b ├── [email protected] extraneous └── [email protected] extraneous npm ERR! code ELSPROBLEMS npm ERR! extraneous: [email protected] /tmp/node_modules/anymatch npm ERR! extraneous: [email protected] /tmp/node_modules/binary-extensions npm ERR! extraneous: [email protected] /tmp/node_modules/bindings npm ERR! extraneous: [email protected] /tmp/node_modules/chokidar npm ERR! extraneous: [email protected] /tmp/node_modules/file-uri-to-path npm ERR! extraneous: [email protected] /tmp/node_modules/fsevents npm ERR! extraneous: [email protected] /tmp/node_modules/glob-parent npm ERR! extraneous: [email protected] /tmp/node_modules/is-binary-path npm ERR! extraneous: [email protected] /tmp/node_modules/nan npm ERR! extraneous: [email protected] /tmp/node_modules/picomatch npm ERR! extraneous: [email protected] /tmp/node_modules/readdirp npm ERR! extraneous: [email protected] /tmp/node_modules/watchpack-chokidar2 $ cd project-a $ npm ls project-a@ /tmp/project-a ├── UNMET DEPENDENCY webpack-dev-server@^3.9 └── UNMET DEPENDENCY webpack@^4.41 deduped npm ERR! code ELSPROBLEMS npm ERR! missing: webpack-dev-server@^3.9, required by project-a@ npm ERR! missing: webpack@^4.41, required by project-a@ $ cd .. $ npm prune removed 26 packages in 1s"><pre class="notranslate"><code class="notranslate">$ find . . ./package.json ./project-a ./project-a/package.json ./project-b ./project-b/package.json $ cat package.json { "name": "root", "workspaces": [ "project-a", "project-b" ] } $ cat project-a/package.json { "name": "project-a", "dependencies": { "webpack": "^4.41", "webpack-dev-server": "^3.9" } } $ cat project-b/package.json { "name": "project-b", "dependencies": { "webpack": "^4.41", "webpack-dev-server": "^3.9" } } $ npm install &lt;unrelated warnings&gt; added 591 packages in 25s $ ls node_modules package.json project-a project-b $ npm ls root@ /tmp ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── [email protected] extraneous ├── project-a@ -&gt; /tmp/project-a ├── project-b@ -&gt; /tmp/project-b ├── [email protected] extraneous └── [email protected] extraneous npm ERR! code ELSPROBLEMS npm ERR! extraneous: [email protected] /tmp/node_modules/anymatch npm ERR! extraneous: [email protected] /tmp/node_modules/binary-extensions npm ERR! extraneous: [email protected] /tmp/node_modules/bindings npm ERR! extraneous: [email protected] /tmp/node_modules/chokidar npm ERR! extraneous: [email protected] /tmp/node_modules/file-uri-to-path npm ERR! extraneous: [email protected] /tmp/node_modules/fsevents npm ERR! extraneous: [email protected] /tmp/node_modules/glob-parent npm ERR! extraneous: [email protected] /tmp/node_modules/is-binary-path npm ERR! extraneous: [email protected] /tmp/node_modules/nan npm ERR! extraneous: [email protected] /tmp/node_modules/picomatch npm ERR! extraneous: [email protected] /tmp/node_modules/readdirp npm ERR! extraneous: [email protected] /tmp/node_modules/watchpack-chokidar2 $ cd project-a $ npm ls project-a@ /tmp/project-a ├── UNMET DEPENDENCY webpack-dev-server@^3.9 └── UNMET DEPENDENCY webpack@^4.41 deduped npm ERR! code ELSPROBLEMS npm ERR! missing: webpack-dev-server@^3.9, required by project-a@ npm ERR! missing: webpack@^4.41, required by project-a@ $ cd .. $ npm prune removed 26 packages in 1s </code></pre></div> <h3 dir="auto">Expected Behavior:</h3> <p dir="auto">I think that if I'm using workspaces, and <code class="notranslate">npm install</code> can hoist duplicates into the root, then:</p> <ul dir="auto"> <li><code class="notranslate">npm ls</code> should recognize child projects' demands when run from the root and not list them as extraneous;</li> <li><code class="notranslate">npm ls</code> should cope with being run from a non-root project (showing me my dep tree as the current project cares about it, seeing packages available through tree-walking); and</li> <li><code class="notranslate">npm prune</code> should not prune dependencies that are actually in use within the workspace you've run it against.</li> </ul> <p dir="auto">The extraneous warnings aren't so bad; not seeing parent available packages is kind of painful; pruning resources that are actually in use is more painful.</p> <h3 dir="auto">Environment:</h3> <p dir="auto">OSX Catalina <code class="notranslate">10.15.7</code><br> NPM version <code class="notranslate">7.0.3</code></p>
<h1 dir="auto">What / Why</h1> <p dir="auto">error cb() never called!</p> <h2 dir="auto">Where</h2> <p dir="auto">24593 silly extract @babel/[email protected]<br> 24594 silly tarball trying @babel/[email protected] by hash: sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw==<br> 24595 silly tarball trying @babel/[email protected] by hash: sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA==<br> 24596 silly tarball trying @babel/[email protected] by hash: sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A==<br> 24597 silly extract @babel/[email protected]<br> 24598 http fetch GET 200 <a href="https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz" rel="nofollow">https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz</a> 1060ms<br> 24599 silly tarball trying @babel/[email protected] by hash: sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==<br> 24600 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24601 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24602 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24603 silly extract @types/[email protected] extracted to C:\demo-sim\node_modules.staging@types\minimatch-868e8a10 (1303ms)<br> 24604 silly extract @webassemblyjs/[email protected] extracted to C:\demo-sim\node_modules.staging@webassemblyjs\utf8-7a3732bd (2244ms)<br> 24605 silly extract @babel/[email protected]<br> 24606 silly extract @babel/[email protected]<br> 24607 silly tarball trying @babel/[email protected] by hash: sha512-iAXNlOWvcYUYoV8YIxwS7TxGRJcxyl8eQCfT+A5j8sKUzRFvJdcyjp97jL2IghWSRDaL2PU2O2tX8Cu9dTBq5A==<br> 24608 silly tarball trying @babel/[email protected] by hash: sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ==<br> 24609 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24610 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24611 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\ms-1f33b978 (854ms)<br> 24612 silly extract @yarnpkg/[email protected] extracted to C:\demo-sim\node_modules.staging@yarnpkg\lockfile-9f02f32c (2496ms)<br> 24613 silly extract @xtuc/[email protected] extracted to C:\demo-sim\node_modules.staging@xtuc\long-eb1732bf (2496ms)<br> 24614 http fetch GET 200 <a href="https://registry.npmjs.org/@types/jasmine/-/jasmine-3.4.6.tgz" rel="nofollow">https://registry.npmjs.org/@types/jasmine/-/jasmine-3.4.6.tgz</a> 1108ms<br> 24615 http fetch GET 200 <a href="https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz" rel="nofollow">https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz</a> 1107ms<br> 24616 silly extract @babel/[email protected]<br> 24617 silly extract @babel/[email protected]<br> 24618 silly extract @babel/[email protected]<br> 24619 silly extract @types/[email protected] extracted to C:\demo-sim\node_modules.staging@types\events-b53b6fb1 (1270ms)<br> 24620 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\adm-zip-ec1d2e54 (2740ms)<br> 24621 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\css-line-break-d000e8df (11725ms)<br> 24622 http fetch GET 200 <a href="https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz" rel="nofollow">https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz</a> 1109ms<br> 24623 silly tarball trying @babel/[email protected] by hash: sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ==<br> 24624 silly tarball trying @babel/[email protected] by hash: sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA==<br> 24625 silly tarball trying @babel/[email protected] by hash: sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==<br> 24626 silly extract @babel/[email protected]<br> 24627 silly extract @babel/[email protected]<br> 24628 silly extract @babel/[email protected]<br> 24629 silly tarball trying @babel/[email protected] by hash: sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg==<br> 24630 silly tarball trying @babel/[email protected] by hash: sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg==<br> 24631 silly tarball trying @babel/[email protected] by hash: sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g==<br> 24632 silly extract @istanbuljs/[email protected] extracted to C:\demo-sim\node_modules.staging@istanbuljs\schema-045508b8 (1420ms)<br> 24633 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24634 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24635 silly extract @babel/[email protected]<br> 24636 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24637 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24638 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24639 silly tarball trying @babel/[email protected] by hash: sha512-QIoIR9abkVn+seDE3OjA08jWcs3eZ9+wJCKSRgo3WdEU2csFYgdScb+8qHB3+WXsGJD55u+5hWCISI7ejXS+kg==<br> 24640 silly extract @types/[email protected] extracted to C:\demo-sim\node_modules.staging@types\jasmine-42378ae1 (1792ms)<br> 24641 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24642 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz</a> 1238ms<br> 24643 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz</a> 1236ms<br> 24644 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz</a> 1239ms<br> 24645 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz</a> 1240ms<br> 24646 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz</a> 1231ms<br> 24647 silly extract @babel/[email protected]<br> 24648 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-shorthand-properties-6152fbab (1549ms)<br> 24649 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-reserved-words-f2aca8fd (1549ms)<br> 24650 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-typeof-symbol-04110995 (1550ms)<br> 24651 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-spread-0d007dbb (1549ms)<br> 24652 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\semver-d829de14 (1660ms)<br> 24653 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-property-literals-268ce43a (1558ms)<br> 24654 silly tarball trying @babel/[email protected] by hash: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==<br> 24655 silly extract @babel/[email protected]<br> 24656 silly extract @babel/[email protected]<br> 24657 silly extract @babel/[email protected]<br> 24658 silly extract @babel/[email protected]<br> 24659 silly extract @babel/[email protected]<br> 24660 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz</a> 1324ms<br> 24661 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz</a> 1325ms<br> 24662 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz</a> 1328ms<br> 24663 silly tarball trying @babel/[email protected] by hash: sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw==<br> 24664 silly tarball trying @babel/[email protected] by hash: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==<br> 24665 silly tarball trying @babel/[email protected] by hash: sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA==<br> 24666 silly tarball trying @babel/[email protected] by hash: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==<br> 24667 silly tarball trying @babel/[email protected] by hash: sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw==<br> 24668 silly extract @babel/[email protected]<br> 24669 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24670 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-literals-c5ed5c89 (1496ms)<br> 24671 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-member-expression-literals-67804385 (1497ms)<br> 24672 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-new-target-2406ebe7 (1497ms)<br> 24673 silly extract @types/[email protected] extracted to C:\demo-sim\node_modules.staging@types\selenium-webdriver-486338c6 (2945ms)<br> 24674 silly tarball trying @babel/[email protected] by hash: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==<br> 24675 silly extract @babel/[email protected]<br> 24676 silly extract @babel/[email protected]<br> 24677 silly extract @babel/[email protected]<br> 24678 silly extract @babel/[email protected]<br> 24679 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\debug-3d1a33fe (2258ms)<br> 24680 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24681 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24682 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24683 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24684 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24685 silly tarball trying @babel/[email protected] by hash: sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q==<br> 24686 silly tarball trying @babel/[email protected] by hash: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==<br> 24687 silly tarball trying @babel/[email protected] by hash: sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w==<br> 24688 silly tarball trying @babel/[email protected] by hash: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==<br> 24689 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24690 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.4.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.4.tgz</a> 1388ms<br> 24691 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz</a> 1388ms<br> 24692 silly extract @babel/[email protected]<br> 24693 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24694 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24695 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24696 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24697 silly tarball trying @babel/[email protected] by hash: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==<br> 24698 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-for-of-57d55122 (1677ms)<br> 24699 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-duplicate-keys-9d8e2db1 (1677ms)<br> 24700 silly tarball no local data for @babel/[email protected]. Extracting by manifest.<br> 24701 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz</a> 1413ms<br> 24702 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-computed-properties-74479426 (1736ms)<br> 24703 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\ajv-keywords-7d16114a (4577ms)<br> 24704 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz</a> 1563ms<br> 24705 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-destructuring-18c6d34f (1912ms)<br> 24706 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz</a> 1673ms<br> 24707 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz</a> 1672ms<br> 24708 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz</a> 1672ms<br> 24709 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-block-scoped-functions-4bb43a17 (1916ms)<br> 24710 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-transform-arrow-functions-7847f5a1 (1916ms)<br> 24711 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-top-level-await-d7d3225e (1916ms)<br> 24712 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.8.3.tgz</a> 1544ms<br> 24713 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\bluebird-dbc52a2f (7775ms)<br> 24714 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-proposal-optional-chaining-9c43f0f6 (1952ms)<br> 24715 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz</a> 1485ms<br> 24716 http fetch GET 200 <a href="https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz</a> 5229ms<br> 24717 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-optional-chaining-f34cd2be (1826ms)<br> 24718 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz</a> 1431ms<br> 24719 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz</a> 1429ms<br> 24720 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz</a> 1419ms<br> 24721 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz</a> 1295ms<br> 24722 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz</a> 1298ms<br> 24723 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz</a> 1295ms<br> 24724 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz</a> 1296ms<br> 24725 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-optional-catch-binding-5fde7dd8 (1796ms)<br> 24726 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-proposal-nullish-coalescing-operator-e6a3b29a (1796ms)<br> 24727 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-nullish-coalescing-operator-6ddc6341 (1703ms)<br> 24728 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz</a> 1557ms<br> 24729 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz</a> 1556ms<br> 24730 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz</a> 1555ms<br> 24731 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-json-strings-68518c58 (1625ms)<br> 24732 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-proposal-json-strings-ca3b2c50 (1625ms)<br> 24733 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-dynamic-import-7e3a9271 (1623ms)<br> 24734 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-proposal-dynamic-import-1c6e1cfd (1625ms)<br> 24735 http fetch GET 200 <a href="https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" rel="nofollow">https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz</a> 1300ms<br> 24736 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-proposal-optional-catch-binding-950dbfc9 (1890ms)<br> 24737 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-proposal-object-rest-spread-5f2c26b8 (1890ms)<br> 24738 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-object-rest-spread-1c398abd (1890ms)<br> 24739 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\plugin-syntax-async-generators-249dcea0 (1475ms)<br> 24740 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\aria-query-5e045517 (13847ms)<br> 24741 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\acorn-a7e4b9b9 (6901ms)<br> 24742 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\source-map-d8b08dea (6153ms)<br> 24743 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\axobject-query-9dea3cd3 (9804ms)<br> 24744 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\clean-css-be445bc3 (14640ms)<br> 24745 silly extract @types/[email protected] extracted to C:\demo-sim\node_modules.staging@types\node-51ed1f77 (7471ms)<br> 24746 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\es-abstract-2cb3dea1 (56533ms)<br> 24747 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\parser-74107ee2 (10075ms)<br> 24748 silly extract @babel/[email protected] extracted to C:\demo-sim\node_modules.staging@babel\parser-86e38b1e (10086ms)<br> 24749 http fetch GET 200 <a href="https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz" rel="nofollow">https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz</a> 44635ms<br> 24750 http fetch GET 200 <a href="https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001024.tgz" rel="nofollow">https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001024.tgz</a> 32254ms<br> 24751 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\lodash-19dda217 (59034ms)<br> 24752 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\caniuse-lite-204f526c (40300ms)<br> 24753 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\fsevents-90b46f44 (71328ms)<br> 24754 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\less-9b5d3831 (143296ms)<br> 24755 http fetch GET 200 <a href="https://registry.npmjs.org/@angular/compiler/-/compiler-8.2.14.tgz" rel="nofollow">https://registry.npmjs.org/@angular/compiler/-/compiler-8.2.14.tgz</a> 166318ms<br> 24756 http fetch GET 200 <a href="https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz" rel="nofollow">https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz</a> 172380ms<br> 24757 http fetch GET 200 <a href="https://registry.npmjs.org/@angular/core/-/core-8.2.14.tgz" rel="nofollow">https://registry.npmjs.org/@angular/core/-/core-8.2.14.tgz</a> 168204ms<br> 24758 silly extract @angular/[email protected] extracted to C:\demo-sim\node_modules.staging@angular\compiler-d548f4ce (168884ms)<br> 24759 http fetch GET 200 <a href="https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz" rel="nofollow">https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz</a> 50121ms<br> 24760 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\typescript-b2540c7c (173583ms)<br> 24761 http fetch GET 200 <a href="https://registry.npmjs.org/typescript/-/typescript-3.4.5.tgz" rel="nofollow">https://registry.npmjs.org/typescript/-/typescript-3.4.5.tgz</a> 172137ms<br> 24762 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\typescript-26b2907b (173332ms)<br> 24763 silly extract @angular/[email protected] extracted to C:\demo-sim\node_modules.staging@angular\core-f7f06e0d (171509ms)<br> 24764 http fetch GET 200 <a href="https://registry.npmjs.org/@angular/common/-/common-8.2.14.tgz" rel="nofollow">https://registry.npmjs.org/@angular/common/-/common-8.2.14.tgz</a> 185952ms<br> 24765 silly extract @angular/[email protected] extracted to C:\demo-sim\node_modules.staging@angular\common-50de86fe (191961ms)<br> 24766 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\core-js-865c032f (76072ms)<br> 24767 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 165092ms<br> 24768 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 165370ms<br> 24769 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 164930ms<br> 24770 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 164991ms<br> 24771 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 165258ms<br> 24772 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 165074ms<br> 24773 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz</a> 165720ms<br> 24774 http fetch GET 200 <a href="https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz" rel="nofollow">https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz</a> 171904ms<br> 24775 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-b4916d61 (177849ms)<br> 24776 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-9e8be1ec (178061ms)<br> 24777 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-2b3a6c83 (177609ms)<br> 24778 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-a3a887a6 (177666ms)<br> 24779 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-2bde8f31 (177965ms)<br> 24780 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-abc5b794 (177634ms)<br> 24781 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-cf7771d2 (177739ms)<br> 24782 silly extract [email protected] extracted to C:\demo-sim\node_modules.staging\rxjs-697b6ca6 (178886ms)<br> 24783 timing npm Completed in 249412ms<br> 24784 error cb() never called!<br> 24785 error This is an error with npm itself. Please report this error at:<br> 24786 error <a href="https://npm.community" rel="nofollow">https://npm.community</a></p>
0
<p dir="auto">Assigning to field of recarray is not working correctly. Example script is below.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np rec = np.recarray(1, dtype=[('x', float, 5)]) # Bug behaviour rec[0].x = 1 print rec[0] # should print: (array([ 1., 1., 1., 1., 1.]),) # but prints uninitialized float values # Correct behaviour rec.x = 2 print rec[0] # prints: (array([ 2., 2., 2., 2., 2.]),)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-s1">rec</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">recarray</span>(<span class="pl-c1">1</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span>[(<span class="pl-s">'x'</span>, <span class="pl-s1">float</span>, <span class="pl-c1">5</span>)]) <span class="pl-c"># Bug behaviour</span> <span class="pl-s1">rec</span>[<span class="pl-c1">0</span>].<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-k">print</span> <span class="pl-s1">rec</span>[<span class="pl-c1">0</span>] <span class="pl-c"># should print: (array([ 1., 1., 1., 1., 1.]),)</span> <span class="pl-c"># but prints uninitialized float values</span> <span class="pl-c"># Correct behaviour</span> <span class="pl-s1">rec</span>.<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span> <span class="pl-k">print</span> <span class="pl-s1">rec</span>[<span class="pl-c1">0</span>] <span class="pl-c"># prints: (array([ 2., 2., 2., 2., 2.]),)</span></pre></div>
<p dir="auto">When assigning arrays inside structured arrays without a left sided <code class="notranslate">[:]</code>, only the first element gets actually assigned. This is shown in the following code snippet, where a structured array is initialized with zeros, and then filled by assignment of an array, and the assignment of a structured array. The assignment of the array only assigns the first value, where the assignment of the structured array assigns all values:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [2]: np.__version__ Out[2]: '1.7.0' In [3]: struct_dt = np.dtype([ ...: ('elem', 'i4', 5), ...: ]) In [4]: dt = np.dtype([ ...: ('field', 'i4', 10), ...: ('struct', struct_dt) ...: ]) In [5]: x = np.zeros(1, dt) In [6]: x[0]['field'] = np.ones(10, dtype='i4') In [7]: x[0]['struct'] = np.ones(1, dtype=struct_dt) In [8]: x Out[8]: array([([1, 0, 0, 0, 0, 0, 0, 0, 0, 0], ([1, 1, 1, 1, 1],))], dtype=[('field', '&lt;i4', (10,)), ('struct', [('elem', '&lt;i4', (5,))])])"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">np</span>.<span class="pl-s1">__version__</span> <span class="pl-v">Out</span>[<span class="pl-c1">2</span>]: <span class="pl-s">'1.7.0'</span> <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">struct_dt</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">dtype</span>([ ...: (<span class="pl-s">'elem'</span>, <span class="pl-s">'i4'</span>, <span class="pl-c1">5</span>), ...: ]) <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">dt</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">dtype</span>([ ...: (<span class="pl-s">'field'</span>, <span class="pl-s">'i4'</span>, <span class="pl-c1">10</span>), ...: (<span class="pl-s">'struct'</span>, <span class="pl-s1">struct_dt</span>) ...: ]) <span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">1</span>, <span class="pl-s1">dt</span>) <span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">x</span>[<span class="pl-c1">0</span>][<span class="pl-s">'field'</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-c1">10</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'i4'</span>) <span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">x</span>[<span class="pl-c1">0</span>][<span class="pl-s">'struct'</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-c1">1</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">struct_dt</span>) <span class="pl-v">In</span> [<span class="pl-c1">8</span>]: <span class="pl-s1">x</span> <span class="pl-v">Out</span>[<span class="pl-c1">8</span>]: <span class="pl-en">array</span>([([<span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>], ([<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>],))], <span class="pl-s1">dtype</span><span class="pl-c1">=</span>[(<span class="pl-s">'field'</span>, <span class="pl-s">'&lt;i4'</span>, (<span class="pl-c1">10</span>,)), (<span class="pl-s">'struct'</span>, [(<span class="pl-s">'elem'</span>, <span class="pl-s">'&lt;i4'</span>, (<span class="pl-c1">5</span>,))])])</pre></div> <p dir="auto">The expected result is that all elements of <code class="notranslate">x[0]['field']</code> are 1.</p> <p dir="auto">However, <code class="notranslate">x[0]['field']</code> "recognizes" some part of the assigned array, as it will complain about broadcasting problems for wrong sizes:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [9]: x[0]['field'] = np.ones(9, dtype='i4') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-9-80d7cbce6711&gt; in &lt;module&gt;() ----&gt; 1 x[0]['field'] = np.ones(9, dtype='i4') ValueError: could not broadcast input array from shape (9) into shape (9,10)"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">9</span>]: <span class="pl-s1">x</span>[<span class="pl-c1">0</span>][<span class="pl-s">'field'</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-c1">9</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'i4'</span>) <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">ValueError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) <span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">9</span><span class="pl-c1">-</span><span class="pl-c1">80</span><span class="pl-s1">d7cbce6711</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>() <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">x</span>[<span class="pl-c1">0</span>][<span class="pl-s">'field'</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-c1">9</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'i4'</span>) <span class="pl-v">ValueError</span>: <span class="pl-s1">could</span> <span class="pl-c1">not</span> <span class="pl-s1">broadcast</span> <span class="pl-s1">input</span> <span class="pl-s1">array</span> <span class="pl-k">from</span> <span class="pl-en">shape</span> (<span class="pl-c1">9</span>) <span class="pl-s1">into</span> <span class="pl-en">shape</span> (<span class="pl-c1">9</span>,<span class="pl-c1">10</span>)</pre></div> <p dir="auto">As mentioned in the beginning, adding <code class="notranslate">[:]</code> on the left side (In [6]) will correctly set all elements to 1. If the shown assignment is not allowed, I would have expected that an exception gets raised?</p>
1
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 1.0.0<br> <strong>System</strong>: Unknown Windows Version<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33) at HTMLDocument.handler (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)"><pre class="notranslate"><code class="notranslate">At C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33) at HTMLDocument.handler (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\abdou\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 2x -9:56.2.0 core:move-right (atom-text-editor.editor.is-focused) -9:39.3.0 editor:newline (atom-text-editor.editor.is-focused) 20x -9:35.6.0 core:backspace (atom-text-editor.editor.is-focused) 3x -3:15.6.0 core:copy (atom-text-editor.editor.is-focused) -3:08.6.0 core:paste (atom-text-editor.editor.is-focused) -3:01.7.0 core:backspace (atom-text-editor.editor.is-focused) -2:45.1.0 core:save (atom-text-editor.editor.is-focused) 3x -1:11.6.0 core:copy (atom-text-editor.editor.is-focused) -1:01.3.0 editor:newline (atom-text-editor.editor.is-focused) -1:01.0 core:paste (atom-text-editor.editor.is-focused) -0:48.8.0 core:save (atom-text-editor.editor.is-focused) 3x -0:33 core:copy (atom-text-editor.editor.is-focused) -0:26.7.0 core:paste (atom-text-editor.editor.is-focused) -0:23.8.0 core:backspace (atom-text-editor.editor.is-focused) 9x -0:22.2.0 core:delete (atom-text-editor.editor.is-focused) 3x -0:09.5.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> 2x -9:56.2.0 core:move-right (atom-text-editor.editor.is-focused) -9:39.3.0 editor:newline (atom-text-editor.editor.is-focused) 20x -9:35.6.0 core:backspace (atom-text-editor.editor.is-focused) 3x -3:15.6.0 core:copy (atom-text-editor.editor.is-focused) -3:08.6.0 core:paste (atom-text-editor.editor.is-focused) -3:01.7.0 core:backspace (atom-text-editor.editor.is-focused) -2:45.1.0 core:save (atom-text-editor.editor.is-focused) 3x -1:11.6.0 core:copy (atom-text-editor.editor.is-focused) -1:01.3.0 editor:newline (atom-text-editor.editor.is-focused) -1:01.0 core:paste (atom-text-editor.editor.is-focused) -0:48.8.0 core:save (atom-text-editor.editor.is-focused) 3x -0:33 core:copy (atom-text-editor.editor.is-focused) -0:26.7.0 core:paste (atom-text-editor.editor.is-focused) -0:23.8.0 core:backspace (atom-text-editor.editor.is-focused) 9x -0:22.2.0 core:delete (atom-text-editor.editor.is-focused) 3x -0:09.5.0 core:save (atom-text-editor.editor.is-focused) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: {}, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;showIndentGuide&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: {}, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User No installed packages # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> <span class="pl-en">No</span> <span class="pl-en">installed</span> packages <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">I right-clicked on a folder in the tree view</p> <p dir="auto"><strong>Atom Version</strong>: 0.194.0<br> <strong>System</strong>: Windows 7 Entreprise<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) "><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;ignoredNames&quot;: [ &quot;node_modules&quot; ], &quot;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;seti-syntax&quot; ], &quot;disabledPackages&quot;: [ &quot;Tern&quot; ], &quot;projectHome&quot;: &quot;Y:\\app-tfoumax&quot; }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;softWrap&quot;: true, &quot;showIndentGuide&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"ignoredNames"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span> ], <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span> ], <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span> ], <span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span> }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User autocomplete-plus, v2.12.0 autocomplete-snippets, v1.2.0 javascript-snippets, v1.0.0 jshint, v1.3.5 language-ejs, v0.1.0 linter, v0.12.1 pretty-json, v0.3.3 save-session, v0.14.0 Search, v0.4.0 seti-syntax, v0.4.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span> javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span> language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span> pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span> save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span> Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
1
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">This solve the issue where multiple root components is not allowed like for instance</p> <p dir="auto">i'm trying to do this with slots using my own component for page loading and checking if its on loading and not loading state and checking if its valid to render the main component</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;template lang=&quot;pug&quot;&gt; v-progress-linear.ma-0(v-if=&quot;loading&quot; color=&quot;secondary&quot;) div(v-else-if=&quot;loaded&quot;) slot v-container(fluid fill-height v-else) v-layout(justify-center align-center) slot(name=&quot;no-result&quot;) h1.text-xs-center No Result &lt;/template&gt; &lt;script&gt; export default { name: &quot;Page&quot;, props: { loading: { type: Number, default: 0 }, valid: { type: Boolean } }, computed: { loaded() { return this.valid &amp;&amp; !this.loading; } } }; &lt;/script&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">template</span> <span class="pl-c1">lang</span><span class="pl-c1">=</span><span class="pl-s">"pug"</span><span class="pl-c1">&gt;</span> v-progress-linear.ma-0(v-if="loading" color="secondary") div(v-else-if="loaded") slot v-container(fluid fill-height v-else) v-layout(justify-center align-center) slot(name="no-result") h1.text-xs-center No Result <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">template</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-s1">script</span><span class="pl-c1">&gt;</span> <span class="pl-k">export</span> <span class="pl-s1">default</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">"Page"</span><span class="pl-kos">,</span> <span class="pl-c1">props</span>: <span class="pl-kos">{</span> <span class="pl-c1">loading</span>: <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-v">Number</span><span class="pl-kos">,</span> <span class="pl-c1">default</span>: <span class="pl-c1">0</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">valid</span>: <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-v">Boolean</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">computed</span>: <span class="pl-kos">{</span> <span class="pl-en">loaded</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">valid</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-c1">!</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">loading</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">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">script</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">So in this part of the template makes another div to just prevent the multiple root issue</p> <div class="highlight highlight-text-jade notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" div(v-else-if=&quot;loaded&quot;) slot"><pre class="notranslate"> div<span class="pl-c1">(</span><span class="pl-e">v-else-if</span>=<span class="pl-s">"loaded"</span><span class="pl-c1">)</span> slot</pre></div> <p dir="auto">so doing it like this would help</p> <div class="highlight highlight-text-jade notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="slot(fragment) Fall back content"><pre class="notranslate">slot<span class="pl-c1">(</span><span class="pl-e">fragment</span><span class="pl-c1">)</span> Fall back content</pre></div> <p dir="auto">I know this thing can be done somehow on render functions</p> <p dir="auto">but its not vueish anymore :)</p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">so in slots</p> <p dir="auto">we can do</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;slot fragment&gt;&lt;/slot&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">slot</span> <span class="pl-c1">fragment</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">slot</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">and in template syntax</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;template fragment&gt; &lt;/template&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">template</span> <span class="pl-c1">fragment</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">template</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Got the idea here <a href="https://reactjs.org/docs/fragments.html" rel="nofollow">https://reactjs.org/docs/fragments.html</a></p>
<p dir="auto">Vue version 0.11.4</p> <p dir="auto">encounter below error :<br> vue.js:4467 Uncaught TypeError: Cannot read property 'update' of undefined vue.js:4467<br> p.notify vue.js:6958<br> Object.defineProperty.setvue.js:1489<br> proxySetterrecordMainPage.js:49<br> Vue.component.methods.onRecordChangevue.js:1894<br> (anonymous function)VM58885:3<br> (anonymous function)vue.js:4622<br> handler vue.js:3415<br> handler</p> <p dir="auto">it happens only once. if click other dropdown it works as well.</p> <p dir="auto">if jsfiddle example needed, i will extract one.</p>
0
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">If we define many-to-many relation in base class with secondary table s1, and then re-define it with secondary table s2 in inherited class, it will try to use both relations and insert records in both s1 and s2.<br> So in provided example we get<br> deleted_posts -&gt; deleted_post_files &lt;- files AND deleted_posts -&gt; post_files &lt;- files, so object from base class with same primary index gets incorrectly associated to files table.</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/1477/sa_test3.py">sa_test3.py</a></p>
<p dir="auto"><strong>Migrated issue, originally created by paj (<a href="https://github.com/paj">@paj</a>)</strong></p> <p dir="auto">The MSSQL module supports three different DBAPIs. It should be possible for the user to specify which one they want, ideally using a string, so this can be done from a framework's configuration file. Although there's code that tries to support this, it doesn't work at present, primarily because the MSSQLDialect.<strong>new</strong> doesn't see the constructor arguments, which would tell it which DBAPI to use.</p> <p dir="auto">Fixing this may require a bit of a refactor, possibly beyond the MSSQL module.</p>
0
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>3.4.0-DEV</td> </tr> </tbody> </table> <p dir="auto">When trying to use an env() placeholder on a config option that is being validated, it takes the placeholder literally and it fails the validation.</p> <p dir="auto">Here's a fresh new project replicating the error:<br> <a href="https://github.com/symfony/symfony-standard/compare/master...felds:config-vs-env?expand=1">https://github.com/symfony/symfony-standard/compare/master...felds:config-vs-env?expand=1</a></p> <p dir="auto">Relevant changes:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# app/config/config.yml parameters: env(SMTP_HOST): smtp.example.com env(SMTP_ENCRYPTION): tls swiftmailer: host: &quot;%env(SMTP_HOST)%&quot; # &lt;-- this works… encryption: &quot;%env(SMTP_ENCRYPTION)%&quot; # &lt;-- but this breaks"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> app/config/config.yml</span> <span class="pl-ent">parameters</span>: <span class="pl-ent">env(SMTP_HOST)</span>: <span class="pl-s">smtp.example.com</span> <span class="pl-ent">env(SMTP_ENCRYPTION)</span>: <span class="pl-s">tls</span> <span class="pl-ent">swiftmailer</span>: <span class="pl-ent">host</span>: <span class="pl-s"><span class="pl-pds">"</span>%env(SMTP_HOST)%<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span> &lt;-- this works…</span> <span class="pl-ent">encryption</span>: <span class="pl-s"><span class="pl-pds">"</span>%env(SMTP_ENCRYPTION)%<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span> &lt;-- but this breaks</span></pre></div>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="swiftmailer: transport: '%env(MAILER_TRANSPORT)%' host: '%env(MAILER_HOST)%' port: '%env(MAILER_PORT)%' encryption: '%env(MAILER_ENCRYPTION)%' username: '%env(MAILER_USER)%' password: '%env(MAILER_PASS)%'"><pre class="notranslate"><span class="pl-ent">swiftmailer</span>: <span class="pl-ent">transport</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(MAILER_TRANSPORT)%<span class="pl-pds">'</span></span> <span class="pl-ent">host</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(MAILER_HOST)%<span class="pl-pds">'</span></span> <span class="pl-ent">port</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(MAILER_PORT)%<span class="pl-pds">'</span></span> <span class="pl-ent">encryption</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(MAILER_ENCRYPTION)%<span class="pl-pds">'</span></span> <span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(MAILER_USER)%<span class="pl-pds">'</span></span> <span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(MAILER_PASS)%<span class="pl-pds">'</span></span></pre></div> <p dir="auto">This config throws a <code class="notranslate">The "%env(MAILER_ENCRYPTION)%" encryption is not supported</code> exception.</p> <p dir="auto">This happens because of the <code class="notranslate">-&gt;ifNotInArray(array('tls', 'ssl', null))</code> check. <code class="notranslate">ContainerBuilder::resolveEnvPlaceholders</code> happens later.</p>
1
<p dir="auto">It's possible this behavior is to-spec, but I don't think so. As I understand it, in the example input code below, the object literal creates a block scope but the function itself creates an additional block scope. Thus, the inner <code class="notranslate">let foo</code> should shadow, not collide with, the outer <code class="notranslate">function foo</code></p> <h3 dir="auto">Input Code</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let obj = { foo: function foo() { let foo = true; console.log('foo ran'); } }; obj.foo();"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">obj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">foo</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">let</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-c1">true</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">'foo ran'</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">obj</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> <h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// .babelrc {}"><pre class="notranslate"><span class="pl-c">// .babelrc</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">The code should compile with no errors.</p> <h3 dir="auto">Current Behavior</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: index.js: Duplicate declaration &quot;foo&quot; 2 | let obj = { 3 | foo: function foo() { &gt; 4 | let foo = true; | ^ 5 | console.log('foo ran'); 6 | } 7 | }; at File.buildCodeFrameError (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-core/lib/transformation/file/index.js:431:15) at Scope.checkBlockScopedCollisions (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:403:27) at Scope.registerBinding (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:597:16) at Scope.registerDeclaration (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:501:14) at Object.BlockScoped (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:189:28) at Object.newFn (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/visitors.js:318:17) at NodePath._call (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/path/context.js:76:18) at NodePath.call (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/path/context.js:44:14) at NodePath.visit (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/path/context.js:105:12) at TraversalContext.visitQueue (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/context.js:150:16)"><pre class="notranslate"><code class="notranslate">TypeError: index.js: Duplicate declaration "foo" 2 | let obj = { 3 | foo: function foo() { &gt; 4 | let foo = true; | ^ 5 | console.log('foo ran'); 6 | } 7 | }; at File.buildCodeFrameError (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-core/lib/transformation/file/index.js:431:15) at Scope.checkBlockScopedCollisions (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:403:27) at Scope.registerBinding (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:597:16) at Scope.registerDeclaration (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:501:14) at Object.BlockScoped (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/scope/index.js:189:28) at Object.newFn (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/visitors.js:318:17) at NodePath._call (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/path/context.js:76:18) at NodePath.call (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/path/context.js:44:14) at NodePath.visit (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/path/context.js:105:12) at TraversalContext.visitQueue (/Users/daw/scratch/babel-duplicate-declaration-reproduction/node_modules/babel-traverse/lib/context.js:150:16) </code></pre></div> <h3 dir="auto">Context</h3> <p dir="auto">I originally encountered this trying to run already-compiled code through babel again (long story). The es2015 class transform outputs code that uses this kind of object literal syntax with methods defined via named <code class="notranslate">function</code> expressions. The result is that if you define a variable <code class="notranslate">foo</code> inside a method named <code class="notranslate">foo</code>, the resulting code will throw the above error if run through the babel compiler again.</p> <h3 dir="auto">Your Environment</h3> <table role="table"> <thead> <tr> <th>software</th> <th>version</th> </tr> </thead> <tbody> <tr> <td>Babel</td> <td>6.18.0</td> </tr> <tr> <td>node</td> <td>6.6.0</td> </tr> <tr> <td>yarn</td> <td>0.17.9</td> </tr> <tr> <td>Operating System</td> <td>OS X 10.11.6</td> </tr> </tbody> </table>
<blockquote> <p dir="auto">Issue originally made by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FuzzOli87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FuzzOli87">@FuzzOli87</a></p> </blockquote> <h3 dir="auto">Bug information</h3> <ul dir="auto"> <li><strong>Babel version:</strong> 6.3.13</li> <li><strong>Node version:</strong> v5.3.0</li> <li><strong>npm version:</strong> 3.5.3</li> </ul> <h3 dir="auto">Options</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [&quot;es2015&quot;], &quot;plugins&quot;: [ &quot;transform-runtime&quot; ] }"><pre class="notranslate"><code class="notranslate">{ "presets": ["es2015"], "plugins": [ "transform-runtime" ] } </code></pre></div> <h3 dir="auto">Description</h3> <p dir="auto">When using the runtime plugin, it adds an import statement after transpiling the code leading to errors.</p> <p dir="auto">Test repo:<br> <a href="https://github.com/FuzzOli87/test-ava-repo">https://github.com/FuzzOli87/test-ava-repo</a></p> <p dir="auto">Doing node foo.js creates the issue where gen.js gets transpiled with an import statement.</p>
0
<p dir="auto">davidtest@CaffeVM:~/tensorflow/tensorflow/tensorflow/examples/tutorials/mnist$ python fully_connected_feed.py<br> Traceback (most recent call last):<br> File "fully_connected_feed.py", line 277, in <br> tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run<br> _sys.exit(main(_sys.argv[:1] + flags_passthrough))<br> File "fully_connected_feed.py", line 222, in main<br> run_training()<br> File "fully_connected_feed.py", line 120, in run_training<br> data_sets = input_data.read_data_sets(FLAGS.input_data_dir, FLAGS.fake_data)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 211, in read_data_sets<br> SOURCE_URL + TRAIN_IMAGES)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 208, in maybe_download<br> temp_file_name, _ = urlretrieve_with_retry(source_url)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 165, in wrapped_fn<br> return fn(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 190, in urlretrieve_with_retry<br> return urllib.request.urlretrieve(url, filename)<br> File "/usr/lib/python2.7/urllib.py", line 94, in urlretrieve<br> return _urlopener.retrieve(url, filename, reporthook, data)<br> File "/usr/lib/python2.7/urllib.py", line 240, in retrieve<br> fp = self.open(url, data)<br> File "/usr/lib/python2.7/urllib.py", line 208, in open<br> return getattr(self, name)(url)<br> File "/usr/lib/python2.7/urllib.py", line 345, in open_http<br> h.endheaders(data)<br> File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders<br> self._send_output(message_body)<br> File "/usr/lib/python2.7/httplib.py", line 864, in _send_output<br> self.send(msg)<br> File "/usr/lib/python2.7/httplib.py", line 826, in send<br> self.connect()<br> File "/usr/lib/python2.7/httplib.py", line 807, in connect<br> self.timeout, self.source_address)<br> File "/usr/lib/python2.7/socket.py", line 571, in create_connection<br> raise err</p>
<p dir="auto">The website of Yann LeCun is down at the moment.<br> Therefore the MNIST-Script for downloading the files doesn't work either. (-&gt; learn/python/learn/datasets/mnist.py won't work)<br> Are there any mirrors?</p>
1
<p dir="auto">Either the <code class="notranslate">sass</code> or the <code class="notranslate">less</code> (which ever is used to print the <code class="notranslate">css</code> in the downloadable package) is making the <code class="notranslate">.row:after</code>, <code class="notranslate">.row:before</code>, <code class="notranslate">.container:after</code>, and <code class="notranslate">.container:before</code> elements twice.</p>
<p dir="auto">show on bootstrap.css</p> <p dir="auto"><a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L581">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L581</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L723">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L723</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L743">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L743</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2023">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2023</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2433">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2433</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2617">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2617</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2637">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2637</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3032">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3032</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3296">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3296</a><br> <a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3453">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3453</a></p>
1
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br> Yes, duplicated the minimal code from documentation snippet <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/distribute#example-with-keras-api">here</a></li> </ul> <p dir="auto">But the included <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/distribute/python/examples/keras_mnist.py">keras_mnist.py</a> example is broken as well.</p> <ul dir="auto"> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br> Docker container <code class="notranslate">tensorflow/tensorflow:1.11.0-rc2-gpu-py3</code></li> <li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>:</li> <li><strong>TensorFlow installed from (source or binary)</strong>:</li> <li><strong>TensorFlow version (use command below)</strong>:</li> <li><strong>Python version</strong>:</li> <li><strong>Bazel version (if compiling from source)</strong>:</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>:</li> <li><strong>CUDA/cuDNN version</strong>:</li> <li><strong>GPU model and memory</strong>:<br> 2 x 1080ti</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto"><a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/distribute/python/examples/keras_mnist.py">keras_mnist.py</a> example seems to break. Investigating further...</p> <p dir="auto">Optimizers other than <code class="notranslate">tf.train.GradientDescentOptimizer</code> are not working with <code class="notranslate">MirroredStrategy</code> for Keras models as shown in this official <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/distribute#example-with-keras-api">example</a></p> <h3 dir="auto">Source code / logs</h3> <p dir="auto"><strong>Setup</strong>, copied from the <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/distribute#example-with-keras-api">example</a>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="inputs = tf.keras.layers.Input(shape=(1,)) predictions = tf.keras.layers.Dense(1)(inputs) model = tf.keras.models.Model(inputs=inputs, outputs=predictions) features = tf.data.Dataset.from_tensors([1.]).repeat(10000).batch(10) labels = tf.data.Dataset.from_tensors([1.]).repeat(10000).batch(10) train_dataset = tf.data.Dataset.zip((features, labels)) distribution = tf.contrib.distribute.MirroredStrategy()"><pre class="notranslate"><span class="pl-s1">inputs</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-v">Input</span>(<span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>,)) <span class="pl-s1">predictions</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">layers</span>.<span class="pl-v">Dense</span>(<span class="pl-c1">1</span>)(<span class="pl-s1">inputs</span>) <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">models</span>.<span class="pl-v">Model</span>(<span class="pl-s1">inputs</span><span class="pl-c1">=</span><span class="pl-s1">inputs</span>, <span class="pl-s1">outputs</span><span class="pl-c1">=</span><span class="pl-s1">predictions</span>) <span class="pl-s1">features</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">data</span>.<span class="pl-v">Dataset</span>.<span class="pl-en">from_tensors</span>([<span class="pl-c1">1.</span>]).<span class="pl-en">repeat</span>(<span class="pl-c1">10000</span>).<span class="pl-en">batch</span>(<span class="pl-c1">10</span>) <span class="pl-s1">labels</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">data</span>.<span class="pl-v">Dataset</span>.<span class="pl-en">from_tensors</span>([<span class="pl-c1">1.</span>]).<span class="pl-en">repeat</span>(<span class="pl-c1">10000</span>).<span class="pl-en">batch</span>(<span class="pl-c1">10</span>) <span class="pl-s1">train_dataset</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">data</span>.<span class="pl-v">Dataset</span>.<span class="pl-en">zip</span>((<span class="pl-s1">features</span>, <span class="pl-s1">labels</span>)) <span class="pl-s1">distribution</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">contrib</span>.<span class="pl-s1">distribute</span>.<span class="pl-v">MirroredStrategy</span>()</pre></div> <p dir="auto"><strong>Then, this works</strong>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.compile(loss='categorical_crossentropy', optimizer=tf.train.GradientDescentOptimizer(learning_rate=0.2), distribute=distribution) model.fit(train_dataset, epochs=5, steps_per_epoch=10)"><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'categorical_crossentropy'</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s1">tf</span>.<span class="pl-s1">train</span>.<span class="pl-v">GradientDescentOptimizer</span>(<span class="pl-s1">learning_rate</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>), <span class="pl-s1">distribute</span><span class="pl-c1">=</span><span class="pl-s1">distribution</span>) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-s1">train_dataset</span>, <span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">steps_per_epoch</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</pre></div> <p dir="auto">But, <strong>Keras optimizers</strong> don't seem to work:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.compile(loss='categorical_crossentropy', optimizer=tf.keras.optimizers.SGD(lr=0.2, momentum=0.9), distribute=distribution) model.fit(train_dataset, epochs=5, steps_per_epoch=10)"><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'categorical_crossentropy'</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s1">tf</span>.<span class="pl-s1">keras</span>.<span class="pl-s1">optimizers</span>.<span class="pl-v">SGD</span>(<span class="pl-s1">lr</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>, <span class="pl-s1">momentum</span><span class="pl-c1">=</span><span class="pl-c1">0.9</span>), <span class="pl-s1">distribute</span><span class="pl-c1">=</span><span class="pl-s1">distribution</span>) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-s1">train_dataset</span>, <span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">steps_per_epoch</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</pre></div> <p dir="auto">and these <strong>Tensorflow Optimizers</strong> are throwing errors as well:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.compile(loss='categorical_crossentropy', optimizer=tf.train.AdamOptimizer(learning_rate=0.2), distribute=distribution) model.fit(train_dataset, epochs=5, steps_per_epoch=10)"><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'categorical_crossentropy'</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s1">tf</span>.<span class="pl-s1">train</span>.<span class="pl-v">AdamOptimizer</span>(<span class="pl-s1">learning_rate</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>), <span class="pl-s1">distribute</span><span class="pl-c1">=</span><span class="pl-s1">distribution</span>) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-s1">train_dataset</span>, <span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">steps_per_epoch</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.compile(loss='categorical_crossentropy', optimizer=tf.train.MomentumOptimizer(learning_rate=0.2, momentum=0.9), distribute=distribution) model.fit(train_dataset, epochs=5, steps_per_epoch=10)"><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'categorical_crossentropy'</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s1">tf</span>.<span class="pl-s1">train</span>.<span class="pl-v">MomentumOptimizer</span>(<span class="pl-s1">learning_rate</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>, <span class="pl-s1">momentum</span><span class="pl-c1">=</span><span class="pl-c1">0.9</span>), <span class="pl-s1">distribute</span><span class="pl-c1">=</span><span class="pl-s1">distribution</span>) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-s1">train_dataset</span>, <span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">steps_per_epoch</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="model.compile(loss='categorical_crossentropy', optimizer=tf.train.RMSPropOptimzier(learning_rate=0.2), distribute=distribution) model.fit(train_dataset, epochs=5, steps_per_epoch=10)"><pre class="notranslate"><span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'categorical_crossentropy'</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s1">tf</span>.<span class="pl-s1">train</span>.<span class="pl-v">RMSPropOptimzier</span>(<span class="pl-s1">learning_rate</span><span class="pl-c1">=</span><span class="pl-c1">0.2</span>), <span class="pl-s1">distribute</span><span class="pl-c1">=</span><span class="pl-s1">distribution</span>) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-s1">train_dataset</span>, <span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-c1">5</span>, <span class="pl-s1">steps_per_epoch</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</pre></div> <p dir="auto">Error looks like:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/engine/training.py&quot;, line 1590, in fit validation_steps=validation_steps) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/engine/training_distributed.py&quot;, line 125, in fit_loop orig_model_weights = model.get_weights() File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/engine/network.py&quot;, line 483, in get_weights return backend.batch_get_value(weights) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py&quot;, line 2717, in batch_get_value return get_session().run(tensors) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py&quot;, line 465, in get_session _initialize_variables(session) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py&quot;, line 710, in _initialize_variables variables = _get_variables(ops.get_default_graph()) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py&quot;, line 704, in _get_variables variables.update(opt.optimizer.variables()) File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/optimizer.py&quot;, line 785, in variables optimizer_variables = [v for v in self._non_slot_variables() File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/optimizer.py&quot;, line 786, in &lt;listcomp&gt; if _from_current_graph(v)] File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/optimizer.py&quot;, line 779, in _from_current_graph return variable.op.graph is current_graph File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/values.py&quot;, line 305, in op return self.get().op File &quot;/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/values.py&quot;, line 73, in get (device, self._index.keys(), device_util.current())), e) File &quot;&lt;string&gt;&quot;, line 3, in raise_from ValueError: Device /replica:0/task:0/device:CPU:0 not found in dict_keys(['/replica:0/task:0/device:GPU:1', '/replica:0/task:0/device:GPU:0']) (current device )"><pre class="notranslate"> File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/engine/training.py<span class="pl-pds">"</span></span>, line 1590, <span class="pl-k">in</span> fit validation_steps=validation_steps) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/engine/training_distributed.py<span class="pl-pds">"</span></span>, line 125, <span class="pl-k">in</span> fit_loop orig_model_weights = <span class="pl-en">model.get_weights</span>() File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/engine/network.py<span class="pl-pds">"</span></span>, line 483, <span class="pl-k">in</span> get_weights <span class="pl-k">return</span> backend.batch_get_value(weights) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py<span class="pl-pds">"</span></span>, line 2717, <span class="pl-k">in</span> batch_get_value <span class="pl-k">return</span> <span class="pl-en">get_session</span>().run(tensors) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py<span class="pl-pds">"</span></span>, line 465, <span class="pl-k">in</span> get_session _initialize_variables(session) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py<span class="pl-pds">"</span></span>, line 710, <span class="pl-k">in</span> _initialize_variables variables = <span class="pl-en">_get_variables(ops.get_default_graph</span>()) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/backend.py<span class="pl-pds">"</span></span>, line 704, <span class="pl-k">in</span> _get_variables <span class="pl-en">variables.update(opt.optimizer.variables</span>()) File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/optimizer.py<span class="pl-pds">"</span></span>, line 785, <span class="pl-k">in</span> variables optimizer_variables = [v <span class="pl-k">for</span> <span class="pl-smi">v</span> <span class="pl-k">in</span> <span class="pl-en">self._non_slot_variables</span>() File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/optimizer.py<span class="pl-pds">"</span></span>, line 786, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>listcomp<span class="pl-k">&gt;</span> <span class="pl-k">if</span> _from_current_graph(v)] File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/optimizer.py<span class="pl-pds">"</span></span>, line 779, <span class="pl-k">in</span> _from_current_graph <span class="pl-k">return</span> variable.op.graph is current_graph File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/values.py<span class="pl-pds">"</span></span>, line 305, <span class="pl-k">in</span> op <span class="pl-k">return</span> <span class="pl-en">self.get</span>().op File <span class="pl-s"><span class="pl-pds">"</span>/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/values.py<span class="pl-pds">"</span></span>, line 73, <span class="pl-k">in</span> get (device, <span class="pl-en">self._index.keys</span>(), <span class="pl-en">device_util.current</span>())), e) File <span class="pl-s"><span class="pl-pds">"</span>&lt;string&gt;<span class="pl-pds">"</span></span>, line 3, <span class="pl-k">in</span> raise_from ValueError: Device /replica:0/task:0/device:CPU:0 not found <span class="pl-k">in</span> dict_keys([<span class="pl-s"><span class="pl-pds">'</span>/replica:0/task:0/device:GPU:1<span class="pl-pds">'</span></span>, <span class="pl-s"><span class="pl-pds">'</span>/replica:0/task:0/device:GPU:0<span class="pl-pds">'</span></span>]) (current device )</pre></div>
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu 16.04</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:</li> <li>TensorFlow installed from (source or binary):binary (conda install tensorflow-gpu==1.14.0)</li> <li>TensorFlow version (use command below): 1.14.0</li> <li>Python version: Python 3.7.3</li> <li>Bazel version (if compiling from source):</li> <li>GCC/Compiler version (if compiling from source):</li> <li>CUDA/cuDNN version: 10</li> <li>GPU model and memory: nvidia 1080, 8GB</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> Attempting to use progbar as a callback to model.fit() fails.<br> <strong>Describe the expected behavior</strong><br> If runing model.fit() with progbar callback and verbosity=0 should be identical to verbosity=1 and no progbar callback<br> <strong>Code to reproduce the issue</strong><br> Provide a reproducible test case that is the bare minimum necessary to generate the problem.<br> current output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import tensorflow as tf print('tf_version:', tf.__version__, 'gpu available:', tf.test.is_gpu_available()) model = tf.keras.applications.ResNet50() print('compiling model') model.compile(optimizer='SGD', loss=tf.keras.losses.categorical_crossentropy) print('running fit function') x = tf.data.Dataset.from_tensors(tf.zeros([16]+model.input.shape.as_list()[1:])) y = tf.data.Dataset.from_tensors(tf.zeros([16]+model.output.shape.as_list()[1:])) print('x:', x, '\ny', y) model.fit(tf.data.Dataset.zip((x,y)).repeat().shuffle(buffer_size=1), steps_per_epoch=10, verbose=0, callbacks=[tf.keras.callbacks.ProgbarLogger('steps')]) print('done')"><pre class="notranslate"><code class="notranslate">import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import tensorflow as tf print('tf_version:', tf.__version__, 'gpu available:', tf.test.is_gpu_available()) model = tf.keras.applications.ResNet50() print('compiling model') model.compile(optimizer='SGD', loss=tf.keras.losses.categorical_crossentropy) print('running fit function') x = tf.data.Dataset.from_tensors(tf.zeros([16]+model.input.shape.as_list()[1:])) y = tf.data.Dataset.from_tensors(tf.zeros([16]+model.output.shape.as_list()[1:])) print('x:', x, '\ny', y) model.fit(tf.data.Dataset.zip((x,y)).repeat().shuffle(buffer_size=1), steps_per_epoch=10, verbose=0, callbacks=[tf.keras.callbacks.ProgbarLogger('steps')]) print('done') </code></pre></div> <p dir="auto"><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.<br> <em>running the code above recreates the problem.</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tf_version: 1.14.0 gpu available: True WARNING: Logging before flag parsing goes to stderr. W1003 10:20:49.769316 140195608012544 deprecation.py:506] From /home/hackerman/anaconda3/envs/py36/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor compiling model running fit function x: &lt;DatasetV1Adapter shapes: (16, 224, 224, 3), types: tf.float32&gt; y &lt;DatasetV1Adapter shapes: (16, 1000), types: tf.float32&gt; done"><pre class="notranslate"><code class="notranslate">tf_version: 1.14.0 gpu available: True WARNING: Logging before flag parsing goes to stderr. W1003 10:20:49.769316 140195608012544 deprecation.py:506] From /home/hackerman/anaconda3/envs/py36/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor compiling model running fit function x: &lt;DatasetV1Adapter shapes: (16, 224, 224, 3), types: tf.float32&gt; y &lt;DatasetV1Adapter shapes: (16, 1000), types: tf.float32&gt; done </code></pre></div> <p dir="auto"><em>expected output (reproduced by commenting out callback, and setting verbose to 1):</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tf_version: 1.14.0 gpu available: True WARNING: Logging before flag parsing goes to stderr. W1003 10:21:47.987383 140242665334528 deprecation.py:506] From /home/hackerman/anaconda3/envs/py36/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor compiling model running fit function x: &lt;DatasetV1Adapter shapes: (16, 224, 224, 3), types: tf.float32&gt; y &lt;DatasetV1Adapter shapes: (16, 1000), types: tf.float32&gt; 10/10 [==============================] - 6s 592ms/step - loss: 0.0000e+00 done"><pre class="notranslate"><code class="notranslate">tf_version: 1.14.0 gpu available: True WARNING: Logging before flag parsing goes to stderr. W1003 10:21:47.987383 140242665334528 deprecation.py:506] From /home/hackerman/anaconda3/envs/py36/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor compiling model running fit function x: &lt;DatasetV1Adapter shapes: (16, 224, 224, 3), types: tf.float32&gt; y &lt;DatasetV1Adapter shapes: (16, 1000), types: tf.float32&gt; 10/10 [==============================] - 6s 592ms/step - loss: 0.0000e+00 done </code></pre></div> <p dir="auto"><em>bonus bug (if keeping callback and setting verbosity to 1):</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tf_version: 1.14.0 gpu available: True WARNING: Logging before flag parsing goes to stderr. W1003 10:23:10.488721 140225721059072 deprecation.py:506] From /home/hackerman/anaconda3/envs/py36/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor compiling model running fit function x: &lt;DatasetV1Adapter shapes: (16, 224, 224, 3), types: tf.float32&gt; y &lt;DatasetV1Adapter shapes: (16, 1000), types: tf.float32&gt; 10/10 [==============================] - 6s 597ms/step - loss: 0.0000e+00 10/10 [==============================] - 6s 597ms/step - loss: 0.0000e+00 done"><pre class="notranslate"><code class="notranslate">tf_version: 1.14.0 gpu available: True WARNING: Logging before flag parsing goes to stderr. W1003 10:23:10.488721 140225721059072 deprecation.py:506] From /home/hackerman/anaconda3/envs/py36/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor compiling model running fit function x: &lt;DatasetV1Adapter shapes: (16, 224, 224, 3), types: tf.float32&gt; y &lt;DatasetV1Adapter shapes: (16, 1000), types: tf.float32&gt; 10/10 [==============================] - 6s 597ms/step - loss: 0.0000e+00 10/10 [==============================] - 6s 597ms/step - loss: 0.0000e+00 done </code></pre></div>
0
<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): 0.6.2951.0 "><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows NT 10.0.18362.0 Windows Terminal version (if applicable): 0.6.2951.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Just update WT I think...</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Opens Windows Terminal</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Nothing, just a error saying this command does not exist.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wt : Le terme «wt» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez. Au caractère Ligne:1 : 1 + wt + ~~ + CategoryInfo : ObjectNotFound: (wt:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException"><pre lang="none" class="notranslate"><code class="notranslate">wt : Le terme «wt» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez. Au caractère Ligne:1 : 1 + wt + ~~ + CategoryInfo : ObjectNotFound: (wt:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException </code></pre></div>
<h1 dir="auto">Environment</h1> <p dir="auto">Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0</p> <p dir="auto">Windows Terminal Version: 0.3.2171.0</p> <h3 dir="auto">Other Software</h3> <p dir="auto">ruby 2.6.3p62 (2019-04-16 revision 67580) [x64-mingw32]<br> gems<br> pry (0.12.2)<br> irb (1.0.0)<br> both ruby REPLs</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">In windows terminal start the ruby REPL <code class="notranslate">pry</code> or <code class="notranslate">irb</code></p> <p dir="auto">type <code class="notranslate">fooar</code> then press the left arrow key to move the cursor back.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">You should be able to use the arrow keys to move around.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The cursor is stuck at the end of the line.</p> <p dir="auto">I tested this behavior in other REPLs such as node, and python and this was not an issue. I then tested this behavior in other shells cmd and powershell (not in windows terminal) and this behavior was not reproducible.</p> <p dir="auto">Did some further testing and noticed this issue is a problem both in powershell and command when I start them in windows terminal, but it is not an issue when I run wsl in windows terminal.</p>
0
<p dir="auto">With server-side bundles in next@5 the require statements that are built via <code class="notranslate">next build</code> now have an absolute file path.</p> <p dir="auto">E.g. at the bottom of <code class="notranslate">&lt;projroot&gt;/.next/dist/bundles/pages/_error.js</code> it has <code class="notranslate">module.exports = require("C:\\path\\to\\&lt;projroot&gt;\\node_modules\\next\\dist\\pages\\_error.js");</code> rather than <code class="notranslate">require("next\\dist\\pages\\_error.js");</code>.</p> <p dir="auto">This means that if I build my site on a continuous integration server and then shift the result onto a deployment server it fails because the file path is wrong.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">After running <code class="notranslate">next build</code> none of the built files should not have absolute file paths.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">After running <code class="notranslate">next build</code> the built files have absolute file paths.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Run <code class="notranslate">next build</code></li> <li>Inspect the <code class="notranslate">.next/dist</code> folder</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I'd like to follow continuous delivery practices and build my site once on a continuous integration server then use that build across multiple environments (e.g. dev, test, prod) via a deployment pipeline.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>5.0.0</td> </tr> <tr> <td>node</td> <td>6.8.1</td> </tr> <tr> <td>OS</td> <td>Windows 10</td> </tr> </tbody> </table>
<h1 dir="auto">Bug report</h1> <p dir="auto">The dynamic routing solution doesn't work at all</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">I have this code using <code class="notranslate">material-ui</code><br> I have this button</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;Link href='/r/[id]' as={`/r/${selected.id}`} passHref&gt; &lt;Button component=&quot;a&quot; variant=&quot;outlined&quot; size=&quot;small&quot;&gt;View Menu&lt;/Button&gt; &lt;/Link&gt;"><pre class="notranslate"><code class="notranslate">&lt;Link href='/r/[id]' as={`/r/${selected.id}`} passHref&gt; &lt;Button component="a" variant="outlined" size="small"&gt;View Menu&lt;/Button&gt; &lt;/Link&gt; </code></pre></div> <p dir="auto">on the other page</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { useRouter } from 'next/router'; const Index = () =&gt; { const router = useRouter() console.log(router.query.id) return ( ) }"><pre class="notranslate"><code class="notranslate">import { useRouter } from 'next/router'; const Index = () =&gt; { const router = useRouter() console.log(router.query.id) return ( ) } </code></pre></div> <p dir="auto">The <code class="notranslate">next.config.js</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const withOffline = require('next-offline'); const withCSS = require('@zeit/next-css') const nextConfig = { target: 'serverless', transformManifest: manifest =&gt; ['/'].concat(manifest), workboxOpts: { swDest: 'static/service-worker.js', runtimeCaching: [ { urlPattern: /^https?.*/, handler: 'NetworkFirst', options: { cacheName: 'https-calls', networkTimeoutSeconds: 15, expiration: { maxEntries: 150, maxAgeSeconds: 30 * 24 * 60 * 60, // 1 month }, cacheableResponse: { statuses: [0, 200], }, }, }, ], maximumFileSizeToCacheInBytes: 5 * 1024 * 1024 }, }; module.exports = withOffline(withCSS(nextConfig));"><pre class="notranslate"><code class="notranslate">const withOffline = require('next-offline'); const withCSS = require('@zeit/next-css') const nextConfig = { target: 'serverless', transformManifest: manifest =&gt; ['/'].concat(manifest), workboxOpts: { swDest: 'static/service-worker.js', runtimeCaching: [ { urlPattern: /^https?.*/, handler: 'NetworkFirst', options: { cacheName: 'https-calls', networkTimeoutSeconds: 15, expiration: { maxEntries: 150, maxAgeSeconds: 30 * 24 * 60 * 60, // 1 month }, cacheableResponse: { statuses: [0, 200], }, }, }, ], maximumFileSizeToCacheInBytes: 5 * 1024 * 1024 }, }; module.exports = withOffline(withCSS(nextConfig)); </code></pre></div> <p dir="auto">and the<code class="notranslate"> now.json</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;version&quot;: 2, &quot;routes&quot;: [ { &quot;src&quot;: &quot;^/service-worker.js$&quot;, &quot;dest&quot;: &quot;/_next/static/service-worker.js&quot;, &quot;headers&quot;: { &quot;cache-control&quot;: &quot;public, max-age=43200, immutable&quot;, &quot;Service-Worker-Allowed&quot;: &quot;/&quot; } } ], &quot;builds&quot;: [ { &quot;src&quot;: &quot;next.config.js&quot;, &quot;use&quot;: &quot;@now/next&quot; } ] }"><pre class="notranslate"><code class="notranslate">{ "version": 2, "routes": [ { "src": "^/service-worker.js$", "dest": "/_next/static/service-worker.js", "headers": { "cache-control": "public, max-age=43200, immutable", "Service-Worker-Allowed": "/" } } ], "builds": [ { "src": "next.config.js", "use": "@now/next" } ] } </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Expect to move to a new route but nothing happens</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: Windows</li> <li>Browser : chrome</li> <li>Version of Next.js: [e.g. 9.0.6]</li> </ul>
0
<p dir="auto">Dear Sir/mam</p> <p dir="auto">I confuse how to display using tensorboard. here is my program<br> graph = "d://"<br> import tensorflow as tf</p> <h1 dir="auto">Build our graph nodes, starting from the inputs</h1> <p dir="auto">a = tf.constant(5, name="input_a")<br> b = tf.constant(3, name="input_b")<br> c = tf.multiply(a,b, name="mul_c")<br> d = tf.add(a,b, name="add_d")<br> e = tf.add(c,d, name="add_e")</p> <h1 dir="auto">Open up a TensorFlow Session</h1> <p dir="auto">sess = tf.Session()</p> <h1 dir="auto">Execute our output node, using our Session</h1> <p dir="auto">output = sess.run(e)</p> <h1 dir="auto">Open a TensorFlow SummaryWriter to write our graph to disk</h1> <p dir="auto">writer = tf.summary.FileWriter(graph, sess.graph)</p> <h1 dir="auto">Close our SummaryWriter and Session objects</h1> <p dir="auto">writer.close()<br> sess.close()</p> <p dir="auto">the events file has been created in drive D (i'm using windows 8.1, and tensorflow 1.0). and i found it when using explorer</p> <p dir="auto">When I type<br> tensorboard --inspect --logdir ="d:\"<br> tensorboard --inspect --logdir ="d:"<br> tensorboard --inspect --logdir ="d://"<br> tensorboard --inspect --logdir ="d:/"</p> <p dir="auto">tensorboard --inspect --logdir ='d:\'<br> tensorboard --inspect --logdir ='d:'<br> tensorboard --inspect --logdir ='d://'<br> tensorboard --inspect --logdir ='d:/'</p> <p dir="auto">the result are : No event files found within logdir,</p> <p dir="auto">pls tell me why this happened.</p> <p dir="auto">Thx</p>
<p dir="auto">OS: Windows 10 (64 bit)<br> TensorFlow Version: 1.0.0<br> CUDA: 8.0<br> GPU: yes</p> <p dir="auto">Problem:<br> <strong>C</strong>:&gt;tensorboard --logdir=<strong>E</strong>:\tmp\tensorflow\mnist\logs<br> =&gt; tensorboard starts without loading data (not working and difficult to detect reason)</p> <p dir="auto"><strong>E</strong>:&gt;tensorboard --logdir=<strong>E</strong>:\tmp\tensorflow\mnist\logs<br> =&gt; tensorboard starts with loading data (works perfectly)</p>
1
<p dir="auto">i am using ubuntu 12.04. i was following instructions from tensorflow.org for installing the tensor flow but getting the following error after downloading the the tensor flow-<br> ownloading tensorflow-0.10.0-cp27-none-linux_x86_64.whl (36.6Mb): 36.6Mb downloaded<br> Running setup.py egg_info for package from <a href="https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl</a><br> Traceback (most recent call last):<br> File "", line 14, in <br> IOError: [Errno 2] No such file or directory: '/tmp/pip-uIJFE4-build/setup.py'<br> Complete output from command python setup.py egg_info:<br> Traceback (most recent call last):</p> <p dir="auto">File "", line 14, in </p> <p dir="auto">IOError: [Errno 2] No such file or directory: '/tmp/pip-uIJFE4-build/setup.py'</p> <hr> <p dir="auto">Command python setup.py egg_info failed with error code 1<br> Storing complete log in /home/dhanpal/.pip/pip.log</p>
<p dir="auto">In the tensorflow 1.13 document of tf.layers.dropout, there is a warning:<br> Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use keras.layers.dropout instead.</p> <p dir="auto">It is ridiculous to deprecate tf.layers.dropout, because it is widely used, and very easy to use.<br> Do you really care about the requirements of TF developers?<br> Do you really care about the requirements of TF developers?<br> Do you really care about the requirements of TF developers?</p>
0
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; function f(x) local x x = 1 end f (generic function with 1 method) julia&gt; f(1) ERROR: UndefVarError: x not defined in f(::Int64) at ./REPL[1]:2"><pre class="notranslate"><code class="notranslate">julia&gt; function f(x) local x x = 1 end f (generic function with 1 method) julia&gt; f(1) ERROR: UndefVarError: x not defined in f(::Int64) at ./REPL[1]:2 </code></pre></div> <p dir="auto">In versions &lt;=0.4, this gave <code class="notranslate">ERROR: syntax: local "x" conflicts with argument</code> when parsing the method definition.</p>
<p dir="auto">while I might appreciate the accuracy in noting that atypes wasn't actually assigned, codegen doesn't appreciate finding an assignment to a parameter that it was told would not be assigned to:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; function inlineable(atypes::Vector{Any}) local atypes = atype.parameters atype = Tuple{atypes...} end inlineable (generic function with 1 method) julia&gt; @code_lowered inlineable(Any[1,2,3]) 1-element Array{Any,1}: :($(Expr(:lambda, Any[symbol(&quot;#self#&quot;),:atypes], Any[Any[Any[symbol(&quot;#self#&quot;),:Any,0], Any[:atypes,:Any,18], Any[:atypes,:Any,0], # &lt;==== this value is wrong, and overwrites the previous value ==== Any[:atype,:Any,18]], Any[],1], :(begin # none, line 2: atypes = (top(getfield))(atype,:parameters) # none, line 3: GenSym(0) = (top(_apply))(top(apply_type),(top(tuple))(Main.Tuple),atypes) atype = GenSym(0) return GenSym(0) end)))) julia&gt; inlineable(Any[1,2,3]) Assertion failed: (vi.isSA), function emit_assignment, file /Users/jameson/julia/src/codegen.cpp, line 3227. Abort trap: 6"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-k">function</span> <span class="pl-en">inlineable</span>(atypes<span class="pl-k">::</span><span class="pl-c1">Vector{Any}</span>) <span class="pl-k">local</span> atypes <span class="pl-k">=</span> atype<span class="pl-k">.</span>parameters atype <span class="pl-k">=</span> Tuple{atypes<span class="pl-k">...</span>} <span class="pl-k">end</span> inlineable (generic <span class="pl-k">function</span> with <span class="pl-c1">1</span> method) julia<span class="pl-k">&gt;</span> <span class="pl-c1">@code_lowered</span> <span class="pl-c1">inlineable</span>(Any[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]) <span class="pl-c1">1</span><span class="pl-k">-</span>element Array{Any,<span class="pl-c1">1</span>}<span class="pl-k">:</span> :(<span class="pl-k">$</span>(<span class="pl-c1">Expr</span>(<span class="pl-c1">:lambda</span>, Any[<span class="pl-c1">symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#self#<span class="pl-pds">"</span></span>),<span class="pl-c1">:atypes</span>], Any[Any[Any[<span class="pl-c1">symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#self#<span class="pl-pds">"</span></span>),<span class="pl-c1">:Any</span>,<span class="pl-c1">0</span>], Any[<span class="pl-c1">:atypes</span>,<span class="pl-c1">:Any</span>,<span class="pl-c1">18</span>], Any[<span class="pl-c1">:atypes</span>,<span class="pl-c1">:Any</span>,<span class="pl-c1">0</span>], <span class="pl-c"><span class="pl-c">#</span> &lt;==== this value is wrong, and overwrites the previous value ====</span> Any[<span class="pl-c1">:atype</span>,<span class="pl-c1">:Any</span>,<span class="pl-c1">18</span>]], Any[],<span class="pl-c1">1</span>], :(<span class="pl-k">begin</span> <span class="pl-c"><span class="pl-c">#</span> none, line 2:</span> atypes <span class="pl-k">=</span> (<span class="pl-c1">top</span>(getfield))(atype,<span class="pl-c1">:parameters</span>) <span class="pl-c"><span class="pl-c">#</span> none, line 3:</span> <span class="pl-en">GenSym</span>(<span class="pl-c1">0</span>) <span class="pl-k">=</span> (<span class="pl-c1">top</span>(_apply))(<span class="pl-c1">top</span>(apply_type),(<span class="pl-c1">top</span>(tuple))(Main<span class="pl-k">.</span>Tuple),atypes) atype <span class="pl-k">=</span> <span class="pl-c1">GenSym</span>(<span class="pl-c1">0</span>) <span class="pl-k">return</span> <span class="pl-c1">GenSym</span>(<span class="pl-c1">0</span>) <span class="pl-k">end</span>)))) julia<span class="pl-k">&gt;</span> <span class="pl-c1">inlineable</span>(Any[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]) Assertion failed<span class="pl-k">:</span> (vi<span class="pl-k">.</span>isSA), <span class="pl-k">function</span> emit_assignment, file <span class="pl-k">/</span>Users<span class="pl-k">/</span>jameson<span class="pl-k">/</span>julia<span class="pl-k">/</span>src<span class="pl-k">/</span>codegen<span class="pl-k">.</span>cpp, line <span class="pl-c1">3227.</span> Abort trap<span class="pl-k">:</span> <span class="pl-c1">6</span></pre></div>
1
<p dir="auto">I just downloaded VS2015 RTM and opened a project that I've been working on in VS2013.</p> <p dir="auto">When I save a file, all I see is an error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Failed to save file 'compiled.js'."><pre class="notranslate"><code class="notranslate">Failed to save file 'compiled.js'. </code></pre></div> <p dir="auto">where <code class="notranslate">compiled.js</code> is the <code class="notranslate">--out</code> argument, as indicated in the project setting ("Combine JavaScript output into file").</p> <p dir="auto">There is no error or warning shown in the Error List window.</p> <p dir="auto">This seems to be similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="96181777" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/3939" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/3939/hovercard" href="https://github.com/microsoft/TypeScript/issues/3939">#3939</a>, except that no redirect option is specified.</p>
<p dir="auto">Hello,</p> <p dir="auto">I upgraded to Visual Studio 2015 Community Edition RTM today and have found that if a TypeScript project has the "Redirect JavaScript output to directory" option set to true, then compile on save no longer functions. Deselecting this option on the project causes compile on save to function as expected.</p> <p dir="auto">The repro is quite simple: create a new project of type "HTML Application with TypeScript". Open app.ts, make a change and save the file. Now open app.js, make a change to the app.ts and save - app.js is reloaded with the changes.</p> <p dir="auto">Now add a folder to the project named "Scripts" and change the project properties such that "Redirect JavaScript output to directory" is checked and the path is "./scripts". Make a change to app.ts and save the file. Note that app.js does not show up under the "Scripts" folder. Build the project and note that app.js now appears under the "Scripts" folder. Open this file, make a change to app.ts and save the file - /scripts/app.js is not updated.</p>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run &quot;ver&quot; at a command prompt] 10.0.18941.1001 Windows Terminal version (if applicable): commit 5074335392c14d3359280609c8a03166cc20b857 Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] 10.0.18941.1001 Windows Terminal version (if applicable): commit 5074335392c14d3359280609c8a03166cc20b857 Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Open Windows Terminal, and resize the window, when the window width is smaller than a certain value, it crashes.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22699485/61577629-a5c38900-ab1c-11e9-9c9b-020f22c7556e.gif"><img src="https://user-images.githubusercontent.com/22699485/61577629-a5c38900-ab1c-11e9-9c9b-020f22c7556e.gif" alt="out" data-animated-image="" style="max-width: 100%;"></a></p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">It should not crash.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">It crashes.</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: master</li> <li>Operating System version: windows</li> <li>Java version: 1.8</li> </ul> <p dir="auto">In ExtensionLoader, EXTENSION INSTANCES is a ConcurrentHashMap with a default size, and the extension class provided in Dubbo has exceeded 16.<br> Start the program, it will expand at least twice. I think it is more appropriate to add an initial size of 64 here.<br> Other places where ConcurrentHashMap is used should also pay attention to a suitable initial size</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Issue Detail</h3> <p dir="auto">I have read <a href="http://dubbo.apache.org/en-us/docs/dev/implementation.html" rel="nofollow">dubbo website</a>.<br> And when I have reached to <code class="notranslate">RPC details</code> section, I found that the picture has notes in Chinese. It is not international friendly since this page is not just for Chinese developers.</p> <h4 dir="auto">see the picture below</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6781070/64228239-c8690000-cf18-11e9-83f3-b49ef834b81f.png"><img src="https://user-images.githubusercontent.com/6781070/64228239-c8690000-cf18-11e9-83f3-b49ef834b81f.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">BTW, If I am willing to contribute to the website, is there any way ?</p>
0
<h4 dir="auto">What I expect to happen:</h4> <p dir="auto">Given the following file:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Polygon.js class Polygon { constructor(height, width) { this.height = height; this.width = width; } get area() { return this.calcArea() } calcArea() { return this.height * this.width; } }"><pre class="notranslate"><span class="pl-c">// Polygon.js</span> <span class="pl-k">class</span> <span class="pl-v">Polygon</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">height</span><span class="pl-kos">,</span> <span class="pl-s1">width</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">height</span> <span class="pl-c1">=</span> <span class="pl-s1">height</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">width</span> <span class="pl-c1">=</span> <span class="pl-s1">width</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">get</span> <span class="pl-en">area</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">calcArea</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-en">calcArea</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">height</span> <span class="pl-c1">*</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">width</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">I would expect the command <em><code class="notranslate">babel Polygon.js</code></em> to emit ES5-compatible code.</p> <h4 dir="auto">What <em>actually</em> happens:</h4> <p dir="auto">The same ES6 file is returned, unmodified.</p> <p dir="auto">There are no errors to report.</p> <h4 dir="auto">Other</h4> <ul dir="auto"> <li>I installed <code class="notranslate">babel</code> and then <code class="notranslate">babel-cli</code> globally. I tried on Node 4.2.1 and Node 0.12.7. I am running on Ubuntu 15.04.</li> <li>I got the above code example from <a href="http://www.programwitherik.com/what-is-babel-the-javascript-compiler/" rel="nofollow"><em>this tutorial</em></a>.</li> <li>This problem is not specific to the <em>Polygon.js</em> example above. I used that as an example. I tried <code class="notranslate">babel</code> with numerous stand-alone scripts (including ones <em>without</em> classes) and the problem persists.</li> </ul>
<p dir="auto">I use <a href="https://github.com/iamstarkov/generator-tiny-es-nm">generator-tiny-es-nm</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/iamstarkov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/iamstarkov">@iamstarkov</a>. It has <code class="notranslate">"babel": "*"</code> dep and transpile <code class="notranslate">index.js</code> through:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;transpile&quot;: &quot;babel index.js --out-file index.es5.js&quot;"><pre class="notranslate"><span class="pl-ent">"transpile"</span>: <span class="pl-s"><span class="pl-pds">"</span>babel index.js --out-file index.es5.js<span class="pl-pds">"</span></span></pre></div> <p dir="auto">Well, I know, after 6.0 there is <code class="notranslate">babel-cli</code> package, but if I install <code class="notranslate">babel-cli</code> and then run <code class="notranslate">npm run transpile</code>, it doesn't transpile anything. It just create new file and copy its content:</p> <p dir="auto"><em>index.js</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pkg from './package' console.log(pkg.version);"><pre class="notranslate"><code class="notranslate">import pkg from './package' console.log(pkg.version); </code></pre></div> <p dir="auto"><em>index.es5.js</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pkg from './package'; console.log(pkg.version);"><pre class="notranslate"><code class="notranslate">import pkg from './package'; console.log(pkg.version); </code></pre></div> <p dir="auto">So, I still use <code class="notranslate">babel@^5</code> and don't understand what's going on. Is that my mistake or whatever?</p>
1
<h3 dir="auto">Describe the workflow you want to enable</h3> <p dir="auto">Getting an estimate time for a model to train or an estimated time remaining before the training is completed.</p> <h3 dir="auto">Describe your proposed solution</h3> <p dir="auto">Understand computational resources to get an estimate on time to train. OR<br> Use the already elapsed time to computed estimated time remaining. For example. if 10% training gets completed in 60 sec, ETA for 100% becomes 600 sec or similar.</p> <h3 dir="auto">Describe alternatives you've considered, if relevant</h3> <p dir="auto">Tried scitime but thats a very invasive method. Would prefer a method that is more tightly coupled with sklearn functionality.</p> <h3 dir="auto">Additional context</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto">Ideally, I think, operations that take a lot of time should both:</p> <ul dir="auto"> <li>have a way of showing progress, and</li> <li>be interruptable.</li> </ul> <p dir="auto">It was previously discussed at least in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="593898" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/78" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/78/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/78">#78</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180925916" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/7574" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/7574/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/7574">#7574</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181637061" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/7596" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/7596/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/7596">#7596</a>.</p> <p dir="auto">Regarding progress, in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180925916" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/7574" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/7574/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/7574">#7574</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amueller/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amueller">@amueller</a> proposed not bake progress bar in, but rather add callbacks. In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181637061" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/7596" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/7596/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/7596">#7596</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/denis-bz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/denis-bz">@denis-bz</a> suggested to have callbacks that are passed locals(), which is an interesting idea. I also saw that <code class="notranslate">fit()</code> in <code class="notranslate">GradientBoostingClassifier</code> has the <code class="notranslate">monitor</code> parameter, which makes showing progress bars easy.</p> <p dir="auto">In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181637061" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/7596" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/7596/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/7596">#7596</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/denis-bz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/denis-bz">@denis-bz</a> suggested callbacks can also be used to interrupt computation. In our project, Orange (<a href="https://github.com/biolab/orange3">https://github.com/biolab/orange3</a>), we do something similar: sometimes, where there is no other available mechanism, we raise a BaseException inside a callback to interrupt running threads.</p> <p dir="auto">Orange uses scikit-learn a lot and lack of callbacks in scikit-learn makes showing progress or interrupting hard (we'd like to allow stopping of running computations). For now, we have to resort to hacks. For example, inour Neural Network widget, we subclassed scikit-learn NNs and added a callback on <code class="notranslate">n_iter_</code> change (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="305525908" data-permission-text="Title is private" data-url="https://github.com/biolab/orange3/issues/2958" data-hovercard-type="pull_request" data-hovercard-url="/biolab/orange3/pull/2958/hovercard" href="https://github.com/biolab/orange3/pull/2958">biolab/orange3#2958</a>)</p> <p dir="auto">We would like to help in implementing callbacks, but first, we are asking if you would even consider having something similar to <code class="notranslate">GradientBoostingClassifier</code> <code class="notranslate">monitor</code> in the other classes. What do you think?</p> <p dir="auto">Then, we could try thinking of an interface together and slowly start adding it to certain classed.</p>
1
<h5 dir="auto">Description of the problem</h5> <p dir="auto">Similarly to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="597812970" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/19102" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/19102/hovercard" href="https://github.com/mrdoob/three.js/issues/19102">#19102</a>. The following SVG renders correctly in Chrome, Firefox, Android, but incorrectly on the latest three.js commit.</p> <p dir="auto"><a href="https://github.com/mrdoob/three.js/files/4513542/8.txt">8.txt</a></p> <p dir="auto">Repro: <a href="https://jsfiddle.net/9Lth4x8w/" rel="nofollow">https://jsfiddle.net/9Lth4x8w/</a></p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li> </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> </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=""> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Android</li> </ul>
<h5 dir="auto">Description of the problem</h5> <p dir="auto">When creating a polygon with constructPathShape.toShapes the order of the constructpathshapes commands plays a role which shouldn't be the case. (I think so)<br> I am adding a hole than the outer vertice then again a hole.<br> The last hole is not recognized.<br> <a href="https://jsfiddle.net/0g9bdar5/2/" rel="nofollow">https://jsfiddle.net/0g9bdar5/2/</a></p> <p dir="auto">The only thing which was changed is the order of the constructpathshape commands.<br> If I add the two holes at the beginning the polygon is rendered correctly.<br> <a href="https://jsfiddle.net/0g9bdar5/3/" rel="nofollow">https://jsfiddle.net/0g9bdar5/3/</a></p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> latest</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
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: xxx</li> <li>Operating System version: xxx</li> <li>Java version: xxx</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>xxx</li> <li>xxx</li> <li>xxx</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<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: master</li> <li>Operating System version: deepin</li> <li>Java version: 1.8</li> </ul> <p dir="auto">What's the difference between ConfigUtils with ConfigurationUtils?<br> I found in dubbo-container module,log4j and spring submodule use different config util class to get property.Is there any difference between the two?</p>
0
<p dir="auto">Hey. JSON Loader does not support ShapeGeometry(ShapeBufferGeometry) and ExtrudeGeometry (ExtrudeBufferGeometry). But the unloading works. Is it possible to add this feature to when?</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li>[ x] r85</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>[] All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li> <li>[x ] Firefox</li> <li>[ x] Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li>[] All of them</li> <li>[x ] 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>
<p dir="auto">Hi everybody, i'm trying to use the editor and i just found out that while setting the meshfacematerial, the editor comes up with the following error.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/142225a63b5cfd0ebe9de2f1e534a51df48019e645e9f4ab01475796c14a3ee4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353038303131392f3934303132362f63373836666437322d303132342d313165332d393932382d3138623263633665613638302e706e67"><img src="https://camo.githubusercontent.com/142225a63b5cfd0ebe9de2f1e534a51df48019e645e9f4ab01475796c14a3ee4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353038303131392f3934303132362f63373836666437322d303132342d313165332d393932382d3138623263633665613638302e706e67" alt="schermata 2013-08-09 alle 19 43 51" data-canonical-src="https://f.cloud.github.com/assets/5080119/940126/c786fd72-0124-11e3-9928-18b2cc6ea680.png" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/2832c7ee27acc5640149e164fb720276a083ce7a31dc573fed167a3858e63e74/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353038303131392f3934303132372f63393238316639342d303132342d313165332d396636622d3535353936666262336235652e706e67"><img src="https://camo.githubusercontent.com/2832c7ee27acc5640149e164fb720276a083ce7a31dc573fed167a3858e63e74/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353038303131392f3934303132372f63393238316639342d303132342d313165332d396636622d3535353936666262336235652e706e67" alt="schermata 2013-08-09 alle 19 43 59" data-canonical-src="https://f.cloud.github.com/assets/5080119/940127/c9281f94-0124-11e3-9f6b-55596fbb3b5e.png" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/90ee54583cd8274209ec044baea78009f79de8b8c32e3c87eef37d9813354709/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353038303131392f3934303132382f63616233343537382d303132342d313165332d393032362d3730343063636136313731302e706e67"><img src="https://camo.githubusercontent.com/90ee54583cd8274209ec044baea78009f79de8b8c32e3c87eef37d9813354709/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353038303131392f3934303132382f63616233343537382d303132342d313165332d393032362d3730343063636136313731302e706e67" alt="schermata 2013-08-09 alle 19 44 05" data-canonical-src="https://f.cloud.github.com/assets/5080119/940128/cab34578-0124-11e3-9026-7040cca61710.png" style="max-width: 100%;"></a></p> <p dir="auto">MeshFaceMaterial should be called passing an array of materials, so I think that the problem raises because there isn't an array like that and the editor can't set the mesh properly. This fact happens also using the meshes provided by the editor menubar (like Cube, Cylinder etc...)</p>
0
<p dir="auto"><strong>Elasticsearch version</strong>: 5.0.0-alpha1</p> <p dir="auto"><strong>JVM version</strong>: 1.8.0_51</p> <p dir="auto"><strong>OS version</strong>: CentOS 6.6</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:<br> I try to install elasticsearch plugin such as elasticsearch-head and elasticsearch-kopf. The example below occurs on both elasticsearch-head and elasticsearch-kopf.</p> <p dir="auto">I run <code class="notranslate">./bin/elasticsearch-plugin install mobz/elasticsearch-head</code>, and I got MalformedURLException: no protocol. It seems that elasticsearch-5.0.0-alpha1 asking for full URL.</p> <p dir="auto">If I supply another full URL to install:<br> <code class="notranslate">./bin/elasticsearch-plugin install https://github.com/mobz/elasticsearch-head</code><br> I got this error message:<br> <code class="notranslate">ERROR: </code>elasticsearch<code class="notranslate"> directory is missing in the plugin zip</code></p> <p dir="auto">Looks like there are some changes in the elasticsearch plugin module. Is this a bug or expected behavior? Does the package require specific folder or specific stuffs to be compatible to elasticsearch-5.0.0-alpha1?</p> <p dir="auto">Thanks!</p>
<p dir="auto">I was playing around with master last night in a distributed set up<br> with two servers and replicas = 0, while running queries on 50<br> threads.</p> <p dir="auto">When I ran similar tests with replicas=1, I didn't have any issues. I<br> plan to use replicas=1 in the real world and this testing was just for<br> performance numbers.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="One test that I ran was adding a new node. While this was occurring, I saw large swaths of exceptions for queries that look like this: http://gist.github.com/551622 These appear to be failures related to the shard reallocating."><pre class="notranslate"><code class="notranslate">One test that I ran was adding a new node. While this was occurring, I saw large swaths of exceptions for queries that look like this: http://gist.github.com/551622 These appear to be failures related to the shard reallocating. </code></pre></div>
0
<p dir="auto">A few days ago I came across the following problem and to the conclusion that it was a bug.</p> <p dir="auto">After adding the package "ImageView" the command "sin(BigFloat(3))" can only be executed with an error message (see screenshot).</p> <p dir="auto">Affected is Julia 1.2/1.3 RC3 and the current nightly version.</p> <p dir="auto">The error can be reproduced on my Windows 10 system (Core-i3 4 GByte RAM - Developer-Mode) as often as I want, even if I have completely reinstalled Windows.<br> It is noticeable that after 1 out of 10 attempts to uninstall Julia and reinstall, no error occurred.</p> <p dir="auto">Also with the installation on another computer it worked immediately error free.</p> <p dir="auto">I already reported this to a member of JuliaImages/ImageView.jl (timholy) and he advised me to report this as a Julia bug. ( <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="499774882" data-permission-text="Title is private" data-url="https://github.com/JuliaImages/ImageView.jl/issues/181" data-hovercard-type="issue" data-hovercard-url="/JuliaImages/ImageView.jl/issues/181/hovercard" href="https://github.com/JuliaImages/ImageView.jl/issues/181">JuliaImages/ImageView.jl#181</a> )</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13079745/66269847-c5319e80-e84d-11e9-8ddd-dd5e4b1315f7.png"><img src="https://user-images.githubusercontent.com/13079745/66269847-c5319e80-e84d-11e9-8ddd-dd5e4b1315f7.png" alt="Julia-Issue" style="max-width: 100%;"></a></p>
<p dir="auto">After pulling latest source, I get an error in the test at line 356 in mpfr.jl because the decimal separator is comma for <code class="notranslate">BigFloat</code>s</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; string(big(1.1)) &quot;1,100000000000000088817841970012523233890533447265625e+00&quot;"><pre class="notranslate"><code class="notranslate">julia&gt; string(big(1.1)) "1,100000000000000088817841970012523233890533447265625e+00" </code></pre></div> <p dir="auto">but</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; string(1.1) &quot;1.1&quot;"><pre class="notranslate"><code class="notranslate">julia&gt; string(1.1) "1.1" </code></pre></div> <p dir="auto">I guess this is a continental Europe thing, but I cannot figure out which commit has caused this.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; versioninfo() Julia Version 0.3.0-prerelease+3533 Commit b9e4f43* (2014-06-07 01:46 UTC) Platform Info: System: Darwin (x86_64-apple-darwin13.2.0) CPU: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY) LAPACK: libopenblas LIBM: libopenlibm"><pre class="notranslate"><code class="notranslate">julia&gt; versioninfo() Julia Version 0.3.0-prerelease+3533 Commit b9e4f43* (2014-06-07 01:46 UTC) Platform Info: System: Darwin (x86_64-apple-darwin13.2.0) CPU: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY) LAPACK: libopenblas LIBM: libopenlibm </code></pre></div>
1
<p dir="auto"><strong>Edit:</strong> I don't know how to implement this. I would like the feature, but it's not the end of the world.<br> <br><br><br> <strong>Is your feature request related to a problem? Please describe.</strong></p> <p dir="auto">My app uses an 8-bit integer layer ID. Every time I pull a new Three.js release, I have to paste-replace this line or my app will break:<br> <code class="notranslate">if ( capabilities.isWebGL2 === true &amp;&amp; ( type === 5124 || type === 5125 ) ) {</code><br> <del><code class="notranslate">if ( capabilities.isWebGL2 === true &amp;&amp; ( type === 5124 || type === 5125 || ( type === 5121 &amp;&amp; ( ! normalized ) ) ) ) {</code></del><br> <strong>(On second thought, the above change might actually break someone's code somewhere.)</strong></p> <p dir="auto"><strong>Describe the solution you'd like</strong></p> <p dir="auto">Can we change that line in the main branch?<br> <del>All existing working code will work exactly the same.</del> <strong>(No, stuff really could break.)</strong></p> <p dir="auto">Explanation:<br> JS has no 8-bit floats.</p> <ul dir="auto"> <li><code class="notranslate">normalized=true</code> if and only if <code class="notranslate">float</code> array</li> <li><del><code class="notranslate">normalized=false</code> if and only if <code class="notranslate">int</code> array.</del> Or, you could want floats 0.0 -&gt; 255.0</li> </ul> <p dir="auto"><del>100% unambiguous.</del> No.</p> <p dir="auto">Right now, normalized=false just breaks Three.js's buffer implementation / corrupted data goes to the shader.</p> <p dir="auto"><strong>Describe alternatives you've considered</strong></p> <p dir="auto">Even if I make a fork just for that 1 line, it won't be able to merge cleanly, and I'll still have to go in and copy-paste every time.<br> There's a related FR about improving integer support, but I think it went nowhere.</p>
<p dir="auto">Expanding on the <code class="notranslate">vertexAttribIPointer</code> support added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="592719141" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/19019" data-hovercard-type="pull_request" data-hovercard-url="/mrdoob/three.js/pull/19019/hovercard" href="https://github.com/mrdoob/three.js/pull/19019">#19019</a>, I would like to propose a new property:</p> <p dir="auto"><code class="notranslate">BufferAttribute.targetType = FloatType</code> (default)</p> <p dir="auto">This property would support values of the existing constants <code class="notranslate">FloatType</code> (default) and <code class="notranslate">IntType</code>.</p> <p dir="auto">This would expand support for integer attributes (beyond the current <code class="notranslate">int32</code> and <code class="notranslate">uint32</code>) without changing any existing behavior.</p> <p dir="auto">The property would ultimately get passed through to <code class="notranslate">WebGLBindingStates.vertexAttribPointer()</code> where the code impact is minimal:</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="-function vertexAttribPointer( index, size, type, normalized, stride, offset ) { +function vertexAttribPointer( index, size, type, normalized, stride, offset, targetType ) { - if ( capabilities.isWebGL2 === true &amp;&amp; ( type === 5124 || type === 5125 ) ) { + if ( capabilities.isWebGL2 === true &amp;&amp; ( type === 5124 || type === 5125 || targetType == IntType ) ) { gl.vertexAttribIPointer( index, size, type, stride, offset ); } else { gl.vertexAttribPointer( index, size, type, normalized, stride, offset ); } }"><pre class="notranslate"><span class="pl-md"><span class="pl-md">-</span>function vertexAttribPointer( index, size, type, normalized, stride, offset ) {</span> <span class="pl-mi1"><span class="pl-mi1">+</span>function vertexAttribPointer( index, size, type, normalized, stride, offset, targetType ) {</span> <span class="pl-md"><span class="pl-md">-</span> if ( capabilities.isWebGL2 === true &amp;&amp; ( type === 5124 || type === 5125 ) ) {</span> <span class="pl-mi1"><span class="pl-mi1">+</span> if ( capabilities.isWebGL2 === true &amp;&amp; ( type === 5124 || type === 5125 || targetType == IntType ) ) {</span> gl.vertexAttribIPointer( index, size, type, stride, offset ); } else { gl.vertexAttribPointer( index, size, type, normalized, stride, offset ); } }</pre></div> <p dir="auto">Alternatively, this could be a boolean attribute such as <code class="notranslate">BufferAttribute.toIntegers = true</code>, as it looks like WebGL only supports <code class="notranslate">vertexAttribPointer</code> (float) and <code class="notranslate">vertexAttribIPointer</code> (int) – not <code class="notranslate">vertexAttribLPointer</code> (double).</p> <p dir="auto">Apologies if I'm missing anything obvious. Thank you!</p>
1
<p dir="auto">There is no way to understand from this log, what is actually problematic, or to debug it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[REQUEST] New used memory 12804659728 [11.9gb] from field [&lt;reused_arrays&gt;] would be larger than configured breaker: 12804659609 [11.9gb], breaking"><pre class="notranslate"><code class="notranslate">[REQUEST] New used memory 12804659728 [11.9gb] from field [&lt;reused_arrays&gt;] would be larger than configured breaker: 12804659609 [11.9gb], breaking </code></pre></div> <p dir="auto">I think the minimum is either to print the query/aggregation or at least the problematic field.</p>
<p dir="auto">Currently, size and from can be used to limit the amount of search results within each individual queryin a multi search request.</p> <p dir="auto">It would be nice if we can set a from and size that limits the total amount of results returned for the multi search query.</p>
0
<p dir="auto"><strong>Describe the bug</strong></p> <p dir="auto">This glTF uses the variants extension, though I doubt this is the cause of its textures being scrambled in USDZ, since that doesn't do much to three's scene graph.</p> <p dir="auto"><strong>To Reproduce</strong></p> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Go to <a href="https://modelviewer.dev/examples/scenegraph/#variants" rel="nofollow">https://modelviewer.dev/examples/scenegraph/#variants</a> on iOS Safari</li> <li>Click on the AR button</li> <li>Quick Look opens after auto-generating the USDZ, but the textures are random and greyscale.</li> </ol> <p dir="auto"><em><strong>Code</strong></em></p> <p dir="auto">This is part of model-viewer</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">The models renders more or less as it does on the web, and should reflect either of the chosen variants.</p> <p dir="auto"><strong>Screenshots</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1649964/119171320-420c8e80-ba19-11eb-8e41-743016b1983f.png"><img src="https://user-images.githubusercontent.com/1649964/119171320-420c8e80-ba19-11eb-8e41-743016b1983f.png" alt="C071D5E7-4116-4397-982B-200D6F1F63B6" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Platform:</strong></p> <ul dir="auto"> <li>Device: Mobile</li> <li>OS: iOS</li> <li>Browser: Safari</li> <li>Three.js version: r128</li> </ul>
<h5 dir="auto">Description of the problem</h5> <p dir="auto">SphereGeometry returns a mesh which is not closed at the poles or on the sides. If theta is Pi, then the resulting sphere should be a closed sphere, and if phi is 2*Pi, then the sides should be stitched together as well.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r79</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
0
<p dir="auto">Symfony: 2.3.4, PHP 5.4.20-1~dotdeb.0, Debian 6.0.7</p> <p dir="auto">When I use the locale "en" or the locale "de" the country and language selectors work correctly and display a full list of countries or languages.</p> <p dir="auto">However, if I use the locale "en_GB", neither display the full list of options. I have attached an image showing the issue for both selectors when using the en_GB locale.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9e414b5df62f9e50068e25694ac5507e39eac6a15d645a1514df045eeddbed06/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353537393631352f313234303439322f62613238346461612d326130632d313165332d386636632d3633396530643533336165642e504e47"><img src="https://camo.githubusercontent.com/9e414b5df62f9e50068e25694ac5507e39eac6a15d645a1514df045eeddbed06/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353537393631352f313234303439322f62613238346461612d326130632d313165332d386636632d3633396530643533336165642e504e47" alt="selectors" data-canonical-src="https://f.cloud.github.com/assets/5579615/1240492/ba284daa-2a0c-11e3-8f6c-639e0d533aed.PNG" style="max-width: 100%;"></a><br> I have an instance of Symfony 2.1 running this same code, and it is not showing this problem.</p> <p dir="auto">I see that others also have this same issue:</p> <p dir="auto"><a href="http://stackoverflow.com/questions/18856449/symfony2-locale-en-gb-issue-when-using-getcountrynames" rel="nofollow">http://stackoverflow.com/questions/18856449/symfony2-locale-en-gb-issue-when-using-getcountrynames</a></p> <p dir="auto">Thanks in advance.</p>
<p dir="auto">I'm cross-posting an issue in the symfony/icu project: <a href="https://github.com/symfony/Icu/issues/2">https://github.com/symfony/Icu/issues/2</a></p> <p dir="auto">I'm finding that countries data is not always available when using Symfony 2.3. In my particular install, I have ICU 4.6 installed, with symfony/icu 1.1 (1.2, incidentally, does not work either), and I cannot access country data - therefore the Country field fails, etc. I don't know whether this is a commonly-experienced issue, but it should always be possible to access this data through the Intl component.</p>
1
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1448" rel="nofollow">http://projects.scipy.org/numpy/ticket/1448</a> on 2010-04-08 by trac user themiwi, assigned to unknown.</em></p> <p dir="auto">Running the version_cmd (as in numpy/distutils/ccompiler.py) results in</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ /usr/bin/ifort -FI -V -c test.f -o test.o Intel(R) Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1 Build 20090827 Package ID: m_cprof_p_11.1.067 Copyright (C) 1985-2009 Intel Corporation. All rights reserved. Intel(R) Fortran 11.1-2582"><pre class="notranslate"><code class="notranslate">$ /usr/bin/ifort -FI -V -c test.f -o test.o Intel(R) Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1 Build 20090827 Package ID: m_cprof_p_11.1.067 Copyright (C) 1985-2009 Intel Corporation. All rights reserved. Intel(R) Fortran 11.1-2582 </code></pre></div> <p dir="auto">Using the following patch fixes things for me, but probably will break other platforms, so somebody with a better knowledge of the whole compiler-detection code should take care of this.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Index: numpy/distutils/fcompiler/intel.py =================================================================== --- numpy/distutils/fcompiler/intel.py (revision 8324) +++ numpy/distutils/fcompiler/intel.py (working copy) @@ -24,8 +24,8 @@ compiler_type = 'intel' compiler_aliases = ('ifort',) - description = 'Intel Fortran Compiler for 32-bit apps' - version_match = intel_version_match('32-bit|IA-32') + description = 'Intel Fortran Compiler for 32/64-bit apps' + version_match = intel_version_match('(32-bit|64)|IA-(32|64)') possible_executables = ['ifort', 'ifc']"><pre class="notranslate"><code class="notranslate">Index: numpy/distutils/fcompiler/intel.py =================================================================== --- numpy/distutils/fcompiler/intel.py (revision 8324) +++ numpy/distutils/fcompiler/intel.py (working copy) @@ -24,8 +24,8 @@ compiler_type = 'intel' compiler_aliases = ('ifort',) - description = 'Intel Fortran Compiler for 32-bit apps' - version_match = intel_version_match('32-bit|IA-32') + description = 'Intel Fortran Compiler for 32/64-bit apps' + version_match = intel_version_match('(32-bit|64)|IA-(32|64)') possible_executables = ['ifort', 'ifc'] </code></pre></div>
<p dir="auto">I am passing a very benign array of <code class="notranslate">float32</code> values to <code class="notranslate">np.histogram(...)</code> which raises a <code class="notranslate">ValueError: The first argument of bincount must be non-negative</code>. The values contain no NaN or infinite values. I think this is a bug, and it is due to incorrect handling of single-precision values in the histogram function. Specifically, values that are <em>equal</em> to the bin limits when compared as single-precision but are <em>outside them</em> when compared as doubles.</p> <p dir="auto">First, a quick test code that works for me with 64-bit floats but raises the error with 32-bit floats on the last line:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np a64=np.array([25552.234, 26000]) # Make a histogram from these two values. Put the lower bin limit just above the lower value. bin_limits = (a64[0]+0.0005, 26200) np.histogram(a64, 10, bin_limits) # That worked. But repeat the exercise with the data converted to float32... a32=a64.astype(np.float32) # ... The following raises a ValueError: np.histogram(a32, 10, bin_limits)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-s1">a64</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">25552.234</span>, <span class="pl-c1">26000</span>]) <span class="pl-c"># Make a histogram from these two values. Put the lower bin limit just above the lower value.</span> <span class="pl-s1">bin_limits</span> <span class="pl-c1">=</span> (<span class="pl-s1">a64</span>[<span class="pl-c1">0</span>]<span class="pl-c1">+</span><span class="pl-c1">0.0005</span>, <span class="pl-c1">26200</span>) <span class="pl-s1">np</span>.<span class="pl-en">histogram</span>(<span class="pl-s1">a64</span>, <span class="pl-c1">10</span>, <span class="pl-s1">bin_limits</span>) <span class="pl-c"># That worked. But repeat the exercise with the data converted to float32...</span> <span class="pl-s1">a32</span><span class="pl-c1">=</span><span class="pl-s1">a64</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-c"># ... The following raises a ValueError:</span> <span class="pl-s1">np</span>.<span class="pl-en">histogram</span>(<span class="pl-s1">a32</span>, <span class="pl-c1">10</span>, <span class="pl-s1">bin_limits</span>)</pre></div> <p dir="auto">The full output in iPython looks like this:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [29]: a64=np.array([25552.234, 26000]) In [30]: bin_limits = (a64[0]+0.0005, 26200) In [31]: np.histogram(a64, 10, bin_limits) Out[31]: (array([0, 0, 0, 0, 0, 0, 1, 0, 0, 0]), array([ 25552.2345 , 25617.01105, 25681.7876 , 25746.56415, 25811.3407 , 25876.11725, 25940.8938 , 26005.67035, 26070.4469 , 26135.22345, 26200. ])) In [32]: a32=a64.astype(np.float32) In [33]: np.histogram(a32, 10, bin_limits) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-33-0a3f12cea374&gt; in &lt;module&gt;() ----&gt; 1 np.histogram(a32, 10, bin_limits) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/function_base.pyc in histogram(a, bins, range, normed, weights, density) 778 else: 779 n += np.bincount(indices, weights=tmp_w, --&gt; 780 minlength=bins).astype(ntype) 781 782 # Rename the bin edges for return. ValueError: The first argument of bincount must be non-negative In [34]: np.version.version Out[34]: '1.13.3'"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">29</span>]: <span class="pl-s1">a64</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">25552.234</span>, <span class="pl-c1">26000</span>]) <span class="pl-v">In</span> [<span class="pl-c1">30</span>]: <span class="pl-s1">bin_limits</span> <span class="pl-c1">=</span> (<span class="pl-s1">a64</span>[<span class="pl-c1">0</span>]<span class="pl-c1">+</span><span class="pl-c1">0.0005</span>, <span class="pl-c1">26200</span>) <span class="pl-v">In</span> [<span class="pl-c1">31</span>]: <span class="pl-s1">np</span>.<span class="pl-en">histogram</span>(<span class="pl-s1">a64</span>, <span class="pl-c1">10</span>, <span class="pl-s1">bin_limits</span>) <span class="pl-v">Out</span>[<span class="pl-c1">31</span>]: (<span class="pl-en">array</span>([<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>]), <span class="pl-en">array</span>([ <span class="pl-c1">25552.2345</span> , <span class="pl-c1">25617.01105</span>, <span class="pl-c1">25681.7876</span> , <span class="pl-c1">25746.56415</span>, <span class="pl-c1">25811.3407</span> , <span class="pl-c1">25876.11725</span>, <span class="pl-c1">25940.8938</span> , <span class="pl-c1">26005.67035</span>, <span class="pl-c1">26070.4469</span> , <span class="pl-c1">26135.22345</span>, <span class="pl-c1">26200.</span> ])) <span class="pl-v">In</span> [<span class="pl-c1">32</span>]: <span class="pl-s1">a32</span><span class="pl-c1">=</span><span class="pl-s1">a64</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-v">In</span> [<span class="pl-c1">33</span>]: <span class="pl-s1">np</span>.<span class="pl-en">histogram</span>(<span class="pl-s1">a32</span>, <span class="pl-c1">10</span>, <span class="pl-s1">bin_limits</span>) <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">ValueError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) <span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">33</span><span class="pl-c1">-</span><span class="pl-c1">0</span><span class="pl-s1">a3f12cea374</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>() <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">np</span>.<span class="pl-en">histogram</span>(<span class="pl-s1">a32</span>, <span class="pl-c1">10</span>, <span class="pl-s1">bin_limits</span>) <span class="pl-c1">/</span><span class="pl-s1">opt</span><span class="pl-c1">/</span><span class="pl-s1">local</span><span class="pl-c1">/</span><span class="pl-v">Library</span><span class="pl-c1">/</span><span class="pl-v">Frameworks</span><span class="pl-c1">/</span><span class="pl-v">Python</span>.<span class="pl-s1">framework</span><span class="pl-c1">/</span><span class="pl-v">Versions</span><span class="pl-c1">/</span><span class="pl-c1">2.7</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">numpy</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">function_base</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">histogram</span>(<span class="pl-s1">a</span>, <span class="pl-s1">bins</span>, <span class="pl-s1">range</span>, <span class="pl-s1">normed</span>, <span class="pl-s1">weights</span>, <span class="pl-s1">density</span>) <span class="pl-c1">778</span> <span class="pl-s1">else</span>: <span class="pl-c1">779</span> <span class="pl-s1">n</span> <span class="pl-c1">+=</span> <span class="pl-s1">np</span>.<span class="pl-en">bincount</span>(<span class="pl-s1">indices</span>, <span class="pl-s1">weights</span><span class="pl-c1">=</span><span class="pl-s1">tmp_w</span>, <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">780</span> <span class="pl-s1">minlength</span><span class="pl-c1">=</span><span class="pl-s1">bins</span>).<span class="pl-en">astype</span>(<span class="pl-s1">ntype</span>) <span class="pl-c1">781</span> <span class="pl-c1">782</span> <span class="pl-c"># Rename the bin edges for return.</span> <span class="pl-v">ValueError</span>: <span class="pl-v">The</span> <span class="pl-s1">first</span> <span class="pl-s1">argument</span> <span class="pl-s1">of</span> <span class="pl-s1">bincount</span> <span class="pl-s1">must</span> <span class="pl-s1">be</span> <span class="pl-s1">non</span><span class="pl-c1">-</span><span class="pl-s1">negative</span> <span class="pl-v">In</span> [<span class="pl-c1">34</span>]: <span class="pl-s1">np</span>.<span class="pl-s1">version</span>.<span class="pl-s1">version</span> <span class="pl-v">Out</span>[<span class="pl-c1">34</span>]: <span class="pl-s">'1.13.3'</span></pre></div> <p dir="auto">Notice that <code class="notranslate">a32[0]</code> is equal to the lower bin limit or not, depending on whether we compare as float32 or as float:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [37]: a32==bin_limits[0] Out[37]: array([ True, False], dtype=bool) In [38]: a32[0]==bin_limits[0] Out[38]: False "><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">37</span>]: <span class="pl-s1">a32</span><span class="pl-c1">==</span><span class="pl-s1">bin_limits</span>[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">37</span>]: <span class="pl-en">array</span>([ <span class="pl-c1">True</span>, <span class="pl-c1">False</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">bool</span>) <span class="pl-v">In</span> [<span class="pl-c1">38</span>]: <span class="pl-s1">a32</span>[<span class="pl-c1">0</span>]<span class="pl-c1">==</span><span class="pl-s1">bin_limits</span>[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">38</span>]: <span class="pl-c1">False</span></pre></div> <p dir="auto">Looking into <code class="notranslate">function_base.py</code>, we can see the problem:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" 740 for i in arange(0, len(a), BLOCK): 741 tmp_a = a[i:i+BLOCK] 742 if weights is None: 743 tmp_w = None 744 else: 745 tmp_w = weights[i:i + BLOCK] 746 747 # Only include values in the right range 748 keep = (tmp_a &gt;= mn) 749 keep &amp;= (tmp_a &lt;= mx) 750 if not np.logical_and.reduce(keep): 751 tmp_a = tmp_a[keep] 752 if tmp_w is not None: 753 tmp_w = tmp_w[keep] 754 tmp_a_data = tmp_a.astype(float) 755 tmp_a = tmp_a_data - mn 756 tmp_a *= norm 757 758 # Compute the bin indices, and for values that lie exactly on mx we 759 # need to subtract one 760 indices = tmp_a.astype(np.intp) 761 indices[indices == bins] -= 1 762 763 # The index computation is not guaranteed to give exactly 764 # consistent results within ~1 ULP of the bin edges. 765 decrement = tmp_a_data &lt; bin_edges[indices] 766 indices[decrement] -= 1 767 # The last bin includes the right edge. The other bins do not. 768 increment = ((tmp_a_data &gt;= bin_edges[indices + 1]) 769 &amp; (indices != bins - 1)) 770 indices[increment] += 1 771 772 # We now compute the histogram using bincount 773 if ntype.kind == 'c': 774 n.real += np.bincount(indices, weights=tmp_w.real, 775 minlength=bins) 776 n.imag += np.bincount(indices, weights=tmp_w.imag, 777 minlength=bins) 778 else: 779 n += np.bincount(indices, weights=tmp_w, 780 minlength=bins).astype(ntype) 781 "><pre class="notranslate"> <span class="pl-c1">740</span> <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">arange</span>(<span class="pl-c1">0</span>, <span class="pl-en">len</span>(<span class="pl-s1">a</span>), <span class="pl-v">BLOCK</span>): <span class="pl-c1">741</span> <span class="pl-s1">tmp_a</span> <span class="pl-c1">=</span> <span class="pl-s1">a</span>[<span class="pl-s1">i</span>:<span class="pl-s1">i</span><span class="pl-c1">+</span><span class="pl-v">BLOCK</span>] <span class="pl-c1">742</span> <span class="pl-k">if</span> <span class="pl-s1">weights</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>: <span class="pl-c1">743</span> <span class="pl-s1">tmp_w</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span> <span class="pl-c1">744</span> <span class="pl-k">else</span>: <span class="pl-c1">745</span> <span class="pl-s1">tmp_w</span> <span class="pl-c1">=</span> <span class="pl-s1">weights</span>[<span class="pl-s1">i</span>:<span class="pl-s1">i</span> <span class="pl-c1">+</span> <span class="pl-v">BLOCK</span>] <span class="pl-c1">746</span> <span class="pl-c1">747</span> <span class="pl-c"># Only include values in the right range</span> <span class="pl-c1">748</span> <span class="pl-s1">keep</span> <span class="pl-c1">=</span> (<span class="pl-s1">tmp_a</span> <span class="pl-c1">&gt;=</span> <span class="pl-s1">mn</span>) <span class="pl-c1">749</span> <span class="pl-s1">keep</span> &amp;= (<span class="pl-s1">tmp_a</span> <span class="pl-c1">&lt;=</span> <span class="pl-s1">mx</span>) <span class="pl-c1">750</span> <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">np</span>.<span class="pl-s1">logical_and</span>.<span class="pl-en">reduce</span>(<span class="pl-s1">keep</span>): <span class="pl-c1">751</span> <span class="pl-s1">tmp_a</span> <span class="pl-c1">=</span> <span class="pl-s1">tmp_a</span>[<span class="pl-s1">keep</span>] <span class="pl-c1">752</span> <span class="pl-k">if</span> <span class="pl-s1">tmp_w</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>: <span class="pl-c1">753</span> <span class="pl-s1">tmp_w</span> <span class="pl-c1">=</span> <span class="pl-s1">tmp_w</span>[<span class="pl-s1">keep</span>] <span class="pl-c1">754</span> <span class="pl-s1">tmp_a_data</span> <span class="pl-c1">=</span> <span class="pl-s1">tmp_a</span>.<span class="pl-en">astype</span>(<span class="pl-s1">float</span>) <span class="pl-c1">755</span> <span class="pl-s1">tmp_a</span> <span class="pl-c1">=</span> <span class="pl-s1">tmp_a_data</span> <span class="pl-c1">-</span> <span class="pl-s1">mn</span> <span class="pl-c1">756</span> <span class="pl-s1">tmp_a</span> <span class="pl-c1">*=</span> <span class="pl-s1">norm</span> <span class="pl-c1">757</span> <span class="pl-c1">758</span> <span class="pl-c"># Compute the bin indices, and for values that lie exactly on mx we</span> <span class="pl-c1">759</span> <span class="pl-c"># need to subtract one</span> <span class="pl-c1">760</span> <span class="pl-s1">indices</span> <span class="pl-c1">=</span> <span class="pl-s1">tmp_a</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">intp</span>) <span class="pl-c1">761</span> <span class="pl-s1">indices</span>[<span class="pl-s1">indices</span> <span class="pl-c1">==</span> <span class="pl-s1">bins</span>] <span class="pl-c1">-=</span> <span class="pl-c1">1</span> <span class="pl-c1">762</span> <span class="pl-c1">763</span> <span class="pl-c"># The index computation is not guaranteed to give exactly</span> <span class="pl-c1">764</span> <span class="pl-c"># consistent results within ~1 ULP of the bin edges.</span> <span class="pl-c1">765</span> <span class="pl-s1">decrement</span> <span class="pl-c1">=</span> <span class="pl-s1">tmp_a_data</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">bin_edges</span>[<span class="pl-s1">indices</span>] <span class="pl-c1">766</span> <span class="pl-s1">indices</span>[<span class="pl-s1">decrement</span>] <span class="pl-c1">-=</span> <span class="pl-c1">1</span> <span class="pl-c1">767</span> <span class="pl-c"># The last bin includes the right edge. The other bins do not.</span> <span class="pl-c1">768</span> <span class="pl-s1">increment</span> <span class="pl-c1">=</span> ((<span class="pl-s1">tmp_a_data</span> <span class="pl-c1">&gt;=</span> <span class="pl-s1">bin_edges</span>[<span class="pl-s1">indices</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>]) <span class="pl-c1">769</span> <span class="pl-c1">&amp;</span> (<span class="pl-s1">indices</span> <span class="pl-c1">!=</span> <span class="pl-s1">bins</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span>)) <span class="pl-c1">770</span> <span class="pl-s1">indices</span>[<span class="pl-s1">increment</span>] <span class="pl-c1">+=</span> <span class="pl-c1">1</span> <span class="pl-c1">771</span> <span class="pl-c1">772</span> <span class="pl-c"># We now compute the histogram using bincount</span> <span class="pl-c1">773</span> <span class="pl-k">if</span> <span class="pl-s1">ntype</span>.<span class="pl-s1">kind</span> <span class="pl-c1">==</span> <span class="pl-s">'c'</span>: <span class="pl-c1">774</span> <span class="pl-s1">n</span>.<span class="pl-s1">real</span> <span class="pl-c1">+=</span> <span class="pl-s1">np</span>.<span class="pl-en">bincount</span>(<span class="pl-s1">indices</span>, <span class="pl-s1">weights</span><span class="pl-c1">=</span><span class="pl-s1">tmp_w</span>.<span class="pl-s1">real</span>, <span class="pl-c1">775</span> <span class="pl-s1">minlength</span><span class="pl-c1">=</span><span class="pl-s1">bins</span>) <span class="pl-c1">776</span> <span class="pl-s1">n</span>.<span class="pl-s1">imag</span> <span class="pl-c1">+=</span> <span class="pl-s1">np</span>.<span class="pl-en">bincount</span>(<span class="pl-s1">indices</span>, <span class="pl-s1">weights</span><span class="pl-c1">=</span><span class="pl-s1">tmp_w</span>.<span class="pl-s1">imag</span>, <span class="pl-c1">777</span> <span class="pl-s1">minlength</span><span class="pl-c1">=</span><span class="pl-s1">bins</span>) <span class="pl-c1">778</span> <span class="pl-k">else</span>: <span class="pl-c1">779</span> <span class="pl-s1">n</span> <span class="pl-c1">+=</span> <span class="pl-s1">np</span>.<span class="pl-en">bincount</span>(<span class="pl-s1">indices</span>, <span class="pl-s1">weights</span><span class="pl-c1">=</span><span class="pl-s1">tmp_w</span>, <span class="pl-c1">780</span> <span class="pl-s1">minlength</span><span class="pl-c1">=</span><span class="pl-s1">bins</span>).<span class="pl-en">astype</span>(<span class="pl-s1">ntype</span>) <span class="pl-c1">781</span> </pre></div> <p dir="auto">Up to line 753, we are discarding data that fall outside the given histogram limits. At lines 748 and 751, array <code class="notranslate">tmp_a</code> is still whatever type the user passes in (here, <code class="notranslate">float32), and the decision is made whether to keep data *based on the original float32 values*. But in line 755, the </code>tmp_a` is replaced with a (double-precision) float array. When the single-precision values are equal to the lowest bin edge <em>in single-precision comparisons</em> but then turn out to be just below the lowest edge in double-precision comparisons, then we get this error, erroneously.</p> <p dir="auto">I could update and make a PR, but I'm completely new to numpy and don't know what approach you'd like best. Some ideas:</p> <ol dir="auto"> <li> <p dir="auto">You could just force values in the <code class="notranslate">indices</code> array to be in-range. This seems to be sort of what lines 760-770 do, so I'm not clear how it fails in the case I've raised. I think what we need is an analogue to line 761 but for the lower edge. Perhaps <code class="notranslate">indices[indices &lt; 0] = 0</code> ? This behavior means that we bin float32 data with float32 comparisons, which might or might not be what we want.</p> </li> <li> <p dir="auto">Convert the input array to <code class="notranslate">float</code> before deciding which values to keep. This could be a performance problem in cases where most values will be outside the histogram limits, because you'd be converting all values. (The current approach only converts the ones that will be within limits, except that "within limits" is not quite correct for float32 values.)</p> </li> <li> <p dir="auto">Replace the <code class="notranslate">tmp_a.astype(float)</code> (line 754) so that we convert not to <code class="notranslate">float</code> but to the input type. I think this would solve the problem for all floating-point inputs but likely create some new problem for integer inputs. This might require that handling floats and ints differently with separate branches.</p> </li> </ol> <p dir="auto">I'd say that we want to go with the first idea but am hoping an expert can weigh in.</p> <p dir="auto">I am using with numpy 1.13.1 on Mac OS 10.12.6 through the Macports system, with Python 2.7.14 and IPython 5.4.0.</p>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">handlers</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.2.1.0"><pre class="notranslate"><code class="notranslate">2.2.1.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Handlers with include statement are called multipled times (as many times as notify).</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Testing notify handler with include hosts: blue become: True tasks: - command: id notify: restart test - command: id notify: restart test - command: id notify: restart test - command: id notify: restart test handlers: - name: restart test include: tasks/restart_test.yml"><pre class="notranslate"><code class="notranslate">- name: Testing notify handler with include hosts: blue become: True tasks: - command: id notify: restart test - command: id notify: restart test - command: id notify: restart test - command: id notify: restart test handlers: - name: restart test include: tasks/restart_test.yml </code></pre></div> <p dir="auto">And the restart_test.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Restart test (we use NTP) service: name=ntp state=restarted"><pre class="notranslate"><code class="notranslate">- name: Restart test (we use NTP) service: name=ntp state=restarted </code></pre></div> <p dir="auto">Output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook test-restart.yml PLAY [Testing notify handler with include] ************************************* TASK [setup] ******************************************************************* ok: [host01] TASK [command] ***************************************************************** changed: [host01] TASK [command] ***************************************************************** changed: [host01] TASK [command] ***************************************************************** changed: [host01] TASK [command] ***************************************************************** changed: [host01] RUNNING HANDLER [Restart test (we use NTP)] ************************************ changed: [host01] changed: [host01] changed: [host01] changed: [host01] PLAY RECAP ********************************************************************* host01 : ok=9 changed=8 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">ansible-playbook test-restart.yml PLAY [Testing notify handler with include] ************************************* TASK [setup] ******************************************************************* ok: [host01] TASK [command] ***************************************************************** changed: [host01] TASK [command] ***************************************************************** changed: [host01] TASK [command] ***************************************************************** changed: [host01] TASK [command] ***************************************************************** changed: [host01] RUNNING HANDLER [Restart test (we use NTP)] ************************************ changed: [host01] changed: [host01] changed: [host01] changed: [host01] PLAY RECAP ********************************************************************* host01 : ok=9 changed=8 unreachable=0 failed=0 </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Handler should be executed only once.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Handler being call as many times as notify</p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">handlers</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0.0 config file = /home/duck/project/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0 config file = /home/duck/project/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <p dir="auto">This is RC2.</p> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">only the roles path is modified.</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Running on Debian unstable and managing CentOS 7.</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">To chain multiple actions in a handler I include a file, and this leads to the handler being fired multiple times.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">I used an include as suggested workaround for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130762955" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/14270" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/14270/hovercard" href="https://github.com/ansible/ansible/issues/14270">#14270</a>.</p> <p dir="auto">My handler defined in handlers/main.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: restart networkd include: apply_config.yml"><pre class="notranslate"><code class="notranslate">- name: restart networkd include: apply_config.yml </code></pre></div> <p dir="auto">The apply_config.yml file contains:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: reboot # workaround for https://github.com/ansible/ansible/issues/14413 shell: &quot;nohup bash -c 'sleep 2 &amp;&amp; shutdown -r now' &amp;&quot; async: 0 poll: 0 ignore_errors: true - name: waiting for server to be up local_action: module: wait_for host: &quot;{{ ansible_host | default(inventory_hostname) }}&quot; port: 22 state: started delay: 5 timeout: 600 become: no # ensure the facts are updated - setup:"><pre class="notranslate"><code class="notranslate">- name: reboot # workaround for https://github.com/ansible/ansible/issues/14413 shell: "nohup bash -c 'sleep 2 &amp;&amp; shutdown -r now' &amp;" async: 0 poll: 0 ignore_errors: true - name: waiting for server to be up local_action: module: wait_for host: "{{ ansible_host | default(inventory_hostname) }}" port: 22 state: started delay: 5 timeout: 600 become: no # ensure the facts are updated - setup: </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Several changes (during roles tasks) call this trigger, but it should only be executed once.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">As you can see it is executed 5 times and breaks playbook execution:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [networkd : enable networkd] ********************************************** changed: [myhost.mydom.tld] RUNNING HANDLER [networkd : reboot] ******************************************** fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh&quot;, &quot;unreachable&quot;: true} fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh&quot;, &quot;unreachable&quot;: true} fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh&quot;, &quot;unreachable&quot;: true} changed: [myhost.mydom.tld] fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh&quot;, &quot;unreachable&quot;: true} RUNNING HANDLER [networkd : waiting for server to be up] *********************** ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] RUNNING HANDLER [networkd : setup] ********************************************* ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] to retry, use: --limit @/home/duck/OSAS/community-cage-infra-ansible/playbooks/deploy.retry"><pre class="notranslate"><code class="notranslate">TASK [networkd : enable networkd] ********************************************** changed: [myhost.mydom.tld] RUNNING HANDLER [networkd : reboot] ******************************************** fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {"changed": false, "msg": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true} fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {"changed": false, "msg": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true} fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {"changed": false, "msg": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true} changed: [myhost.mydom.tld] fatal: [myhost.mydom.tld]: UNREACHABLE! =&gt; {"changed": false, "msg": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true} RUNNING HANDLER [networkd : waiting for server to be up] *********************** ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] ok: [myhost.mydom.tld -&gt; 192.168.57.10] RUNNING HANDLER [networkd : setup] ********************************************* ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] ok: [myhost.mydom.tld] to retry, use: --limit @/home/duck/OSAS/community-cage-infra-ansible/playbooks/deploy.retry </code></pre></div>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run &quot;ver&quot; at a command prompt] **Microsoft Windows [Version 10.0.18362.207]** OS language is dutch Windows Terminal version (if applicable): **Windows Terminal (Preview) Version: 0.2.1831.0** Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] **Microsoft Windows [Version 10.0.18362.207]** OS language is dutch Windows Terminal version (if applicable): **Windows Terminal (Preview) Version: 0.2.1831.0** Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">full screen the terminal window and use the keys "windows + shift + arrow" to move the window to your second screen</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Go full screen on second monitor</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">When I move it from a 1920x1080 screen to a 2560x1080 screen it goes full screen. When moving it from a 2560x1080 screen to a 1920x1080 screen the terminal crashes.</p> <h1 dir="auto">Message event viewer (Dutch)</h1> <p dir="auto">Naam van toepassing met fout: WindowsTerminal.exe, versie: 1.0.1907.2001, tijdstempel: 0x5d1bd2d0<br> Naam van module met fout: ucrtbase.dll, versie: 10.0.18362.1, tijdstempel: 0x5cbddb81<br> Uitzonderingscode: 0xc0000409<br> Foutmarge: 0x000000000006d3be<br> Id van proces met fout: 0x3028<br> Starttijd van toepassing met fout: 0x01d534b9425f56b0<br> Pad naar toepassing met fout: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.2.1831.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe<br> Pad naar module met fout: C:\WINDOWS\System32\ucrtbase.dll<br> Rapport-id: d822f0b0-3805-4c9f-b74e-87c80dc48334<br> Volledige pakketnaam met fout: Microsoft.WindowsTerminal_0.2.1831.0_x64__8wekyb3d8bbwe<br> Relatieve toepassings-id van pakket met fout: App</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.295] Windows Terminal version (if applicable): latest master"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.295] Windows Terminal version (if applicable): latest master </code></pre></div> <p dir="auto">This is a little tricky to describe--please bear with me.</p> <p dir="auto">I've given the example repro using pwsh, but I have also checked with plain C++ code, compiled and then run from cmd, and it's still a problem (so pwsh/PSReadLine are not interfering).</p> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Create a string "s" with SGR sequences that sets foreground to red, and background color to white, and then at the end of the string an SGR reset (which should set fg and bg back to their defaults: gray on black).</li> <li>Write the string to the console, and observe that it works as expected. After the content, the rest of the line (to the window edge) is black.</li> <li>Now make the string longer by just adding content in the middle... long enough that it will wrap.</li> <li>Write the string to the console, and observe that it works differently. After the end of the content, the rest of the line (to the window edge) is white.</li> </ol> <h1 dir="auto">Expected behavior:</h1> <p dir="auto">The behavior should be the same, whether or not the line wraps. And I think the current behavior in the non-wrapping case seems correct.</p> <h1 dir="auto">Actual behavior:</h1> <p dir="auto">If the line wraps, the altered background color inexplicably shows up after the end of the content, to the end of the line.</p> <h1 dir="auto">Example repro:</h1> <div class="highlight highlight-source-powershell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$csi = &quot;`e[&quot; $fgRed = &quot;${csi}91m&quot; $bgWhite = &quot;${csi}107m&quot; $reset = &quot;${csi}0m&quot; $s = &quot;default ${fgRed}fg red ${bgWhite}bg white, no wrapping${reset} (courtesy reset)&quot; $s $s2 = &quot;default ${fgRed}fg red ${bgWhite}bg white, this content should be long enough to cause the line to be wrapped blah blah blah blah blah blah blah blah blah blah blah${reset} (courtesy reset)&quot; $s2"><pre class="notranslate"><span class="pl-smi">$csi</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-cce">`e</span>[<span class="pl-pds">"</span></span> <span class="pl-smi">$fgRed</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${csi}</span>91m<span class="pl-pds">"</span></span> <span class="pl-smi">$bgWhite</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${csi}</span>107m<span class="pl-pds">"</span></span> <span class="pl-smi">$reset</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${csi}</span>0m<span class="pl-pds">"</span></span> <span class="pl-smi">$s</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span>default <span class="pl-smi">${fgRed}</span>fg red <span class="pl-smi">${bgWhite}</span>bg white, no wrapping<span class="pl-smi">${reset}</span> (courtesy reset)<span class="pl-pds">"</span></span> <span class="pl-smi">$s</span> <span class="pl-smi">$s2</span> <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span>default <span class="pl-smi">${fgRed}</span>fg red <span class="pl-smi">${bgWhite}</span>bg white, this content should be long enough to cause the line to be wrapped blah blah blah blah blah blah blah blah blah blah blah<span class="pl-smi">${reset}</span> (courtesy reset)<span class="pl-pds">"</span></span> <span class="pl-smi">$s2</span></pre></div> <p dir="auto">Picture:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/771085/64643004-64d14d80-d3c4-11e9-97fa-c7c1953ebf25.png"><img src="https://user-images.githubusercontent.com/771085/64643004-64d14d80-d3c4-11e9-97fa-c7c1953ebf25.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">And actually, it gets weirder: if I tweak the string's length such that the wrap occurs in the middle of the "courtesy reset" portion of the content... the bug does not repro.</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jucosorin" rel="nofollow">Sorin Jucovschi</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6178?redirect=false" rel="nofollow">SPR-6178</a></strong> and commented</p> <p dir="auto">In my application I have a ContentNegotiatingViewResolver set to handle <strong>html</strong> , <strong>xml</strong> and <strong>json</strong>. Following is the beans declaration:<br> \</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;bean class=&quot;org.springframework.web.servlet.view.ContentNegotiatingViewResolver&quot; p:order=&quot;1&quot;&gt; &lt;property name=&quot;mediaTypes&quot;&gt; &lt;map&gt; &lt;entry key=&quot;html&quot; value=&quot;text/html&quot;/&gt; &lt;entry key=&quot;xml&quot; value=&quot;application/xml&quot; /&gt; &lt;entry key=&quot;json&quot; value=&quot;application/json&quot; /&gt; &lt;/map&gt; &lt;/property&gt; &lt;property name=&quot;defaultViews&quot;&gt; &lt;list&gt; &lt;bean class=&quot;org.springframework.web.servlet.view.xml.MarshallingView&quot;&gt; &lt;property name=&quot;marshaller&quot;&gt; &lt;bean class=&quot;org.springframework.oxm.xstream.XStreamMarshaller&quot; p:autodetectAnnotations=&quot;true&quot; /&gt; &lt;/property&gt; &lt;/bean&gt; &lt;bean class=&quot;org.springframework.web.servlet.view.json.MappingJacksonJsonView&quot; /&gt; &lt;/list&gt; &lt;/property&gt; &lt;property name=&quot;ignoreAcceptHeader&quot; value=&quot;true&quot;/&gt; &lt;property name=&quot;defaultContentType&quot; value=&quot;application/xml&quot;/&gt; &lt;/bean&gt; &lt;bean id=&quot;jspViewResolver&quot; class=&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot; p:prefix=&quot;/WEB-INF/jsp/&quot; p:suffix=&quot;.jsp&quot; p:order=&quot;2&quot; /&gt;"><pre class="notranslate">&lt;<span class="pl-ent">bean</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.web.servlet.view.ContentNegotiatingViewResolver<span class="pl-pds">"</span></span> <span class="pl-e">p</span><span class="pl-e">:</span><span class="pl-e">order</span>=<span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>mediaTypes<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">map</span>&gt; &lt;<span class="pl-ent">entry</span> <span class="pl-e">key</span>=<span class="pl-s"><span class="pl-pds">"</span>html<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>text/html<span class="pl-pds">"</span></span>/&gt; &lt;<span class="pl-ent">entry</span> <span class="pl-e">key</span>=<span class="pl-s"><span class="pl-pds">"</span>xml<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>application/xml<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">entry</span> <span class="pl-e">key</span>=<span class="pl-s"><span class="pl-pds">"</span>json<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>application/json<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">map</span>&gt; &lt;/<span class="pl-ent">property</span>&gt; &lt;<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>defaultViews<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">list</span>&gt; &lt;<span class="pl-ent">bean</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.web.servlet.view.xml.MarshallingView<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>marshaller<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">bean</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.oxm.xstream.XStreamMarshaller<span class="pl-pds">"</span></span> <span class="pl-e">p</span><span class="pl-e">:</span><span class="pl-e">autodetectAnnotations</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">property</span>&gt; &lt;/<span class="pl-ent">bean</span>&gt; &lt;<span class="pl-ent">bean</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.web.servlet.view.json.MappingJacksonJsonView<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">list</span>&gt; &lt;/<span class="pl-ent">property</span>&gt; &lt;<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>ignoreAcceptHeader<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span>/&gt; &lt;<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>defaultContentType<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>application/xml<span class="pl-pds">"</span></span>/&gt; &lt;/<span class="pl-ent">bean</span>&gt; &lt;<span class="pl-ent">bean</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>jspViewResolver<span class="pl-pds">"</span></span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.web.servlet.view.InternalResourceViewResolver<span class="pl-pds">"</span></span> <span class="pl-e">p</span><span class="pl-e">:</span><span class="pl-e">prefix</span>=<span class="pl-s"><span class="pl-pds">"</span>/WEB-INF/jsp/<span class="pl-pds">"</span></span> <span class="pl-e">p</span><span class="pl-e">:</span><span class="pl-e">suffix</span>=<span class="pl-s"><span class="pl-pds">"</span>.jsp<span class="pl-pds">"</span></span> <span class="pl-e">p</span><span class="pl-e">:</span><span class="pl-e">order</span>=<span class="pl-s"><span class="pl-pds">"</span>2<span class="pl-pds">"</span></span> /&gt;</pre></div> <p dir="auto">//</p> <p dir="auto">As seen in the code I turned off <strong>acceptHeader</strong> and want to have a default content type of <strong>application/xml</strong>. When I access the page without an explicit extension I get a java.lang.UnsupportedOperationException:</p> <p dir="auto">java.lang.UnsupportedOperationException<br> at java.util.AbstractList.set(AbstractList.java:115)<br> at java.util.AbstractList$ListItr.set(AbstractList.java:412)<br> at java.util.Collections.sort(Collections.java:121)<br> at org.springframework.web.servlet.view.ContentNegotiatingViewResolver.resolveViewName(ContentNegotiatingViewResolver.java:344)<br> at org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1105)<br> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1052)<br> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:808)<br> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)<br> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:636)<br> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:545)<br> ...</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 RC1</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="398097805" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10831" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10831/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10831">#10831</a> Using ignoreAcceptHeader and defaultContentType together causes problems. (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=egervari" rel="nofollow">Ken Egervari</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6163?redirect=false" rel="nofollow">SPR-6163</a></strong> and commented</p> <p dir="auto">Using ignore accept header and default content type causes problems. Here is my bean xml:</p> <p dir="auto">{code?xml}<br> &lt;bean id="contentNegotiatingViewResolver"<br> class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver"&gt;<br> &lt;property name="order" value="1"/&gt;<br> &lt;property name="ignoreAcceptHeader" value="true" /&gt;<br> &lt;property name="defaultContentType" value="text/html" /&gt;<br> &lt;property name="mediaTypes"&gt;<br> &lt;map&gt;<br> &lt;entry key="ftl" value="text/html"/&gt;<br> &lt;entry key="xml" value="application/xml"/&gt;<br> &lt;entry key="json" value="application/json"/&gt;<br> &lt;entry key="atom" value="application/atom+xml"/&gt;<br> &lt;entry key="rss" value="application/rss+xml"/&gt;<br> &lt;/map&gt;<br> &lt;/property&gt;<br> &lt;property name="defaultViews"&gt;<br> &lt;list&gt;<br> &lt;bean class="org.springframework.web.servlet.view.xml.MarshallingView"&gt;<br> &lt;property name="contentType" value="application/xml" /&gt;<br> &lt;property name="marshaller"&gt;<br> &lt;bean class="org.springframework.oxm.xstream.XStreamMarshaller"&gt;<br> &lt;property name="autodetectAnnotations" value="true"/&gt;<br> &lt;/bean&gt;<br> &lt;/property&gt;<br> &lt;/bean&gt;<br> &lt;bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView"&gt;<br> &lt;property name="contentType" value="application/json" /&gt;<br> &lt;/bean&gt;<br> &lt;/list&gt;<br> &lt;/property&gt;<br> &lt;property name="viewResolvers"&gt;<br> &lt;list&gt;<br> &lt;bean id="viewResolver" class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver"&gt;<br> &lt;property name="contentType" value="text/html" /&gt;<br> &lt;property name="order" value="2"/&gt;<br> &lt;property name="cache" value="false"/&gt;<br> &lt;property name="prefix" value=""/&gt;<br> &lt;property name="suffix" value=".ftl"/&gt;<br> &lt;property name="exposeSpringMacroHelpers" value="true"/&gt;<br> &lt;/bean&gt;<br> &lt;/list&gt;<br> &lt;/property&gt;<br> &lt;/bean&gt;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Here is the exception that is generated: "><pre class="notranslate"><code class="notranslate"> Here is the exception that is generated: </code></pre></div> <p dir="auto">SEVERE: Servlet.service() for servlet jawbs threw exception<br> java.lang.UnsupportedOperationException<br> at java.util.AbstractList.set(AbstractList.java:115)<br> at java.util.AbstractList$ListItr.set(AbstractList.java:412)<br> at java.util.Collections.sort(Collections.java:121)<br> at org.springframework.web.servlet.view.ContentNegotiatingViewResolver.resolveViewName(ContentNegotiatingViewResolver.java:344)<br> at org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1105)<br> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1052)<br> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:808)<br> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)<br> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:636)<br> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:545)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" If there is a short-term fix, I'd love to hear it. Basically what I want to do is have no extension (like /rest/hotels/list) go to text/html and still have the json, xml, etc. views work with the extensions on any/all browsers. Thanks!"><pre class="notranslate"><code class="notranslate"> If there is a short-term fix, I'd love to hear it. Basically what I want to do is have no extension (like /rest/hotels/list) go to text/html and still have the json, xml, etc. views work with the extensions on any/all browsers. Thanks! </code></pre></div> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 RC1</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="398097922" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10846" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10846/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10846">#10846</a> Using defaultContentType property in ContentNegotiatingViewResolver throws java.lang.UnsupportedOperationException (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/0c47a01953d060a6aa8f306b03730078a60ddf39/hovercard" href="https://github.com/spring-projects/spring-framework/commit/0c47a01953d060a6aa8f306b03730078a60ddf39"><tt>0c47a01</tt></a></p>
1
<p dir="auto">The code</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() {} // ... // lots of code // ... fn some_random_function() { // lots of code here let unused = vec![]; // even more code }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-c">// ...</span> <span class="pl-c">// lots of code</span> <span class="pl-c">// ...</span> <span class="pl-k">fn</span> <span class="pl-en">some_random_function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// lots of code here</span> <span class="pl-k">let</span> unused = <span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c">// even more code</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">gives an error message which does not even hint about the error's location:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;std macros&gt;:5:9: 5:22 error: unable to infer enough type information about `_`; type annotations required &lt;std macros&gt;:5 xs.into_vec() ^~~~~~~~~~~~~ &lt;std macros&gt;:1:1: 8:2 note: in expansion of vec! &lt;anon&gt;:4:5: 4:12 note: expansion site"><pre class="notranslate"><code class="notranslate">&lt;std macros&gt;:5:9: 5:22 error: unable to infer enough type information about `_`; type annotations required &lt;std macros&gt;:5 xs.into_vec() ^~~~~~~~~~~~~ &lt;std macros&gt;:1:1: 8:2 note: in expansion of vec! &lt;anon&gt;:4:5: 4:12 note: expansion site </code></pre></div> <p dir="auto">Which makes finding the offending statement require quite a bit of effort.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() { let a = Vec::new(); }"><pre class="notranslate"><code class="notranslate">fn main() { let a = Vec::new(); } </code></pre></div> <p dir="auto">Gives me:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:2:13: 2:21 error: unable to infer enough type information about `_`; type annotations required [E0282] &lt;anon&gt;:2 let a = Vec::new(); ^~~~~~~~"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:2:13: 2:21 error: unable to infer enough type information about `_`; type annotations required [E0282] &lt;anon&gt;:2 let a = Vec::new(); ^~~~~~~~ </code></pre></div> <p dir="auto">This is confusing because it doesn't say what the <code class="notranslate">_</code> is that it can't figure out. Perhaps it could say something like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Only able to infer that `a` has type `Vec&lt;_&gt;`; please annotate so I can figure out what `_` is."><pre class="notranslate"><code class="notranslate">Only able to infer that `a` has type `Vec&lt;_&gt;`; please annotate so I can figure out what `_` is. </code></pre></div>
1
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1618" rel="nofollow">http://projects.scipy.org/numpy/ticket/1618</a> on 2010-09-21 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a>, assigned to unknown.</em></p> <p dir="auto">It probably shouldn't do this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import numpy as np &gt;&gt;&gt; x = np.array(1+2j, object) &gt;&gt;&gt; x.real array((1+2j), dtype=object)"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; import numpy as np &gt;&gt;&gt; x = np.array(1+2j, object) &gt;&gt;&gt; x.real array((1+2j), dtype=object) </code></pre></div> <p dir="auto">The implementation of .real for object arrays seems suspicious.</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1142" rel="nofollow">http://projects.scipy.org/numpy/ticket/1142</a> on 2009-06-19 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/inducer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/inducer">@inducer</a>, assigned to unknown.</em></p> <p dir="auto">numpy could really do a better job here by propagating the .real to the elements of the object array:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) [GCC 4.3.3] on linux2 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import numpy as n &gt;&gt;&gt; n.__version__ '1.3.0' &gt;&gt;&gt; a = n.array(5+7j) &gt;&gt;&gt; b = n.array([a], dtype=object) &gt;&gt;&gt; b.real array([(5+7j)], dtype=object) &gt;&gt;&gt; n.real(b) array([(5+7j)], dtype=object)"><pre class="notranslate"><code class="notranslate">Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import numpy as n &gt;&gt;&gt; n.__version__ '1.3.0' &gt;&gt;&gt; a = n.array(5+7j) &gt;&gt;&gt; b = n.array([a], dtype=object) &gt;&gt;&gt; b.real array([(5+7j)], dtype=object) &gt;&gt;&gt; n.real(b) array([(5+7j)], dtype=object) </code></pre></div> <hr> <p dir="auto">Summary by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/seberg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/seberg">@seberg</a>:</p> <p dir="auto">Object arrays could call <code class="notranslate">.real</code> on all objects, but that would not return a view as typically promised by <code class="notranslate">arr.real</code>. It seems that moving forward here may require a new function that returns a copy?</p>
1
<h3 dir="auto">Descripe the feature and motivation</h3> <p dir="auto">nowadays, video live is popular, opencv can receive rtsp/rtmp/usb .etc,but it cloudn't support to transform/push video stream to video server. it's possible to add this new feature?</p> <h3 dir="auto">Additional context</h3> <p dir="auto"><em>No response</em></p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.5</li> <li>Operating System / Platform =&gt; Linux</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I am using opencv to pull and push the video stream by rtsp protocol</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">By using python binding:</p> <p dir="auto">pulling:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cap = cv2.VideoCapture(&quot;rstp://localhost:8555&quot;,cv2.CAP_FFMPEG)"><pre class="notranslate"><code class="notranslate">cap = cv2.VideoCapture("rstp://localhost:8555",cv2.CAP_FFMPEG) </code></pre></div> <p dir="auto">No problem</p> <p dir="auto">pushing:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" video_writer = cv2.VideoWriter(&quot;rstp://localhost:8555&quot;, fourcc, fps, size, True,cv2.CAP_FFMPEG) video_writer.write(frame)"><pre class="notranslate"><code class="notranslate"> video_writer = cv2.VideoWriter("rstp://localhost:8555", fourcc, fps, size, True,cv2.CAP_FFMPEG) video_writer.write(frame) </code></pre></div> <p dir="auto">i get</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OpenCV(4.5.5) opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):rstp://localhost:8555 in function 'cv::icvExtractPattern'"><pre class="notranslate"><code class="notranslate">OpenCV(4.5.5) opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):rstp://localhost:8555 in function 'cv::icvExtractPattern' </code></pre></div> <p dir="auto">Is there a way to push the stream like below?</p> <h5 dir="auto">Issue submission checklist</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I checked the problem with documentation, FAQ, open issues,<br> forum.opencv.org, Stack Overflow, etc and have not found any solution </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to the latest OpenCV version and the issue is still there </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
1
<h3 dir="auto">Feature request</h3> <p dir="auto">I will be good to have option like <a href="https://jestjs.io/ru/docs/api#testeachtablename-fn-timeout" rel="nofollow">https://jestjs.io/ru/docs/api#testeachtablename-fn-timeout</a> and <a href="https://jestjs.io/ru/docs/api#describeeachtablename-fn-timeout" rel="nofollow">https://jestjs.io/ru/docs/api#describeeachtablename-fn-timeout</a> for this: <a href="https://playwright.dev/docs/test-intro/#use-test-hooks" rel="nofollow">https://playwright.dev/docs/test-intro/#use-test-hooks</a></p> <p dir="auto">I know I can use 'for')</p>
<p dir="auto">You can already do each via running test in a loop:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="for (const data in [...]) { test('testing ' + data, async () =&gt; {}); }"><pre class="notranslate"><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">data</span> <span class="pl-k">in</span> <span class="pl-kos">[</span>...<span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'testing '</span> <span class="pl-c1">+</span> <span class="pl-s1">data</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</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">If the above does not work for you, please tell us why in the comments!</p>
1
<h1 dir="auto">Bug report</h1> <p dir="auto">AMP pages include the query string in the canonical URL.</p> <h2 dir="auto">Describe the bug</h2> <p dir="auto">On AMP pages the canonical link includes the query string. This has potential to cause duplicate content SEO issues on post pages, etc.</p> <p dir="auto">Using <a href="https://nextjs.org/blog/next-9" rel="nofollow">https://nextjs.org/blog/next-9</a> as an example:</p> <ul dir="auto"> <li><a href="https://nextjs.org/blog/next-9" rel="nofollow">https://nextjs.org/blog/next-9</a> (<code class="notranslate">&lt;link rel="canonical" href="/blog/next-9"/&gt;</code>)</li> <li><a href="https://nextjs.org/blog/next-9?utm_source=google" rel="nofollow">https://nextjs.org/blog/next-9?utm_source=google</a> (<code class="notranslate">&lt;link rel="canonical" href="/blog/next-9?utm_source=google"/&gt;</code>)</li> <li><a href="https://nextjs.org/blog/next-9?foo=bar" rel="nofollow">https://nextjs.org/blog/next-9?foo=bar</a> (<code class="notranslate">&lt;link rel="canonical" href="/blog/next-9?foo=bar"/&gt;</code>)</li> </ul> <p dir="auto">In this example the query string does not affect the content, however each URL has a different canonical value.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Visit an AMP page such as <a href="https://nextjs.org/blog/next-9" rel="nofollow">https://nextjs.org/blog/next-9</a> with and without query strings. Inspect the canonical link and note the inclusion of the query string.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">In the example above, the canonical link should not include the query string. However, this is nuanced, since in some situations including the query string (or a subset of the params) might be necessary when building the canonical link. For example, a URL such as <code class="notranslate">/post?id=123456&amp;foo=junk</code> could potentially require a canonical link of <code class="notranslate">&lt;link rel="canonical" href="/post?id=123456"/&gt;</code> for correct SEO.</p> <p dir="auto">Ideally Next would allow full control over the canonical, i.e. it could be overridden. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="462276027" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/7706" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/7706/hovercard" href="https://github.com/vercel/next.js/issues/7706">#7706</a> for a similar feature request and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="445610952" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/7373" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/7373/hovercard" href="https://github.com/vercel/next.js/pull/7373">#7373</a>.</p> <h2 dir="auto">Screenshots</h2> <p dir="auto">N/A</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>Version of Next.js: 9</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">We are using hybrid AMP rendering for our post pages. We already set our canonical for the non-AMP version, and there are lots of business and SEO concerns when it comes to canonical links (we are a media company). Having full control over the canonical in the AMP context would be incredibly useful for us.</p>
<p dir="auto">Hi, I am using next.js in my project and have integrated redux, redux-saga &amp; reselect with it. I am dispatching actions in async <strong>getIntialProps</strong> but the component renders before the saga request attached to respective action is completed.</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">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>I made an action and attached saga listener with it</li> <li>I dispatched that action in async getInitialProps of pages/index.js</li> <li>It should have waited before going to render of pages/index.js</li> <li>However, the page rendered before the saga request got completed.</li> <li>In this way, page renders before the store is updated with newly fetched data.</li> </ol> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>^4.1.4</td> </tr> <tr> <td>node</td> <td>&gt;=6</td> </tr> <tr> <td>OS</td> <td>linux, windows</td> </tr> <tr> <td>browser</td> <td>all</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table> <p dir="auto">The code for certain issue is as follows:</p> <p dir="auto"><strong>pages/index</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Home extends React.Component { constructor(props) { super(props); } static async getInitialProps({store}) { await store.dispatch(getSettings()) await store.dispatch(getAboutUs()) console.log('Team Before',store.getState().home.Team) await store.dispatch(getTeam()) console.log('Team After',store.getState().home.Team) await store.dispatch(getServices()) await store.dispatch(getTestimonials()) await store.dispatch(getPortfolio()) await store.dispatch(getPortfolioSettings()) } render() { return ( &lt;HomeContainer /&gt; ); } } export default withReduxSaga(Home)"><pre class="notranslate"><code class="notranslate">class Home extends React.Component { constructor(props) { super(props); } static async getInitialProps({store}) { await store.dispatch(getSettings()) await store.dispatch(getAboutUs()) console.log('Team Before',store.getState().home.Team) await store.dispatch(getTeam()) console.log('Team After',store.getState().home.Team) await store.dispatch(getServices()) await store.dispatch(getTestimonials()) await store.dispatch(getPortfolio()) await store.dispatch(getPortfolioSettings()) } render() { return ( &lt;HomeContainer /&gt; ); } } export default withReduxSaga(Home) </code></pre></div> <p dir="auto"><strong>Home Container</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import Home from 'components/views/Home'; import { Router } from 'routes'; import Root from 'containers/Root' import LinearLoader from 'components/widgets/Loaders/LinearProgressLoader' import { getSettings, getAboutUs, getTeam, getServices, getPortfolio, getPortfolioSettings, getTestimonials } from './actions'; import { selectSettings, selectGetSettingsStatus, selectAboutUs, selectGetAboutUsStatus, selectTeam, selectGetTeamStatus, selectServices, selectGetServiceStatus, selectTestimonials, selectGetTestimonialsStatus, selectPortfolios, selectGetPortfoliosStatus, selectPortfolioSettings, selectGetPortfolioSettingsStatus } from './selectors'; export class HomeContainer extends React.Component { changeRoute = (route) =&gt; { Router.replaceRoute(route); } render() { console.log(&quot;Settings&quot;, this.props.Settings) const { GetPortfolioSettingsStatus, GetSettingsStatus, GetAboutUsStatus, GetTeamStatus, GetServicesStatus, GetTestimonialStatus, GetPortfoliosStatus } = this.props; if(GetSettingsStatus.get('loading')) { return ( &lt;LinearLoader /&gt; ); } return ( &lt;div&gt; {!!this.props.Settings &amp;&amp; &lt;Root Settings={this.props.Settings} isHome SettingsStatus={GetSettingsStatus} &gt; &lt;Home Settings={this.props.Settings} SettingsStatus={GetSettingsStatus} changeRoute={this.changeRoute} Team={this.props.Team} TeamStatus={GetTeamStatus} AboutUs={this.props.AboutUs} AboutUsStatus={GetAboutUsStatus} Services={this.props.Services} ServicesStatus={GetServicesStatus} Testimonials={this.props.Testimonials} TestimonialStatus={GetTestimonialStatus} Portfolios={this.props.Portfolios} PortfoliosStatus={GetPortfoliosStatus} PortfolioSettings={this.props.PortfolioSettings} PortfolioSettingsStatus={GetPortfolioSettingsStatus} /&gt; &lt;/Root&gt;} &lt;/div&gt; ); } } const mapDispatchToProps = (dispatch) =&gt; { return { onGetSettings: bindActionCreators(getSettings, dispatch), onGetAboutUs: bindActionCreators(getAboutUs, dispatch), onGetTeam: bindActionCreators(getTeam, dispatch), onGetServices: bindActionCreators(getServices, dispatch), onGetPortfolio: bindActionCreators(getPortfolio, dispatch), onGetTestimonial: bindActionCreators(getTestimonials, dispatch), onGetPortFolioSettings: bindActionCreators(getPortfolioSettings, dispatch) } } const mapStateToProps = createStructuredSelector({ Settings: selectSettings(), Team: selectTeam(), AboutUs: selectAboutUs(), Services: selectServices(), Testimonials: selectTestimonials(), Portfolios: selectPortfolios(), PortfolioSettings: selectPortfolioSettings(), GetSettingsStatus: selectGetSettingsStatus(), GetTeamStatus: selectGetTeamStatus(), GetAboutUsStatus: selectGetAboutUsStatus(), GetServicesStatus: selectGetServiceStatus(), GetTestimonialStatus: selectGetTestimonialsStatus(), GetPortfoliosStatus: selectGetPortfoliosStatus(), GetPortfolioSettingsStatus: selectGetPortfolioSettingsStatus() }); export default connect(mapStateToProps, mapDispatchToProps)(HomeContainer)"><pre class="notranslate"><code class="notranslate"> import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import Home from 'components/views/Home'; import { Router } from 'routes'; import Root from 'containers/Root' import LinearLoader from 'components/widgets/Loaders/LinearProgressLoader' import { getSettings, getAboutUs, getTeam, getServices, getPortfolio, getPortfolioSettings, getTestimonials } from './actions'; import { selectSettings, selectGetSettingsStatus, selectAboutUs, selectGetAboutUsStatus, selectTeam, selectGetTeamStatus, selectServices, selectGetServiceStatus, selectTestimonials, selectGetTestimonialsStatus, selectPortfolios, selectGetPortfoliosStatus, selectPortfolioSettings, selectGetPortfolioSettingsStatus } from './selectors'; export class HomeContainer extends React.Component { changeRoute = (route) =&gt; { Router.replaceRoute(route); } render() { console.log("Settings", this.props.Settings) const { GetPortfolioSettingsStatus, GetSettingsStatus, GetAboutUsStatus, GetTeamStatus, GetServicesStatus, GetTestimonialStatus, GetPortfoliosStatus } = this.props; if(GetSettingsStatus.get('loading')) { return ( &lt;LinearLoader /&gt; ); } return ( &lt;div&gt; {!!this.props.Settings &amp;&amp; &lt;Root Settings={this.props.Settings} isHome SettingsStatus={GetSettingsStatus} &gt; &lt;Home Settings={this.props.Settings} SettingsStatus={GetSettingsStatus} changeRoute={this.changeRoute} Team={this.props.Team} TeamStatus={GetTeamStatus} AboutUs={this.props.AboutUs} AboutUsStatus={GetAboutUsStatus} Services={this.props.Services} ServicesStatus={GetServicesStatus} Testimonials={this.props.Testimonials} TestimonialStatus={GetTestimonialStatus} Portfolios={this.props.Portfolios} PortfoliosStatus={GetPortfoliosStatus} PortfolioSettings={this.props.PortfolioSettings} PortfolioSettingsStatus={GetPortfolioSettingsStatus} /&gt; &lt;/Root&gt;} &lt;/div&gt; ); } } const mapDispatchToProps = (dispatch) =&gt; { return { onGetSettings: bindActionCreators(getSettings, dispatch), onGetAboutUs: bindActionCreators(getAboutUs, dispatch), onGetTeam: bindActionCreators(getTeam, dispatch), onGetServices: bindActionCreators(getServices, dispatch), onGetPortfolio: bindActionCreators(getPortfolio, dispatch), onGetTestimonial: bindActionCreators(getTestimonials, dispatch), onGetPortFolioSettings: bindActionCreators(getPortfolioSettings, dispatch) } } const mapStateToProps = createStructuredSelector({ Settings: selectSettings(), Team: selectTeam(), AboutUs: selectAboutUs(), Services: selectServices(), Testimonials: selectTestimonials(), Portfolios: selectPortfolios(), PortfolioSettings: selectPortfolioSettings(), GetSettingsStatus: selectGetSettingsStatus(), GetTeamStatus: selectGetTeamStatus(), GetAboutUsStatus: selectGetAboutUsStatus(), GetServicesStatus: selectGetServiceStatus(), GetTestimonialStatus: selectGetTestimonialsStatus(), GetPortfoliosStatus: selectGetPortfoliosStatus(), GetPortfolioSettingsStatus: selectGetPortfolioSettingsStatus() }); export default connect(mapStateToProps, mapDispatchToProps)(HomeContainer) </code></pre></div> <p dir="auto"><strong>Sagas</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" import es6promise from 'es6-promise' import 'isomorphic-fetch' import request from 'common/request' import config from 'config/config' import { getSettingsSuccess, getSettingsFail, getAboutUsSuccess, getAboutUsFail, getServicesSuccess, getServicesFail, getPortfolioSuccess, getPortfolioSettingsSuccess, getPortfolioSettingsFail, getPortfolioFail, getTeamSuccess, getTeamFail, getTestimonialsSuccess, getTestimonialsFail } from './actions' import { GET_SETTINGS, GET_ABOUT_US, GET_SERVICES, GET_PORTFOLIO, GET_TEAM, GET_TESTIMONIALS, GET_PORTFOLIO_SETTINGS } from './constants'; es6promise.polyfill() function * getSettings () { const settings = yield call(request, config.settings_type); console.log('Settings Fetched: ', settings) if(!settings) { yield put(getSettingsFail('No Data Found')); } else if(!settings.err) { yield put(getSettingsSuccess(settings[0])); } else { yield put(getSettingsFail(settings.err.reason)); } } function * getAboutUs () { const aboutUs = yield call(request, config.about_us_type); if(!aboutUs) { yield put(getAboutUsFail('No Data Found')); } else if(!aboutUs.err) { yield put(getAboutUsSuccess(aboutUs[0])); } else { yield put(getAboutUsFail(aboutUs.err.reason)); } } function * getServices () { const services = yield call(request, config.services_type); if(!services) { yield put(getServicesFail('No Data Found')); } else if(!services.err) { yield put(getServicesSuccess(services[0])); } else { yield put(getServicesFail(services.err.reason)); } } function * getPortfolio () { const portfolio = yield call(request, config.portfolios_type); if(!portfolio) { yield put(getPortfolioFail('No Data Found')); } else if(!portfolio.err) { yield put(getPortfolioSuccess(portfolio)); } else { yield put(getPortfolioFail(portfolio.err.reason)); } } function * getPortfolioSettings () { const portfolio_settings = yield call(request, config.portfolios_settings_type); if(!portfolio_settings) { yield put(getPortfolioSettingsFail('No Data Found')); } else if(!portfolio_settings.err) { yield put(getPortfolioSettingsSuccess(portfolio_settings[0])); } else { yield put(getPortfolioSettingsFail(portfolio_settings.err.reason)); } } function * getTeam () { const team = yield call(request, config.team_type); // console.log('teams Fetched: ', team) if(!team) { yield put(getTeamFail('No Data Found')); } else if(!team.err) { yield put(getTeamSuccess(team[0])); } else { yield put(getTeamFail(team.err.reason)); } } function * getTestimonials () { const testimonials = yield call(request, config.testimonials_type); if(!testimonials) { yield put(getTestimonialsFail('No Data Found')); } else if(!testimonials.err) { yield put(getTestimonialsSuccess(testimonials[0])); } else { yield put(getTestimonialsFail(testimonials.err.reason)); } } export function* homeSagas() { yield fork(takeLatest, GET_SETTINGS, getSettings); yield fork(takeLatest, GET_ABOUT_US, getAboutUs); yield fork(takeLatest, GET_SERVICES, getServices); yield fork(takeLatest, GET_PORTFOLIO, getPortfolio); yield fork(takeLatest, GET_PORTFOLIO_SETTINGS, getPortfolioSettings); yield fork(takeLatest, GET_TEAM, getTeam); yield fork(takeLatest, GET_TESTIMONIALS, getTestimonials); } export default homeSagas;"><pre class="notranslate"><code class="notranslate"> import es6promise from 'es6-promise' import 'isomorphic-fetch' import request from 'common/request' import config from 'config/config' import { getSettingsSuccess, getSettingsFail, getAboutUsSuccess, getAboutUsFail, getServicesSuccess, getServicesFail, getPortfolioSuccess, getPortfolioSettingsSuccess, getPortfolioSettingsFail, getPortfolioFail, getTeamSuccess, getTeamFail, getTestimonialsSuccess, getTestimonialsFail } from './actions' import { GET_SETTINGS, GET_ABOUT_US, GET_SERVICES, GET_PORTFOLIO, GET_TEAM, GET_TESTIMONIALS, GET_PORTFOLIO_SETTINGS } from './constants'; es6promise.polyfill() function * getSettings () { const settings = yield call(request, config.settings_type); console.log('Settings Fetched: ', settings) if(!settings) { yield put(getSettingsFail('No Data Found')); } else if(!settings.err) { yield put(getSettingsSuccess(settings[0])); } else { yield put(getSettingsFail(settings.err.reason)); } } function * getAboutUs () { const aboutUs = yield call(request, config.about_us_type); if(!aboutUs) { yield put(getAboutUsFail('No Data Found')); } else if(!aboutUs.err) { yield put(getAboutUsSuccess(aboutUs[0])); } else { yield put(getAboutUsFail(aboutUs.err.reason)); } } function * getServices () { const services = yield call(request, config.services_type); if(!services) { yield put(getServicesFail('No Data Found')); } else if(!services.err) { yield put(getServicesSuccess(services[0])); } else { yield put(getServicesFail(services.err.reason)); } } function * getPortfolio () { const portfolio = yield call(request, config.portfolios_type); if(!portfolio) { yield put(getPortfolioFail('No Data Found')); } else if(!portfolio.err) { yield put(getPortfolioSuccess(portfolio)); } else { yield put(getPortfolioFail(portfolio.err.reason)); } } function * getPortfolioSettings () { const portfolio_settings = yield call(request, config.portfolios_settings_type); if(!portfolio_settings) { yield put(getPortfolioSettingsFail('No Data Found')); } else if(!portfolio_settings.err) { yield put(getPortfolioSettingsSuccess(portfolio_settings[0])); } else { yield put(getPortfolioSettingsFail(portfolio_settings.err.reason)); } } function * getTeam () { const team = yield call(request, config.team_type); // console.log('teams Fetched: ', team) if(!team) { yield put(getTeamFail('No Data Found')); } else if(!team.err) { yield put(getTeamSuccess(team[0])); } else { yield put(getTeamFail(team.err.reason)); } } function * getTestimonials () { const testimonials = yield call(request, config.testimonials_type); if(!testimonials) { yield put(getTestimonialsFail('No Data Found')); } else if(!testimonials.err) { yield put(getTestimonialsSuccess(testimonials[0])); } else { yield put(getTestimonialsFail(testimonials.err.reason)); } } export function* homeSagas() { yield fork(takeLatest, GET_SETTINGS, getSettings); yield fork(takeLatest, GET_ABOUT_US, getAboutUs); yield fork(takeLatest, GET_SERVICES, getServices); yield fork(takeLatest, GET_PORTFOLIO, getPortfolio); yield fork(takeLatest, GET_PORTFOLIO_SETTINGS, getPortfolioSettings); yield fork(takeLatest, GET_TEAM, getTeam); yield fork(takeLatest, GET_TESTIMONIALS, getTestimonials); } export default homeSagas; </code></pre></div> <p dir="auto"><strong>Home Component</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import ScrollableAnchor from 'react-scrollable-anchor' import { Router } from 'routes'; import AboutUs from './AboutUs' import Services from './Services' import Team from './Team' import Testimonials from './Testimonials' import Portfolios from './Portfolio' class Home extends React.Component { constructor (props) { super(props) } render() { console.log('Teams available: ', this.props.Team) return ( &lt;div&gt; &lt;div className=&quot;page-header&quot; filter-color=&quot;orange&quot;&gt; {!!this.props.Settings &amp;&amp; &lt;div className=&quot;page-header-image&quot; data-parallax=&quot;true&quot; style={{backgroundColor: &quot;grey&quot;, backgroundImage: `url(${this.props.Settings.getIn(['metadata','home_banner_image','url'])}`}} /&gt;} &lt;div className=&quot;container&quot;&gt; { this.props.SettingsStatus.get('loaded') ? &lt;div className=&quot;content-center brand&quot;&gt; &lt;img src={!!this.props.Settings ? this.props.Settings.getIn(['metadata','company_logo','url']): ''} alt={this.props.Settings.getIn(['metadata','agency_name'])} /&gt; &lt;h3&gt;{!!this.props.Settings ? this.props.Settings.getIn(['metadata','punch_line']): 'Your Punch Line Here'}&lt;/h3&gt; &lt;/div&gt; : &lt;div className=&quot;content-center brand&quot;&gt; &lt;h1&gt; Loading ... &lt;/h1&gt; &lt;/div&gt; } &lt;/div&gt; &lt;/div&gt; &lt;div className=&quot;main&quot;&gt; { this.props.AboutUsStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.AboutUsStatus.get('loaded') ? &lt;ScrollableAnchor id={'aboutUs'}&gt; &lt;AboutUs aboutUs={this.props.AboutUs} changeRoute={this.props.changeRoute} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.ServicesStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.ServicesStatus.get('loaded') ? &lt;ScrollableAnchor id={'services'}&gt; &lt;Services services={this.props.Services} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.TeamStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.TeamStatus.get('loaded') ? &lt;ScrollableAnchor id={'team'}&gt; &lt;Team team={this.props.Team} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.TestimonialStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.TestimonialStatus.get('loaded') ? &lt;ScrollableAnchor id={'testimonials'}&gt; &lt;Testimonials testimonials={this.props.Testimonials} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.PortfoliosStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.PortfoliosStatus.get('loaded') &amp;&amp; this.props.PortfolioSettingsStatus.get('loaded') ? &lt;ScrollableAnchor id={'portfolio'}&gt; &lt;Portfolios portfolios={this.props.Portfolios} settings={this.props.PortfolioSettings} changeRoute={this.props.changeRoute} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt; &lt;/div&gt; } &lt;/div&gt; &lt;/div&gt; ); } } export default (Home)"><pre class="notranslate"><code class="notranslate">import ScrollableAnchor from 'react-scrollable-anchor' import { Router } from 'routes'; import AboutUs from './AboutUs' import Services from './Services' import Team from './Team' import Testimonials from './Testimonials' import Portfolios from './Portfolio' class Home extends React.Component { constructor (props) { super(props) } render() { console.log('Teams available: ', this.props.Team) return ( &lt;div&gt; &lt;div className="page-header" filter-color="orange"&gt; {!!this.props.Settings &amp;&amp; &lt;div className="page-header-image" data-parallax="true" style={{backgroundColor: "grey", backgroundImage: `url(${this.props.Settings.getIn(['metadata','home_banner_image','url'])}`}} /&gt;} &lt;div className="container"&gt; { this.props.SettingsStatus.get('loaded') ? &lt;div className="content-center brand"&gt; &lt;img src={!!this.props.Settings ? this.props.Settings.getIn(['metadata','company_logo','url']): ''} alt={this.props.Settings.getIn(['metadata','agency_name'])} /&gt; &lt;h3&gt;{!!this.props.Settings ? this.props.Settings.getIn(['metadata','punch_line']): 'Your Punch Line Here'}&lt;/h3&gt; &lt;/div&gt; : &lt;div className="content-center brand"&gt; &lt;h1&gt; Loading ... &lt;/h1&gt; &lt;/div&gt; } &lt;/div&gt; &lt;/div&gt; &lt;div className="main"&gt; { this.props.AboutUsStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.AboutUsStatus.get('loaded') ? &lt;ScrollableAnchor id={'aboutUs'}&gt; &lt;AboutUs aboutUs={this.props.AboutUs} changeRoute={this.props.changeRoute} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.ServicesStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.ServicesStatus.get('loaded') ? &lt;ScrollableAnchor id={'services'}&gt; &lt;Services services={this.props.Services} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.TeamStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.TeamStatus.get('loaded') ? &lt;ScrollableAnchor id={'team'}&gt; &lt;Team team={this.props.Team} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.TestimonialStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.TestimonialStatus.get('loaded') ? &lt;ScrollableAnchor id={'testimonials'}&gt; &lt;Testimonials testimonials={this.props.Testimonials} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt;&lt;/div&gt; } { this.props.PortfoliosStatus.get('loading') ? &lt;div&gt;&lt;/div&gt; : this.props.PortfoliosStatus.get('loaded') &amp;&amp; this.props.PortfolioSettingsStatus.get('loaded') ? &lt;ScrollableAnchor id={'portfolio'}&gt; &lt;Portfolios portfolios={this.props.Portfolios} settings={this.props.PortfolioSettings} changeRoute={this.props.changeRoute} /&gt; &lt;/ScrollableAnchor&gt; : &lt;div&gt; &lt;/div&gt; } &lt;/div&gt; &lt;/div&gt; ); } } export default (Home) </code></pre></div>
0
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.1.3 (latest released)</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Debian</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 Docker-based deployment</p> <h3 dir="auto">Deployment details</h3> <p dir="auto">Custom docker image on k8s</p> <h3 dir="auto">What happened</h3> <p dir="auto">New dag version was written in same named dag. The only difference was one of specified tags got changed in case, for ex. "test" to "Test". With huge amount of dags this causes scheduler immediately to crash due to constraint violation.</p> <h3 dir="auto">What you expected to happen</h3> <p dir="auto">Tags are refreshed correctly without crash of scheduler.</p> <h3 dir="auto">How to reproduce</h3> <ol dir="auto"> <li>Create dag with tags in running airflow cluster</li> <li>Update dag with change of case of one of tags for ex. "test" to "Test"</li> <li>Watch scheduler crash continuously</li> </ol> <h3 dir="auto">Anything else</h3> <p dir="auto">Alternative option is to make tags case sensitive...</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>
<p dir="auto">Apache Airflow version: v1109<br> executor: CeleryExecutor</p> <p dir="auto">some time the scheduler create many sub scheduler process. When this happens, the CPU usage of these sub schduler process is at 99%, and then i can see web ui appear:<strong>The scheduler does not appear to be running. Last heartbeat was received xxx ago.The DAGs list may not update, and new tasks will not be scheduled.</strong></p> <p dir="auto">job_heartbeat_sec = 5<br> scheduler_heartbeat_sec = 5<br> run_duration = -1<br> num_runs = -1<br> processor_poll_interval = 1<br> min_file_process_interval = 30</p> <p dir="auto">here is some log i mark,but the scheduler log had no error</p> <p dir="auto">etl 23905 12016 0 Oct17 ? 00:00:00 /bin/bash -c source /usr/soft/anaconda3/bin/activate etl_airflow_v1109 &amp;&amp; airflow scheduler<br> etl 23908 23905 1 Oct17 ? 03:13:04 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 23947 23908 1 Oct17 ? 02:40:24 airflow scheduler -- DagFileProcessorManager<br> etl 30570 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30573 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30574 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30575 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30576 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30577 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30578 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30579 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30580 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30581 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler<br> etl 30583 23908 99 03:07 ? 00:07:22 /root/etl_airflow_v1109/bin/python /root/etl_airflow_v1109/bin/airflow scheduler</p> <p dir="auto">Please help. I would be happy to provide any other information needed</p>
0
<h2 dir="auto">Bug Report</h2> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">master - <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/06834bbe4079a25b256c2467c5d857192162b8b0/hovercard" href="https://github.com/apache/shardingsphere/commit/06834bbe4079a25b256c2467c5d857192162b8b0"><tt>06834bb</tt></a></p> <h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3> <p dir="auto">ShardingSphere-Proxy</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">zk get latest content</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">zk doesn't get latest content</p> <h3 dir="auto">Reason analyze (If you can)</h3> <h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mode: type: Cluster repository: type: ZooKeeper props: namespace: governance_ds server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 overwrite: true rules: - !AUTHORITY users: - root@%:root - sharding@:sharding provider: type: ALL_PRIVILEGES_PERMITTED - !TRANSACTION defaultType: XA providerType: Atomikos # When the provider type is Narayana, the following properties can be configured or not props: recoveryStoreUrl: jdbc:mysql://127.0.0.1:3306/jbossts recoveryStoreDataSource: com.mysql.jdbc.jdbc2.optional.MysqlDataSource recoveryStoreUser: root recoveryStorePassword: 12345678 - !SQL_PARSER sqlCommentParseEnabled: true sqlStatementCache: initialCapacity: 2000 maximumSize: 65535 concurrencyLevel: 4 parseTreeCache: initialCapacity: 128 maximumSize: 1024 concurrencyLevel: 4 props: max-connections-size-per-query: 1 kernel-executor-size: 16 # Infinite by default. proxy-frontend-flush-threshold: 128 # The default value is 128. proxy-hint-enabled: false sql-show: true check-table-metadata-enabled: false show-process-list-enabled: true # Proxy backend query fetch size. A larger value may increase the memory usage of ShardingSphere Proxy. # The default value is -1, which means set the minimum value for different JDBC drivers. proxy-backend-query-fetch-size: -1 check-duplicate-table-enabled: false proxy-frontend-executor-size: 0 # Proxy frontend executor size. The default value is 0, which means let Netty decide. # Available options of proxy backend executor suitable: OLAP(default), OLTP. The OLTP option may reduce time cost of writing packets to client, but it may increase the latency of SQL execution # and block other clients if client connections are more than `proxy-frontend-executor-size`, especially executing slow SQL. proxy-backend-executor-suitable: OLAP proxy-frontend-max-connections: 0 # Less than or equal to 0 means no limitation. sql-federation-enabled: false # Available proxy backend driver type: JDBC (default), ExperimentalVertx proxy-backend-driver-type: JDBC"><pre class="notranslate"><code class="notranslate">mode: type: Cluster repository: type: ZooKeeper props: namespace: governance_ds server-lists: localhost:2181 retryIntervalMilliseconds: 500 timeToLiveSeconds: 60 maxRetries: 3 operationTimeoutMilliseconds: 500 overwrite: true rules: - !AUTHORITY users: - root@%:root - sharding@:sharding provider: type: ALL_PRIVILEGES_PERMITTED - !TRANSACTION defaultType: XA providerType: Atomikos # When the provider type is Narayana, the following properties can be configured or not props: recoveryStoreUrl: jdbc:mysql://127.0.0.1:3306/jbossts recoveryStoreDataSource: com.mysql.jdbc.jdbc2.optional.MysqlDataSource recoveryStoreUser: root recoveryStorePassword: 12345678 - !SQL_PARSER sqlCommentParseEnabled: true sqlStatementCache: initialCapacity: 2000 maximumSize: 65535 concurrencyLevel: 4 parseTreeCache: initialCapacity: 128 maximumSize: 1024 concurrencyLevel: 4 props: max-connections-size-per-query: 1 kernel-executor-size: 16 # Infinite by default. proxy-frontend-flush-threshold: 128 # The default value is 128. proxy-hint-enabled: false sql-show: true check-table-metadata-enabled: false show-process-list-enabled: true # Proxy backend query fetch size. A larger value may increase the memory usage of ShardingSphere Proxy. # The default value is -1, which means set the minimum value for different JDBC drivers. proxy-backend-query-fetch-size: -1 check-duplicate-table-enabled: false proxy-frontend-executor-size: 0 # Proxy frontend executor size. The default value is 0, which means let Netty decide. # Available options of proxy backend executor suitable: OLAP(default), OLTP. The OLTP option may reduce time cost of writing packets to client, but it may increase the latency of SQL execution # and block other clients if client connections are more than `proxy-frontend-executor-size`, especially executing slow SQL. proxy-backend-executor-suitable: OLAP proxy-frontend-max-connections: 0 # Less than or equal to 0 means no limitation. sql-federation-enabled: false # Available proxy backend driver type: JDBC (default), ExperimentalVertx proxy-backend-driver-type: JDBC </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" schemaName: sharding_db dataSources: ds_0: url: jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&amp;useSSL=false username: root password: 123456 connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 ds_1: url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&amp;useSSL=false username: root password: 123456 connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 rules: - !SHARDING tables: t_order: actualDataNodes: ds_${0..1}.t_order_${0..1} tableStrategy: standard: shardingColumn: order_id shardingAlgorithmName: t_order_inline keyGenerateStrategy: column: order_id keyGeneratorName: snowflake t_order_item: actualDataNodes: ds_${0..1}.t_order_item_${0..1} tableStrategy: standard: shardingColumn: order_id shardingAlgorithmName: t_order_item_inline keyGenerateStrategy: column: order_item_id keyGeneratorName: snowflake bindingTables: - t_order,t_order_item defaultDatabaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline defaultTableStrategy: none: shardingAlgorithms: database_inline: type: INLINE props: algorithm-expression: ds_${user_id % 2} t_order_inline: type: INLINE props: algorithm-expression: t_order_${order_id % 2} t_order_item_inline: type: INLINE props: algorithm-expression: t_order_item_${order_id % 2} keyGenerators: snowflake: type: SNOWFLAKE scalingName: default_scaling scaling: default_scaling: input: workerThread: 40 batchSize: 1000 output: workerThread: 40 batchSize: 1000 streamChannel: type: MEMORY props: block-queue-size: 10000 completionDetector: type: IDLE props: incremental-task-idle-minute-threshold: 30 dataConsistencyChecker: type: DATA_MATCH props: chunk-size: 1000 "><pre class="notranslate"><code class="notranslate"> schemaName: sharding_db dataSources: ds_0: url: jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&amp;useSSL=false username: root password: 123456 connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 ds_1: url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&amp;useSSL=false username: root password: 123456 connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 rules: - !SHARDING tables: t_order: actualDataNodes: ds_${0..1}.t_order_${0..1} tableStrategy: standard: shardingColumn: order_id shardingAlgorithmName: t_order_inline keyGenerateStrategy: column: order_id keyGeneratorName: snowflake t_order_item: actualDataNodes: ds_${0..1}.t_order_item_${0..1} tableStrategy: standard: shardingColumn: order_id shardingAlgorithmName: t_order_item_inline keyGenerateStrategy: column: order_item_id keyGeneratorName: snowflake bindingTables: - t_order,t_order_item defaultDatabaseStrategy: standard: shardingColumn: user_id shardingAlgorithmName: database_inline defaultTableStrategy: none: shardingAlgorithms: database_inline: type: INLINE props: algorithm-expression: ds_${user_id % 2} t_order_inline: type: INLINE props: algorithm-expression: t_order_${order_id % 2} t_order_item_inline: type: INLINE props: algorithm-expression: t_order_item_${order_id % 2} keyGenerators: snowflake: type: SNOWFLAKE scalingName: default_scaling scaling: default_scaling: input: workerThread: 40 batchSize: 1000 output: workerThread: 40 batchSize: 1000 streamChannel: type: MEMORY props: block-queue-size: 10000 completionDetector: type: IDLE props: incremental-task-idle-minute-threshold: 30 dataConsistencyChecker: type: DATA_MATCH props: chunk-size: 1000 </code></pre></div> <ul dir="auto"> <li>execute</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="select * from t_order; show processlist;"><pre class="notranslate"><code class="notranslate">select * from t_order; show processlist; </code></pre></div> <p dir="auto">found this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mysql&gt; show processlist; +--------------------------------------+------+-----------+-------------+---------+------+---------------+-----------------------+ | Id | User | Host | db | Command | Time | State | Info | +--------------------------------------+------+-----------+-------------+---------+------+---------------+-----------------------+ | 55d2551d-57ed-8810-ee00-f177853a6fdb | root | 127.0.0.1 | sharding_db | Execute | 1 | Executing 1/2 | select * from t_order | +--------------------------------------+------+-----------+-------------+---------+------+---------------+-----------------------+"><pre class="notranslate"><code class="notranslate">mysql&gt; show processlist; +--------------------------------------+------+-----------+-------------+---------+------+---------------+-----------------------+ | Id | User | Host | db | Command | Time | State | Info | +--------------------------------------+------+-----------+-------------+---------+------+---------------+-----------------------+ | 55d2551d-57ed-8810-ee00-f177853a6fdb | root | 127.0.0.1 | sharding_db | Execute | 1 | Executing 1/2 | select * from t_order | +--------------------------------------+------+-----------+-------------+---------+------+---------------+-----------------------+ </code></pre></div> <p dir="auto">But, it should be removed.</p> <h3 dir="auto">analyze</h3> <p dir="auto">Debug <code class="notranslate">ProcessRegistrySubscriber</code> <code class="notranslate">reportExecuteProcessUnit</code> method<br> I found first thread save successfully. But second thread didn't get the latest content.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/86938616/157629374-d066bfa7-be8e-4a6f-a98d-4267d4f919f2.png"><img src="https://user-images.githubusercontent.com/86938616/157629374-d066bfa7-be8e-4a6f-a98d-4267d4f919f2.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <p dir="auto">使用读写分离配置,alter表的时候,应该只更新master 连接对应的表就可以,现在是同时还会更新slave对应的表</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="private Collection&lt;PreparedStatement&gt; generatePreparedStatementForDDL(final SQLExecutionUnit sqlExecutionUnit) throws SQLException { Collection&lt;PreparedStatement&gt; result = new LinkedList&lt;&gt;(); Collection&lt;Connection&gt; connections = getConnection().getAllConnections(sqlExecutionUnit.getDataSource()); for (Connection each : connections) { result.add(each.prepareStatement(sqlExecutionUnit.getSql(), resultSetType, resultSetConcurrency, resultSetHoldability)); } return result; }"><pre class="notranslate"><code class="notranslate">private Collection&lt;PreparedStatement&gt; generatePreparedStatementForDDL(final SQLExecutionUnit sqlExecutionUnit) throws SQLException { Collection&lt;PreparedStatement&gt; result = new LinkedList&lt;&gt;(); Collection&lt;Connection&gt; connections = getConnection().getAllConnections(sqlExecutionUnit.getDataSource()); for (Connection each : connections) { result.add(each.prepareStatement(sqlExecutionUnit.getSql(), resultSetType, resultSetConcurrency, resultSetHoldability)); } return result; } </code></pre></div> <h3 dir="auto">Which version of Sharding-Jdbc do you using?</h3> <p dir="auto">2.0.2</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">只更新master表结构</p> <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)</h3> <p dir="auto">Code should based on <a href="https://github.com/shardingjdbc/sharding-jdbc-example">https://github.com/shardingjdbc/sharding-jdbc-example</a></p>
0
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.199.0<br> <strong>System</strong>: Microsoft Windows 8.1<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\browser\atom-window.js:152:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) "><pre class="notranslate"><code class="notranslate">At C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\Rachel\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: {}, &quot;editor&quot;: { &quot;invisibles&quot;: {} } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: {}, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {} } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User No installed packages # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> <span class="pl-en">No</span> <span class="pl-en">installed</span> packages <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">I right-clicked on a folder in the tree view</p> <p dir="auto"><strong>Atom Version</strong>: 0.194.0<br> <strong>System</strong>: Windows 7 Entreprise<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) "><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;ignoredNames&quot;: [ &quot;node_modules&quot; ], &quot;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;seti-syntax&quot; ], &quot;disabledPackages&quot;: [ &quot;Tern&quot; ], &quot;projectHome&quot;: &quot;Y:\\app-tfoumax&quot; }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;softWrap&quot;: true, &quot;showIndentGuide&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"ignoredNames"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span> ], <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span> ], <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span> ], <span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span> }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User autocomplete-plus, v2.12.0 autocomplete-snippets, v1.2.0 javascript-snippets, v1.0.0 jshint, v1.3.5 language-ejs, v0.1.0 linter, v0.12.1 pretty-json, v0.3.3 save-session, v0.14.0 Search, v0.4.0 seti-syntax, v0.4.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span> javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span> language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span> pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span> save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span> Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
1
<p dir="auto">Because you request it in the console, I will post this exception here.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Performing hot reload... I/flutter ( 5553): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter ( 5553): The following assertion was thrown building SlideTransition(animation: AnimationController#634b8(⏭ I/flutter ( 5553): 1.000; paused; for MaterialPageRoute&lt;dynamic&gt;(/))➩ProxyAnimation➩Cubic(0.40, 0.00, 0.20, I/flutter ( 5553): 1.00)➩Tween&lt;Offset&gt;(Offset(0.0, 0.3) → Offset(0.0, 0.0))➩Offset(0.0, 0.0), state: I/flutter ( 5553): _AnimatedState#de5ac): I/flutter ( 5553): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4647 pos 12: 'child == _child': I/flutter ( 5553): is not true. I/flutter ( 5553): I/flutter ( 5553): Either the assertion indicates an error in the framework itself, or we should provide substantially I/flutter ( 5553): more information in this error message to help you determine and fix the underlying cause. I/flutter ( 5553): In either case, please report this assertion by filing a bug on GitHub: I/flutter ( 5553): https://github.com/flutter/flutter/issues/new I/flutter ( 5553): I/flutter ( 5553): When the exception was thrown, this was the stack: I/flutter ( 5553): #2 SingleChildRenderObjectElement.forgetChild (package:flutter/src/widgets/framework.dart) I/flutter ( 5553): #3 Element._retakeInactiveElement (package:flutter/src/widgets/framework.dart:2868:14) I/flutter ( 5553): #4 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2895:32) I/flutter ( 5553): #5 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #6 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14) I/flutter ( 5553): #7 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14) I/flutter ( 5553): #8 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #9 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14) I/flutter ( 5553): #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14) I/flutter ( 5553): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #12 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14) I/flutter ( 5553): #13 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14) I/flutter ( 5553): #14 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #17 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5) I/flutter ( 5553): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5) I/flutter ( 5553): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #25 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5) I/flutter ( 5553): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #27 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14) I/flutter ( 5553): #28 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #29 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #30 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #31 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5) I/flutter ( 5553): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #33 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14) I/flutter ( 5553): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #37 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5) I/flutter ( 5553): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #41 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5) I/flutter ( 5553): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #43 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14) I/flutter ( 5553): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5) I/flutter ( 5553): #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #51 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2242:33) I/flutter ( 5553): #52 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20) I/flutter ( 5553): #53 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5) I/flutter ( 5553): #54 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15) I/flutter ( 5553): #55 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9) I/flutter ( 5553): #56 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.scheduleWarmUpFrame.&lt;anonymous closure&gt; (package:flutter/src/scheduler/binding.dart:751:7) I/flutter ( 5553): #58 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19) I/flutter ( 5553): #59 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5) I/flutter ( 5553): #60 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12) I/flutter ( 5553): (elided 3 frames from class _AssertionError and package dart:async) I/flutter ( 5553): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter ( 5553): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1457 pos 18: 'debugDoingThisResize || debugDoingThisLayout || I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#79ad8 NEEDS-PAINT DETACHED I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#c070b NEEDS-PAINT DETACHED I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderOffstage#d09f6 NEEDS-PAINT I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#79ad8 NEEDS-PAINT DETACHED I/flutter ( 5553): Another exception was thrown: Duplicate GlobalKey detected in widget tree. Reloaded 0 of 389 libraries in 293ms."><pre class="notranslate"><code class="notranslate">Performing hot reload... I/flutter ( 5553): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter ( 5553): The following assertion was thrown building SlideTransition(animation: AnimationController#634b8(⏭ I/flutter ( 5553): 1.000; paused; for MaterialPageRoute&lt;dynamic&gt;(/))➩ProxyAnimation➩Cubic(0.40, 0.00, 0.20, I/flutter ( 5553): 1.00)➩Tween&lt;Offset&gt;(Offset(0.0, 0.3) → Offset(0.0, 0.0))➩Offset(0.0, 0.0), state: I/flutter ( 5553): _AnimatedState#de5ac): I/flutter ( 5553): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4647 pos 12: 'child == _child': I/flutter ( 5553): is not true. I/flutter ( 5553): I/flutter ( 5553): Either the assertion indicates an error in the framework itself, or we should provide substantially I/flutter ( 5553): more information in this error message to help you determine and fix the underlying cause. I/flutter ( 5553): In either case, please report this assertion by filing a bug on GitHub: I/flutter ( 5553): https://github.com/flutter/flutter/issues/new I/flutter ( 5553): I/flutter ( 5553): When the exception was thrown, this was the stack: I/flutter ( 5553): #2 SingleChildRenderObjectElement.forgetChild (package:flutter/src/widgets/framework.dart) I/flutter ( 5553): #3 Element._retakeInactiveElement (package:flutter/src/widgets/framework.dart:2868:14) I/flutter ( 5553): #4 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2895:32) I/flutter ( 5553): #5 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #6 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14) I/flutter ( 5553): #7 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14) I/flutter ( 5553): #8 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #9 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14) I/flutter ( 5553): #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14) I/flutter ( 5553): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #12 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14) I/flutter ( 5553): #13 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14) I/flutter ( 5553): #14 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12) I/flutter ( 5553): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #17 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5) I/flutter ( 5553): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5) I/flutter ( 5553): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #25 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5) I/flutter ( 5553): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #27 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14) I/flutter ( 5553): #28 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #29 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #30 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #31 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5) I/flutter ( 5553): #32 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #33 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14) I/flutter ( 5553): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #37 StatefulElement.update (package:flutter/src/widgets/framework.dart:3799:5) I/flutter ( 5553): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #41 StatelessElement.update (package:flutter/src/widgets/framework.dart:3702:5) I/flutter ( 5553): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #43 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4661:14) I/flutter ( 5553): #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:3909:5) I/flutter ( 5553): #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2699:15) I/flutter ( 5553): #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16) I/flutter ( 5553): #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5) I/flutter ( 5553): #51 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2242:33) I/flutter ( 5553): #52 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:626:20) I/flutter ( 5553): #53 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding&amp;PaintingBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5) I/flutter ( 5553): #54 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15) I/flutter ( 5553): #55 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9) I/flutter ( 5553): #56 _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding&amp;ServicesBinding&amp;SchedulerBinding.scheduleWarmUpFrame.&lt;anonymous closure&gt; (package:flutter/src/scheduler/binding.dart:751:7) I/flutter ( 5553): #58 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19) I/flutter ( 5553): #59 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5) I/flutter ( 5553): #60 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12) I/flutter ( 5553): (elided 3 frames from class _AssertionError and package dart:async) I/flutter ( 5553): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter ( 5553): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1457 pos 18: 'debugDoingThisResize || debugDoingThisLayout || I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#79ad8 NEEDS-PAINT DETACHED I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#c070b NEEDS-PAINT DETACHED I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderOffstage#d09f6 NEEDS-PAINT I/flutter ( 5553): Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#79ad8 NEEDS-PAINT DETACHED I/flutter ( 5553): Another exception was thrown: Duplicate GlobalKey detected in widget tree. Reloaded 0 of 389 libraries in 293ms. </code></pre></div>
<p dir="auto">I'm looking to set up some high-level navigation between some different pages of the Leafy app from our app drawer. The desired flow is as follows:</p> <p dir="auto">Page1 --&gt; drawer --&gt; Selection between {Page1, Page2, Page3} --&gt; drawer --&gt; Selection between ...</p> <p dir="auto">This would be much easier to do if the replace methods from NavigatorState were exposed statically through Navigator, just like the pop and push methods are.</p>
0
<p dir="auto">I decided to reindex my data to take advantage of <code class="notranslate">doc_values</code>, but one of 30 indices (~120m docs in each) got less documents after reindexing. I reindexed again and docs disappeared again.</p> <p dir="auto">Then I bisected the problem to specific docs and found that some docs in source index has duplicate ids.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="curl -s &quot;http://web245:9200/statistics-20141110/_search?pretty&amp;q=_id:1jC2LxTjTMS1KHCn0Prf1w&quot;"><pre class="notranslate"><code class="notranslate">curl -s "http://web245:9200/statistics-20141110/_search?pretty&amp;q=_id:1jC2LxTjTMS1KHCn0Prf1w" </code></pre></div> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;took&quot; : 1156, &quot;timed_out&quot; : false, &quot;_shards&quot; : { &quot;total&quot; : 5, &quot;successful&quot; : 5, &quot;failed&quot; : 0 }, &quot;hits&quot; : { &quot;total&quot; : 2, &quot;max_score&quot; : 1.0, &quot;hits&quot; : [ { &quot;_index&quot; : &quot;statistics-20141110&quot;, &quot;_type&quot; : &quot;events&quot;, &quot;_id&quot; : &quot;1jC2LxTjTMS1KHCn0Prf1w&quot;, &quot;_score&quot; : 1.0, &quot;_source&quot;:{&quot;@timestamp&quot;:&quot;2014-11-10T14:30:00+0300&quot;,&quot;@key&quot;:&quot;client_belarussia_msg_sended_from_mutual__22_1&quot;,&quot;@value&quot;:&quot;149&quot;} }, { &quot;_index&quot; : &quot;statistics-20141110&quot;, &quot;_type&quot; : &quot;events&quot;, &quot;_id&quot; : &quot;1jC2LxTjTMS1KHCn0Prf1w&quot;, &quot;_score&quot; : 1.0, &quot;_source&quot;:{&quot;@timestamp&quot;:&quot;2014-11-10T14:30:00+0300&quot;,&quot;@key&quot;:&quot;client_belarussia_msg_sended_from_mutual__22_1&quot;,&quot;@value&quot;:&quot;149&quot;} } ] } }"><pre class="notranslate">{ <span class="pl-ent">"took"</span> : <span class="pl-c1">1156</span>, <span class="pl-ent">"timed_out"</span> : <span class="pl-c1">false</span>, <span class="pl-ent">"_shards"</span> : { <span class="pl-ent">"total"</span> : <span class="pl-c1">5</span>, <span class="pl-ent">"successful"</span> : <span class="pl-c1">5</span>, <span class="pl-ent">"failed"</span> : <span class="pl-c1">0</span> }, <span class="pl-ent">"hits"</span> : { <span class="pl-ent">"total"</span> : <span class="pl-c1">2</span>, <span class="pl-ent">"max_score"</span> : <span class="pl-c1">1.0</span>, <span class="pl-ent">"hits"</span> : [ { <span class="pl-ent">"_index"</span> : <span class="pl-s"><span class="pl-pds">"</span>statistics-20141110<span class="pl-pds">"</span></span>, <span class="pl-ent">"_type"</span> : <span class="pl-s"><span class="pl-pds">"</span>events<span class="pl-pds">"</span></span>, <span class="pl-ent">"_id"</span> : <span class="pl-s"><span class="pl-pds">"</span>1jC2LxTjTMS1KHCn0Prf1w<span class="pl-pds">"</span></span>, <span class="pl-ent">"_score"</span> : <span class="pl-c1">1.0</span>, <span class="pl-ent">"_source"</span>:{<span class="pl-ent">"@timestamp"</span>:<span class="pl-s"><span class="pl-pds">"</span>2014-11-10T14:30:00+0300<span class="pl-pds">"</span></span>,<span class="pl-ent">"@key"</span>:<span class="pl-s"><span class="pl-pds">"</span>client_belarussia_msg_sended_from_mutual__22_1<span class="pl-pds">"</span></span>,<span class="pl-ent">"@value"</span>:<span class="pl-s"><span class="pl-pds">"</span>149<span class="pl-pds">"</span></span>} }, { <span class="pl-ent">"_index"</span> : <span class="pl-s"><span class="pl-pds">"</span>statistics-20141110<span class="pl-pds">"</span></span>, <span class="pl-ent">"_type"</span> : <span class="pl-s"><span class="pl-pds">"</span>events<span class="pl-pds">"</span></span>, <span class="pl-ent">"_id"</span> : <span class="pl-s"><span class="pl-pds">"</span>1jC2LxTjTMS1KHCn0Prf1w<span class="pl-pds">"</span></span>, <span class="pl-ent">"_score"</span> : <span class="pl-c1">1.0</span>, <span class="pl-ent">"_source"</span>:{<span class="pl-ent">"@timestamp"</span>:<span class="pl-s"><span class="pl-pds">"</span>2014-11-10T14:30:00+0300<span class="pl-pds">"</span></span>,<span class="pl-ent">"@key"</span>:<span class="pl-s"><span class="pl-pds">"</span>client_belarussia_msg_sended_from_mutual__22_1<span class="pl-pds">"</span></span>,<span class="pl-ent">"@value"</span>:<span class="pl-s"><span class="pl-pds">"</span>149<span class="pl-pds">"</span></span>} } ] } }</pre></div> <p dir="auto">Here are two indices, source and destination:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="health status index pri rep docs.count docs.deleted store.size pri.store.size green open statistics-20141110 5 0 116217042 0 12.3gb 12.3gb green open statistics-20141110-dv 5 1 116216507 0 32.3gb 16.1gb"><pre class="notranslate"><code class="notranslate">health status index pri rep docs.count docs.deleted store.size pri.store.size green open statistics-20141110 5 0 116217042 0 12.3gb 12.3gb green open statistics-20141110-dv 5 1 116216507 0 32.3gb 16.1gb </code></pre></div> <p dir="auto">Segments of problematic index:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="index shard prirep ip segment generation docs.count docs.deleted size size.memory committed searchable version compound statistics-20141110 0 p 192.168.0.190 _gga 21322 14939669 0 1.6gb 4943008 true true 4.9.0 false statistics-20141110 0 p 192.168.0.190 _isc 24348 10913518 0 1.1gb 4101712 true true 4.9.0 false statistics-20141110 1 p 192.168.0.245 _7i7 9727 7023269 0 766mb 2264472 true true 4.9.0 false statistics-20141110 1 p 192.168.0.245 _i01 23329 14689581 0 1.5gb 4788872 true true 4.9.0 false statistics-20141110 2 p 192.168.1.212 _9wx 12849 8995444 0 987.7mb 3326288 true true 4.9.0 false statistics-20141110 2 p 192.168.1.212 _il1 24085 13205585 0 1.4gb 4343736 true true 4.9.0 false statistics-20141110 3 p 192.168.1.212 _8pc 11280 10046395 0 1gb 4003824 true true 4.9.0 false statistics-20141110 3 p 192.168.1.212 _hwt 23213 13226096 0 1.3gb 4287544 true true 4.9.0 false statistics-20141110 4 p 192.168.2.88 _91i 11718 8328558 0 909.2mb 2822712 true true 4.9.0 false statistics-20141110 4 p 192.168.2.88 _hms 22852 14848927 0 1.5gb 4777472 true true 4.9.0 false"><pre class="notranslate"><code class="notranslate">index shard prirep ip segment generation docs.count docs.deleted size size.memory committed searchable version compound statistics-20141110 0 p 192.168.0.190 _gga 21322 14939669 0 1.6gb 4943008 true true 4.9.0 false statistics-20141110 0 p 192.168.0.190 _isc 24348 10913518 0 1.1gb 4101712 true true 4.9.0 false statistics-20141110 1 p 192.168.0.245 _7i7 9727 7023269 0 766mb 2264472 true true 4.9.0 false statistics-20141110 1 p 192.168.0.245 _i01 23329 14689581 0 1.5gb 4788872 true true 4.9.0 false statistics-20141110 2 p 192.168.1.212 _9wx 12849 8995444 0 987.7mb 3326288 true true 4.9.0 false statistics-20141110 2 p 192.168.1.212 _il1 24085 13205585 0 1.4gb 4343736 true true 4.9.0 false statistics-20141110 3 p 192.168.1.212 _8pc 11280 10046395 0 1gb 4003824 true true 4.9.0 false statistics-20141110 3 p 192.168.1.212 _hwt 23213 13226096 0 1.3gb 4287544 true true 4.9.0 false statistics-20141110 4 p 192.168.2.88 _91i 11718 8328558 0 909.2mb 2822712 true true 4.9.0 false statistics-20141110 4 p 192.168.2.88 _hms 22852 14848927 0 1.5gb 4777472 true true 4.9.0 false </code></pre></div> <p dir="auto">The only thing that happened with index besides indexing is optimizing to 2 segments per shard.</p>
<p dir="auto"><strong>Elasticsearch version</strong>: 1.7.5</p> <p dir="auto"><strong>JVM version</strong>:</p> <p dir="auto"><strong>OS version</strong>: CentOS 7.2.1511</p> <p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>: I have been working on this for a few days now, and found similar issues, but nothing that matched what I am seeing. Every time I restart elasticsearch the shards begin to initialize until this point via _cluster/health</p> <p dir="auto">{<br> "cluster_name": "elasticsearch",<br> "status": "red",<br> "timed_out": false,<br> "number_of_nodes": 1,<br> "number_of_data_nodes": 1,<br> "active_primary_shards": 5458,<br> "active_shards": 5458,<br> "relocating_shards": 0,<br> "initializing_shards": 0,<br> "unassigned_shards": 5574,<br> "delayed_unassigned_shards": 0,<br> "number_of_pending_tasks": 0,<br> "number_of_in_flight_fetch": 0<br> }</p> <p dir="auto">I then attempt to manually reroute shards, which fails. I have run reroute?explain and receive the following:</p> <p dir="auto">"explanations": [<br> {<br> "command": "allocate",<br> "parameters": {<br> "index": "logstash-2016.03.11-mr",<br> "shard": 0,<br> "node": "loggy",<br> "allow_primary": true<br> },<br> "decisions": [<br> {<br> "decider": "same_shard",<br> "decision": "NO",<br> "explanation": "shard cannot be allocated on same node [3OedVZN9QVKU9Hw7tn2h2w] it already exists on"<br> },<br> {<br> "decider": "filter",<br> "decision": "YES",<br> "explanation": "node passes include/exclude/require filters"<br> },<br> {<br> "decider": "replica_after_primary_active",<br> "decision": "YES",<br> "explanation": "primary is already active"<br> },<br> {<br> "decider": "throttling",<br> "decision": "YES",<br> "explanation": "below shard recovery limit of [4]"<br> },<br> {<br> "decider": "enable",<br> "decision": "YES",<br> "explanation": "allocation disabling is ignored"<br> },<br> {<br> "decider": "disable",<br> "decision": "YES",<br> "explanation": "allocation disabling is ignored"<br> },<br> {<br> "decider": "awareness",<br> "decision": "YES",<br> "explanation": "no allocation awareness enabled"<br> },<br> {<br> "decider": "shards_limit",<br> "decision": "YES",<br> "explanation": "total shard limit disabled: [-1] &lt;= 0"<br> },<br> {<br> "decider": "node_version",<br> "decision": "YES",<br> "explanation": "target node version [1.7.5] is same or newer than source node version [1.7.5]"<br> },<br> {<br> "decider": "disk_threshold",<br> "decision": "YES",<br> "explanation": "only a single node is present"<br> },<br> {<br> "decider": "snapshot_in_progress",<br> "decision": "YES",<br> "explanation": "shard not primary or relocation disabled"<br> }<br> ]<br> }<br> ]</p> <p dir="auto">I have a single node cluster and also attempted to adjust the number of replicas to 0 per another post I found, which did not resolve the issue. Physically inspecting the file system also doesn't appear to have duplicates. This started about a week ago, and as far as I know nothing major changed on the system. I do think we hit a limit as I also had to adjust the fs filemax, but this issue is still not correct after multiple attempts to restart and re-index.</p> <p dir="auto">I have also enabled routing allocation. My current _cluster/settings are:</p> <p dir="auto">{<br> "acknowledged": true,<br> "persistent": {},<br> "transient": {<br> "cluster": {<br> "routing": {<br> "allocation": {<br> "enable": "true"<br> }<br> }<br> }<br> }<br> }</p> <p dir="auto">Running _cat/nodes?v only returns a single node as I would expect.</p> <p dir="auto">_cat/allocation?v returns 20% free space:<br> shards disk.used disk.avail disk.total disk.percent host ip node<br> 5458 315.2gb 77.3gb 392.6gb 80 vcosdevlog01.[SNIPPED] [X.X.X.X] loggy<br> 5574 UNASSIGNED</p> <p dir="auto">Any help would be greatly appreciated!</p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">Add Support for multiple saved layouts in Keyboard Manager. E. g. I have a mapping for my Apple Keyboard where my Alt and Meta keys are swapped and I have a different mapping for my normal keyboard where I for example have Media Keys on F13 and up.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">I would like to have like a list of different mappings. If I create a new mapping, I can choose to save it. The option to rename mappings would be great to. If it is possible to automatically swap to ta specified mapping if I connect a special keyboard, I would find that great to. But that is optional if it is to hard / time consuming to implement.</p> <h1 dir="auto">Conclusion</h1> <ul dir="auto"> <li>Add option to save mappings</li> <li>Saved mappings are available in list</li> <li>(Optional) Automatically switch to mapping XY if special Keyboard is plugged in.</li> </ul> <p dir="auto">I'm sorry for my bad English, I'm not a native Speaker.</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18363.900] PowerToys version: v0.19.0 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.900] PowerToys version: v0.19.0 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run </code></pre></div> <h1 dir="auto">Summary</h1> <p dir="auto">I can't get alt+space to <em>consistently</em> open the launch dialog. Sometimes restarting the app seems to fix it. Sometimes I need to wait a minute or two after starting PowerToys. But I realize inconsistent repros are hard to fix. I've nailed down one consistent repro which I've outlined here.</p> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Open Event Viewer. Focus on it. Hit Alt+Space.</li> <li>Open File Explorer. Focus on it. Hit Alt+Space.</li> <li>Open Edge (Chromium). Focus on it. Hit Alt Space.</li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto">In all three cases, I expect the PT run dialog to open.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">For File explorer, Edge, or even "focusing" on the desktop, it launches fine with these steps. But when focused on Event Viewer, it opens the context menu for the app. It's as if Event Viewer first observes and handles the alt+space keyboard event and prevents it from bubbling up to the OS?</p> <p dir="auto">I noticed that I also cannot use my print screen hotkey while in Event Viewer, so this issue doesn't seem specific to PT Run.</p> <h1 dir="auto">Screenshots</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4650390/86484526-3c2b9300-bd0b-11ea-9552-d73692f3a93c.png"><img src="https://user-images.githubusercontent.com/4650390/86484526-3c2b9300-bd0b-11ea-9552-d73692f3a93c.png" alt="image" style="max-width: 100%;"></a></p>
0
<p dir="auto">Some gaps here:</p> <ul dir="auto"> <li><code class="notranslate">flutter create -t plugin</code> does not produce any test files.</li> <li><a href="https://flutter.io/platform-channels/" rel="nofollow">https://flutter.io/platform-channels/</a> does not mention testing.</li> </ul> <p dir="auto">Actions items:</p> <ul dir="auto"> <li>Write a best practices doc for testing plugins. Mention both Dart and native code. Publicize the mock channel implementation (I personally learned about this by reading code in flutter/plugins).</li> <li>Add test files to the template.</li> </ul>
<p dir="auto">Currently our plugin template and plugin docs have no recommendation for how to test a plugin. We should probably figure out what to do here.</p>
1
<p dir="auto">After seeing this:</p> <p dir="auto"><a href="https://github.com/mrdoob/three.js/blob/dev/src/renderers/WebGLRenderer.js#L1991-L2061">https://github.com/mrdoob/three.js/blob/dev/src/renderers/WebGLRenderer.js#L1991-L2061</a></p> <p dir="auto">I propose adding some kind of documentation to let the world know that there is magic happening under the hood.</p> <blockquote> <p dir="auto">Texture classes have a transform property. Materials can use multiple textures, but also have a single transform property.<br> Because a single material, with a single transform property can have many textures with many unique transform properties - Three.js does voodoo magic under the hood to chose which texture's transform to honor.<br> This is the list <del>[insert list]</del>.</p> </blockquote> <h2 dir="auto">edit</h2> <ol dir="auto"> <li>map</li> <li>specularMap</li> <li>displacementMap</li> <li>normalMap</li> <li>bumpMap</li> <li>roughnessMap</li> <li>metalnessMap</li> <li>alphaMap</li> <li>emissiveMap</li> </ol> <p dir="auto">Maybe warn the user that if they have some kind of transform on the emissive map, it will be completely ignored, and the user can expect to see the transform belonging to <strong>any</strong> other 8 map slots that come before?</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r89</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>
<p dir="auto">Problem: CTMLoader crashes or hangs on some simple but large CTM models converted from STL</p> <p dir="auto">Three.js version: r58</p> <p dir="auto">Env: OS X Lion, MacBook Air 4GB, latest Chrome or Firefox</p> <p dir="auto">Example: <a href="http://simonvz.github.io/WebglExs/BinaryModelView.html" rel="nofollow">http://simonvz.github.io/WebglExs/BinaryModelView.html</a><br> Model: <a href="https://github.com/SimonVZ/SimonVZ.github.io/blob/master/WebglExs/data/ctm/original-80.ctm">https://github.com/SimonVZ/SimonVZ.github.io/blob/master/WebglExs/data/ctm/original-80.ctm</a></p> <p dir="auto">it's working fine for a slightly reduced version: <a href="http://simonvz.github.io/WebglExs/BinaryModelView90.html" rel="nofollow">http://simonvz.github.io/WebglExs/BinaryModelView90.html</a></p> <p dir="auto">Also, it doesn't seem to be related to the model size. It works for 2 or 3 times bigger data sets.</p> <p dir="auto">Page source is here: <a href="https://github.com/SimonVZ/SimonVZ.github.io/blob/master/WebglExs/BinaryModelView.html">https://github.com/SimonVZ/SimonVZ.github.io/blob/master/WebglExs/BinaryModelView.html</a></p> <p dir="auto">Thank you,<br> Simon</p>
0
<p dir="auto">It would be nice to be able to make a datatype like the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="type tname&lt;N&gt; = Vec&lt;[int; N]&gt;;"><pre class="notranslate"><code class="notranslate">type tname&lt;N&gt; = Vec&lt;[int; N]&gt;; </code></pre></div> <p dir="auto">Where N is not a type but an integer. So, for example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let instance = tname::&lt;5&gt;::new();"><pre class="notranslate"><code class="notranslate">let instance = tname::&lt;5&gt;::new(); </code></pre></div> <p dir="auto">would create an instance of <code class="notranslate">Vec&lt;int; 5]&gt;</code></p>
<p dir="auto">1.0.0-beta web API docs don't contain the <code class="notranslate">sort_by</code> slice method, even though it is documented in the sources:</p> <p dir="auto"></p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/rust-lang/rust/blob/9edbf42a342ced7357fe5ec225975f214d872fbc/src/libcollections/slice.rs#L245">rust/src/libcollections/slice.rs</a> </p> <p class="mb-0 color-fg-muted"> Line 245 in <a data-pjax="true" class="commit-tease-sha" href="/rust-lang/rust/commit/9edbf42a342ced7357fe5ec225975f214d872fbc">9edbf42</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="L245" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="245"></td> <td id="LC245" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">sort_by</span><span class="pl-kos">&lt;</span><span class="pl-smi">F</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">,</span> <span class="pl-s1">compare</span><span class="pl-kos">:</span> <span class="pl-smi">F</span><span class="pl-kos">)</span> <span class="pl-k">where</span> <span class="pl-smi">F</span><span class="pl-kos">:</span> <span class="pl-smi">FnMut</span><span class="pl-kos">(</span><span class="pl-c1">&amp;</span><span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-c1">&amp;</span><span class="pl-smi">T</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Ordering</span> <span class="pl-kos">{</span> </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">It certainly can't be found when searching in the docs search widget, but it might be hidden somewhere in the std module docs, but I can't find it. Looks like a documentation build bug?</p>
0
<p dir="auto">The exception logs following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="An attempt was made to call a method that does not exist. The attempt was made from the following location: org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.&lt;init&gt;(ShardingSphereYamlConstructor.java:44) The following method did not exist: org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V"><pre class="notranslate"><code class="notranslate">An attempt was made to call a method that does not exist. The attempt was made from the following location: org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.&lt;init&gt;(ShardingSphereYamlConstructor.java:44) The following method did not exist: org.apache.shardingsphere.infra.util.yaml.constructor.ShardingSphereYamlConstructor$1.setCodePointLimit(I)V </code></pre></div> <p dir="auto">In class <code class="notranslate">ShardingSphereYamlConstructor</code> its do have a not exist method <code class="notranslate">setCodePointLimit</code> in line 44</p>
<h2 dir="auto">Feature Request</h2> <p dir="auto"><strong>For English only</strong>, other languages will not accept.</p> <p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br> If no response anymore and we cannot make decision by current information, we will <strong>close it</strong>.</p> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <h3 dir="auto">Is your feature request related to a problem?</h3> <ul dir="auto"> <li>Yes, refer to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1397921680" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/21351" data-hovercard-type="pull_request" data-hovercard-url="/apache/shardingsphere/pull/21351/hovercard" href="https://github.com/apache/shardingsphere/pull/21351">#21351</a> .</li> </ul> <h3 dir="auto">Describe the feature you would like.</h3> <ul dir="auto"> <li> <p dir="auto">In <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1397921680" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/21351" data-hovercard-type="pull_request" data-hovercard-url="/apache/shardingsphere/pull/21351/hovercard" href="https://github.com/apache/shardingsphere/pull/21351">#21351</a>, a new method for serving <code class="notranslate">LoaderOptions</code> introduced since SnakeYAML 1.32 is enabled. This stems from a series of CVEs that have existed since SnakeYAML 1.30 and can be traced back to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1125168671" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/15260" data-hovercard-type="pull_request" data-hovercard-url="/apache/shardingsphere/pull/15260/hovercard" href="https://github.com/apache/shardingsphere/pull/15260">#15260</a> .</p> </li> <li> <p dir="auto">According to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1360382475" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-boot/issues/32221" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-boot/issues/32221/hovercard" href="https://github.com/spring-projects/spring-boot/issues/32221">spring-projects/spring-boot#32221</a> , at present, Spring community ensures SnakeYAML &lt;= 1.30 in Spring Boot OSS &lt; 3.0.0-M5 version. Therefore, if the users of ShardingSphere JDBC use the version of SpringBoot OSS &lt; 3.0.0-M5, they must manually specify the version of SnakeYAML in <code class="notranslate">pom.xml</code> and other files, similar to the following.</p> </li> </ul> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;org.yaml&lt;/groupId&gt; &lt;artifactId&gt;snakeyaml&lt;/artifactId&gt; &lt;version&gt;1.33&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt;"><pre class="notranslate">&lt;<span class="pl-ent">dependencies</span>&gt; &lt;<span class="pl-ent">dependency</span>&gt; &lt;<span class="pl-ent">groupId</span>&gt;org.yaml&lt;/<span class="pl-ent">groupId</span>&gt; &lt;<span class="pl-ent">artifactId</span>&gt;snakeyaml&lt;/<span class="pl-ent">artifactId</span>&gt; &lt;<span class="pl-ent">version</span>&gt;1.33&lt;/<span class="pl-ent">version</span>&gt; &lt;/<span class="pl-ent">dependency</span>&gt; &lt;/<span class="pl-ent">dependencies</span>&gt;</pre></div> <ul dir="auto"> <li>I think we should markup SpringBoot users need to specify SnakeYAML version in Github Wiki.</li> <li>update in 2023.03.31: According to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1602726879" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-boot/issues/34405" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-boot/issues/34405/hovercard?comment_id=1451004370&amp;comment_type=issue_comment" href="https://github.com/spring-projects/spring-boot/issues/34405#issuecomment-1451004370">spring-projects/spring-boot#34405 (comment)</a>, if users are using Spring Boot OSS 2.x instead of Spring Boot OSS 3.x, they should use SnakeYAML 1.33 instead of SnakeYAML 2.0. Also, Spring Framework is not ready for SnakeYAML 2.0, refer to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1602623986" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/30048" data-hovercard-type="pull_request" data-hovercard-url="/spring-projects/spring-framework/pull/30048/hovercard" href="https://github.com/spring-projects/spring-framework/pull/30048">spring-projects/spring-framework#30048</a></li> </ul>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="nosetests sklearn --exe .............................................................../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/manifold/spectral_embedding.py:225: UserWarning: Graph is not fully connected, spectral embedding may not works as expected. warnings.warn(&quot;Graph is not fully connected, spectral embedding&quot; ...........SS....../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/datasets/tests/test_base.py:124: UserWarning: Could not load sample images, PIL is not available. warnings.warn(&quot;Could not load sample images, PIL is not available.&quot;) .../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/datasets/tests/test_base.py:145: UserWarning: Could not load sample images, PIL is not available. warnings.warn(&quot;Could not load sample images, PIL is not available.&quot;) ./usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/datasets/tests/test_base.py:161: UserWarning: Could not load sample images, PIL is not available. warnings.warn(&quot;Could not load sample images, PIL is not available.&quot;) .....SS................................................S.........................................................S.........................................SSS....................../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object &lt;functools.partial object at 0x6e36f18&gt;, ignore list will not work. nose.tools.assert_equal(filter_args(ff, ['y'], (1, )), ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............................................................................SSS....S....S................................................................................................................................... ====================================================================== FAIL: sklearn.tests.test_common.test_regressors_train ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py&quot;, line 197, in runTest self.test(*self.arg) File &quot;/usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/tests/test_common.py&quot;, line 655, in test_regressors_train assert_true(succeeded) AssertionError: False is not true -------------------- &gt;&gt; begin captured stdout &lt;&lt; --------------------- CCA(copy=True, max_iter=500, n_components=2, scale=True, tol=1e-06) singular matrix --------------------- &gt;&gt; end captured stdout &lt;&lt; ---------------------- ---------------------------------------------------------------------- Ran 1598 tests in 81.829s FAILED (SKIP=15, failures=1)"><pre class="notranslate"><code class="notranslate">nosetests sklearn --exe .............................................................../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/manifold/spectral_embedding.py:225: UserWarning: Graph is not fully connected, spectral embedding may not works as expected. warnings.warn("Graph is not fully connected, spectral embedding" ...........SS....../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/datasets/tests/test_base.py:124: UserWarning: Could not load sample images, PIL is not available. warnings.warn("Could not load sample images, PIL is not available.") .../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/datasets/tests/test_base.py:145: UserWarning: Could not load sample images, PIL is not available. warnings.warn("Could not load sample images, PIL is not available.") ./usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/datasets/tests/test_base.py:161: UserWarning: Could not load sample images, PIL is not available. warnings.warn("Could not load sample images, PIL is not available.") .....SS................................................S.........................................................S.........................................SSS....................../usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/externals/joblib/test/test_func_inspect.py:122: UserWarning: Cannot inspect object &lt;functools.partial object at 0x6e36f18&gt;, ignore list will not work. nose.tools.assert_equal(filter_args(ff, ['y'], (1, )), ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............................................................................SSS....S....S................................................................................................................................... ====================================================================== FAIL: sklearn.tests.test_common.test_regressors_train ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/local/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/tests/test_common.py", line 655, in test_regressors_train assert_true(succeeded) AssertionError: False is not true -------------------- &gt;&gt; begin captured stdout &lt;&lt; --------------------- CCA(copy=True, max_iter=500, n_components=2, scale=True, tol=1e-06) singular matrix --------------------- &gt;&gt; end captured stdout &lt;&lt; ---------------------- ---------------------------------------------------------------------- Ran 1598 tests in 81.829s FAILED (SKIP=15, failures=1) </code></pre></div> <p dir="auto">Is the failures a big deal ? Can I use it anyway ? I want to use sklearn to do logistic regression . Thanks.</p>
<p dir="auto">Currently, the <code class="notranslate">Imputer</code> works on columns. Let's assume I have a dataset with mixed categorical and numerical data points and missing values and I want to use the pipeline object:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import scipy.stats import sklearn.pipeline import sklearn.preprocessing import sklearn.ensemble categorical_data = np.random.randint(0, 5, size=(10, 4)) numerical_data = np.random.randn(10, 4) data = np.hstack((categorical_data, numerical_data)) # Add missing values data[0, 1] = np.NaN data[1, 5] = np.NaN X = data y = np.array([0, 0, 0, 0, 0, 1, 1, 1, 1, 1])"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">stats</span> <span class="pl-k">import</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">pipeline</span> <span class="pl-k">import</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span> <span class="pl-k">import</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">ensemble</span> <span class="pl-s1">categorical_data</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-c1">5</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">10</span>, <span class="pl-c1">4</span>)) <span class="pl-s1">numerical_data</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">10</span>, <span class="pl-c1">4</span>) <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">hstack</span>((<span class="pl-s1">categorical_data</span>, <span class="pl-s1">numerical_data</span>)) <span class="pl-c"># Add missing values</span> <span class="pl-s1">data</span>[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-v">NaN</span> <span class="pl-s1">data</span>[<span class="pl-c1">1</span>, <span class="pl-c1">5</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-v">NaN</span> <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">data</span> <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>])</pre></div> <p dir="auto">If I now try to use imputation, I can only choose a single strategy for both data types:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pipeline = sklearn.pipeline.Pipeline((('imp', sklearn.preprocessing.Imputer( strategy='most_frequent')), ('ohe', sklearn.preprocessing.OneHotEncoder( categorical_features=[0, 1, 2, 3])), ('rf', sklearn.ensemble.RandomForestClassifier())))"><pre class="notranslate"><span class="pl-s1">pipeline</span> <span class="pl-c1">=</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">pipeline</span>.<span class="pl-v">Pipeline</span>(((<span class="pl-s">'imp'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span>.<span class="pl-v">Imputer</span>( <span class="pl-s1">strategy</span><span class="pl-c1">=</span><span class="pl-s">'most_frequent'</span>)), (<span class="pl-s">'ohe'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span>.<span class="pl-v">OneHotEncoder</span>( <span class="pl-s1">categorical_features</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>])), (<span class="pl-s">'rf'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">ensemble</span>.<span class="pl-v">RandomForestClassifier</span>())))</pre></div> <p dir="auto">which would result in a more or less random value being picked for the missing value of the continuous feature:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Xt, _ = pipeline._pre_transform(X, y) # Now uses the return value of scipy.stats.mode which makes only very little # sense for a continuous value print(scipy.stats.mode(data)[5]) print(Xt.toarray()[1])"><pre class="notranslate"><span class="pl-v">Xt</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">pipeline</span>.<span class="pl-en">_pre_transform</span>(<span class="pl-v">X</span>, <span class="pl-s1">y</span>) <span class="pl-c"># Now uses the return value of scipy.stats.mode which makes only very little</span> <span class="pl-c"># sense for a continuous value</span> <span class="pl-en">print</span>(<span class="pl-s1">scipy</span>.<span class="pl-s1">stats</span>.<span class="pl-en">mode</span>(<span class="pl-s1">data</span>)[<span class="pl-c1">5</span>]) <span class="pl-en">print</span>(<span class="pl-v">Xt</span>.<span class="pl-en">toarray</span>()[<span class="pl-c1">1</span>])</pre></div> <p dir="auto">To overcome this, I propose to add a new attribute to the Imputer which allows to specify the columns to be imputed in order to allow something like this:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pipeline = sklearn.pipeline.Pipeline((('imp_cat', sklearn.preprocessing.Imputer( strategy='most_frequent', columns=[0, 1, 2, 3])), ('imp_num', sklearn.preprocessing.Imputer( strategy='median', columns=[4, 5, 6, 7])), ('ohe', sklearn.preprocessing.OneHotEncoder( categorical_features=[0, 1, 2, 3])), ('rf', sklearn.ensemble.RandomForestClassifier())))"><pre class="notranslate"><span class="pl-s1">pipeline</span> <span class="pl-c1">=</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">pipeline</span>.<span class="pl-v">Pipeline</span>(((<span class="pl-s">'imp_cat'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span>.<span class="pl-v">Imputer</span>( <span class="pl-s1">strategy</span><span class="pl-c1">=</span><span class="pl-s">'most_frequent'</span>, <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>])), (<span class="pl-s">'imp_num'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span>.<span class="pl-v">Imputer</span>( <span class="pl-s1">strategy</span><span class="pl-c1">=</span><span class="pl-s">'median'</span>, <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">6</span>, <span class="pl-c1">7</span>])), (<span class="pl-s">'ohe'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">preprocessing</span>.<span class="pl-v">OneHotEncoder</span>( <span class="pl-s1">categorical_features</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>])), (<span class="pl-s">'rf'</span>, <span class="pl-s1">sklearn</span>.<span class="pl-s1">ensemble</span>.<span class="pl-v">RandomForestClassifier</span>())))</pre></div> <p dir="auto">I could not find a related issue and am willing to work on this if this is considered worth adding to scikit-learn.</p>
0
<p dir="auto">Video Challenges-<br> JavaScript Lingo: MDN and Documentation<br> <a href="http://www.freecodecamp.com/videos/javascript-lingo-mdn-and-documentation" rel="nofollow">Question 3<br> </a></p> <p dir="auto">The title and question for this part only states Question 3 with a passing answer of True.<br> Question should be removed or updated.</p>
<p dir="auto">Going though the new Video Challenge and question 3 on JavaScript Lingo MDN and Documentation doesn't seem to be there. Though clicking true answers it correctly, while false gives me the wrong answers animation.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10661000/12886093/f699494a-ce62-11e5-8e59-b71c96681e24.png"><img src="https://cloud.githubusercontent.com/assets/10661000/12886093/f699494a-ce62-11e5-8e59-b71c96681e24.png" alt="screen shot 2016-02-08 at 12 50 34" style="max-width: 100%;"></a></p>
1
<p dir="auto">`const { app, powerMonitor } = require('electron')</p> <p dir="auto">app.on('ready', () =&gt; {<br> powerMonitor.on('suspend', () =&gt; {<br> console.log('The system is going to sleep')<br> })<br> })`</p> <p dir="auto">The system is going to sleep<br> The system is going to sleep</p>
<h3 dir="auto">Preflight Checklist</h3> <ul dir="auto"> <li>[x ] I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li>[ x] I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li>[x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <p dir="auto">When I upgrade the electron version 6.1.9 to 8.4.0, the PowerMonitor module "resume" and "suspend" event send twice on macOS.</p> <p dir="auto">useage:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app.on(&quot;ready&quot;, () =&gt; { const { powerMonitor } = require('electron') powerMonitor.on('suspend', () =&gt; { mainLog.info('system suspend.') mainWindow.webContents.send('system-status', 'suspend'); }); powerMonitor.on('resume', () =&gt; { mainLog.info('system resume.') mainWindow.webContents.send('system-status', 'resume'); }); });"><pre class="notranslate"><code class="notranslate">app.on("ready", () =&gt; { const { powerMonitor } = require('electron') powerMonitor.on('suspend', () =&gt; { mainLog.info('system suspend.') mainWindow.webContents.send('system-status', 'suspend'); }); powerMonitor.on('resume', () =&gt; { mainLog.info('system resume.') mainWindow.webContents.send('system-status', 'resume'); }); }); </code></pre></div> <p dir="auto">electron-log, main.log:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2020-07-31 11:29:41.926] [info] system suspend. [2020-07-31 11:29:41.933] [info] system suspend. [2020-07-31 11:30:20.169] [info] system resume. [2020-07-31 11:30:21.963] [info] system resume."><pre class="notranslate"><code class="notranslate">[2020-07-31 11:29:41.926] [info] system suspend. [2020-07-31 11:29:41.933] [info] system suspend. [2020-07-31 11:30:20.169] [info] system resume. [2020-07-31 11:30:21.963] [info] system resume. </code></pre></div> <ul dir="auto"> <li> <p dir="auto"><strong>Electron Version:</strong></p> <ul dir="auto"> <li> 8.4.0 </li> </ul> </li> <li> <p dir="auto"><strong>Operating System:</strong></p> <ul dir="auto"> <li> macOS 10.15.6 </li> </ul> </li> <li> <p dir="auto"><strong>Last Known Working Electron version:</strong></p> <ul dir="auto"> <li> 8.4.0 </li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">just one times "resume" and "suspend" event.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">i receive twice same events.</p> <h3 dir="auto">To Reproduce</h3> <h3 dir="auto">Screenshots</h3> <h3 dir="auto">Additional Information</h3>
1
<p dir="auto">The following combination of <code class="notranslate">include_role</code> and <code class="notranslate">when</code> condition in one of my roles results in the error message posted below.</p> <p dir="auto"><code class="notranslate">myrole/tasks/main.yml</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" --- - include_role: name=mydebug when: project == &quot;some-project&quot;"><pre class="notranslate"><code class="notranslate"> --- - include_role: name=mydebug when: project == "some-project" </code></pre></div> <p dir="auto">Error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [localhost]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;The conditional check 'p' failed. The error was: error while evaluating conditional (p): 'p' is undefined\n\nThe error appears to have been in '/opt/ansible/roles/proj-conf/tasks/main.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- include_role: name=mydebug\n ^ here\n&quot;}"><pre class="notranslate"><code class="notranslate">fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "The conditional check 'p' failed. The error was: error while evaluating conditional (p): 'p' is undefined\n\nThe error appears to have been in '/opt/ansible/roles/proj-conf/tasks/main.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- include_role: name=mydebug\n ^ here\n"} </code></pre></div> <p dir="auto">Without the condition, the role runs fine. Any clue what's causing this behavior?</p> <p dir="auto">For information:<br> ansible 2.2.0.0</p> <p dir="auto">The <code class="notranslate">mydebug</code> role is a simple wrapper around the predefined <code class="notranslate">debug</code> role.</p> <p dir="auto"><code class="notranslate">mydebug/tasks/main.yml</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--- - debug: msg: &quot;test&quot;"><pre class="notranslate"><code class="notranslate">--- - debug: msg: "test" </code></pre></div> <p dir="auto">My playbook:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--- - hosts: '{{ target }}' roles: - { role: myrole, project: '{{ project }}'}"><pre class="notranslate"><code class="notranslate">--- - hosts: '{{ target }}' roles: - { role: myrole, project: '{{ project }}'} </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">include_role:</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0.0 config file = configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0 config file = configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">include_role: inside a block: does not work with when: crashes when starting to execute the included role.<br> If I remove the external when: clause, everything works fine.</p> <p dir="auto">(this is a re-submition of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="194653202" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/19085" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/19085/hovercard" href="https://github.com/ansible/ansible/issues/19085">#19085</a> which was incorrectly closed)</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">calling script:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- block: - include_role: name: &quot;ansible-lib--infra/v1/ez123--moodle-moosh&quot; static: no private: yes when: (zzz_moodle__skip__moosh is not defined) or (not (zzz_moodle__skip__moosh |bool))"><pre class="notranslate"><code class="notranslate">- block: - include_role: name: "ansible-lib--infra/v1/ez123--moodle-moosh" static: no private: yes when: (zzz_moodle__skip__moosh is not defined) or (not (zzz_moodle__skip__moosh |bool)) </code></pre></div> <p dir="auto">on the included role, under tasks/main.yml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: &quot;check if moosh is already installed (1)&quot; command: &quot;./moosh --help&quot; args: chdir: &quot;{{ ez123_moosh__bin_dir }}&quot; register: _X_moosh_ver_0 changed_when: false failed_when: false"><pre class="notranslate"><code class="notranslate">- name: "check if moosh is already installed (1)" command: "./moosh --help" args: chdir: "{{ ez123_moosh__bin_dir }}" register: _X_moosh_ver_0 changed_when: false failed_when: false </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">There should be no error/crash.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [ansible-lib--infra/v1/ez123--moodle-moosh : check if moosh is already installed (1)] *** task path: /etc/ansible/roles.glx/ansible-lib--infra/v1/ez123--moodle-moosh/tasks/main.yml:4 fatal: [host000000]: FAILED! =&gt; { &quot;failed&quot;: true, &quot;msg&quot;: &quot;The conditional check '{' failed. The error was: template error while templating string: unexpected '%'. String: {% if ( %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/opt/src/ansible/dom/roles/dom-roles/func/tasks/main.yml': line 4, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n - include_role:\n ^ here\n&quot; }```"><pre class="notranslate"><code class="notranslate">TASK [ansible-lib--infra/v1/ez123--moodle-moosh : check if moosh is already installed (1)] *** task path: /etc/ansible/roles.glx/ansible-lib--infra/v1/ez123--moodle-moosh/tasks/main.yml:4 fatal: [host000000]: FAILED! =&gt; { "failed": true, "msg": "The conditional check '{' failed. The error was: template error while templating string: unexpected '%'. String: {% if ( %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/opt/src/ansible/dom/roles/dom-roles/func/tasks/main.yml': line 4, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n - include_role:\n ^ here\n" }``` </code></pre></div>
1
<p dir="auto">Hi, I was wondering if there is any planned support for "reflecting a vector" in Three.js's vector2.js or vector3.js files? An example would be knowing both an incoming vector and a normal to a plane or surface, then calculating the outgoing vector after the vector intersects that plane.</p> <p dir="auto">Here is an older GameDev page devoted to the mathematical implementation: <a href="http://www.gamedev.net/topic/360411-reflection-off-a-line/" rel="nofollow">http://www.gamedev.net/topic/360411-reflection-off-a-line/</a></p> <p dir="auto">Should be easy to add to your vector.js library (maybe 2 or 3 lines of code max).</p> <p dir="auto">Concrete example: Incoming ball strikes a non-axis-aligned wall, and we need to know the outgoing ball direction. Maybe the final code that the Three.js user could type would be something like: vector.Reflect(plane Normal).</p> <p dir="auto">Would be a simple but very helpful function, especially if you are not wanting to add a hefty physics collision response engine to your project, and are just looking for a simple but effective solution that looks correct.</p> <p dir="auto">Thanks!</p>
<p dir="auto">I'm testing the <a href="https://github.com/KhronosGroup/glTF-Blender-Exporter">Blender glTF 2.0 Exporter</a>, to export 3D models from Blender to be imported by Three.js r87 GLTFLoader used in <a href="https://github.com/freeciv/freeciv-web/">Freeciv WebGL</a>. Previously, I used the Three.js BinaryLoader to import the Three.js binary format files into Freeciv WebGL. However, when I try to upgrade to using glTF 2.0 (binary .glb) format instead, I currently have these issues:</p> <ul dir="auto"> <li>The alpha transparency of materials is not shown in the glTG 2.0 version. This can be seen on the Settlers unit. Does the GLTFLoader support transparency?</li> <li>The material looks much smooter in the old BinaryLoader version, than in the glTF 2.0 GLTFLoader version.</li> <li>The glTF 2.0 file is 725 kb, while the Three.js binary format file is 612 kb. (This is not a bug, but it is interesting to note!)</li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/210993/29493688-7a5b297e-859b-11e7-8f16-e1859d047141.png"><img src="https://user-images.githubusercontent.com/210993/29493688-7a5b297e-859b-11e7-8f16-e1859d047141.png" alt="gltf-2 0-bugreport" style="max-width: 100%;"></a></p> <p dir="auto">The code I use to load the glTF 2.0 file is identical to the <a href="https://github.com/mrdoob/three.js/blob/dev/examples/webgl_loader_gltf.html">webgl_loader_gltf.html</a> example.</p> <p dir="auto">Are these known limitiations of the glTF 2.0 GLTFLoader, or limitations of the Blender glTF 2.0 Exporter, or perhaps in my implementation ?</p> <p dir="auto">I have attached the Blender file and the exported .glb 2.0 file here also.<br> <a href="https://github.com/mrdoob/three.js/files/1236994/settlers.zip">settlers.zip</a></p>
0
<p dir="auto">Like using <code class="notranslate">[NSScreen mainScreen]</code>, main screen being the screen that contains the active window.</p> <p dir="auto">A very common use-case is to start an app on the main screen centered, instead of on primary screen.</p> <p dir="auto">Also, it would be awesome if you can add an option to start app on an external screen centered, instead of hard-coding x and y as I see in this example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="app.on('ready', () =&gt; { let displays = electron.screen.getAllDisplays() let externalDisplay = displays.find((display) =&gt; { return display.bounds.x !== 0 || display.bounds.y !== 0 }) if (externalDisplay) { win = new BrowserWindow({ x: externalDisplay.bounds.x + 50, y: externalDisplay.bounds.y + 50 }) win.loadURL('https://github.com') } })"><pre class="notranslate"><span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'ready'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">displays</span> <span class="pl-c1">=</span> <span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">screen</span><span class="pl-kos">.</span><span class="pl-en">getAllDisplays</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">let</span> <span class="pl-s1">externalDisplay</span> <span class="pl-c1">=</span> <span class="pl-s1">displays</span><span class="pl-kos">.</span><span class="pl-en">find</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">display</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">display</span><span class="pl-kos">.</span><span class="pl-c1">bounds</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">!==</span> <span class="pl-c1">0</span> <span class="pl-c1">||</span> <span class="pl-s1">display</span><span class="pl-kos">.</span><span class="pl-c1">bounds</span><span class="pl-kos">.</span><span class="pl-c1">y</span> <span class="pl-c1">!==</span> <span class="pl-c1">0</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">externalDisplay</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-s1">externalDisplay</span><span class="pl-kos">.</span><span class="pl-c1">bounds</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">+</span> <span class="pl-c1">50</span><span class="pl-kos">,</span> <span class="pl-c1">y</span>: <span class="pl-s1">externalDisplay</span><span class="pl-kos">.</span><span class="pl-c1">bounds</span><span class="pl-kos">.</span><span class="pl-c1">y</span> <span class="pl-c1">+</span> <span class="pl-c1">50</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-s1">win</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">'https://github.com'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">In case of multiple monitors it would be great if it would be possible to target a dedicated monitor a BrowserWindow shall be displayed on.</p> <p dir="auto">The current API provides the same limited possibilities a browser does. Fullscreen works only on the primary monitor and placing windows on different monitors requires knowledge about the user's actual setup to do this by coordinates only.</p> <p dir="auto">Would it be possible to add an additional option for BrowserWindows that allows specifying the target monitor?</p>
1
<p dir="auto">Hi,</p> <p dir="auto">I successfully converted my Keras H5 model that I use in Python into a pb and pbtxt files in order to use the same model in C++ via OpenCV.</p> <p dir="auto">You can find below the sample code I used simply to make sure that I can load the model correctly:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#include &lt;opencv2/dnn.hpp&gt; #include &lt;opencv2/imgproc.hpp&gt; #include &lt;opencv2/highgui.hpp&gt; #include &lt;fstream&gt; #include &lt;sstream&gt; #include &lt;iostream&gt; using namespace cv; using namespace dnn; using namespace std; int main() { String modelConfiguration = &quot;wine_plant_detector.pbtxt&quot;; String modelWeights = &quot;wine_plant_detector.pb&quot;; Mat blob; Net net = readNetFromTensorflow(modelWeights, modelConfiguration); return 0; }"><pre class="notranslate"><code class="notranslate">#include &lt;opencv2/dnn.hpp&gt; #include &lt;opencv2/imgproc.hpp&gt; #include &lt;opencv2/highgui.hpp&gt; #include &lt;fstream&gt; #include &lt;sstream&gt; #include &lt;iostream&gt; using namespace cv; using namespace dnn; using namespace std; int main() { String modelConfiguration = "wine_plant_detector.pbtxt"; String modelWeights = "wine_plant_detector.pb"; Mat blob; Net net = readNetFromTensorflow(modelWeights, modelConfiguration); return 0; } </code></pre></div> <p dir="auto">That gives me the following error in Visual Studio 2017:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OpenCV(4.4.0) Error: Assertion failed (const_layers.insert(std::make_pair(name, li)).second) in cv::dnn::dnn4_v20200609::`anonymous-namespace'::addConstNodes, file C:\build\master_winpack-build-win64- vc15\opencv\modules\dnn\src\tensorflow\tf_importer.cpp, line 672"><pre class="notranslate"><code class="notranslate">OpenCV(4.4.0) Error: Assertion failed (const_layers.insert(std::make_pair(name, li)).second) in cv::dnn::dnn4_v20200609::`anonymous-namespace'::addConstNodes, file C:\build\master_winpack-build-win64- vc15\opencv\modules\dnn\src\tensorflow\tf_importer.cpp, line 672 </code></pre></div> <p dir="auto">I have attached the model files so that you can test your end.</p> <p dir="auto"><a href="https://github.com/opencv/opencv/files/5213727/model_files.zip">model_files.zip</a></p> <p dir="auto">What I do not understand is that if I only use load the weight file it can load the model so the error seems to occur while trying to read the model configuration file. Is it necessary to use that file that make inference?</p> <p dir="auto">Here is my setup:</p> <ul dir="auto"> <li>OpenCV =&gt; 4.4</li> <li>Operating System / Platform =&gt; Windows 64 Bit</li> <li>Compiler =&gt; Visual Studio 2017</li> </ul> <p dir="auto">Thanks in advance.</p> <p dir="auto">Regards,</p>
<p dir="auto">This crash log is the same version of the previous crash log of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="200895764" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/8015" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/8015/hovercard" href="https://github.com/opencv/opencv/issues/8015">#8015</a></p> <h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.2</li> <li>Qt 5.7.1</li> <li>Qt Creator 4.2.0</li> <li>Operating System / Platform =&gt; Ubuntu 16.04</li> <li>Compiler =&gt; GCC 4.9.1</li> <li>GPU: Geforce GTX 1070</li> <li>Cuda 8.0</li> </ul> <p dir="auto">Code was succesfully compiled. I get this error at run time;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OpenCV Error: The function/feature is not implemented (Unknown/unsupported array type) in getUMatVector, file /opt/opencv/modules/core/src/matrix.cpp, line 1470 terminate called after throwing an instance of 'cv::Exception' what(): /opt/opencv/modules/core/src/matrix.cpp:1470: error: (-213) Unknown/unsupported array type in function getUMatVector The program has unexpectedly finished."><pre class="notranslate"><code class="notranslate">OpenCV Error: The function/feature is not implemented (Unknown/unsupported array type) in getUMatVector, file /opt/opencv/modules/core/src/matrix.cpp, line 1470 terminate called after throwing an instance of 'cv::Exception' what(): /opt/opencv/modules/core/src/matrix.cpp:1470: error: (-213) Unknown/unsupported array type in function getUMatVector The program has unexpectedly finished. </code></pre></div> <p dir="auto">main code;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#include &quot;mainwindow.h&quot; #include &lt;QApplication&gt; #include &lt;QDebug&gt; #include &lt;QElapsedTimer&gt; #include &lt;opencv2/highgui.hpp&gt; #include &lt;opencv2/imgproc.hpp&gt; #include &lt;opencv2/stitching.hpp&gt; using namespace cv; using namespace cv::cuda; using namespace std; int main(int argc, char *argv[]) { QApplication a(argc, argv); QElapsedTimer tTmr; tTmr.start(); bool try_use_gpu = true; // use GPU Stitcher stitcher = Stitcher::createDefault(try_use_gpu); stitcher.setWarper(new CylindricalWarperGpu()); stitcher.setWaveCorrection(false); stitcher.setSeamEstimationResol(0.001); stitcher.setPanoConfidenceThresh(0.1); //stitcher.setSeamFinder(new cv::detail::GraphCutSeamFinder(cv::detail::GraphCutSeamFinderBase::COST_COLOR_GRAD)); stitcher.setSeamFinder(new cv::detail::NoSeamFinder()); stitcher.setBlender(cv::detail::Blender::createDefault(cv::detail::Blender::NO, try_use_gpu)); //stitcher.setExposureCompensator(cv::detail::ExposureCompensator::createDefault(cv::detail::ExposureCompensator::NO)); stitcher.setExposureCompensator(new cv::detail::NoExposureCompensator()); std::vector&lt;cv::Mat&gt; images(3); std::vector&lt;GpuMat&gt; gpuImages(3); GpuMat pano_result_gpu; cv::Mat pano_result; bool firstTime = true; QString tImagePath = QApplication::applicationDirPath() + &quot;/../data/stitching_img&quot;; images[0] = imread((tImagePath + &quot;/shanghai01.jpg&quot;).toStdString()); images[1] = imread((tImagePath + &quot;/shanghai02.jpg&quot;).toStdString()); images[2] = imread((tImagePath + &quot;/shanghai03.jpg&quot;).toStdString()); for (int i = 0; i &lt; 3; i++) gpuImages[i].upload(images[i]); if (firstTime) { Stitcher::Status status = stitcher.estimateTransform(gpuImages);//images);// qDebug()&lt;&lt;&quot;Esimate Status: &quot;&lt;&lt;status; firstTime = false; } Stitcher::Status status = stitcher.composePanorama(gpuImages, pano_result_gpu);//images, pano_result);// qint64 tTime = tTmr.elapsed(); qDebug()&lt;&lt;&quot;Panorama status: &quot;&lt;&lt;status; pano_result_gpu.download(pano_result); imwrite(&quot;D:/stitching_result.jpg&quot;, pano_result); qDebug()&lt;&lt;&quot;File Saved: &quot;&lt;&lt;tTime; MainWindow w; w.show(); return a.exec(); }"><pre class="notranslate"><code class="notranslate">#include "mainwindow.h" #include &lt;QApplication&gt; #include &lt;QDebug&gt; #include &lt;QElapsedTimer&gt; #include &lt;opencv2/highgui.hpp&gt; #include &lt;opencv2/imgproc.hpp&gt; #include &lt;opencv2/stitching.hpp&gt; using namespace cv; using namespace cv::cuda; using namespace std; int main(int argc, char *argv[]) { QApplication a(argc, argv); QElapsedTimer tTmr; tTmr.start(); bool try_use_gpu = true; // use GPU Stitcher stitcher = Stitcher::createDefault(try_use_gpu); stitcher.setWarper(new CylindricalWarperGpu()); stitcher.setWaveCorrection(false); stitcher.setSeamEstimationResol(0.001); stitcher.setPanoConfidenceThresh(0.1); //stitcher.setSeamFinder(new cv::detail::GraphCutSeamFinder(cv::detail::GraphCutSeamFinderBase::COST_COLOR_GRAD)); stitcher.setSeamFinder(new cv::detail::NoSeamFinder()); stitcher.setBlender(cv::detail::Blender::createDefault(cv::detail::Blender::NO, try_use_gpu)); //stitcher.setExposureCompensator(cv::detail::ExposureCompensator::createDefault(cv::detail::ExposureCompensator::NO)); stitcher.setExposureCompensator(new cv::detail::NoExposureCompensator()); std::vector&lt;cv::Mat&gt; images(3); std::vector&lt;GpuMat&gt; gpuImages(3); GpuMat pano_result_gpu; cv::Mat pano_result; bool firstTime = true; QString tImagePath = QApplication::applicationDirPath() + "/../data/stitching_img"; images[0] = imread((tImagePath + "/shanghai01.jpg").toStdString()); images[1] = imread((tImagePath + "/shanghai02.jpg").toStdString()); images[2] = imread((tImagePath + "/shanghai03.jpg").toStdString()); for (int i = 0; i &lt; 3; i++) gpuImages[i].upload(images[i]); if (firstTime) { Stitcher::Status status = stitcher.estimateTransform(gpuImages);//images);// qDebug()&lt;&lt;"Esimate Status: "&lt;&lt;status; firstTime = false; } Stitcher::Status status = stitcher.composePanorama(gpuImages, pano_result_gpu);//images, pano_result);// qint64 tTime = tTmr.elapsed(); qDebug()&lt;&lt;"Panorama status: "&lt;&lt;status; pano_result_gpu.download(pano_result); imwrite("D:/stitching_result.jpg", pano_result); qDebug()&lt;&lt;"File Saved: "&lt;&lt;tTime; MainWindow w; w.show(); return a.exec(); } </code></pre></div> <p dir="auto">cmake output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Detected version of GNU GCC: 54 (504) FP16: Feature disabled Checking for module 'gtk+-3.0' No package 'gtk+-3.0' found Checking for module 'gstreamer-base-1.0' No package 'gstreamer-base-1.0' found Checking for module 'gstreamer-video-1.0' No package 'gstreamer-video-1.0' found Checking for module 'gstreamer-app-1.0' No package 'gstreamer-app-1.0' found Checking for module 'gstreamer-riff-1.0' No package 'gstreamer-riff-1.0' found Checking for module 'gstreamer-pbutils-1.0' No package 'gstreamer-pbutils-1.0' found Checking for module 'gstreamer-base-0.10' No package 'gstreamer-base-0.10' found Checking for module 'gstreamer-video-0.10' No package 'gstreamer-video-0.10' found Checking for module 'gstreamer-app-0.10' No package 'gstreamer-app-0.10' found Checking for module 'gstreamer-riff-0.10' No package 'gstreamer-riff-0.10' found Checking for module 'gstreamer-pbutils-0.10' No package 'gstreamer-pbutils-0.10' 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 IPP (ICV version): 9.0.1 [9.0.1] at: /opt/opencv/release/3rdparty/ippicv/ippicv_lnx CUDA detected: 8.0 CUDA NVCC target flags: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) 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: NO Protobuf: NO Glog: NO freetype2: YES harfbuzz: YES Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags freetype2: YES harfbuzz: YES Checking for modules 'tesseract;lept' No package 'tesseract' found No package 'lept' found Tesseract: NO Check contents of vgg_generated_48.i ... Check contents of vgg_generated_64.i ... Check contents of vgg_generated_80.i ... Check contents of vgg_generated_120.i ... Check contents of boostdesc_bgm.i ... Check contents of boostdesc_bgm_bi.i ... Check contents of boostdesc_bgm_hd.i ... Check contents of boostdesc_binboost_064.i ... Check contents of boostdesc_binboost_128.i ... Check contents of boostdesc_binboost_256.i ... Check contents of boostdesc_lbgm.i ... General configuration for OpenCV 3.2.0 ===================================== Version control: 3.2.0 Extra modules: Location (extra): /opt/opencv_contrib/modules Version control (extra): 3.2.0 Platform: Timestamp: 2017-01-20T07:13:04Z Host: Linux 4.4.0-31-generic x86_64 CMake: 3.5.1 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release 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 -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -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 -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -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 -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -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 -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG Linker flags (Release): Linker flags (Debug): ccache: NO Precompiled headers: YES Extra dependencies: /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjasper.so gtk-x11-2.0 gdk-x11-2.0 pangocairo-1.0 atk-1.0 cairo gdk_pixbuf-2.0 gio-2.0 pangoft2-1.0 pango-1.0 gobject-2.0 glib-2.0 fontconfig freetype gthread-2.0 dc1394 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg dl m pthread rt cudart nppc nppi npps cufft -L/usr/local/cuda/lib64 3rdparty dependencies: libwebp libpng libtiff libjpeg IlmImf libprotobuf OpenCV modules: To be built: cudev core cudaarithm flann imgproc ml reg surface_matching video cudabgsegm cudafilters cudaimgproc cudawarping dnn freetype fuzzy imgcodecs photo shape videoio cudacodec highgui objdetect plot ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo datasets rgbd stereo superres tracking videostab xfeatures2d ximgproc aruco optflow phase_unwrapping stitching structured_light python2 Disabled: world contrib_world Disabled by dependency: - Unavailable: java python3 viz cnn_3dobj cvv hdf matlab sfm GUI: QT: NO GTK+ 2.x: YES (ver 2.24.30) GThread : YES (ver 2.48.1) GtkGlExt: NO OpenGL support: NO VTK support: NO Media I/O: ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8) JPEG: libjpeg (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.24) TIFF: build (ver 42 - 4.0.2) JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO GDCM: NO Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.4) FFMPEG: YES avcodec: YES (ver 56.60.100) avformat: YES (ver 56.40.101) avutil: YES (ver 54.31.100) swscale: YES (ver 3.1.101) avresample: NO GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO Aravis SDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: NO/YES XIMEA: NO Xine: NO gPhoto2: NO Parallel framework: pthreads Other third-party libraries: Use IPP: 9.0.1 [9.0.1] at: /opt/opencv/release/3rdparty/ippicv/ippicv_lnx Use IPP Async: NO Use VA: NO Use Intel VA-API/OpenCL: NO Use Lapack: NO Use Eigen: NO Use Cuda: YES (ver 8.0) Use OpenCL: YES Use OpenVX: NO Use custom HAL: NO NVIDIA CUDA Use CUFFT: YES Use CUBLAS: NO USE NVCUVID: NO NVIDIA GPU arch: 60 61 NVIDIA PTX archs: Use fast math: YES OpenCL: &lt;Dynamic loading of OpenCL library&gt; Include path: /opt/opencv/3rdparty/include/opencl/1.2 Use AMDFFT: NO Use AMDBLAS: NO 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/lib/python2.7/dist-packages/numpy/core/include (ver 1.11.0) packages path: lib/python2.7/dist-packages Python 3: Interpreter: /usr/bin/python3 (ver 3.5.2) Python (for build): /usr/bin/python2.7 Java: ant: NO JNI: NO Java wrappers: NO Java tests: NO Matlab: Matlab not found or implicitly disabled Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: NO Install path: /usr/local cvconfig.h is in: /opt/opencv/release ----------------------------------------------------------------- Configuring done"><pre class="notranslate"><code class="notranslate">Detected version of GNU GCC: 54 (504) FP16: Feature disabled Checking for module 'gtk+-3.0' No package 'gtk+-3.0' found Checking for module 'gstreamer-base-1.0' No package 'gstreamer-base-1.0' found Checking for module 'gstreamer-video-1.0' No package 'gstreamer-video-1.0' found Checking for module 'gstreamer-app-1.0' No package 'gstreamer-app-1.0' found Checking for module 'gstreamer-riff-1.0' No package 'gstreamer-riff-1.0' found Checking for module 'gstreamer-pbutils-1.0' No package 'gstreamer-pbutils-1.0' found Checking for module 'gstreamer-base-0.10' No package 'gstreamer-base-0.10' found Checking for module 'gstreamer-video-0.10' No package 'gstreamer-video-0.10' found Checking for module 'gstreamer-app-0.10' No package 'gstreamer-app-0.10' found Checking for module 'gstreamer-riff-0.10' No package 'gstreamer-riff-0.10' found Checking for module 'gstreamer-pbutils-0.10' No package 'gstreamer-pbutils-0.10' 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 IPP (ICV version): 9.0.1 [9.0.1] at: /opt/opencv/release/3rdparty/ippicv/ippicv_lnx CUDA detected: 8.0 CUDA NVCC target flags: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) 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: NO Protobuf: NO Glog: NO freetype2: YES harfbuzz: YES Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags freetype2: YES harfbuzz: YES Checking for modules 'tesseract;lept' No package 'tesseract' found No package 'lept' found Tesseract: NO Check contents of vgg_generated_48.i ... Check contents of vgg_generated_64.i ... Check contents of vgg_generated_80.i ... Check contents of vgg_generated_120.i ... Check contents of boostdesc_bgm.i ... Check contents of boostdesc_bgm_bi.i ... Check contents of boostdesc_bgm_hd.i ... Check contents of boostdesc_binboost_064.i ... Check contents of boostdesc_binboost_128.i ... Check contents of boostdesc_binboost_256.i ... Check contents of boostdesc_lbgm.i ... General configuration for OpenCV 3.2.0 ===================================== Version control: 3.2.0 Extra modules: Location (extra): /opt/opencv_contrib/modules Version control (extra): 3.2.0 Platform: Timestamp: 2017-01-20T07:13:04Z Host: Linux 4.4.0-31-generic x86_64 CMake: 3.5.1 CMake generator: Unix Makefiles CMake build tool: /usr/bin/make Configuration: Release 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 -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -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 -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -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 -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -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 -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG Linker flags (Release): Linker flags (Debug): ccache: NO Precompiled headers: YES Extra dependencies: /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjasper.so gtk-x11-2.0 gdk-x11-2.0 pangocairo-1.0 atk-1.0 cairo gdk_pixbuf-2.0 gio-2.0 pangoft2-1.0 pango-1.0 gobject-2.0 glib-2.0 fontconfig freetype gthread-2.0 dc1394 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg dl m pthread rt cudart nppc nppi npps cufft -L/usr/local/cuda/lib64 3rdparty dependencies: libwebp libpng libtiff libjpeg IlmImf libprotobuf OpenCV modules: To be built: cudev core cudaarithm flann imgproc ml reg surface_matching video cudabgsegm cudafilters cudaimgproc cudawarping dnn freetype fuzzy imgcodecs photo shape videoio cudacodec highgui objdetect plot ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo datasets rgbd stereo superres tracking videostab xfeatures2d ximgproc aruco optflow phase_unwrapping stitching structured_light python2 Disabled: world contrib_world Disabled by dependency: - Unavailable: java python3 viz cnn_3dobj cvv hdf matlab sfm GUI: QT: NO GTK+ 2.x: YES (ver 2.24.30) GThread : YES (ver 2.48.1) GtkGlExt: NO OpenGL support: NO VTK support: NO Media I/O: ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8) JPEG: libjpeg (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.24) TIFF: build (ver 42 - 4.0.2) JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO GDCM: NO Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.4) FFMPEG: YES avcodec: YES (ver 56.60.100) avformat: YES (ver 56.40.101) avutil: YES (ver 54.31.100) swscale: YES (ver 3.1.101) avresample: NO GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO Aravis SDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: NO/YES XIMEA: NO Xine: NO gPhoto2: NO Parallel framework: pthreads Other third-party libraries: Use IPP: 9.0.1 [9.0.1] at: /opt/opencv/release/3rdparty/ippicv/ippicv_lnx Use IPP Async: NO Use VA: NO Use Intel VA-API/OpenCL: NO Use Lapack: NO Use Eigen: NO Use Cuda: YES (ver 8.0) Use OpenCL: YES Use OpenVX: NO Use custom HAL: NO NVIDIA CUDA Use CUFFT: YES Use CUBLAS: NO USE NVCUVID: NO NVIDIA GPU arch: 60 61 NVIDIA PTX archs: Use fast math: YES OpenCL: &lt;Dynamic loading of OpenCL library&gt; Include path: /opt/opencv/3rdparty/include/opencl/1.2 Use AMDFFT: NO Use AMDBLAS: NO 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/lib/python2.7/dist-packages/numpy/core/include (ver 1.11.0) packages path: lib/python2.7/dist-packages Python 3: Interpreter: /usr/bin/python3 (ver 3.5.2) Python (for build): /usr/bin/python2.7 Java: ant: NO JNI: NO Java wrappers: NO Java tests: NO Matlab: Matlab not found or implicitly disabled Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: NO Install path: /usr/local cvconfig.h is in: /opt/opencv/release ----------------------------------------------------------------- Configuring done </code></pre></div> <p dir="auto">what is wrong?</p>
0
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.8.10</p> <p dir="auto"><strong>Code</strong></p> <p dir="auto">This snippet will throw the error "neither type is assignable to each other, <code class="notranslate">property</code> is missing"</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface IMyInterface { func(num: number): void; property: boolean; } let myObj: IMyInterface; let otherObj = { func(): void {} }; myObj = &lt;IMyInterface&gt;otherObj;"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">IMyInterface</span> <span class="pl-kos">{</span> <span class="pl-c1">func</span><span class="pl-kos">(</span><span class="pl-s1">num</span>: <span class="pl-smi">number</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-c1">property</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">myObj</span>: <span class="pl-smi">IMyInterface</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">otherObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">func</span><span class="pl-kos">(</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-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">myObj</span> <span class="pl-c1">=</span> <span class="pl-kos">&lt;</span><span class="pl-smi">IMyInterface</span><span class="pl-kos">&gt;</span><span class="pl-s1">otherObj</span><span class="pl-kos">;</span></pre></div> <p dir="auto">but when adding a parameter to our method the error will dissapear</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface IMyInterface { func(num: number): void; property: boolean; } let myObj: IMyInterface; let otherObj = { func(num): void {} }; myObj = &lt;IMyInterface&gt;otherObj;"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">IMyInterface</span> <span class="pl-kos">{</span> <span class="pl-c1">func</span><span class="pl-kos">(</span><span class="pl-s1">num</span>: <span class="pl-smi">number</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-c1">property</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">myObj</span>: <span class="pl-smi">IMyInterface</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">otherObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">func</span><span class="pl-kos">(</span><span class="pl-s1">num</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-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">myObj</span> <span class="pl-c1">=</span> <span class="pl-kos">&lt;</span><span class="pl-smi">IMyInterface</span><span class="pl-kos">&gt;</span><span class="pl-s1">otherObj</span><span class="pl-kos">;</span></pre></div> <p dir="auto">also fixing what the error complains about will remove the error, but I shouldn't need to add <code class="notranslate">property</code> when already asserting the type:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface IMyInterface { func(num: number): void; property: boolean; } let myObj: IMyInterface; let otherObj = { func(): void {}, property: false }; myObj = &lt;IMyInterface&gt;otherObj;"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">IMyInterface</span> <span class="pl-kos">{</span> <span class="pl-c1">func</span><span class="pl-kos">(</span><span class="pl-s1">num</span>: <span class="pl-smi">number</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-c1">property</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">myObj</span>: <span class="pl-smi">IMyInterface</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">otherObj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">func</span><span class="pl-kos">(</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-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">property</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">myObj</span> <span class="pl-c1">=</span> <span class="pl-kos">&lt;</span><span class="pl-smi">IMyInterface</span><span class="pl-kos">&gt;</span><span class="pl-s1">otherObj</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> No error message</p> <p dir="auto"><strong>Actual behavior:</strong><br> An error message is thrown</p>
<p dir="auto">I would like to know if there are any plans to refactor lib.d.ts (and subsequent definitions) to declare interfaces for static implementations, thus allowing custom static bindings for existing Objects.</p> <p dir="auto">i.e.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface _Object { is(value1: any, value2: any): boolean; } declare var Object: _Object;"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">_Object</span> <span class="pl-kos">{</span> <span class="pl-c1">is</span><span class="pl-kos">(</span><span class="pl-s1">value1</span>: <span class="pl-smi">any</span><span class="pl-kos">,</span> <span class="pl-s1">value2</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">declare</span> <span class="pl-k">var</span> <span class="pl-smi">Object</span>: <span class="pl-smi">_Object</span><span class="pl-kos">;</span></pre></div> <p dir="auto">instead of</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare var Object: { is(value1: any, value2: any): boolean; }"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">var</span> <span class="pl-smi">Object</span>: <span class="pl-kos">{</span> <span class="pl-c1">is</span><span class="pl-kos">(</span><span class="pl-s1">value1</span>: <span class="pl-smi">any</span><span class="pl-kos">,</span> <span class="pl-s1">value2</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Full problem here: <a href="http://stackoverflow.com/questions/27144550/typescript-static-interface-binding" rel="nofollow">http://stackoverflow.com/questions/27144550/typescript-static-interface-binding</a></p>
0
<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> <p dir="auto">I think h100 support fp8. And it is actually inside cuda12.1. Is there ant plan to support this datatype?</p>
<p dir="auto">So <code class="notranslate">vmap</code> looks awesome and I'd like to use it everywhere I possibly can. However it looks like it's not really compatible with stax, and in particular convolutions.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from functools import partial import jax.numpy as np from jax import random, vmap from jax.experimental.stax import Conv, GeneralConv net_init, net_apply = Conv(32, (3, 3), padding='SAME') in_shape = (28, 28, 1) out_shape, net_params = net_init(random.PRNGKey(0), in_shape) # Apply network to dummy inputs inputs = np.zeros((128, 28, 28, 1)) predictions = vmap(partial(net_apply, net_params))(inputs) print(predictions.shape)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">functools</span> <span class="pl-k">import</span> <span class="pl-s1">partial</span> <span class="pl-k">import</span> <span class="pl-s1">jax</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">jax</span> <span class="pl-k">import</span> <span class="pl-s1">random</span>, <span class="pl-s1">vmap</span> <span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">experimental</span>.<span class="pl-s1">stax</span> <span class="pl-k">import</span> <span class="pl-v">Conv</span>, <span class="pl-v">GeneralConv</span> <span class="pl-s1">net_init</span>, <span class="pl-s1">net_apply</span> <span class="pl-c1">=</span> <span class="pl-v">Conv</span>(<span class="pl-c1">32</span>, (<span class="pl-c1">3</span>, <span class="pl-c1">3</span>), <span class="pl-s1">padding</span><span class="pl-c1">=</span><span class="pl-s">'SAME'</span>) <span class="pl-s1">in_shape</span> <span class="pl-c1">=</span> (<span class="pl-c1">28</span>, <span class="pl-c1">28</span>, <span class="pl-c1">1</span>) <span class="pl-s1">out_shape</span>, <span class="pl-s1">net_params</span> <span class="pl-c1">=</span> <span class="pl-en">net_init</span>(<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">0</span>), <span class="pl-s1">in_shape</span>) <span class="pl-c"># Apply network to dummy inputs</span> <span class="pl-s1">inputs</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">128</span>, <span class="pl-c1">28</span>, <span class="pl-c1">28</span>, <span class="pl-c1">1</span>)) <span class="pl-s1">predictions</span> <span class="pl-c1">=</span> <span class="pl-en">vmap</span>(<span class="pl-en">partial</span>(<span class="pl-s1">net_apply</span>, <span class="pl-s1">net_params</span>))(<span class="pl-s1">inputs</span>) <span class="pl-en">print</span>(<span class="pl-s1">predictions</span>.<span class="pl-s1">shape</span>)</pre></div> <p dir="auto">gives an error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- IndexError Traceback (most recent call last) ~/nu/skainswo/research/gan_with_the_wind/vae.py in &lt;module&gt; 13 14 in_shape = (28, 28, 1) ---&gt; 15 out_shape, net_params = net_init(random.PRNGKey(0), in_shape) 16 17 # Apply network to dummy inputs ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/experimental/stax.py in init_fun(rng, input_shape) 112 kernel_shape = [out_chan if c == 'O' else 113 input_shape[lhs_spec.index('C')] if c == 'I' else --&gt; 114 next(filter_shape_iter) for c in rhs_spec] 115 output_shape = lax.conv_general_shape_tuple( 116 input_shape, kernel_shape, strides, padding, dimension_numbers) ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/experimental/stax.py in &lt;listcomp&gt;(.0) 112 kernel_shape = [out_chan if c == 'O' else 113 input_shape[lhs_spec.index('C')] if c == 'I' else --&gt; 114 next(filter_shape_iter) for c in rhs_spec] 115 output_shape = lax.conv_general_shape_tuple( 116 input_shape, kernel_shape, strides, padding, dimension_numbers) IndexError: tuple index out of range"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- IndexError Traceback (most recent call last) ~/nu/skainswo/research/gan_with_the_wind/vae.py in &lt;module&gt; 13 14 in_shape = (28, 28, 1) ---&gt; 15 out_shape, net_params = net_init(random.PRNGKey(0), in_shape) 16 17 # Apply network to dummy inputs ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/experimental/stax.py in init_fun(rng, input_shape) 112 kernel_shape = [out_chan if c == 'O' else 113 input_shape[lhs_spec.index('C')] if c == 'I' else --&gt; 114 next(filter_shape_iter) for c in rhs_spec] 115 output_shape = lax.conv_general_shape_tuple( 116 input_shape, kernel_shape, strides, padding, dimension_numbers) ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/experimental/stax.py in &lt;listcomp&gt;(.0) 112 kernel_shape = [out_chan if c == 'O' else 113 input_shape[lhs_spec.index('C')] if c == 'I' else --&gt; 114 next(filter_shape_iter) for c in rhs_spec] 115 output_shape = lax.conv_general_shape_tuple( 116 input_shape, kernel_shape, strides, padding, dimension_numbers) IndexError: tuple index out of range </code></pre></div> <p dir="auto">which makes some sense based on the <code class="notranslate">dimension_numbers</code> in the definition here: <a href="https://github.com/google/jax/blob/master/jax/experimental/stax.py#L127">https://github.com/google/jax/blob/master/jax/experimental/stax.py#L127</a>. But using</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="net_init, net_apply = GeneralConv((&quot;HWC&quot;, &quot;HWIO&quot;, &quot;HWC&quot;), 32, (3, 3))"><pre class="notranslate"><span class="pl-s1">net_init</span>, <span class="pl-s1">net_apply</span> <span class="pl-c1">=</span> <span class="pl-v">GeneralConv</span>((<span class="pl-s">"HWC"</span>, <span class="pl-s">"HWIO"</span>, <span class="pl-s">"HWC"</span>), <span class="pl-c1">32</span>, (<span class="pl-c1">3</span>, <span class="pl-c1">3</span>))</pre></div> <p dir="auto">doesn't work either:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~/nu/skainswo/research/gan_with_the_wind/vae.py in &lt;module&gt; 13 14 in_shape = (28, 28, 1) ---&gt; 15 out_shape, net_params = net_init(random.PRNGKey(0), in_shape) 16 17 # Apply network to dummy inputs ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/experimental/stax.py in init_fun(rng, input_shape) 114 next(filter_shape_iter) for c in rhs_spec] 115 output_shape = lax.conv_general_shape_tuple( --&gt; 116 input_shape, kernel_shape, strides, padding, dimension_numbers) 117 bias_shape = [out_chan if c == 'C' else 1 for c in out_spec] 118 bias_shape = tuple(itertools.dropwhile(lambda x: x == 1, bias_shape)) ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/lax/lax.py in conv_general_shape_tuple(lhs_shape, rhs_shape, window_strides, padding, dimension_numbers) 3858 def conv_general_shape_tuple(lhs_shape, rhs_shape, window_strides, padding, 3859 dimension_numbers): -&gt; 3860 lhs_perm, rhs_perm, out_perm = conv_general_permutations(dimension_numbers) 3861 lhs_trans = onp.take(lhs_shape, lhs_perm) 3862 rhs_trans = onp.take(rhs_shape, rhs_perm) ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/lax/lax.py in conv_general_permutations(dimension_numbers) 4002 msg = (&quot;convolution dimension_numbers[{}] must contain the characters &quot; 4003 &quot;'{}' and '{}' exatly once, got {}.&quot;) -&gt; 4004 raise TypeError(msg.format(i, a, b, dimension_numbers[i])) 4005 if len(dimension_numbers[i]) != len(set(dimension_numbers[i])): 4006 msg = (&quot;convolution dimension_numbers[{}] cannot have duplicate &quot; TypeError: convolution dimension_numbers[0] must contain the characters 'N' and 'C' exatly once, got HWC."><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~/nu/skainswo/research/gan_with_the_wind/vae.py in &lt;module&gt; 13 14 in_shape = (28, 28, 1) ---&gt; 15 out_shape, net_params = net_init(random.PRNGKey(0), in_shape) 16 17 # Apply network to dummy inputs ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/experimental/stax.py in init_fun(rng, input_shape) 114 next(filter_shape_iter) for c in rhs_spec] 115 output_shape = lax.conv_general_shape_tuple( --&gt; 116 input_shape, kernel_shape, strides, padding, dimension_numbers) 117 bias_shape = [out_chan if c == 'C' else 1 for c in out_spec] 118 bias_shape = tuple(itertools.dropwhile(lambda x: x == 1, bias_shape)) ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/lax/lax.py in conv_general_shape_tuple(lhs_shape, rhs_shape, window_strides, padding, dimension_numbers) 3858 def conv_general_shape_tuple(lhs_shape, rhs_shape, window_strides, padding, 3859 dimension_numbers): -&gt; 3860 lhs_perm, rhs_perm, out_perm = conv_general_permutations(dimension_numbers) 3861 lhs_trans = onp.take(lhs_shape, lhs_perm) 3862 rhs_trans = onp.take(rhs_shape, rhs_perm) ~/.local/share/virtualenvs/research-OGGq2tNy/lib/python3.7/site-packages/jax/lax/lax.py in conv_general_permutations(dimension_numbers) 4002 msg = ("convolution dimension_numbers[{}] must contain the characters " 4003 "'{}' and '{}' exatly once, got {}.") -&gt; 4004 raise TypeError(msg.format(i, a, b, dimension_numbers[i])) 4005 if len(dimension_numbers[i]) != len(set(dimension_numbers[i])): 4006 msg = ("convolution dimension_numbers[{}] cannot have duplicate " TypeError: convolution dimension_numbers[0] must contain the characters 'N' and 'C' exatly once, got HWC. </code></pre></div>
0
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1226" rel="nofollow">http://projects.scipy.org/numpy/ticket/1226</a> on 2009-09-18 by trac user jloper, assigned to unknown.</em></p> <blockquote> <p dir="auto">array(2**32,int32)<br> OverflowError</p> <p dir="auto">array(2*_30,int32)_4<br> 0</p> </blockquote> <p dir="auto">oh it would just make me so happy if these two commands COULD have the same output. just a little flag somewhere. a little "i love overflow errors" flag. Just for me.</p>
<p dir="auto">Simple demo:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: np.uint8(0) - np.uint8(1) RuntimeWarning: overflow encountered in ubyte_scalars Out[1]: 255 In [2]: np.uint8(0)[...] - np.uint8(1)[...] Out[2]: 255"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">np</span>.<span class="pl-en">uint8</span>(<span class="pl-c1">0</span>) <span class="pl-c1">-</span> <span class="pl-s1">np</span>.<span class="pl-en">uint8</span>(<span class="pl-c1">1</span>) <span class="pl-v">RuntimeWarning</span>: <span class="pl-s1">overflow</span> <span class="pl-s1">encountered</span> <span class="pl-c1">in</span> <span class="pl-s1">ubyte_scalars</span> <span class="pl-v">Out</span>[<span class="pl-c1">1</span>]: <span class="pl-c1">255</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">np</span>.<span class="pl-en">uint8</span>(<span class="pl-c1">0</span>)[...] <span class="pl-c1">-</span> <span class="pl-s1">np</span>.<span class="pl-en">uint8</span>(<span class="pl-c1">1</span>)[...] <span class="pl-v">Out</span>[<span class="pl-c1">2</span>]: <span class="pl-c1">255</span></pre></div> <p dir="auto">Should we even warn at all for unsigned integers?</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.1</li> <li>Operating System version: windows</li> <li>Java version: 1.8.212</li> </ul> <p dir="auto">开始得几次是正常的,我的服务器上大概是40次连续请求,然后就无法再次调用</p> <p dir="auto">2019-05-10 12:52:56.375 o.a.d.r.t.DecodeHandler DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] [DUBBO] Decode decodeable message org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation, dubbo version: 2.7.1, current host: 172.16.4.120<br> 2019-05-10 12:52:56.375 o.s.j.d.DataSourceTransactionManager DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] Creating new transaction with name [org.magicwall.datasheet.service.DatasheetServiceImpl.listByClassify]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT<br> 2019-05-10 12:52:56.379 o.s.j.d.DataSourceTransactionManager DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] Acquired Connection [ProxyConnection[PooledConnection[com.mysql.cj.jdbc.ConnectionImpl@6c29ea64]]] for JDBC transaction<br> 2019-05-10 12:52:56.379 o.s.j.d.DataSourceTransactionManager DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] Switching JDBC Connection [ProxyConnection[PooledConnection[com.mysql.cj.jdbc.ConnectionImpl@6c29ea64]]] to manual commit<br> 2019-05-10 12:52:56.383 o.s.t.s.TransactionSynchronizationManager DubboServerHandler-172.16.4.120:32001-thread-5 [TRACE] Bound value [org.springframework.jdbc.datasource.ConnectionHolder@292b6985] for key [org.apache.tomcat.jdbc.pool.DataSource@5697c657{ConnectionPool[defaultAutoCommit=true; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.mysql.cj.jdbc.Driver; maxActive=255; maxIdle=10; minIdle=5; initialSize=10; maxWait=30000; testOnBorrow=true; testOnReturn=false; timeBetweenEvictionRunsMillis=-1; numTestsPerEvictionRun=3; minEvictableIdleTimeMillis=1800000; testWhileIdle=true; testOnConnect=false; password=<strong>; url=jdbc:mysql://db:3306/datasheet?useUnicode=true&amp;characterEncoding=utf-8&amp;useSSL=false&amp;serverTimezone=CST; username=horee; validationQuery=select 1; validationQueryTimeout=-1; validatorClassName=null; validationInterval=30000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=true; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; }] to thread [DubboServerHandler-172.16.4.120:32001-thread-5]<br> 2019-05-10 12:52:56.383 o.s.t.s.TransactionSynchronizationManager DubboServerHandler-172.16.4.120:32001-thread-5 [TRACE] Initializing transaction synchronization<br> 2019-05-10 12:52:56.383 o.s.t.i.TransactionInterceptor DubboServerHandler-172.16.4.120:32001-thread-5 [TRACE] Getting transaction for [org.magicwall.datasheet.service.DatasheetServiceImpl.listByClassify]<br> 2019-05-10 12:52:56.384 o.s.t.s.TransactionSynchronizationManager DubboServerHandler-172.16.4.120:32001-thread-5 [TRACE] Retrieved value [org.springframework.jdbc.datasource.ConnectionHolder@292b6985] for key [org.apache.tomcat.jdbc.pool.DataSource@5697c657{ConnectionPool[defaultAutoCommit=true; defaultReadOnly=null; defaultTransactionIsolation=-1; defaultCatalog=null; driverClassName=com.mysql.cj.jdbc.Driver; maxActive=255; maxIdle=10; minIdle=5; initialSize=10; maxWait=30000; testOnBorrow=true; testOnReturn=false; timeBetweenEvictionRunsMillis=-1; numTestsPerEvictionRun=3; minEvictableIdleTimeMillis=1800000; testWhileIdle=true; testOnConnect=false; password=</strong>; url=jdbc:mysql://db:3306/datasheet?useUnicode=true&amp;characterEncoding=utf-8&amp;useSSL=false&amp;serverTimezone=CST; username=horee; validationQuery=select 1; validationQueryTimeout=-1; validatorClassName=null; validationInterval=30000; accessToUnderlyingConnectionAllowed=true; removeAbandoned=true; removeAbandonedTimeout=60; logAbandoned=false; connectionProperties=null; initSQL=null; jdbcInterceptors=null; jmxEnabled=true; fairQueue=true; useEquals=true; abandonWhenPercentageFull=0; maxAge=0; useLock=false; dataSource=null; dataSourceJNDI=null; suspectTimeout=0; alternateUsernameAllowed=false; commitOnReturn=false; rollbackOnReturn=false; useDisposableConnectionFacade=true; logValidationErrors=false; propagateInterruptState=false; ignoreExceptionOnPreLoad=false; useStatementFacade=true; }] bound to thread [DubboServerHandler-172.16.4.120:32001-thread-5]<br> 2019-05-10 12:52:56.384 o.s.j.d.DataSourceTransactionManager DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] Participating in existing transaction<br> 2019-05-10 12:52:56.384 o.s.t.i.TransactionInterceptor DubboServerHandler-172.16.4.120:32001-thread-5 [TRACE] Getting transaction for [org.magicwall.datasheet.service.DatasheetServiceImpl.listByClassify]<br> 2019-05-10 12:52:56.384 o.m.s.SqlSessionUtils DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] Creating a new SqlSession<br> 2019-05-10 12:52:56.384 o.m.s.SqlSessionUtils DubboServerHandler-172.16.4.120:32001-thread-5 [DEBUG] Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@43989495]<br> 2019-05-10 12:52:56.384 o.s.t.s.TransactionSynchronizationManager DubboServerHandler-172.16.4.120:32001-thread-5 [TRACE] Bound value [org.mybatis.spring.SqlSessionHolder@184804cb] for key [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory@3c93e836] to thread [DubboServerHandler-172.16.4.120:32001-thread-5]<br> 2019-05-10 12:53:44.694 o.a.d.r.e.s.h.HeartbeatHandler NettyServerWorker-5-1 [DEBUG] [DUBBO] Received heartbeat from remote channel /172.16.4.120:52106, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.7.1, current host: 172.16.4.120</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li> <p dir="auto">Dubbo version: 2.7.7-SNAPSHOT I build dubbo source locally <code class="notranslate">mvn clean source:jar install -Dmaven.test.skip</code></p> </li> <li> <p dir="auto">Operating System version: OSX</p> </li> <li> <p dir="auto">Java version: oracle 1.8.0_231</p> </li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>clone <a href="https://github.com/xiantang/dubbo-demo">https://github.com/xiantang/dubbo-demo</a></li> <li>clone <a href="https://github.com/apache/dubbo">https://github.com/apache/dubbo</a></li> <li>use remote debug</li> <li>my provider.xml is below:</li> </ol> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;dubbo:protocol name=&quot;dubbo&quot; port=&quot;20880&quot; serialization=&quot;fastjson&quot;/&gt;"><pre class="notranslate"> &lt;<span class="pl-ent">dubbo</span><span class="pl-ent">:</span><span class="pl-ent">protocol</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>dubbo<span class="pl-pds">"</span></span> <span class="pl-e">port</span>=<span class="pl-s"><span class="pl-pds">"</span>20880<span class="pl-pds">"</span></span> <span class="pl-e">serialization</span>=<span class="pl-s"><span class="pl-pds">"</span>fastjson<span class="pl-pds">"</span></span>/&gt;</pre></div> <p dir="auto">but when i try to debug is the serializationType will be 2 which is hessian2 serialize tool</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/d743149c423882b639a63e8da133adc6c9ac0474ce5fc7d762305dcdda737905/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303833317253546c79316763756f6c7a676775756a33316d7530626d7768342e6a7067"><img src="https://camo.githubusercontent.com/d743149c423882b639a63e8da133adc6c9ac0474ce5fc7d762305dcdda737905/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303833317253546c79316763756f6c7a676775756a33316d7530626d7768342e6a7067" alt="" data-canonical-src="https://tva1.sinaimg.cn/large/00831rSTly1gcuolzgguuj31mu0bmwh4.jpg" style="max-width: 100%;"></a></p> <p dir="auto">but my consumer log is below:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9460cb217ec43ae353aa075149f65b403fd722014e8aad81b4e3f1f762b4d193/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303833317253546c79316763756f6e6b3872776f6a333234713064367771352e6a7067"><img src="https://camo.githubusercontent.com/9460cb217ec43ae353aa075149f65b403fd722014e8aad81b4e3f1f762b4d193/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f30303833317253546c79316763756f6e6b3872776f6a333234713064367771352e6a7067" alt="" data-canonical-src="https://tva1.sinaimg.cn/large/00831rSTly1gcuonk8rwoj324q0d6wq5.jpg" style="max-width: 100%;"></a><br> I think it was a xml parse miss in Parser</p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
0
<h3 dir="auto">Describe the bug</h3> <p dir="auto">Hello everyone,</p> <p dir="auto">I am using SQLAlchemy 1.4 with Postgresql. I am trying to populate some tables with a large number of records, with some not conforming to expectations. I have been using the following syntax: <code class="notranslate">db.execute(insert(Table).values(records).on_conflict_do_nothing())</code> to resolve issues with duplicates.<br> However, as expected some of the records have issues of another nature and I want to skip them and retrieve them. I decided to use SAVEPOINTs (<code class="notranslate">begin_nested()</code>) and <code class="notranslate">rollback()</code>. This led to an error I am not able to resolve mentioned in the title: <code class="notranslate">"Can't reconnect until invalid savepoint transaction is rolled back"</code>.</p> <p dir="auto">In the code you will notice I am using a context manager for the save points, I would like to point out that I get the same error when using explicit rollbacks without a context manager.</p> <p dir="auto">Thank you for your time!</p> <h3 dir="auto">To Reproduce</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="engine = _sql.create_engine(DATABASE_URL) SessionLocal = _orm.sessionmaker(autocommit=False, autoflush=False, bind=engine) Base = _declarative.declarative_base() def get_session(): session = SessionLocal() try: yield session finally: db.close() def _bulk_insert(records: list, table, session): failed_records = [] try: with session.begin_nested() as transaction: transaction.session.execute(insert(table).values(records).on_conflict_do_nothing()) print(‘Bulk insert successful without any errors’) return failed_records except Exception: print(‘Failed to do general bulk insert, starting chunks...’) for chunk in np.array_split(records, 10): try: with session.begin_nested() as transaction: transaction.session.execute(insert(table).values(chunk.tolist()).on_conflict_do_nothing()) except Exception: failed_items.extend(chunk) if len(items) != len(failed_records) and len(failed_records)&gt;0: return _bulk_insert(failed_records, table, db) return failed_items"><pre class="notranslate"><span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-s1">_sql</span>.<span class="pl-en">create_engine</span>(<span class="pl-v">DATABASE_URL</span>) <span class="pl-v">SessionLocal</span> <span class="pl-c1">=</span> <span class="pl-s1">_orm</span>.<span class="pl-en">sessionmaker</span>(<span class="pl-s1">autocommit</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">autoflush</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-s1">engine</span>) <span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-s1">_declarative</span>.<span class="pl-en">declarative_base</span>() <span class="pl-k">def</span> <span class="pl-en">get_session</span>(): <span class="pl-s1">session</span> <span class="pl-c1">=</span> <span class="pl-v">SessionLocal</span>() <span class="pl-k">try</span>: <span class="pl-k">yield</span> <span class="pl-s1">session</span> <span class="pl-k">finally</span>: <span class="pl-s1">db</span>.<span class="pl-en">close</span>() <span class="pl-k">def</span> <span class="pl-en">_bulk_insert</span>(<span class="pl-s1">records</span>: <span class="pl-s1">list</span>, <span class="pl-s1">table</span>, <span class="pl-s1">session</span>): <span class="pl-s1">failed_records</span> <span class="pl-c1">=</span> [] <span class="pl-k">try</span>: <span class="pl-k">with</span> <span class="pl-s1">session</span>.<span class="pl-en">begin_nested</span>() <span class="pl-k">as</span> <span class="pl-s1">transaction</span>: <span class="pl-s1">transaction</span>.<span class="pl-s1">session</span>.<span class="pl-en">execute</span>(<span class="pl-en">insert</span>(<span class="pl-s1">table</span>).<span class="pl-en">values</span>(<span class="pl-s1">records</span>).<span class="pl-en">on_conflict_do_nothing</span>()) <span class="pl-en">print</span>(‘<span class="pl-v">Bulk</span> <span class="pl-s1">insert</span> <span class="pl-s1">successful</span> <span class="pl-s1">without</span> <span class="pl-s1">any</span> <span class="pl-s1">errors</span>’) <span class="pl-k">return</span> <span class="pl-s1">failed_records</span> <span class="pl-k">except</span> <span class="pl-v">Exception</span>: <span class="pl-en">print</span>(‘<span class="pl-v">Failed</span> <span class="pl-s1">to</span> <span class="pl-s1">do</span> <span class="pl-s1">general</span> <span class="pl-s1">bulk</span> <span class="pl-s1">insert</span>, <span class="pl-s1">starting</span> <span class="pl-s1">chunks</span>...’) <span class="pl-k">for</span> <span class="pl-s1">chunk</span> <span class="pl-c1">in</span> <span class="pl-s1">np</span>.<span class="pl-en">array_split</span>(<span class="pl-s1">records</span>, <span class="pl-c1">10</span>): <span class="pl-k">try</span>: <span class="pl-k">with</span> <span class="pl-s1">session</span>.<span class="pl-en">begin_nested</span>() <span class="pl-k">as</span> <span class="pl-s1">transaction</span>: <span class="pl-s1">transaction</span>.<span class="pl-s1">session</span>.<span class="pl-en">execute</span>(<span class="pl-en">insert</span>(<span class="pl-s1">table</span>).<span class="pl-en">values</span>(<span class="pl-s1">chunk</span>.<span class="pl-en">tolist</span>()).<span class="pl-en">on_conflict_do_nothing</span>()) <span class="pl-k">except</span> <span class="pl-v">Exception</span>: <span class="pl-s1">failed_items</span>.<span class="pl-en">extend</span>(<span class="pl-s1">chunk</span>) <span class="pl-k">if</span> <span class="pl-en">len</span>(<span class="pl-s1">items</span>) <span class="pl-c1">!=</span> <span class="pl-en">len</span>(<span class="pl-s1">failed_records</span>) <span class="pl-c1">and</span> <span class="pl-en">len</span>(<span class="pl-s1">failed_records</span>)<span class="pl-c1">&gt;</span><span class="pl-c1">0</span>: <span class="pl-k">return</span> <span class="pl-en">_bulk_insert</span>(<span class="pl-s1">failed_records</span>, <span class="pl-s1">table</span>, <span class="pl-s1">db</span>) <span class="pl-k">return</span> <span class="pl-s1">failed_items</span></pre></div> <h3 dir="auto">Error</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Can't reconnect until invalid savepoint transaction is rolled back. (Background on this error at: http://sqlalche.me/e/14/8s2b)"><pre class="notranslate"><code class="notranslate">Can't reconnect until invalid savepoint transaction is rolled back. (Background on this error at: http://sqlalche.me/e/14/8s2b) </code></pre></div> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>OS: MacOS 12.4</li> <li>Python: 3.9.1</li> <li>SQLAlchemy: 1.4</li> <li>Database: PostgreSQL</li> <li>DBAPI (eg: psycopg, cx_oracle, mysqlclient): psycopg</li> </ul> <h3 dir="auto">Additional context</h3> <p dir="auto"><em>No response</em></p>
<h3 dir="auto">Describe the use case</h3> <p dir="auto">Allow the UPDATE-FROM syntax with sqlite instead of raising <code class="notranslate">NotImplementedError</code>.</p> <h3 dir="auto">Databases / Backends / Drivers targeted</h3> <p dir="auto">SQLite version &gt;= 3.33.0<br> This is available in the standard library sqlite3 in Python 3.8.7, 3.9.1, and 3.10, or in the pysqlite3 package.</p> <h3 dir="auto">Example Use</h3> <div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="UPDATE inventory SET quantity = quantity - daily.amt FROM (SELECT sum(quantity) AS amt, itemId FROM sales GROUP BY 2) AS daily WHERE inventory.itemId = daily.itemId;"><pre class="notranslate"><span class="pl-k">UPDATE</span> inventory <span class="pl-k">SET</span> quantity <span class="pl-k">=</span> quantity <span class="pl-k">-</span> <span class="pl-c1">daily</span>.<span class="pl-c1">amt</span> <span class="pl-k">FROM</span> (<span class="pl-k">SELECT</span> <span class="pl-c1">sum</span>(quantity) <span class="pl-k">AS</span> amt, itemId <span class="pl-k">FROM</span> sales <span class="pl-k">GROUP BY</span> <span class="pl-c1">2</span>) <span class="pl-k">AS</span> daily <span class="pl-k">WHERE</span> <span class="pl-c1">inventory</span>.<span class="pl-c1">itemId</span> <span class="pl-k">=</span> <span class="pl-c1">daily</span>.<span class="pl-c1">itemId</span>;</pre></div> <h3 dir="auto">Additional context</h3> <p dir="auto">The SQLite UPDATE-FROM syntax is supposed to be compatible with PostgreSQL.<br> <a href="https://sqlite.org/lang_update.html" rel="nofollow">https://sqlite.org/lang_update.html</a><br> I found that copying <code class="notranslate">update_from_clause</code> from <code class="notranslate">sqlalchemy.dialects.postgresql.base</code> to <code class="notranslate">sqlalchemy.dialects.sqlite.base</code> makes this work.</p>
0
<p dir="auto">Working on a relatively small TS web app project (roughly 10 source files), and got the following error after creating a file and typing some code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unable to send result to client. Unable to get completion info from TypeScript: Error: Debug Failure. False expression. at getCompletionEntryCodeActionsAndSourceDisplay (deno:cli/tsc/00_typescript.js:133230:22) at Object.getCompletionEntryDetails (deno:cli/tsc/00_typescript.js:133168:30) at Object.getCompletionEntryDetails (deno:cli/tsc/00_typescript.js:165282:35) at serverRequest (deno:cli/tsc/99_main_compiler.js:717:27) at [deno:cli\lsp\tsc.rs:3300:27]:1:12 [Error - 10:53:17 PM] Request completionItem/resolve failed. Message: Internal error Code: -32603 ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: windows x86_64 Version: 1.23.4 Args: [&quot;C:\\ProgramData\\chocolatey\\lib\\deno\\deno.exe&quot;, &quot;lsp&quot;] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(&quot;invalid value: 3, expected one of: 0, 1, 2, 4, 8, 16, 32&quot;, line: 0, column: 0)', cli\lsp\tsc.rs:153:54 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [Error - 10:53:27 PM] The Deno Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information."><pre class="notranslate"><code class="notranslate">Unable to send result to client. Unable to get completion info from TypeScript: Error: Debug Failure. False expression. at getCompletionEntryCodeActionsAndSourceDisplay (deno:cli/tsc/00_typescript.js:133230:22) at Object.getCompletionEntryDetails (deno:cli/tsc/00_typescript.js:133168:30) at Object.getCompletionEntryDetails (deno:cli/tsc/00_typescript.js:165282:35) at serverRequest (deno:cli/tsc/99_main_compiler.js:717:27) at [deno:cli\lsp\tsc.rs:3300:27]:1:12 [Error - 10:53:17 PM] Request completionItem/resolve failed. Message: Internal error Code: -32603 ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: windows x86_64 Version: 1.23.4 Args: ["C:\\ProgramData\\chocolatey\\lib\\deno\\deno.exe", "lsp"] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid value: 3, expected one of: 0, 1, 2, 4, 8, 16, 32", line: 0, column: 0)', cli\lsp\tsc.rs:153:54 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [Error - 10:53:27 PM] The Deno Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. </code></pre></div> <p dir="auto">My .vscode/settings.json file just has the bare "deno.enable" set to <code class="notranslate">true</code>.<br> My Deno extension version is v3.13.1</p> <p dir="auto">Let me know if there's any more info you'd like me to provide.</p>
<h2 dir="auto">HMR</h2> <p dir="auto">A thing missing with Deno, is the possibility to implement hot module reloading. HMR is widely use in JS development but right now is not really possible to implement it properly with Deno. Would be great to have something like:</p> <ul dir="auto"> <li><code class="notranslate">Deno.hotModuleReload('./your_module.ts')</code></li> <li>or something to clear the module cache <code class="notranslate">Deno.clearCacheImport('./your_module.ts')</code></li> </ul> <p dir="auto">I started to try to implement the second solution, because it sound easier to me, but since I never develop with Rust before this weekend, it is not easy :p <a href="https://github.com/apiel/deno/pull/1/files">https://github.com/apiel/deno/pull/1/files</a> This still work in progress, I need to find a way to access the modules from ops <code class="notranslate">op_clear_cache_import</code>. (and of course need to unit test and clean up the code) By the way, I am scared that this proposal do not get accepted by the Deno team, anyhow I will still give a try.</p> <p dir="auto">Another option, would be to give us the possibility to provide our own module loader, but this would be much more complicated. Also I think your module loader is really great and much more efficient as it is written in Rust.</p> <h2 dir="auto">Mock</h2> <p dir="auto">Something amazing would be to include a way to mock module in Deno. Since there is nothing like Jest in Deno, it's very hard to mock our code unless we use DI, but not everybody is using this pattern. Would be great to have:</p> <ul dir="auto"> <li><code class="notranslate">Deno.mock('./your_module.ts', { here: () =&gt; the_mock })</code></li> <li><code class="notranslate">Deno.mockRestore('./your_module.ts')</code></li> </ul>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-target-elements-by-class-using-jquery?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22button%22%29.addClass%28%22animated%20bounce%22%29%3B%0A%20%20%20%20%24%28%22.text-primary%22%29.addClass%28%22animated%20shake%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Target Elements by Class Using jQuery</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;script&gt; $(document).ready(function() { $(&quot;button&quot;).addClass(&quot;animated bounce&quot;); $(&quot;.text-primary&quot;).addClass(&quot;animated shake&quot;); }); &lt;/script&gt; &lt;!-- Only change code above this line. --&gt; &lt;div class=&quot;container-fluid&quot;&gt; &lt;h3 class=&quot;text-primary text-center&quot;&gt;jQuery Playground&lt;/h3&gt; &lt;div class=&quot;row&quot;&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#left-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;left-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target1&quot;&gt;#target1&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target2&quot;&gt;#target2&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target3&quot;&gt;#target3&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;col-xs-6&quot;&gt; &lt;h4&gt;#right-well&lt;/h4&gt; &lt;div class=&quot;well&quot; id=&quot;right-well&quot;&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target4&quot;&gt;#target4&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target5&quot;&gt;#target5&lt;/button&gt; &lt;button class=&quot;btn btn-default target&quot; id=&quot;target6&quot;&gt;#target6&lt;/button&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"button"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">addClass</span><span class="pl-kos">(</span><span class="pl-s">"animated bounce"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">".text-primary"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">addClass</span><span class="pl-kos">(</span><span class="pl-s">"animated shake"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-c">&lt;!-- Only change code above this line. --&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">&gt;</span>jQuery Playground<span class="pl-kos">&lt;/</span><span class="pl-ent">h3</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#left-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">&gt;</span>#target1<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">&gt;</span>#target2<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">&gt;</span>#target3<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>#right-well<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">&gt;</span>#target4<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">&gt;</span>#target5<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">&gt;</span>#target6<span class="pl-kos">&lt;/</span><span class="pl-ent">button</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">Hi,<br> I have correct code in the first five jQuery waypoints. If I press control+enter, it still has multiple red Xs. However, if I press control+enter multiple times, it eventually detects the correct code and passes.</p>
1
<p dir="auto">Deno strives to be browser compatible where possible; that means we use quite a few Web APIs.</p> <p dir="auto">There is not much docs for supported Web APIs at the moment and before 1.0 is released that situation must change. Some of APIs and not fully aligned to spec, while others are not fully implemented (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="543332647" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/3557" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/3557/hovercard" href="https://github.com/denoland/deno/issues/3557">#3557</a>). All that knowledge should be written down and presented to end users to avoid multiple questions/bug reports about purposeful incompatibilities and/or missing implementations.</p>
<p dir="auto">I'm not sure if this is intentional, but much of the deno doc output is missing when using the default output format (not json).</p> <p dir="auto">For example, only the names of interfaces are displayed and not their functions:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/40340425/87925660-86857180-ca78-11ea-9190-fce7e0086d38.png"><img src="https://user-images.githubusercontent.com/40340425/87925660-86857180-ca78-11ea-9190-fce7e0086d38.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Deno version: <code class="notranslate">1.2.0</code>, Windows 10</p>
0
<p dir="auto">Atom should not open an "untitled" editor at startup.</p> <p dir="auto">It should either start with no open editors, or else start with the last open editor (especially where the last open editor was a folder).</p> <p dir="auto">Otherwise, if it starts with an "untitled" editor, one needs to first press CMD+Shift+W and then CMD+O to get where one wants.</p>
<p dir="auto">When Atom is opened, an "untitled" buffer is created. This makes sense.</p> <p dir="auto">However, most of the time, after opening Atom, I then proceed to opening the files I want to edit. At this point, the "untitled" tab remains open even if I haven't changed anything in it.</p> <p dir="auto">This is slightly annoying, because it means I have to close a tab that I never wanted in the beginning.</p>
1
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">nightly (1.9.0-dev.20160429)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface Factory&lt;T&gt; { (): T; mixin&lt;U&gt;(mixin: U): T &amp; U; } function compose&lt;T&gt;(base: T): Factory&lt;T&gt; { return; } const factory = compose({ foo() { return this; }, bar() { this.foo(); // &lt;-- properly contextual and literal union type return () =&gt; { return this; // &lt;-- type `any`, but should be same as outside the lambda }; } }); const foobar = { foo() { return this; }, bar() { return () =&gt; { return this; // &lt;-- correct object literal type }; } };"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">Factory</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-c1">mixin</span><span class="pl-c1">&lt;</span><span class="pl-smi">U</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">mixin</span>: <span class="pl-smi">U</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span> <span class="pl-c1">&amp;</span> <span class="pl-smi">U</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">compose</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">base</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span>: <span class="pl-smi">Factory</span><span class="pl-kos">&lt;</span><span class="pl-smi">T</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">factory</span> <span class="pl-c1">=</span> <span class="pl-en">compose</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> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">;</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-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</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> <span class="pl-c">// &lt;-- properly contextual and literal union type</span> <span class="pl-k">return</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;-- type `any`, but should be same as outside the lambda</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">const</span> <span class="pl-s1">foobar</span> <span class="pl-c1">=</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> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">;</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-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;-- correct object literal type</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong></p> <p dir="auto">That both references to <code class="notranslate">this</code> are typed the same.</p> <p dir="auto"><strong>Actual behavior:</strong></p> <p dir="auto">I am pretty sure this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="151696359" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/8356" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/8356/hovercard" href="https://github.com/microsoft/TypeScript/pull/8356">#8356</a>.</p> <p dir="auto">Outside of the lambda function in the first object literal, <code class="notranslate">this</code> is an intersection type of the object literal and the contextual type (which happen to be the same). In the second example, <code class="notranslate">this</code> is properly the object literal type including within the scope of the lambda function.</p>
<p dir="auto">On the docket</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130412950" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6784" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6784/hovercard" href="https://github.com/microsoft/TypeScript/issues/6784">#6784</a> - Destructuring a property of an optional property should be an error</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="129775713" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6723" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6723/hovercard" href="https://github.com/microsoft/TypeScript/issues/6723">#6723</a> - Allow separate outDir for declaration files</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="129279252" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6678" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6678/hovercard" href="https://github.com/microsoft/TypeScript/issues/6678">#6678</a> - Use <code class="notranslate">const</code> initializer to resolve tuple type indexing</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="129201313" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6649" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6649/hovercard" href="https://github.com/microsoft/TypeScript/issues/6649">#6649</a> - Do not suggest <code class="notranslate">caller</code> in strict mode</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128310962" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6585" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6585/hovercard" href="https://github.com/microsoft/TypeScript/issues/6585">#6585</a> - Making <code class="notranslate">typings</code> in <code class="notranslate">package.json</code> an array</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="126640496" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6480" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6480/hovercard" href="https://github.com/microsoft/TypeScript/issues/6480">#6480</a> - Allow <code class="notranslate">static</code> index signatures in classes</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="125573803" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6395" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6395/hovercard" href="https://github.com/microsoft/TypeScript/issues/6395">#6395</a> - Provide a way of specifying type parameters in JSX tags</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="120273102" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/5916" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/5916/hovercard" href="https://github.com/microsoft/TypeScript/issues/5916">#5916</a> - Disallow <code class="notranslate">return;</code> statements when a return type annotation exists</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="112662964" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/5352" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/5352/hovercard" href="https://github.com/microsoft/TypeScript/issues/5352">#5352</a> - Disallow empty binding patterns</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="126668998" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6482" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6482/hovercard" href="https://github.com/microsoft/TypeScript/issues/6482">#6482</a> - Support a <code class="notranslate">declarationPath</code> option</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="127560984" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6544" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6544/hovercard" href="https://github.com/microsoft/TypeScript/issues/6544">#6544</a> - Allow narrowing to a constituent of an intersection type</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="124781924" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6344" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6344/hovercard" href="https://github.com/microsoft/TypeScript/issues/6344">#6344</a> - Allow elided type arguments at call sites</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128486808" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6606" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6606/hovercard" href="https://github.com/microsoft/TypeScript/issues/6606">#6606</a> - Apply <code class="notranslate">typeof</code> to arbitrary expressions</li> </ul> <p dir="auto">Stretch goals</p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="121578889" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6041" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6041/hovercard" href="https://github.com/microsoft/TypeScript/issues/6041">#6041</a> - Resolve the indexer mess</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128618856" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6613" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6613/hovercard" href="https://github.com/microsoft/TypeScript/issues/6613">#6613</a> - Better typing for React.setState</li> </ul>
0
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-override-styles-in-subsequent-css#?solution=%3Cstyle%3E%0A%20%20body%20%7B%0A%20%20%20%20background-color%3A%20black%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%20%20color%3A%20green%3B%0A%20%20%7D%0A%20%20.pink-text%20%7B%0A%20%20%20%20color%3A%20pink%3B%0A%20%20%7D%0A%20%20.blue-text%20%7B%0A%20%C2%A0%20%20color%3A%20blue%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%3Ch1%20class%3D%22pink-text%20blue-text%22%3EHello%20World!%3C%2Fh1%3E%0A%0A" rel="nofollow">Waypoint: Override Styles in Subsequent CSS</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Linux; Android 4.4.2; Lenovo B6000-H Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;style&gt; body { background-color: black; font-family: Monospace; color: green; } .pink-text { color: pink; } .blue-text {   color: blue; } &lt;/style&gt; &lt;h1 class=&quot;pink-text blue-text&quot;&gt;Hello World!&lt;/h1&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-ent">body</span> { <span class="pl-c1">background-color</span><span class="pl-kos">:</span> black; <span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace; <span class="pl-c1">color</span><span class="pl-kos">:</span> green; } .<span class="pl-c1">pink-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> pink; } .<span class="pl-c1">blue-text</span> {   col<span class="pl-c1">or</span><span class="pl-kos">:</span> <span class="pl-c1">blue</span>; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">pink-text blue-text</span>"<span class="pl-kos">&gt;</span>Hello World!<span class="pl-kos">&lt;/</span><span class="pl-ent">h1</span><span class="pl-kos">&gt;</span> </pre></div>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-override-class-declarations-with-inline-styles#?solution=%3Cstyle%3E%0A%20%20body%20%7B%0A%20%20%20%20background-color%3A%20black%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%20%20color%3A%20green%3B%0A%20%20%7D%0A%20%20%23orange-text%20%7B%0A%20%20%20%20color%3A%20orange%3B%0A%20%20%7D%0A%20%20.pink-text%20%7B%0A%20%20%20%20color%3A%20pink%3B%0A%20%20%7D%0A%20%20.blue-text%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%3Ch1%20id%3D%22orange-text%22%20%0Aclass%3D%22pink-text%20blue-text%22%0Astyle%3D%22color%3A%20white%22%3EHello%20World!%3C%2Fh1%3E%0A" rel="nofollow">Waypoint: Override Class Declarations with Inline Styles</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; rv:42.0) Gecko/20100101 Firefox/42.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;style&gt; body { background-color: black; font-family: Monospace; color: green; } #orange-text { color: orange; } .pink-text { color: pink; } .blue-text { color: blue; } &lt;/style&gt; &lt;h1 id=&quot;orange-text&quot; class=&quot;pink-text blue-text&quot; style=&quot;color: white&quot;&gt;Hello World!&lt;/h1&gt; "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-ent">body</span> { <span class="pl-c1">background-color</span><span class="pl-kos">:</span> black; <span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace; <span class="pl-c1">color</span><span class="pl-kos">:</span> green; } <span class="pl-kos">#</span><span class="pl-c1">orange-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> orange; } .<span class="pl-c1">pink-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> pink; } .<span class="pl-c1">blue-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> blue; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h1</span> <span class="pl-c1">id</span>="<span class="pl-s">orange-text</span>" <span class="pl-c1">class</span>="<span class="pl-s">pink-text blue-text</span>" <span class="pl-c1">style</span>="<span class="pl-s">color: white</span>"<span class="pl-kos">&gt;</span>Hello World!<span class="pl-kos">&lt;/</span><span class="pl-ent">h1</span><span class="pl-kos">&gt;</span></pre></div>
1
<p dir="auto">When using ngHttp.HTTP_BINDINGS in angular's 2.0.0_alpha.35 sfx.dev build it's throwing the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="InvalidBindingError {message: &quot;Invalid binding - only instances of Binding and Type are allowed, got: [object Object]&quot;, _originalException: undefined, _originalStack: undefined, _context: undefined, stack: &quot;Error↵ at InvalidBindingError.BaseException (ht….org/2.0.0-alpha.35/angular2.sfx.dev.js:20107:38)&quot;} Error at InvalidBindingError.BaseException (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:11539:25) at new InvalidBindingError (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:12886:65) at _resolveBindings (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:32901:15) at _resolveBindings (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:32897:20) at Function.System.register.execute.Injector.resolve (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:33554:36) at Injector.System.register.execute.Injector.resolveAndCreateChild (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:33325:45) at _createAppInjector (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:36509:26) at https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:36475:27 at Zone.run (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:136:17) at Zone.System.register.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:20107:38)"><pre class="notranslate"><code class="notranslate">InvalidBindingError {message: "Invalid binding - only instances of Binding and Type are allowed, got: [object Object]", _originalException: undefined, _originalStack: undefined, _context: undefined, stack: "Error↵ at InvalidBindingError.BaseException (ht….org/2.0.0-alpha.35/angular2.sfx.dev.js:20107:38)"} Error at InvalidBindingError.BaseException (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:11539:25) at new InvalidBindingError (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:12886:65) at _resolveBindings (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:32901:15) at _resolveBindings (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:32897:20) at Function.System.register.execute.Injector.resolve (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:33554:36) at Injector.System.register.execute.Injector.resolveAndCreateChild (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:33325:45) at _createAppInjector (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:36509:26) at https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:36475:27 at Zone.run (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:136:17) at Zone.System.register.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (https://code.angularjs.org/2.0.0-alpha.35/angular2.sfx.dev.js:20107:38) </code></pre></div> <p dir="auto">Here you have a plunkr to reproduce the issue:<br> <a href="http://plnkr.co/edit/XIW0EgIZvs3dtNcYN1dJ?p=preview" rel="nofollow">http://plnkr.co/edit/XIW0EgIZvs3dtNcYN1dJ?p=preview</a></p> <p dir="auto">If you change <code class="notranslate">ngHttp.HTTP_BINDINGS</code> for the following code, then everything works:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[ ng.bind(ngHttp.ConnectionBackend).toClass(ngHttp.XHRBackend), ngHttp.BrowserXhr, ng.bind(ngHttp.RequestOptions).toClass(ngHttp.BaseRequestOptions), ng.bind(ngHttp.ResponseOptions).toClass(ngHttp.BaseResponseOptions), ngHttp.Http ]"><pre class="notranslate"><span class="pl-kos">[</span> <span class="pl-s1">ng</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">ConnectionBackend</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toClass</span><span class="pl-kos">(</span><span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">XHRBackend</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">BrowserXhr</span><span class="pl-kos">,</span> <span class="pl-s1">ng</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">RequestOptions</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toClass</span><span class="pl-kos">(</span><span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">BaseRequestOptions</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">ng</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">ResponseOptions</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toClass</span><span class="pl-kos">(</span><span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">BaseResponseOptions</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">ngHttp</span><span class="pl-kos">.</span><span class="pl-c1">Http</span> <span class="pl-kos">]</span></pre></div> <p dir="auto">Looks like ngHttp module is using a somehow incompatible binding mechanism to generate HTTP_BINDINGS.</p> <p dir="auto">If I'm making something wrong any advice is welcome. Also if you think I can give you a hand to resolve this give me some tips and I'll PR with a solution.</p> <p dir="auto">Thank you!</p>
0
<p dir="auto">reproducible in the examples on: <a href="http://getbootstrap.com/javascript/" rel="nofollow">http://getbootstrap.com/javascript/</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/9f21e7211b86412b139731306d8b3ba3487d3cb1e382b2246bd593fe65ca9e2f/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3331313935382f3838383438372f36646565313432302d666130652d313165322d383134662d3832366563323463643165632e706e67"><img src="https://camo.githubusercontent.com/9f21e7211b86412b139731306d8b3ba3487d3cb1e382b2246bd593fe65ca9e2f/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3331313935382f3838383438372f36646565313432302d666130652d313165322d383134662d3832366563323463643165632e706e67" alt="screen shot 2013-07-31 at 2 24 11 pm" data-canonical-src="https://f.cloud.github.com/assets/311958/888487/6dee1420-fa0e-11e2-814f-826ec24cd1ec.png" style="max-width: 100%;"></a></p>
<p dir="auto">With 3.0.0-RC1 popovers work, but for top/bottom they're confusingly out of alignment with IE8 (and IE8 engine mode on IE9).</p> <p dir="auto"><a href="http://getbootstrap.com/javascript/#popovers-examples" rel="nofollow">http://getbootstrap.com/javascript/#popovers-examples</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/acf5f49e6bd1982788076f003f9110a5b37e5ee79809bcbe8cfb73e8ee8e59ae/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3433373834352f3838333835302f64366563646533612d663939612d313165322d383136312d3937396163643833646664312e706e67"><img src="https://camo.githubusercontent.com/acf5f49e6bd1982788076f003f9110a5b37e5ee79809bcbe8cfb73e8ee8e59ae/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3433373834352f3838333835302f64366563646533612d663939612d313165322d383136312d3937396163643833646664312e706e67" alt="screenshot from 2013-07-31 14 34 53" data-canonical-src="https://f.cloud.github.com/assets/437845/883850/d6ecde3a-f99a-11e2-8161-979acd83dfd1.png" style="max-width: 100%;"></a></p> <p dir="auto">Rendering is fine with IE9.</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sbrannen" rel="nofollow">Sam Brannen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6437?redirect=false" rel="nofollow">SPR-6437</a></strong> and commented</p> <p dir="auto">When using <code class="notranslate">@Valid</code> to drive automatic validation of a model object, it is currently not possible to modify the bound model object prior to validation.</p> <p dir="auto">With the SimpleFormController hierarchy it was straightforward to override BaseCommandController's onBind() or onBindAndValidate() methods to achieve custom binding; however, with <code class="notranslate">@MVC</code> it is currently not possible. Neither the WebBindingInitializer API nor an <code class="notranslate">@InitBinder</code> method provides a mechanism to plug in custom binding.</p> <p dir="auto">Note that this was not an issue prior to support for <code class="notranslate">@Valid</code>, since without <code class="notranslate">@Valid</code> developers were responsible for executing validation code within a handler method.</p> <p dir="auto">One possible solution would be to add support for an <code class="notranslate">@PostBinding</code> method or <code class="notranslate">@PreValidation</code> method (or similar) which would be allowed to modify the model after binding but prior to executing the handler method.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 RC2</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="398109039" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12449" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12449/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12449">#12449</a> Support for interception of controller method invocation after binding has completed (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398092800" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10091" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10091/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10091">#10091</a> Integrating validation into the <code class="notranslate">@MVC</code> request lifecycle</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398100127" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11138" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11138/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11138">#11138</a> <code class="notranslate">@MVC</code> should provide a way to invoke custom code at preBind stage</li> </ul> <p dir="auto">6 votes, 6 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=plethora" rel="nofollow">Taras Tielkes</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3581?redirect=false" rel="nofollow">SPR-3581</a></strong> and commented</p> <p dir="auto">Section "6.3.2. Declaring a pointcut" states:</p> <hr> <p dir="auto">A pointcut can be declared inside an aspect, in which case it is visible only within that aspect. A pointcut can also be declared directly inside an aop:config element, enabling the pointcut definition to be shared across several aspects and advisors.</p> <hr> <p dir="auto">In practice such "visibility" rules don't exist. The aop:config parser will happily register any found pointcut, and doesn't contain any visibility logic.<br> Using &lt;pointcut&gt; elements with the same "id", but contained by different aop:aspect elements does not "make it visible only within that aspect". Instead, it makes the XML parser throw an exception at runtime (because of duplicate xsd:ID values).</p> <p dir="auto">I don't think special visibility logic is needed: no same person will use the schema-based AOP style do declare 100s of pointcuts. Instead I suggest to simply correct the documentation.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.5, 2.1 M1, 2.1 M2</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.0</li> <li>Operating System version: windows 10</li> <li>Java version: 1.8.1</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>hessian协议的接口使用配置mock,comsumr端发生异常</li> </ol> <p dir="auto">2、下面是对应的(hessian协议)Mock配置<br> <em><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(version = "1.0.0", timeout = 10000, retries = 0, interfaceClass = LoadFileService.class,<br> protocol = "hessian",<br> mock = "com.dubbo.provider.service.file.LoadFileServiceMock")</em><br> 3. 下面是另一个接口(dubbo协议)的Mock配置<br> <em><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(version = "1.0.0", timeout = 10000, interfaceClass = DefectService.class, protocol = "dubbo", mock = "com.dubbo.provider.service.defect.DefectServiceMock")</em></p> <p dir="auto">配置dubbo协议的接口能正常使用mock返回,但是hessian的方法的consumer端会发生下面的警告,而且hessian协议接口的方法超时也不能正常返回mock的内容</p> <p dir="auto"><em>com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method $echo in the service com.service.file.LoadFileService. Tried 3 times of the providers [169.254.126.158:20081] (1/1) from the registry 172.168.0.24:2181 on the consumer 169.254.126.158 using the dubbo version 2.6.0. Last error is: Failed to invoke remote proxy method $echo to hessian://169.254.126.158:20081/com.keystar.eprdms.service.file.LoadFileService?anyhost=true&amp;application=consumer&amp;check=false&amp;dubbo=2.6.0&amp;generic=false&amp;interface=com.service.file.LoadFileService&amp;methods=checkFileNameCriterion,generatePdfReport,checkDownloadFileCriterion,downloadReportPictures,downloadPreviewPicture,checkSingleFileNameCriterion,parallelDownloadPicture,uploadPicture,setThumbImageSize,deletePicture&amp;mock=com.keystar.eprdms.dubbo.provider.service.file.LoadFileServiceMock&amp;pid=15812&amp;register.ip=169.254.126.158&amp;remote.timestamp=1595574795792&amp;revision=1.0.0&amp;server=jetty&amp;side=consumer&amp;timeout=10000&amp;timestamp=1595574818277&amp;version=1.0.0, cause: Not found method "$echo" in class com.service.file.LoadFileService.<br> at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:101)<br> at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:232)<br> at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:80)<br> at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:51)<br> at com.alibaba.dubbo.common.bytecode.proxy5.$echo(proxy5.java)<br> at com.alibaba.dubbo.spring.boot.health.DubboHealthIndicator.doHealthCheck(DubboHealthIndicator.java:29)<br> at org.springframework.boot.actuate.health.AbstractHealthIndicator.health(AbstractHealthIndicator.java:84)<br> at org.springframework.boot.actuate.health.CompositeHealthIndicator.health(CompositeHealthIndicator.java:98)<br> at org.springframework.boot.actuate.health.HealthEndpoint.health(HealthEndpoint.java:50)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:498)<br> at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:246)<br> at org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker.invoke(ReflectiveOperationInvoker.java:76)<br> at org.springframework.boot.actuate.endpoint.annotation.AbstractDiscoveredOperation.invoke(AbstractDiscoveredOperation.java:61)<br> at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:126)<br> at org.springframework.boot.actuate.endpoint.jmx.EndpointMBean.invoke(EndpointMBean.java:99)<br> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)<br> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)<br> at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)<br> at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)<br> at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)<br> at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)<br> at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)<br> at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:498)<br> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)<br> at sun.rmi.transport.Transport$1.run(Transport.java:200)<br> at sun.rmi.transport.Transport$1.run(Transport.java:197)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at sun.rmi.transport.Transport.serviceCall(Transport.java:196)<br> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)<br> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)<br> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)<br> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br> at java.lang.Thread.run(Thread.java:748)<br> Caused by: com.alibaba.dubbo.common.bytecode.NoSuchMethodException: Not found method "$echo" in class com.service.file.LoadFileService.<br> at com.alibaba.dubbo.common.bytecode.Wrapper5.invokeMethod(Wrapper5.java)<br> at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:45)<br> at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invok</em></p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.5-SNAPSHOT</li> <li>Operating System version: Max OS 10.14.5</li> <li>Java version: Oracle jdk 1.8.0_131</li> </ul> <p dir="auto">git HEAD (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/dubbo/commit/15d808446d4bebc3b87f986ccc657f9e5baff728/hovercard" href="https://github.com/apache/dubbo/commit/15d808446d4bebc3b87f986ccc657f9e5baff728"><tt>15d8084</tt></a>) on master branch<br> when building</p> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>checkout master branch</li> <li>checkout HEAD <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/dubbo/commit/15d808446d4bebc3b87f986ccc657f9e5baff728/hovercard" href="https://github.com/apache/dubbo/commit/15d808446d4bebc3b87f986ccc657f9e5baff728"><tt>15d8084</tt></a></li> <li>run command: ./mvnw clean install</li> <li>The following Unit test is failing, the log message looks like:</li> </ol> <p dir="auto">[INFO] Running org.apache.dubbo.registry.multicast.MulticastRegistryTest<br> log4j:WARN No appenders could be found for logger (org.apache.dubbo.common.logger.LoggerFactory).<br> log4j:WARN Please initialize the log4j system properly.<br> log4j:WARN See <a href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" rel="nofollow">http://logging.apache.org/log4j/1.2/faq.html#noconfig</a> for more info.<br> java.net.SocketException: Invalid argument<br> at java.net.PlainDatagramSocketImpl.join(Native Method)<br> at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:178)<br> at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323)<br> at org.apache.dubbo.registry.multicast.MulticastRegistryTest.testMulticastAddress(MulticastRegistryTest.java:252)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:498)<br> at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:628)<br> at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:117)<br> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:184)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:180)<br> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:127)<br> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)<br> at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)<br> at java.util.ArrayList.forEach(ArrayList.java:1249)<br> at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)<br> at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)<br> at java.util.ArrayList.forEach(ArrayList.java:1249)<br> at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)<br> at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)<br> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)<br> at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)<br> at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)<br> at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)<br> at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)<br> at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)<br> at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)<br> at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)<br> at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)<br> at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)<br> at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)<br> at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)<br> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)<br> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)<br> at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)<br> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)<br> [ERROR] Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 38.272 s &lt;&lt;&lt; FAILURE! - in org.apache.dubbo.registry.multicast.MulticastRegistryTest<br> [ERROR] testSubscribe Time elapsed: 1.023 s &lt;&lt;&lt; FAILURE!<br> org.opentest4j.AssertionFailedError: expected: dubbo://192.168.50.37/org.apache.dubbo.test.injvmServie?methods=test1,test2 but was: empty://192.168.50.37/org.apache.dubbo.test.injvmServie?methods=test1,test2<br> at org.apache.dubbo.registry.multicast.MulticastRegistryTest.testSubscribe(MulticastRegistryTest.java:135)</p> <p dir="auto">[INFO] Running org.apache.dubbo.registry.multicast.MulticastRegistryFactoryTest<br> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s - in org.apache.dubbo.registry.multicast.MulticastRegistryFactoryTest<br> [INFO]<br> [INFO] Results:<br> [INFO]<br> [ERROR] Failures:<br> [ERROR] MulticastRegistryTest.testSubscribe:135 expected: dubbo://192.168.50.37/org.apache.dubbo.test.injvmServie?methods=test1,test2 but was: empty://192.168.50.37/org.apache.dubbo.test.injvmServie?methods=test1,test2<br> [INFO]<br> [ERROR] Tests run: 13, Failures: 1, Errors: 0, Skipped: 0</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">The project should build successfully/</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">MulticastRegistryTest.testSubscribe() test failed thus breaks the build.<br> The trace is seen as above.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
0
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>Launch Android Studio</li> <li>Click "Start a new Flutter project"</li> <li>Select "Flutter Application" and click "Next"</li> <li>Fill out project information in the following screens, clicking "Next" then click "Finish" on the last screen</li> <li>Open pubspec.yml in the Android Studio editor</li> <li>Add the following under "dev_dependencies":</li> </ol> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" flutter_launcher_icons: ^0.6.1 google_sign_in: ^3.2.1 firebase_analytics: ^1.0.3 firebase_auth: ^0.5.20 firebase_database: ^1.0.4 firebase_storage: ^1.0.3 flutter_firebase_ui: ^0.0.11 image_picker: ^0.4.10 image_cropper: ^0.0.8"><pre class="notranslate"> <span class="pl-ent">flutter_launcher_icons</span>: <span class="pl-s">^0.6.1</span> <span class="pl-ent">google_sign_in</span>: <span class="pl-s">^3.2.1</span> <span class="pl-ent">firebase_analytics</span>: <span class="pl-s">^1.0.3</span> <span class="pl-ent">firebase_auth</span>: <span class="pl-s">^0.5.20</span> <span class="pl-ent">firebase_database</span>: <span class="pl-s">^1.0.4</span> <span class="pl-ent">firebase_storage</span>: <span class="pl-s">^1.0.3</span> <span class="pl-ent">flutter_firebase_ui</span>: <span class="pl-s">^0.0.11</span> <span class="pl-ent">image_picker</span>: <span class="pl-s">^0.4.10</span> <span class="pl-ent">image_cropper</span>: <span class="pl-s">^0.0.8</span></pre></div> <ol start="7" dir="auto"> <li>Press the "Play" button to build and run the application.</li> </ol> <h2 dir="auto">Expected Results:</h2> <p dir="auto">App compiles and runs successfully</p> <h2 dir="auto">Actual Results:</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="App fails to compile, with the following error: Execution failed for task ':app:preDebugBuild'. &gt; Android dependency 'com.android.support:support-core-utils' has different version for the compile (27.0.1) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution"><pre class="notranslate"><code class="notranslate">App fails to compile, with the following error: Execution failed for task ':app:preDebugBuild'. &gt; Android dependency 'com.android.support:support-core-utils' has different version for the compile (27.0.1) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution </code></pre></div> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor -v [✓] Flutter (Channel beta, v0.11.7, on Mac OS X 10.13.6 17G3025, locale en-US) • Flutter version 0.11.7 at /Users/dconeybe/local/flutter • Framework revision 7a005e1dcd (26 hours ago), 2018-11-19 11:14:05 -0500 • Engine revision 2e06da3df9 • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at /Users/dconeybe/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_10.0.app/Contents/Developer • Xcode 10.0, Build version 10A255 • ios-deploy 1.9.4 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 30.0.1 • Dart plugin version 181.5656 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [✓] IntelliJ IDEA Community Edition (version 2018.2.6) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 30.0.2 • Dart plugin version 182.5124 [✓] Connected device (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator) • No issues found!"><pre class="notranslate"><code class="notranslate">$ flutter doctor -v [✓] Flutter (Channel beta, v0.11.7, on Mac OS X 10.13.6 17G3025, locale en-US) • Flutter version 0.11.7 at /Users/dconeybe/local/flutter • Framework revision 7a005e1dcd (26 hours ago), 2018-11-19 11:14:05 -0500 • Engine revision 2e06da3df9 • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at /Users/dconeybe/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_10.0.app/Contents/Developer • Xcode 10.0, Build version 10A255 • ios-deploy 1.9.4 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 30.0.1 • Dart plugin version 181.5656 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [✓] IntelliJ IDEA Community Edition (version 2018.2.6) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 30.0.2 • Dart plugin version 182.5124 [✓] Connected device (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator) • No issues found! </code></pre></div> <p dir="auto">Here is the Flutter application that failed to compile:<br> <a href="https://github.com/flutter/flutter/files/2601012/buildbug.zip">buildbug.zip</a></p>
<p dir="auto">As per following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Crash report written to C:\Gustafson\flutter\generate_colors\flutter_01.log; please let us know at https://github.com/flutter/flutter/issues. Gradle task assembleDebug failed with exit code 1 Exited (sigterm)"><pre class="notranslate"><code class="notranslate">Crash report written to C:\Gustafson\flutter\generate_colors\flutter_01.log; please let us know at https://github.com/flutter/flutter/issues. Gradle task assembleDebug failed with exit code 1 Exited (sigterm) </code></pre></div> <p dir="auto">Crash report:<br> <a href="https://github.com/flutter/flutter/files/2516060/flutter_01.log">flutter_01.log</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Flutter crash report; please file at https://github.com/flutter/flutter/issues. ## command flutter build bundle --suppress-analytics --target C:\Gustafson\flutter\generate_colors\lib\main.dart --target-platform android-arm64 --depfile C:\Gustafson\flutter\generate_colors\build\app\intermediates\flutter\debug/snapshot_blob.bin.d --asset-dir C:\Gustafson\flutter\generate_colors\build\app\intermediates\flutter\debug/flutter_assets --debug ## exception FileSystemException: FileSystemException: Exists failed, path = 'C:\Gustafson\flutter\generate_colors\build\app\intermediates\flutter\debug/flutter_assets' (OS Error: Access is denied. , errno = 5) #0 _Directory.existsSync (dart:io/directory_impl.dart:101:7) #1 _Directory.createSync (dart:io/directory_impl.dart:133:11) #2 _LocalDirectory&amp;LocalFileSystemEntity&amp;ForwardingDirectory.createSync (package:file/src/forwarding/forwarding_directory.dart:22:16) #3 writeBundle (package:flutter_tools/src/bundle.dart:195:13) &lt;asynchronous suspension&gt; #4 assemble (package:flutter_tools/src/bundle.dart:187:9) &lt;asynchronous suspension&gt; #5 build (package:flutter_tools/src/bundle.dart:113:9) &lt;asynchronous suspension&gt; #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:83:11) &lt;asynchronous suspension&gt; #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:372:18) &lt;asynchronous suspension&gt; #8 FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:306:33) &lt;asynchronous suspension&gt; #9 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142:29) &lt;asynchronous suspension&gt; #10 _rootRun (dart:async/zone.dart:1124:13) #11 _CustomZone.run (dart:async/zone.dart:1021:19) #12 _runZoned (dart:async/zone.dart:1516:10) #13 runZoned (dart:async/zone.dart:1463:12) #14 AppContext.run (package:flutter_tools/src/base/context.dart:141:18) &lt;asynchronous suspension&gt; #15 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:297:20) #16 CommandRunner.runCommand (package:args/command_runner.dart:194:27) &lt;asynchronous suspension&gt; #17 FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:347:21) &lt;asynchronous suspension&gt; #18 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142:29) &lt;asynchronous suspension&gt; #19 _rootRun (dart:async/zone.dart:1124:13) #20 _CustomZone.run (dart:async/zone.dart:1021:19) #21 _runZoned (dart:async/zone.dart:1516:10) #22 runZoned (dart:async/zone.dart:1463:12) #23 AppContext.run (package:flutter_tools/src/base/context.dart:141:18) &lt;asynchronous suspension&gt; #24 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:303:19) &lt;asynchronous suspension&gt; #25 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109:29) #26 new Future.sync (dart:async/future.dart:224:31) #27 CommandRunner.run (package:args/command_runner.dart:109:11) #28 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:211:18) #29 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:59:20) &lt;asynchronous suspension&gt; #30 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142:29) &lt;asynchronous suspension&gt; #31 _rootRun (dart:async/zone.dart:1124:13) #32 _CustomZone.run (dart:async/zone.dart:1021:19) #33 _runZoned (dart:async/zone.dart:1516:10) #34 runZoned (dart:async/zone.dart:1463:12) #35 AppContext.run (package:flutter_tools/src/base/context.dart:141:18) &lt;asynchronous suspension&gt; #36 runInContext (package:flutter_tools/src/context_runner.dart:42:24) &lt;asynchronous suspension&gt; #37 run (package:flutter_tools/runner.dart:50:10) #38 main (package:flutter_tools/executable.dart:52:9) &lt;asynchronous suspension&gt; #39 main (file:///C:/Downloads/flutter/flutter_windows_v0.5.1-beta/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3) #40 _startIsolate.&lt;anonymous closure&gt; (dart:isolate/runtime/libisolate_patch.dart:287:32) #41 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12) ## flutter doctor [✓] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 6.1.7601], locale en-US) • Flutter version 0.9.4 at C:\Downloads\flutter\flutter_windows_v0.5.1-beta\flutter • Framework revision f37c235c32 (4 weeks ago), 2018-09-25 17:45:40 -0400 • Engine revision 74625aed32 • Dart version 2.1.0-dev.5.0.flutter-a2eb050044 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at C:\Users\gggustafson\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) • All Android licenses accepted. [✓] Android Studio (version 3.1) • Android Studio at C:\Program Files\Android\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-b02) [✓] VS Code, 64-bit edition (version 1.28.0) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 2.19.0 [✓] Connected devices (1 available) • SM G925V • 06157df60c7a8e20 • android-arm64 • Android 7.0 (API 24) • No issues found!"><pre class="notranslate"><code class="notranslate">Flutter crash report; please file at https://github.com/flutter/flutter/issues. ## command flutter build bundle --suppress-analytics --target C:\Gustafson\flutter\generate_colors\lib\main.dart --target-platform android-arm64 --depfile C:\Gustafson\flutter\generate_colors\build\app\intermediates\flutter\debug/snapshot_blob.bin.d --asset-dir C:\Gustafson\flutter\generate_colors\build\app\intermediates\flutter\debug/flutter_assets --debug ## exception FileSystemException: FileSystemException: Exists failed, path = 'C:\Gustafson\flutter\generate_colors\build\app\intermediates\flutter\debug/flutter_assets' (OS Error: Access is denied. , errno = 5) #0 _Directory.existsSync (dart:io/directory_impl.dart:101:7) #1 _Directory.createSync (dart:io/directory_impl.dart:133:11) #2 _LocalDirectory&amp;LocalFileSystemEntity&amp;ForwardingDirectory.createSync (package:file/src/forwarding/forwarding_directory.dart:22:16) #3 writeBundle (package:flutter_tools/src/bundle.dart:195:13) &lt;asynchronous suspension&gt; #4 assemble (package:flutter_tools/src/bundle.dart:187:9) &lt;asynchronous suspension&gt; #5 build (package:flutter_tools/src/bundle.dart:113:9) &lt;asynchronous suspension&gt; #6 BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:83:11) &lt;asynchronous suspension&gt; #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:372:18) &lt;asynchronous suspension&gt; #8 FlutterCommand.run.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command.dart:306:33) &lt;asynchronous suspension&gt; #9 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142:29) &lt;asynchronous suspension&gt; #10 _rootRun (dart:async/zone.dart:1124:13) #11 _CustomZone.run (dart:async/zone.dart:1021:19) #12 _runZoned (dart:async/zone.dart:1516:10) #13 runZoned (dart:async/zone.dart:1463:12) #14 AppContext.run (package:flutter_tools/src/base/context.dart:141:18) &lt;asynchronous suspension&gt; #15 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:297:20) #16 CommandRunner.runCommand (package:args/command_runner.dart:194:27) &lt;asynchronous suspension&gt; #17 FlutterCommandRunner.runCommand.&lt;anonymous closure&gt; (package:flutter_tools/src/runner/flutter_command_runner.dart:347:21) &lt;asynchronous suspension&gt; #18 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142:29) &lt;asynchronous suspension&gt; #19 _rootRun (dart:async/zone.dart:1124:13) #20 _CustomZone.run (dart:async/zone.dart:1021:19) #21 _runZoned (dart:async/zone.dart:1516:10) #22 runZoned (dart:async/zone.dart:1463:12) #23 AppContext.run (package:flutter_tools/src/base/context.dart:141:18) &lt;asynchronous suspension&gt; #24 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:303:19) &lt;asynchronous suspension&gt; #25 CommandRunner.run.&lt;anonymous closure&gt; (package:args/command_runner.dart:109:29) #26 new Future.sync (dart:async/future.dart:224:31) #27 CommandRunner.run (package:args/command_runner.dart:109:11) #28 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:211:18) #29 run.&lt;anonymous closure&gt; (package:flutter_tools/runner.dart:59:20) &lt;asynchronous suspension&gt; #30 AppContext.run.&lt;anonymous closure&gt; (package:flutter_tools/src/base/context.dart:142:29) &lt;asynchronous suspension&gt; #31 _rootRun (dart:async/zone.dart:1124:13) #32 _CustomZone.run (dart:async/zone.dart:1021:19) #33 _runZoned (dart:async/zone.dart:1516:10) #34 runZoned (dart:async/zone.dart:1463:12) #35 AppContext.run (package:flutter_tools/src/base/context.dart:141:18) &lt;asynchronous suspension&gt; #36 runInContext (package:flutter_tools/src/context_runner.dart:42:24) &lt;asynchronous suspension&gt; #37 run (package:flutter_tools/runner.dart:50:10) #38 main (package:flutter_tools/executable.dart:52:9) &lt;asynchronous suspension&gt; #39 main (file:///C:/Downloads/flutter/flutter_windows_v0.5.1-beta/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3) #40 _startIsolate.&lt;anonymous closure&gt; (dart:isolate/runtime/libisolate_patch.dart:287:32) #41 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12) ## flutter doctor [✓] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 6.1.7601], locale en-US) • Flutter version 0.9.4 at C:\Downloads\flutter\flutter_windows_v0.5.1-beta\flutter • Framework revision f37c235c32 (4 weeks ago), 2018-09-25 17:45:40 -0400 • Engine revision 74625aed32 • Dart version 2.1.0-dev.5.0.flutter-a2eb050044 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at C:\Users\gggustafson\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02) • All Android licenses accepted. [✓] Android Studio (version 3.1) • Android Studio at C:\Program Files\Android\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-b02) [✓] VS Code, 64-bit edition (version 1.28.0) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 2.19.0 [✓] Connected devices (1 available) • SM G925V • 06157df60c7a8e20 • android-arm64 • Android 7.0 (API 24) • No issues found! </code></pre></div>
0
<ul dir="auto"> <li>VSCode Version: 1.1.0</li> <li>OS Version: windows7</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>In .html file, &lt;script type="text/javascript"&gt;and I want to write js code in &lt;script&gt;&lt;script/&gt; ,but there is no Intellisense or syntax highlighting, is there any way to enable js code support in &lt;script&gt;?</li> </ol>
<p dir="auto">but it is normal in a javascript file</p>
1
<p dir="auto">For example, <code class="notranslate">alt</code> tag for <code class="notranslate">images</code> ...</p>
<p dir="auto">I just came across the following line of code in the second bootstrap waypoint:<br> <code class="notranslate">&lt;a href="#"&gt;&lt;img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat"&gt;&lt;/a&gt;</code><br> I cannot in good conscience ignore this. A screenreader will read the resulting output in the following, rather helpful manner:<br> "link graphic<br> I appreciate the waypoint about the alt-tag being included in the FCC curriculum, please let there be no doubt about that. But I do think if FCC wants to teach proper HTML/CSS, a grave mistake like this should not be allowed to exist and the advice in the waypoint about the alt-tag should be taken for FCC's waypoints, ziplines, bonfires and oher exercises as well.<br> I also tripped over the lack of the 'for'-attribute in the label tag for forms. I suppose I can forgive that one for now since that attribute goes into some rather advanced semantic discussions and is exclusively for semantic correctness and accesibility, but I do hope this topic will be discussed at a later part in the curriculum. If not I'll have to write up a few waypoints meself, I reckon ;)<br> For completeness, the URL where I came across the offending line of code is below:<br> <a href="http://www.freecodecamp.com/challenges/waypoint-make-images-mobile-responsive" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-make-images-mobile-responsive</a></p>
1
<h3 dir="auto">Website or app</h3> <p dir="auto"><a href="https://wayray.com/#how-we-work" rel="nofollow">https://wayray.com/#how-we-work</a></p> <h3 dir="auto">Repro steps</h3> <p dir="auto">not able to see</p> <h3 dir="auto">How often does this bug happen?</h3> <p dir="auto">Sometimes</p> <h3 dir="auto">DevTools package (automated)</h3> <p dir="auto">react-devtools-extensions</p> <h3 dir="auto">DevTools version (automated)</h3> <p dir="auto">4.19.2-20ca9b565</p> <h3 dir="auto">Error message (automated)</h3> <p dir="auto">Cannot add node "1" because a node with that id is already in the Store.</p> <h3 dir="auto">Error call stack (automated)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25708:41 at bridge_Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:23923:22) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24083:12 at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:52511:39)"><pre lang="text" class="notranslate"><code class="notranslate">at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25708:41 at bridge_Bridge.emit (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:23923:22) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24083:12 at listener (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:52511:39) </code></pre></div> <h3 dir="auto">Error component stack (automated)</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">GitHub query string (automated)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="https://api.github.com/search/issues?q=Cannot add node because a node with that id is already in the Store. in:title is:issue is:open is:public label:&quot;Component: Developer Tools&quot; repo:facebook/react"><pre lang="text" class="notranslate"><code class="notranslate">https://api.github.com/search/issues?q=Cannot add node because a node with that id is already in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react </code></pre></div>
<h3 dir="auto">Website or app</h3> <p dir="auto"><a href="https://zhivika.ru/product/26406103_plastyr_perc_bperf_10smh18sm_n" rel="nofollow">https://zhivika.ru/product/26406103_plastyr_perc_bperf_10smh18sm_n</a></p> <h3 dir="auto">Repro steps</h3> <ol dir="auto"> <li>Load page.</li> <li>Open react components.</li> <li>Click button "Смотреть все аптеки" for unfold all list.</li> </ol> <h3 dir="auto">How often does this bug happen?</h3> <p dir="auto">Every time</p> <h3 dir="auto">DevTools package (automated)</h3> <p dir="auto">react-devtools-extensions</p> <h3 dir="auto">DevTools version (automated)</h3> <p dir="auto">4.13.5-0ae5290b54</p> <h3 dir="auto">Error message (automated)</h3> <p dir="auto">Cannot add node "476" because a node with that id is already in the Store.</p> <h3 dir="auto">Error call stack (automated)</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Error component stack (automated)</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">GitHub query string (automated)</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="https://api.github.com/search/issues?q=Cannot add node because a node with that id is already in the Store. in:title is:issue is:open is:public label:&quot;Component: Developer Tools&quot; repo:facebook/react"><pre lang="text" class="notranslate"><code class="notranslate">https://api.github.com/search/issues?q=Cannot add node because a node with that id is already in the Store. in:title is:issue is:open is:public label:"Component: Developer Tools" repo:facebook/react </code></pre></div>
1
<p dir="auto">I can't access suscribe to router updates from child routes. It only works in AppComponent and it dosent work in DashboardComponent. This is my set up</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@RouteConfig([ { path: '/', name: 'Index', component: IndexComponent, useAsDefault: true }, {path: '/dashboard/...', name: 'Dashboard', component: DashboardComponent} ]) export class AppComponent{ constructor(private router: Router){ this.router.subscribe(route =&gt; {console.log(route)}); //works here } } @RouteConfig([ { path: '/', name: 'Home', component: HomeComponent, useAsDefault: true }, {path: '/inbox', name: 'Inbox', component: InboxComponent} ]) export class DashboardComponent{ constructor(private router: Router){ this.router.subscribe(route =&gt; {console.log(route)}) //dosent work here } } "><pre class="notranslate">@<span class="pl-v">RouteConfig</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">'/'</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'Index'</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-v">IndexComponent</span><span class="pl-kos">,</span> <span class="pl-c1">useAsDefault</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-c1">path</span>: <span class="pl-s">'/dashboard/...'</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'Dashboard'</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-v">DashboardComponent</span><span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">AppComponent</span><span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">private</span> <span class="pl-s1">router</span>: <span class="pl-v">Router</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">router</span><span class="pl-kos">.</span><span class="pl-en">subscribe</span><span class="pl-kos">(</span><span class="pl-s1">route</span> <span class="pl-c1">=&gt;</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">route</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">//works here</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> @<span class="pl-v">RouteConfig</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">path</span>: <span class="pl-s">'/'</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'Home'</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-v">HomeComponent</span><span class="pl-kos">,</span> <span class="pl-c1">useAsDefault</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-c1">path</span>: <span class="pl-s">'/inbox'</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'Inbox'</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-v">InboxComponent</span><span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">DashboardComponent</span><span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">private</span> <span class="pl-s1">router</span>: <span class="pl-v">Router</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">router</span><span class="pl-kos">.</span><span class="pl-en">subscribe</span><span class="pl-kos">(</span><span class="pl-s1">route</span> <span class="pl-c1">=&gt;</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">route</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c">//dosent work here</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">I test angular2 for form with many elements(300-400) and get errors. Then i test angular1 and it's ok.<br> <a href="http://plnkr.co/edit/LOAZiWum4hRsNPlgMKyy?p=preview" rel="nofollow">angular1</a><br> <a href="http://plnkr.co/edit/VuhCUzdmChi1EN6zHz4b?p=preview" rel="nofollow">angular2</a><br> chrome message: <code class="notranslate">RangeError: Maximum call stack size exceeded</code><br> forefox message: <code class="notranslate">InternalError: too much recursion</code></p>
0