text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] 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">[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] 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><br> After the default error handler processes the first error it no longer processes any future errors.</p> <p dir="auto"><strong>Expected behavior</strong><br> That every error that happens is processed by the error handler.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br> <a href="http://plnkr.co/edit/uqY6rcA9gRDtC8nsmoka" rel="nofollow">http://plnkr.co/edit/uqY6rcA9gRDtC8nsmoka</a><br> This is a simple example that adds a button which calls a function to throw an error.<br> The first time the button is click the error is logged to the console. Any further clicks of the button throw the error but the error handler does not capture the error and handle it.</p> <p dir="auto">You can see this error with the plnkr example by clicking the throw error button and watching the console log. The first occurrence logs and any future occurrences of the error being thrown don't go through the errorhandler.</p> <p dir="auto">If the error handler is constructor to not rethrow the error it works as expected. It appears that when the error is rethrown this gets an error in the Subscriber.ts line 236-241. My theory is this unsubscribes the error handler which is why no future errors are processed by the error handler.</p> <p dir="auto">{code}<br> private __tryOrUnsub(fn: Function, value?: any): void {<br> try {<br> fn.call(this._context, value);<br> } catch (err) {<br> this.unsubscribe();<br> throw err;<br> }<br> }<br> {code}</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> The error handler should always handle any error.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <p dir="auto">Windows 7 (64 bit), webstorm (2016.3.1), npm / webpack/ angular cli, Spring Boot / Tomcat</p> <ul dir="auto"> <li> <p dir="auto"><strong>Angular version:</strong> 2.0.X<br> 2.2.1</p> </li> <li> <p dir="auto"><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 ]<br> Likely all, chrome 54, firefox 50.0.1 for sure.</p> </li> <li> <p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br> TypeScript 2.0.3, targeting ES5</p> </li> <li> <p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p> </li> </ul>
<ul class="contains-task-list"> <li><strong>I'm submitting a ...</strong></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> bug report</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> feature request</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> support request =&gt; Please do not submit support request here, see note at the top of this template.</li> </ul> <p dir="auto"><strong>Current behavior</strong><br> An exception is thrown and gets printed in the browser's console. If there are other exceptions thrown afterwards, they don't come up in the browser's console and never reach <code class="notranslate">ExceptionHandler</code>.</p> <p dir="auto"><strong>Expected/desired behavior</strong><br> Every exception thrown should reach <code class="notranslate">ExceptionHandler</code> (and therefore a maybe existing custom exception handler can kick in).</p> <ul dir="auto"> <li><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem</strong><br> <a href="http://plnkr.co/edit/4pA92Dbkg5YXLbJ7dmhl?p=preview" rel="nofollow">http://plnkr.co/edit/4pA92Dbkg5YXLbJ7dmhl?p=preview</a><br> Click on any of the two buttons and you will see an exception in the browser's console. Do another button click and you will see that the click handler is called, but the exception isn't printed in the console.<br> It doesn't matter if the consecutive exceptions are thrown from the same component, a child component or an asynchronous thing (like <code class="notranslate">window.setTimeout</code>).</li> <li><strong>What is the expected behavior?</strong><br> Every button click should trigger an exception which comes up in the browser's console.</li> <li><strong>What is the motivation / use case for changing the behavior?</strong><br> I found this bug while digging into implementing my own exception handler and reporting exceptions to a service like <a href="Exceptionless">https://exceptionless.com/</a>.</li> <li><strong>Please tell us about your environment:</strong><br> My app was created with angular-cli beta 5.</li> <li><strong>Angular version:</strong> 2.0.0-rc1</li> <li><strong>Browser:</strong> all</li> <li><strong>Language:</strong> TypeScript 1.8</li> </ul>
1
<p dir="auto">Issue Type:</p> <p dir="auto">Bug Report</p> <p dir="auto">Ansible Version:</p> <p dir="auto">1.9.0.1</p> <p dir="auto">Environment:</p> <p dir="auto">Managing CentOS 6 from MacOS X 10.10.2</p> <p dir="auto">Summary:</p> <p dir="auto">The service module is failing to start an upstart service on CentOS 6</p> <p dir="auto">Steps To Reproduce:</p> <p dir="auto">ansible hostname -m service -a 'name=servicename state=started'</p> <p dir="auto">Expected Results:</p> <p dir="auto">I expected ansible to start the service. This works on 1.8.4, but fails on 1.9.0.1.</p> <p dir="auto">Actual Results:</p> <p dir="auto">Ansible fails with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible ns1.ams.as112.ripe.net -u root -m service -a 'name=ansible state=started' ns1.ams.as112.ripe.net | FAILED &gt;&gt; { &quot;failed&quot;: true, &quot;msg&quot;: &quot;ansible: unrecognized service\n&quot; }"><pre class="notranslate"><code class="notranslate">$ ansible ns1.ams.as112.ripe.net -u root -m service -a 'name=ansible state=started' ns1.ams.as112.ripe.net | FAILED &gt;&gt; { "failed": true, "msg": "ansible: unrecognized service\n" } </code></pre></div>
<p dir="auto"><strong>Issue Type:</strong><br> Bug Report</p> <p dir="auto"><strong>Ansible Version:</strong><br> ansible 1.7.2 (1.7.2+dfsg-2~bpo70+1)</p> <p dir="auto"><strong>Environment:</strong><br> Debian 7.7</p> <p dir="auto"><strong>Summary:</strong><br> Today i try to split our grown ansible roles in more simple roles.<br> After do some work i realize that after rewrite and set some dependencies in our roles, some roles got executed multiple times.<br> So i google a bit and found an bug report (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27426077" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/5971" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/5971/hovercard" href="https://github.com/ansible/ansible/issues/5971">#5971</a>) which descibe the same behavior.<br> The bug gets closed because of not reproducable and no further information.</p> <p dir="auto">So i recreate the simple test in comment nr. 4 and BAM...no duplicate running!<br> After some testing i figured out the only difference to our plays.<br> The duplicate run is triggered if you add some tags to the play.</p> <p dir="auto">As sugested in <a href="https://groups.google.com/d/msg/ansible-project/3Tc6MUZ1dFI/JHFNplVccxcJ" rel="nofollow">https://groups.google.com/d/msg/ansible-project/3Tc6MUZ1dFI/JHFNplVccxcJ</a> i've open this bug report.</p> <p dir="auto"><strong>Steps To Reproduce:</strong><br> run without duplicates:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# test.yml --- - name: dependency test gather_facts: false hosts: localhost connection: local roles: - { role: base } - { role: feature } # roles/base/meta/main.yml --- # roles/base/tasks/main.yml --- - name: in base debug: msg=&quot;here we are in base&quot; # roles/feature/meta/main.yml --- dependencies: - { role: base } # roles/feature/tasks/main.yml --- - name: in feature debug: msg=&quot;here we are in feature&quot; PLAY [dependency test] ******************************************************** TASK: [base | in base] ******************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;here we are in base&quot; } TASK: [feature | in feature] ************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;here we are in feature&quot; } PLAY RECAP ******************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate"># test.yml --- - name: dependency test gather_facts: false hosts: localhost connection: local roles: - { role: base } - { role: feature } # roles/base/meta/main.yml --- # roles/base/tasks/main.yml --- - name: in base debug: msg="here we are in base" # roles/feature/meta/main.yml --- dependencies: - { role: base } # roles/feature/tasks/main.yml --- - name: in feature debug: msg="here we are in feature" PLAY [dependency test] ******************************************************** TASK: [base | in base] ******************************************************** ok: [localhost] =&gt; { "msg": "here we are in base" } TASK: [feature | in feature] ************************************************** ok: [localhost] =&gt; { "msg": "here we are in feature" } PLAY RECAP ******************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0 </code></pre></div> <p dir="auto">run with duplicates:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# test.yml --- - name: dependency test gather_facts: false hosts: localhost connection: local roles: - { role: base, tags: base } - { role: feature, tags: feature } # roles/base/meta/main.yml --- # roles/base/tasks/main.yml --- - name: in base debug: msg=&quot;here we are in base&quot; # roles/feature/meta/main.yml --- dependencies: - { role: base } # roles/feature/tasks/main.yml --- - name: in feature debug: msg=&quot;here we are in feature&quot; PLAY [dependency test] ******************************************************** TASK: [base | in base] ******************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;here we are in base&quot; } TASK: [base | in base] ******************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;here we are in base&quot; } TASK: [feature | in feature] ************************************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;here we are in feature&quot; } PLAY RECAP ******************************************************************** localhost : ok=3 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate"># test.yml --- - name: dependency test gather_facts: false hosts: localhost connection: local roles: - { role: base, tags: base } - { role: feature, tags: feature } # roles/base/meta/main.yml --- # roles/base/tasks/main.yml --- - name: in base debug: msg="here we are in base" # roles/feature/meta/main.yml --- dependencies: - { role: base } # roles/feature/tasks/main.yml --- - name: in feature debug: msg="here we are in feature" PLAY [dependency test] ******************************************************** TASK: [base | in base] ******************************************************** ok: [localhost] =&gt; { "msg": "here we are in base" } TASK: [base | in base] ******************************************************** ok: [localhost] =&gt; { "msg": "here we are in base" } TASK: [feature | in feature] ************************************************** ok: [localhost] =&gt; { "msg": "here we are in feature" } PLAY RECAP ******************************************************************** localhost : ok=3 changed=0 unreachable=0 failed=0 </code></pre></div> <p dir="auto"><strong>Expected Results:</strong><br> If the playbook is run, and the roles are tagged the dependencys should run only once.</p> <p dir="auto"><strong>Actual Results:</strong><br> If the playbook is run, and the roles are tagged the dependencys run multiple times.</p>
0
<p dir="auto">by <strong>quaggy</strong>:</p> <pre class="notranslate">What steps will reproduce the problem? 1. Compile bug.go 2. Run bug What is the expected output? EOF EOF What do you see instead? &lt;nil&gt; EOF What is your $GOOS? $GOARCH? darwin and amd64 Which revision are you using? 7d7941a84d46 tip Please provide any additional information below. f() always returns nil. g() always returns the err from h(). Both functions should behave the same way. func f() (err os.Error) { if n, err := h(); err == nil { fmt.Println(n) } return } func g() (err os.Error) { n, err := h() if err == nil { fmt.Println(n) } return }</pre> <p dir="auto">Attachments:</p> <ol dir="auto"> <li><a href="https://storage.googleapis.com/go-attachment/514/0/bug.go" rel="nofollow">bug.go</a> (332 bytes)</li> </ol>
<p dir="auto">by <strong>mikaelbrg</strong>:</p> <pre class="notranslate">When building my project using "go build" (or "go install"), I get an error "main.init: nosplit stack overflow": C:\Users\mikaelbe\work\tigerslam&gt;go build robot # robot main.init: nosplit stack overflow 120 guaranteed after split check in main.init 112 on entry to robot/web.init 104 on entry to robot/controller.init 96 on entry to robot/slam.init 88 on entry to robot/slam/hector.init 80 on entry to hectormapping/map/mapimages.init 72 on entry to hectormapping/map/maprep.init 64 on entry to hectormapping/map/mapproccontainer.init 56 on entry to hectormapping/scanmatcher.init 48 on entry to hectormapping/map/gridmap/occbase.init 40 on entry to hectormapping/map/gridmap/base.init 32 on entry to hectormapping/map/gridmap.init 24 on entry to github.com/skelterjohn/go%2ematrix.init 16 on entry to math.init 8 on entry to math.init┬À1 0 on entry to runtime.panicindex -8 on entry to runtime.morestack00 runtime.main: nosplit stack overflow 120 guaranteed after split check in runtime.main 128 after runtime.main uses -8 120 on entry to main.init 112 on entry to robot/web.init 104 on entry to robot/controller.init 96 on entry to robot/slam.init 88 on entry to robot/slam/hector.init 80 on entry to hectormapping/map/mapimages.init 72 on entry to hectormapping/map/maprep.init 64 on entry to hectormapping/map/mapproccontainer.init 56 on entry to hectormapping/scanmatcher.init 48 on entry to hectormapping/map/gridmap/occbase.init 40 on entry to hectormapping/map/gridmap/base.init 32 on entry to hectormapping/map/gridmap.init 24 on entry to github.com/skelterjohn/go%2ematrix.init 16 on entry to math.init 8 on entry to math.init┬À1 0 on entry to runtime.panicindex -8 on entry to runtime.morestack00 ("┬À1" is displayed like that in the console. I don't know if this is a hint at where the bug might arise.) This happened after I moved some code to create more logical and reusable packages. If I remove all references to the "hectormapping" package, the program will build successfully. "go build hectormapping" also works. What steps will reproduce the problem? 1. Build "robot" package: <a href="https://bitbucket.org/mikaelbe/tigerslam" rel="nofollow">https://bitbucket.org/mikaelbe/tigerslam</a> What is the expected output? robot executable Which compiler are you using (5g, 6g, 8g, gccgo)? ? Which operating system are you using? Windows 7 (x64) Which version are you using? (run 'go version') go version go1.0.3</pre>
0
<p dir="auto">There are four IDCount functions:</p> <ul dir="auto"> <li>THREE.GeometryIdCount()</li> <li>THREE.MaterialIdCount()</li> <li>THREE.Object3DIdCount()</li> <li>THREE.TextureIdCount()</li> </ul> <p dir="auto">They are part of the API (can be accessed via THREE.GeometryIdCount() etc. ) so they should be documented.</p> <p dir="auto">The question is, where? Should they get a separate page, or be included in the Geometry, Material... pages?</p>
<p dir="auto">When loading the website on an Android phone with a Adreno 300 series, get a weird black glitch in diffuse textures causing black flickering. I am using MeshPhongMaterial for the meshes with point lights.</p> <p dir="auto">The same is reproduced in the threejs examples from the website, which i am giving links for instead of a jsfiddle.<br> <a href="url">https://threejs.org/examples/?q=texture#webgl_materials_texture_filters</a><br> <a href="url">https://threejs.org/examples/?q=texture#webgl_materials_texture_manualmipmap</a></p> <p dir="auto">Screenshots -<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5513319/19922029/b463684a-a106-11e6-9742-7a7d08944680.jpg"><img src="https://cloud.githubusercontent.com/assets/5513319/19922029/b463684a-a106-11e6-9742-7a7d08944680.jpg" alt="motog3" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5513319/19922034/c58f52dc-a106-11e6-9798-38f84dbca52f.jpg"><img src="https://cloud.githubusercontent.com/assets/5513319/19922034/c58f52dc-a106-11e6-9798-38f84dbca52f.jpg" alt="oneplusx_2" style="max-width: 100%;"></a></p> <p dir="auto">From my application -<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5513319/19922246/c9a07e90-a107-11e6-97ab-febb4c377db1.jpg"><img src="https://cloud.githubusercontent.com/assets/5513319/19922246/c9a07e90-a107-11e6-97ab-febb4c377db1.jpg" alt="car_1" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5513319/19922252/cfdcf3ec-a107-11e6-91bf-c6f7e5dbf8c8.jpg"><img src="https://cloud.githubusercontent.com/assets/5513319/19922252/cfdcf3ec-a107-11e6-91bf-c6f7e5dbf8c8.jpg" alt="car_2" style="max-width: 100%;"></a></p> <p dir="auto">In my project, the floor outside which is a Plane Geometry does not have this issue. Only the mesh I have loaded using the SEA3d loader.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5513319/19928866/821105ee-a126-11e6-8e1c-582d59f0aac3.jpg"><img src="https://cloud.githubusercontent.com/assets/5513319/19928866/821105ee-a126-11e6-8e1c-582d59f0aac3.jpg" alt="car_3" style="max-width: 100%;"></a></p> <p dir="auto">Strangely there was no issue when viewing the anisotropy example too.</p> <p dir="auto">It is a major issue because a lot of phones use Adreno 300 series GPU's.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r81</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" checked=""> 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>[] 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" checked=""> 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">Tested with the following android devices. Work fine on other GPU series.<br> Oneplus X - Adreno 330<br> Moto G3 - Adreno 306<br> Moto G2 - Adreno 305</p>
0
<p dir="auto">Please goto this uploaded project to reproduce<br> <a href="https://github.com/nhhockeyplayer/build-beta">https://github.com/nhhockeyplayer/build-beta</a></p> <p dir="auto">Here is TSC output (thanks for taking a look)</p> <p dir="auto">C:\apache-tomcat-8.0.23\webapps\ROOT\new\gulp.connect&gt;tsc<br> node_modules/angular2/src/core/change_detection/parser/locals.d.ts(3,14): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/change_detection/parser/locals.d.ts(4,42): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/debug/debug_node.d.ts(14,13): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/debug/debug_node.d.ts(24,17): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/debug/debug_node.d.ts(25,17): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/di/provider.d.ts(436,103): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/di/provider.d.ts(436,135): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/render/api.d.ts(13,13): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/core/render/api.d.ts(14,84): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(1,25): error TS2304: Cannot find name 'MapConstructor'.<br> node_modules/angular2/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name 'SetConstructor'.<br> node_modules/angular2/src/facade/collection.d.ts(4,27): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(4,39): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(7,9): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(8,30): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(11,43): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(12,27): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(14,23): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(15,25): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/collection.d.ts(95,41): error TS2304: Cannot find name 'Set'.<br> node_modules/angular2/src/facade/collection.d.ts(96,22): error TS2304: Cannot find name 'Set'.<br> node_modules/angular2/src/facade/collection.d.ts(97,25): error TS2304: Cannot find name 'Set'.<br> node_modules/angular2/src/facade/lang.d.ts(13,17): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/lang.d.ts(14,17): error TS2304: Cannot find name 'Set'.<br> node_modules/angular2/src/facade/lang.d.ts(78,59): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/facade/promise.d.ts(1,10): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(3,14): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(8,32): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(9,38): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(10,35): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(10,93): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(11,34): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(12,32): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(12,149): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/facade/promise.d.ts(13,43): error TS2304: Cannot find name 'Promise'.<br> node_modules/angular2/src/http/headers.d.ts(43,59): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/http/url_search_params.d.ts(11,16): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/platform/browser/browser_adapter.d.ts(75,33): error TS2304: Cannot find name 'Map'.<br> node_modules/angular2/src/platform/dom/dom_adapter.d.ts(85,42): error TS2304: Cannot find name 'Map'.<br> node_modules/rxjs/CoreOperators.d.ts(35,67): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/CoreOperators.d.ts(50,66): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/CoreOperators.d.ts(89,67): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/CoreOperators.d.ts(94,38): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/CoreOperators.d.ts(94,50): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(46,62): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(47,42): error TS2304: Cannot find name 'Iterator'.<br> node_modules/rxjs/Observable.d.ts(103,74): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(103,84): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(143,66): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(158,65): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(201,66): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(206,38): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/Observable.d.ts(206,50): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/observable/ForkJoinObservable.d.ts(6,50): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/observable/ForkJoinObservable.d.ts(7,58): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/observable/FromObservable.d.ts(7,38): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/observable/FromObservable.d.ts(7,51): error TS2304: Cannot find name 'Iterator'.<br> node_modules/rxjs/observable/PromiseObservable.d.ts(9,31): error TS2304: Cannot find name 'Promise'.<br> node_modules/rxjs/observable/PromiseObservable.d.ts(10,26): error TS2304: Cannot find name 'Promise'.</p>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[X] bug report =&gt; search github for a similar issue or PR before submitting [ ] 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">[X] bug report =&gt; search github for a similar issue or PR before submitting [ ] 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">When triggering ComponentRef.destroy(), no browser memory is ever released. Any injected dependencies are all still there and running, even though the component is gone.</p> <p dir="auto">Also:<br> When bootstrapping an app within an iframe, destroying that app and removing the iframe from the DOM does not release browser memory.</p> <p dir="auto">In both of these scenarios, browser memory builds up over time and the browser tab and angular app lock up or crash. Injected dependencies are created, but never removed.</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">Browser memory should be released as apps and components are destroyed.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <p dir="auto"><em>STEPS TO REPRODUCE</em></p> <p dir="auto">REPRODUCING DEPENDENCY LEAK</p> <ol dir="auto"> <li> <p dir="auto">Run the Tour of Heroes plnkr in Chrome or IE<br> <a href="https://plnkr.co/edit/R9axXVtjep5VO8hWygpA?p=preview" rel="nofollow">https://plnkr.co/edit/R9axXVtjep5VO8hWygpA?p=preview</a></p> </li> <li> <p dir="auto">Open the js console and watch the logging in the hero service, which does not stop after destroying the app.</p> </li> </ol> <ul dir="auto"> <li>Note, this is the Tour of Heroes example, except that after the app is bootstrapped in main.ts, I've added a 15sec timer that runs ref.destroy(). Additionally, in the hero.service.ts file, I added a console log in the constructor that prints every second. You can see that the service continues to run even after triggering .destroy() on the component ref.</li> </ul> <p dir="auto">REPRODUCING IFRAME LEAK</p> <ol dir="auto"> <li> <p dir="auto">Run the Tour of Heroes live example in IE 11<br> <a href="https://angular.io/resources/live-examples/toh-6/ts/eplnkr.html" rel="nofollow">https://angular.io/resources/live-examples/toh-6/ts/eplnkr.html</a></p> </li> <li> <p dir="auto">Open F12 dev tools, click on Memory and click "Start profiling to begin a performance session"</p> </li> <li> <p dir="auto">Make changes to the files by adding line breaks. Every time the app reloads in the iframe the memory will grow. After about 15 minutes of this the app will lock up due to the IE tab hitting the 1.5Gb memory limit. If you test with app that has more dependencies, it will lock up much faster.</p> </li> </ol> <p dir="auto">This can be reproduced in Chrome too, it just takes longer for the memory leak to build up that much.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">Large-scale angular apps that use iframes or rely on destroying components will leak memory over time and eventually crash or lock up.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <p dir="auto">Mac OS 10.11.6</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.X</li> </ul> <p dir="auto">Angular v2.4.1</p> <ul dir="auto"> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li> </ul> <p dir="auto">all</p> <ul dir="auto"> <li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br> all</li> <li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</li> </ul>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.33.0]</li> <li>Operating System: [M1 macOS 13.3.1 (a)]</li> <li>Browser: [WebKit]</li> <li>Other info:</li> </ul> <p dir="auto">This is sort of a 2 parter but I believe they are part of the same issue. When I run the test with Safari desktop, the test always fails because the after hook cannot close the browser context. When I run the test in debug mode I get the segmentation fault error. It doesn't happen every time but at least half the time it does.. The app I am testing should be in full-screen the whole time which I think contributes to this error. The test SHOULD be running headless but my test always runs Safari with the browser open. The example tests run Safari in headless mode without the browser. I have provided a repro repo and shown my files below. Lastly, I have tried increasing the timeout and that did not change anything.</p> <p dir="auto">I tried another test (different website) and it passes and runs headless no problem. I believe the key factor here may be that the browser becomes full-screen.</p> <p dir="auto">Error with <code class="notranslate">npx playwright test</code>:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/80180474/236295555-192f47bd-c895-4dc6-ba9a-1e23d41bb36e.png"><img src="https://user-images.githubusercontent.com/80180474/236295555-192f47bd-c895-4dc6-ba9a-1e23d41bb36e.png" alt="Screenshot 2023-05-04 at 11 27 11 AM" style="max-width: 100%;"></a></p> <p dir="auto">Error with <code class="notranslate">npx playwright test --debug</code>:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Error: browserContext.close: Browser closed. ==================== Browser output: ==================== &lt;launching&gt; /Users/philipziolkowski/Library/Caches/ms-playwright/webkit-1837/pw_run.sh --inspector-pipe --no-startup-window &lt;launched&gt; pid=36374 [pid=36374][err] Inspection is enabled by default for process or parent application with 'com.apple.security.get-task-allow' entitlement linked against old SDK. Use `inspectable` API to enable inspection on newer SDKs. [pid=36374][err] /Users/philipziolkowski/Library/Caches/ms-playwright/webkit-1837/pw_run.sh: line 3: 36379 Bus error: 10 DYLD_FRAMEWORK_PATH=&quot;$DYLIB_PATH&quot; DYLD_LIBRARY_PATH=&quot;$DYLIB_PATH&quot; &quot;$PLAYWRIGHT&quot; &quot;$@&quot;"><pre class="notranslate">Error: browserContext.close: Browser closed. ==================== Browser output: ==================== <span class="pl-k">&lt;</span>launching<span class="pl-k">&gt;</span> /Users/philipziolkowski/Library/Caches/ms-playwright/webkit-1837/pw_run.sh --inspector-pipe --no-startup-window <span class="pl-k">&lt;</span>launched<span class="pl-k">&gt;</span> pid=36374 [pid<span class="pl-k">=</span>36374][err] Inspection is enabled by default <span class="pl-k">for</span> process or parent application with <span class="pl-s"><span class="pl-pds">'</span>com.apple.security.get-task-allow<span class="pl-pds">'</span></span> entitlement linked against old SDK. Use <span class="pl-s"><span class="pl-pds">`</span>inspectable<span class="pl-pds">`</span></span> API to <span class="pl-c1">enable</span> inspection on newer SDKs. [pid<span class="pl-k">=</span>36374][err] /Users/philipziolkowski/Library/Caches/ms-playwright/webkit-1837/pw_run.sh: line 3: 36379 Bus error: 10 DYLD_FRAMEWORK_PATH=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$DYLIB_PATH</span><span class="pl-pds">"</span></span> DYLD_LIBRARY_PATH=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$DYLIB_PATH</span><span class="pl-pds">"</span></span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$PLAYWRIGHT</span><span class="pl-pds">"</span></span> <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$@</span><span class="pl-pds">"</span></span></pre></div> <h3 dir="auto">Source code</h3> <ul dir="auto"> <li>[x ] I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto">[https://github.com/Zio-4/playwright-repro]</p> <p dir="auto">or</p> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts module.exports = defineConfig({ testDir: './tests/e2e', /* Run tests in files in parallel */ fullyParallel: true, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, /* Retry on CI only */ retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ // baseURL: 'http://127.0.0.1:3000', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', }, /* Configure projects for major browsers */ projects: [ { name: 'webkit', use: { ...devices['Desktop Safari'] }, }, });"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">testDir</span>: <span class="pl-s">'./tests/e2e'</span><span class="pl-kos">,</span> <span class="pl-c">/* Run tests in files in parallel */</span> <span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span> <span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span> <span class="pl-c">/* Retry on CI only */</span> <span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">/* Opt out of parallel tests on CI. */</span> <span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span> <span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span> <span class="pl-c1">reporter</span>: <span class="pl-s">'html'</span><span class="pl-kos">,</span> <span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c">/* Base URL to use in actions like `await page.goto('/')`. */</span> <span class="pl-c">// baseURL: 'http://127.0.0.1:3000',</span> <span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span> <span class="pl-c1">trace</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">/* Configure projects for major browsers */</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'webkit'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test('should pass intros', async ({ page }) =&gt; { await page.goto('https://roar-swr-demo.web.app/'); await page.getByRole('button', { name: 'Continue' }).click(); await page.getByText('Press ANY KEY to continue').press('ArrowRight'); await page.getByText('Press ANY KEY to continue').press('ArrowRight'); await page.getByText('Press ANY KEY to practice').press('ArrowRight'); const arrows = page.getByAltText('arrow-key') expect(arrows).toBeDefined() });"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'should pass intros'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://roar-swr-demo.web.app/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'button'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Continue'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByText</span><span class="pl-kos">(</span><span class="pl-s">'Press ANY KEY to continue'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">press</span><span class="pl-kos">(</span><span class="pl-s">'ArrowRight'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByText</span><span class="pl-kos">(</span><span class="pl-s">'Press ANY KEY to continue'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">press</span><span class="pl-kos">(</span><span class="pl-s">'ArrowRight'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByText</span><span class="pl-kos">(</span><span class="pl-s">'Press ANY KEY to practice'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">press</span><span class="pl-kos">(</span><span class="pl-s">'ArrowRight'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">arrows</span> <span class="pl-c1">=</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByAltText</span><span class="pl-kos">(</span><span class="pl-s">'arrow-key'</span><span class="pl-kos">)</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">arrows</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBeDefined</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Created a new app with <code class="notranslate">npx create-roar-app@latest my-roar-app</code> (<a href="https://yeatmanlab.github.io/create-roar-app/developer-guide/installation/" rel="nofollow">https://yeatmanlab.github.io/create-roar-app/developer-guide/installation/</a>)</li> <li>installed playwright with <code class="notranslate">npm init playwright@latest</code></li> <li>added e2e folder with test</li> <li>ran <code class="notranslate">npx playwright test</code> and <code class="notranslate">npx playwright test --debug</code></li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">[Describe expected behavior]<br> For the normal test command I expect the test to pass (and run headless) and close the browser context.<br> For the debug test command I expect the test to pass and close the browser context.</p> <p dir="auto"><strong>Actual</strong><br> For the normal test command, the test runs headfull (should be headless) and hangs at the end until the timeout occurs. It is in full-screen but the same happens out of full-screen.</p> <p dir="auto">For the debug test command the test passes and hangs on a black screen (due to being full-screen). Pressing escape runs the html report and shows the seg fault error.</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.32.1</li> <li>Operating System: macOS 13.2</li> <li>Browser: Chromium</li> <li>Other info:</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><a href="https://github.com/pdyck/short-link-management/blob/main/playwright.config.ts">https://github.com/pdyck/short-link-management/blob/main/playwright.config.ts</a></p> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import { defineConfig, devices } from &quot;@playwright/test&quot;; const baseURL = &quot;http://localhost:3000&quot;; export default defineConfig({ timeout: 30 * 1000, testDir: &quot;./tests&quot;, testMatch: /.*\.e2e\.tsx?/, retries: 2, webServer: { command: &quot;yarn start&quot;, timeout: 10 * 1000, url: baseURL, reuseExistingServer: false, }, use: { baseURL, trace: &quot;retry-with-trace&quot;, }, projects: [ { name: &quot;chromium&quot;, use: { ...devices[&quot;Desktop Chrome&quot;] }, }, ], }); "><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"@playwright/test"</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">baseURL</span> <span class="pl-c1">=</span> <span class="pl-s">"http://localhost:3000"</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">30</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span> <span class="pl-c1">testDir</span>: <span class="pl-s">"./tests"</span><span class="pl-kos">,</span> <span class="pl-c1">testMatch</span>: <span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">*</span><span class="pl-cce">\.</span>e2e<span class="pl-cce">\.</span>tsx?<span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">retries</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">webServer</span>: <span class="pl-kos">{</span> <span class="pl-c1">command</span>: <span class="pl-s">"yarn start"</span><span class="pl-kos">,</span> <span class="pl-c1">timeout</span>: <span class="pl-c1">10</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span> <span class="pl-c1">url</span>: <span class="pl-s1">baseURL</span><span class="pl-kos">,</span> <span class="pl-c1">reuseExistingServer</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> baseURL<span class="pl-kos">,</span> <span class="pl-c1">trace</span>: <span class="pl-s">"retry-with-trace"</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">"chromium"</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">"Desktop Chrome"</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { test, expect } from &quot;@playwright/test&quot;; test(&quot;has title&quot;, async ({ page }) =&gt; { await page.goto(&quot;/&quot;); await expect(page).toHaveTitle(/Test/); });"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s1">expect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"@playwright/test"</span><span class="pl-kos">;</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"has title"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">"/"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Test<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li><code class="notranslate">yarn playwright test</code></li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">The web server starts and the tests run.</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">Playwright pings the <code class="notranslate">baseURL</code> until timeout and only starts the web server after that. Tested it with timeouts from 10s to 120s.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ DEBUG=pw:webserver yarn playwright test yarn run v1.22.19 $ .../node_modules/.bin/playwright test pw:webserver HTTP GET: http://localhost:3000/ +0ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:3000 +309ms pw:webserver Starting WebServer process yarn start... +0ms pw:webserver Process started +16ms pw:webserver Waiting for availability... +0ms pw:webserver HTTP GET: http://localhost:3000/ +0ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:3000 +309ms pw:webserver Waiting 100ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +101ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +967ms pw:webserver Waiting 250ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +253ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +616ms pw:webserver Waiting 500ms +1ms pw:webserver HTTP GET: http://localhost:3000/ +501ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +617ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +615ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +615ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +618ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +615ms pw:webserver Waiting 1000ms +0ms [WebServer] $ next start [WebServer] ready - started server on 0.0.0.0:3000, url: http://localhost:3000 [WebServer] info - Loaded env from .../.env.local Error: Timed out waiting 10000ms from config.webServer."><pre class="notranslate"><code class="notranslate">$ DEBUG=pw:webserver yarn playwright test yarn run v1.22.19 $ .../node_modules/.bin/playwright test pw:webserver HTTP GET: http://localhost:3000/ +0ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:3000 +309ms pw:webserver Starting WebServer process yarn start... +0ms pw:webserver Process started +16ms pw:webserver Waiting for availability... +0ms pw:webserver HTTP GET: http://localhost:3000/ +0ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:3000 +309ms pw:webserver Waiting 100ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +101ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +967ms pw:webserver Waiting 250ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +253ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +616ms pw:webserver Waiting 500ms +1ms pw:webserver HTTP GET: http://localhost:3000/ +501ms pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +617ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +615ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +615ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +618ms pw:webserver Waiting 1000ms +0ms pw:webserver HTTP GET: http://localhost:3000/ +1s pw:webserver Error while checking if http://localhost:3000/ is available: connect ECONNREFUSED ::1:80 +615ms pw:webserver Waiting 1000ms +0ms [WebServer] $ next start [WebServer] ready - started server on 0.0.0.0:3000, url: http://localhost:3000 [WebServer] info - Loaded env from .../.env.local Error: Timed out waiting 10000ms from config.webServer. </code></pre></div> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1350990568" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/16834" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/16834/hovercard" href="https://github.com/microsoft/playwright/issues/16834">#16834</a></p>
0
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Bug</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">Part of our dependency tree:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@client/[email protected] ├─┬ @client/[email protected] │ └─┬ @client/[email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └── [email protected] ├── [email protected] "><pre class="notranslate"><code class="notranslate">@client/[email protected] ├─┬ @client/[email protected] │ └─┬ @client/[email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └── [email protected] ├── [email protected] </code></pre></div> <p dir="auto">But importing <code class="notranslate">pixel</code> fails, because it actually ends up with <code class="notranslate">[email protected]</code> (which is incompatible).</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.</strong></p> <p dir="auto">Node 9.5.0<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected]<br> [email protected] deduped<br> [email protected] deduped<br> [email protected] deduped<br> [email protected]<br> [email protected]</p>
<p dir="auto">This would be a nice feature for the debug view. :)</p>
0
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.175 Windows Terminal version (if applicable): 0.2.1715.0 German Windows installation and keyboard."><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.175 Windows Terminal version (if applicable): 0.2.1715.0 German Windows installation and keyboard. </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Try to type an at-sign by pressing <code class="notranslate">ALTGR+Q</code>. Doesn't matter if it's Cmd, Ubuntu or PowerShell</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto"><code class="notranslate">@</code> sign is printed to console</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Ubuntu: Clears part of the previous executed commands<br> Cmd: prints just a <code class="notranslate">q</code><br> PowerShell: no output</p>
<p dir="auto"><strong>Your Windows build number:</strong><br> 10.0.18362.86</p> <p dir="auto"><strong>What you're doing and what's happening:</strong><br> Trying to enter the <code class="notranslate">@</code> sign on a Swedish keyboard in a PowerShell console using <code class="notranslate">Alt Gr</code> + <code class="notranslate">2</code>.<br> See animated gif:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/357872/57315225-7099c400-70f3-11e9-803f-4d60d11feef5.gif"><img src="https://user-images.githubusercontent.com/357872/57315225-7099c400-70f3-11e9-803f-4d60d11feef5.gif" alt="terminal" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto"><strong>What's wrong / what should be happening instead:</strong><br> Windows terminal shows <code class="notranslate">digit-argument</code> instead of outputting the <code class="notranslate">@</code> sign as expected.</p> <p dir="auto">It's possible this is a PEBKAC error somehow but the problem doesn't show up in the normal PowerShell console... 😓</p>
1
<p dir="auto">Hello guys! Have an issue with image displaying.</p> <p dir="auto">here is my onBindViewHolder code</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public void onBindViewHolder(ImagesViewHolder holder, int position) { ImageEntity image = list.get(position); ImageView imageView = holder.imageView; imageView.setImageDrawable(null); Glide.with(context) .load(image.simpleUrl) .centerCrop() .diskCacheStrategy(DiskCacheStrategy.ALL) .listener(new RequestListener&lt;String, GlideDrawable&gt;() { @Override public boolean onException(Exception e, String model, Target&lt;GlideDrawable&gt; target, boolean isFirstResource) { Log.e(&quot;IMAGE_EXCEPTION&quot;, &quot;Exception &quot; + e.toString()); return false; } @Override public boolean onResourceReady(GlideDrawable resource, String model, Target&lt;GlideDrawable&gt; target, boolean isFromMemoryCache, boolean isFirstResource) { return false; } }) .into(imageView); }"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">onBindViewHolder</span>(<span class="pl-smi">ImagesViewHolder</span> <span class="pl-s1">holder</span>, <span class="pl-smi">int</span> <span class="pl-s1">position</span>) { <span class="pl-smi">ImageEntity</span> <span class="pl-s1">image</span> = <span class="pl-s1">list</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>); <span class="pl-smi">ImageView</span> <span class="pl-s1">imageView</span> = <span class="pl-s1">holder</span>.<span class="pl-s1">imageView</span>; <span class="pl-s1">imageView</span>.<span class="pl-en">setImageDrawable</span>(<span class="pl-c1">null</span>); <span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">context</span>) .<span class="pl-en">load</span>(<span class="pl-s1">image</span>.<span class="pl-s1">simpleUrl</span>) .<span class="pl-en">centerCrop</span>() .<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">ALL</span>) .<span class="pl-en">listener</span>(<span class="pl-k">new</span> <span class="pl-smi">RequestListener</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">GlideDrawable</span>&gt;() { <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">onException</span>(<span class="pl-smi">Exception</span> <span class="pl-s1">e</span>, <span class="pl-smi">String</span> <span class="pl-s1">model</span>, <span class="pl-smi">Target</span>&lt;<span class="pl-smi">GlideDrawable</span>&gt; <span class="pl-s1">target</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFirstResource</span>) { <span class="pl-smi">Log</span>.<span class="pl-en">e</span>(<span class="pl-s">"IMAGE_EXCEPTION"</span>, <span class="pl-s">"Exception "</span> + <span class="pl-s1">e</span>.<span class="pl-en">toString</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">boolean</span> <span class="pl-en">onResourceReady</span>(<span class="pl-smi">GlideDrawable</span> <span class="pl-s1">resource</span>, <span class="pl-smi">String</span> <span class="pl-s1">model</span>, <span class="pl-smi">Target</span>&lt;<span class="pl-smi">GlideDrawable</span>&gt; <span class="pl-s1">target</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFromMemoryCache</span>, <span class="pl-smi">boolean</span> <span class="pl-s1">isFirstResource</span>) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } }) .<span class="pl-en">into</span>(<span class="pl-s1">imageView</span>); }</pre></div> <p dir="auto">but after I scroll recyclerView up I got this<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8720664/12856865/af4a61d8-cc4f-11e5-9d58-625610043373.png"><img src="https://cloud.githubusercontent.com/assets/8720664/12856865/af4a61d8-cc4f-11e5-9d58-625610043373.png" alt="image" style="max-width: 100%;"></a><br> Please help me, thanks</p>
<p dir="auto">Glide sometimes doesn't load image<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8720664/10798680/8a6f0612-7db1-11e5-81cc-b27578fcd571.png"><img src="https://cloud.githubusercontent.com/assets/8720664/10798680/8a6f0612-7db1-11e5-81cc-b27578fcd571.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">please help, already have searched other issues but it has not helped.</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Override public void onBindViewHolder(final ImagesViewHolder holder, final int i) { String url; if (category_list == null) { url = Utils.getImageUrl(list.get(i).getId(), list.get(i).getFormat()); holder.thumbnail.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (MainActivity.isDrawerOpened()) { return; } FSAdController.checkFsTriger(context); GalleryActivity.loadedNumber = GalleryFragment.THIMBNAILS_NUMBER; Intent intent = new Intent(context, GalleryActivity.class); intent.putExtra(&quot;position&quot;, i); GalleryActivity.setImageList(list); GalleryActivity.templateURL = template; context.startActivity(intent); } }); holder.pannel.setVisibility(View.GONE); } else { url = category_list.get(i).getImage_url(); holder.thumbnail.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { ((MainActivity) context).gotoCategoryHolder(i); } }); } Glide .with(context) .load(url) .asBitmap() .diskCacheStrategy(DiskCacheStrategy.ALL) .into(new BitmapImageViewTarget(holder.thumbnail) { @Override public void onResourceReady(Bitmap bitmap, GlideAnimation anim) { super.onResourceReady(bitmap, anim); if (category_list != null) { String panelColor = &quot;#&quot; + Integer.toHexString(Utils.getDominantColor(bitmap)).substring(2).toUpperCase(); holder.pannel.setBackgroundColor(Color.parseColor(panelColor)); String textColor = &quot;#&quot; + Integer.toHexString(Utils. getContrastColor(panelColor.substring(1, panelColor.length()))) .substring(2).toUpperCase(); holder.nameView.setTextColor(Color.parseColor(textColor)); holder.nameView.setText(category_list.get(i).getName()); } } }); }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-s1">onBindViewHolder</span>(<span class="pl-k">final</span> <span class="pl-smi">ImagesViewHolder</span> <span class="pl-s1">holder</span>, <span class="pl-k">final</span> <span class="pl-smi">int</span> <span class="pl-s1">i</span>) { <span class="pl-smi">String</span> <span class="pl-s1">url</span>; <span class="pl-k">if</span> (<span class="pl-s1">category_list</span> == <span class="pl-c1">null</span>) { <span class="pl-s1">url</span> = <span class="pl-smi">Utils</span>.<span class="pl-en">getImageUrl</span>(<span class="pl-s1">list</span>.<span class="pl-en">get</span>(<span class="pl-s1">i</span>).<span class="pl-en">getId</span>(), <span class="pl-s1">list</span>.<span class="pl-en">get</span>(<span class="pl-s1">i</span>).<span class="pl-en">getFormat</span>()); <span class="pl-s1">holder</span>.<span class="pl-s1">thumbnail</span>.<span class="pl-en">setOnClickListener</span>(<span class="pl-k">new</span> <span class="pl-smi">View</span>.<span class="pl-smi">OnClickListener</span>() { <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onClick</span>(<span class="pl-smi">View</span> <span class="pl-s1">v</span>) { <span class="pl-k">if</span> (<span class="pl-smi">MainActivity</span>.<span class="pl-en">isDrawerOpened</span>()) { <span class="pl-k">return</span>; } <span class="pl-smi">FSAdController</span>.<span class="pl-en">checkFsTriger</span>(<span class="pl-s1">context</span>); <span class="pl-smi">GalleryActivity</span>.<span class="pl-s1">loadedNumber</span> = <span class="pl-smi">GalleryFragment</span>.<span class="pl-c1">THIMBNAILS_NUMBER</span>; <span class="pl-smi">Intent</span> <span class="pl-s1">intent</span> = <span class="pl-k">new</span> <span class="pl-smi">Intent</span>(<span class="pl-s1">context</span>, <span class="pl-smi">GalleryActivity</span>.<span class="pl-k">class</span>); <span class="pl-s1">intent</span>.<span class="pl-en">putExtra</span>(<span class="pl-s">"position"</span>, <span class="pl-s1">i</span>); <span class="pl-smi">GalleryActivity</span>.<span class="pl-en">setImageList</span>(<span class="pl-s1">list</span>); <span class="pl-smi">GalleryActivity</span>.<span class="pl-s1">templateURL</span> = <span class="pl-s1">template</span>; <span class="pl-s1">context</span>.<span class="pl-en">startActivity</span>(<span class="pl-s1">intent</span>); } }); <span class="pl-s1">holder</span>.<span class="pl-s1">pannel</span>.<span class="pl-en">setVisibility</span>(<span class="pl-smi">View</span>.<span class="pl-c1">GONE</span>); } <span class="pl-k">else</span> { <span class="pl-s1">url</span> = <span class="pl-s1">category_list</span>.<span class="pl-en">get</span>(<span class="pl-s1">i</span>).<span class="pl-en">getImage_url</span>(); <span class="pl-s1">holder</span>.<span class="pl-s1">thumbnail</span>.<span class="pl-en">setOnClickListener</span>(<span class="pl-k">new</span> <span class="pl-smi">View</span>.<span class="pl-smi">OnClickListener</span>() { <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onClick</span>(<span class="pl-smi">View</span> <span class="pl-s1">v</span>) { ((<span class="pl-smi">MainActivity</span>) <span class="pl-s1">context</span>).<span class="pl-en">gotoCategoryHolder</span>(<span class="pl-s1">i</span>); } }); } <span class="pl-smi">Glide</span> .<span class="pl-en">with</span>(<span class="pl-s1">context</span>) .<span class="pl-en">load</span>(<span class="pl-s1">url</span>) .<span class="pl-en">asBitmap</span>() .<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">ALL</span>) .<span class="pl-en">into</span>(<span class="pl-k">new</span> <span class="pl-smi">BitmapImageViewTarget</span>(<span class="pl-s1">holder</span>.<span class="pl-s1">thumbnail</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">onResourceReady</span>(<span class="pl-smi">Bitmap</span> <span class="pl-s1">bitmap</span>, <span class="pl-smi">GlideAnimation</span> <span class="pl-s1">anim</span>) { <span class="pl-en">super</span>.<span class="pl-en">onResourceReady</span>(<span class="pl-s1">bitmap</span>, <span class="pl-s1">anim</span>); <span class="pl-k">if</span> (<span class="pl-s1">category_list</span> != <span class="pl-c1">null</span>) { <span class="pl-smi">String</span> <span class="pl-s1">panelColor</span> = <span class="pl-s">"#"</span> + <span class="pl-smi">Integer</span>.<span class="pl-en">toHexString</span>(<span class="pl-smi">Utils</span>.<span class="pl-en">getDominantColor</span>(<span class="pl-s1">bitmap</span>)).<span class="pl-en">substring</span>(<span class="pl-c1">2</span>).<span class="pl-en">toUpperCase</span>(); <span class="pl-s1">holder</span>.<span class="pl-s1">pannel</span>.<span class="pl-en">setBackgroundColor</span>(<span class="pl-smi">Color</span>.<span class="pl-en">parseColor</span>(<span class="pl-s1">panelColor</span>)); <span class="pl-smi">String</span> <span class="pl-s1">textColor</span> = <span class="pl-s">"#"</span> + <span class="pl-smi">Integer</span>.<span class="pl-en">toHexString</span>(<span class="pl-smi">Utils</span>. <span class="pl-en">getContrastColor</span>(<span class="pl-s1">panelColor</span>.<span class="pl-en">substring</span>(<span class="pl-c1">1</span>, <span class="pl-s1">panelColor</span>.<span class="pl-en">length</span>()))) .<span class="pl-en">substring</span>(<span class="pl-c1">2</span>).<span class="pl-en">toUpperCase</span>(); <span class="pl-s1">holder</span>.<span class="pl-s1">nameView</span>.<span class="pl-en">setTextColor</span>(<span class="pl-smi">Color</span>.<span class="pl-en">parseColor</span>(<span class="pl-s1">textColor</span>)); <span class="pl-s1">holder</span>.<span class="pl-s1">nameView</span>.<span class="pl-en">setText</span>(<span class="pl-s1">category_list</span>.<span class="pl-en">get</span>(<span class="pl-s1">i</span>).<span class="pl-en">getName</span>()); } } }); }</pre></div>
1
<p dir="auto">When a dashboard is exported not all the associated datasets are exported.<br> The datasets used by all the charts are exported but the datasets used only in native filters are missing in the exported zip file.</p> <h3 dir="auto">Expected results</h3> <p dir="auto">The dashboard export should contain all the datasets used in the dashboard including the datasets used by native filters.</p> <h3 dir="auto">Actual results</h3> <p dir="auto">The dashboard export contains the datasets used by the charts but is missing the datasets that are used only by native filters.</p> <h4 dir="auto">How to reproduce the bug</h4> <ol dir="auto"> <li>Go to a dashboard that uses native filters and has some charts. The native filters must use a dataset that is not used by any of the other charts</li> <li>Export the dashboard</li> <li>Unzip the exported zip file</li> <li>Expand the datasets directory and notice that the datasets used by the charts are present but the dataset used by the filters are missing</li> </ol> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>superset version: 1.3 branch</li> <li>Python version: Python 3.7.9</li> <li>node.js version: 14</li> </ul> <h3 dir="auto">Checklist</h3> <p dir="auto">Make sure to follow these steps before submitting your issue - thank you!</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li> </ul>
<p dir="auto">Column selection is not saved in export file, and saving dataset id in export file doesn't seem to be a correct approach</p> <h3 dir="auto">Expected results</h3> <p dir="auto">Import a dashboard with native filter to a new workspace should work seemlessly.</p> <h3 dir="auto">Actual results</h3> <ol dir="auto"> <li>Selected column is not present in the export file, resulting in new dashboard native filter error with missing column selection.</li> <li>Saving dataset id in the export file is an incorrect approach. The dataset id in a different workspace is different. In my example, dataset id =29 is already taken in the new workspace, this result in the imported dashboard showing the wrong dataset selection in native filter.</li> </ol> <h4 dir="auto">Screenshots</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/52086618/124030259-e1268d80-d9aa-11eb-9497-f373eb670a65.png"><img src="https://user-images.githubusercontent.com/52086618/124030259-e1268d80-d9aa-11eb-9497-f373eb670a65.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/52086618/124030653-411d3400-d9ab-11eb-954f-382602aee88c.png"><img src="https://user-images.githubusercontent.com/52086618/124030653-411d3400-d9ab-11eb-954f-382602aee88c.png" alt="Clipboard 2021-30-06 at 1 44 38 PM" style="max-width: 100%;"></a></p> <h4 dir="auto">How to reproduce the bug</h4> <ol dir="auto"> <li>Create a dashboard</li> <li>Create a value native filter and select dataset and column</li> <li>Export this dashboard</li> <li>Import this dashboard to a new workspace</li> </ol>
1
<p dir="auto">I wrote a script and tried to execute it. The python interpreter stopped the execution with a traceback saying that</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;.\main.py&quot;, line 3, in &lt;module&gt; import lyricsgetter File &quot;C:\Users\smart\Documents\Projects\telegram-lyrics-bot\lyricsgetter.py&quot;, line 1, in &lt;module&gt; import requests File &quot;C:\Users\smart\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\__init__.py&quot;, line 53, in &lt;module&gt; major, minor, patch = urllib3_version ValueError: not enough values to unpack (expected 3, got 1)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File ".\main.py", line 3, in &lt;module&gt; import lyricsgetter File "C:\Users\smart\Documents\Projects\telegram-lyrics-bot\lyricsgetter.py", line 1, in &lt;module&gt; import requests File "C:\Users\smart\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\__init__.py", line 53, in &lt;module&gt; major, minor, patch = urllib3_version ValueError: not enough values to unpack (expected 3, got 1) </code></pre></div> <p dir="auto">I then tried adding a <code class="notranslate">print(urllib3_version)</code> before line 53 in <code class="notranslate">__init__.py</code>.</p> <h2 dir="auto">Expected Result</h2> <p dir="auto"><code class="notranslate">print(urllib3_version)</code> should have returned the version, and my script should have executed fine.</p> <h2 dir="auto">Actual Result</h2> <p dir="auto"><code class="notranslate">print(urllib3_version)</code> printed <code class="notranslate">['dev']</code> and stopped the execution of my script with a <code class="notranslate">ValueError</code></p> <h2 dir="auto">Reproduction Steps</h2> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import requests"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">requests</span></pre></div> <h2 dir="auto">System Information</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help"><pre class="notranslate"><code class="notranslate">$ python -m requests.help </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="['1', '21', '1'] { &quot;chardet&quot;: { &quot;version&quot;: &quot;3.0.4&quot; }, &quot;cryptography&quot;: { &quot;version&quot;: &quot;&quot; }, &quot;implementation&quot;: { &quot;name&quot;: &quot;CPython&quot;, &quot;version&quot;: &quot;3.6.0&quot; }, &quot;platform&quot;: { &quot;release&quot;: &quot;10&quot;, &quot;system&quot;: &quot;Windows&quot; }, &quot;pyOpenSSL&quot;: { &quot;openssl_version&quot;: &quot;&quot;, &quot;version&quot;: null }, &quot;requests&quot;: { &quot;version&quot;: &quot;2.17.3&quot; }, &quot;system_ssl&quot;: { &quot;version&quot;: &quot;100020af&quot; }, &quot;urllib3&quot;: { &quot;version&quot;: &quot;1.21.1&quot; }, &quot;using_pyopenssl&quot;: false } "><pre class="notranslate"><code class="notranslate">['1', '21', '1'] { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.6.0" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "100020af" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } </code></pre></div>
<p dir="auto">When using requests, I've just upgraded and I'm having the following error:<br> <code class="notranslate">import requests as rq</code></p> <p dir="auto"><code class="notranslate">File "C:\Users\_HOME_\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\__init__.py", line 53, in &lt;module&gt;</code></p> <p dir="auto"><code class="notranslate">major, minor, patch= urllib3_version</code></p> <p dir="auto"><code class="notranslate">ValueError: not enough values to unpack (expected 3, got 1)</code></p>
1
<p dir="auto">The following code ICEs:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { let r : &amp;[int] = &amp;[1,2,3]; let _ = r as *const [int] as uint; }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> r <span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-kos">[</span><span class="pl-smi">int</span><span class="pl-kos">]</span> = <span class="pl-c1">&amp;</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span><span class="pl-c1">2</span><span class="pl-kos">,</span><span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> _ = r <span class="pl-k">as</span> <span class="pl-c1">*</span><span class="pl-k">const</span> <span class="pl-kos">[</span><span class="pl-smi">int</span><span class="pl-kos">]</span> <span class="pl-k">as</span> <span class="pl-smi">uint</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: translating unsupported cast: *const [int] (cast_other) -&gt; uint (cast_integral) note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /tmp/tmp.AJuZnZc9G6/rust/src/libsyntax/ast_util.rs:776 stack backtrace: 1: 0x7fd831534e20 - rt::backtrace::imp::write::h05ad71e0d8d53545YFq 2: 0x7fd831537fe0 - failure::on_fail::h67318170e271381eq1q 3: 0x7fd831d0ef40 - unwind::begin_unwind_inner::hab98eb958c8dd037MTd 4: 0x7fd830019c20 - unwind::begin_unwind::h6101647644969584620 5: 0x7fd83001a3c0 - diagnostic::Handler::bug::h73bed1cade32a05dYID 6: 0x7fd832101800 - driver::session::Session::bug::haf0a22dbefd7a44bSmv 7: 0x7fd8325467d0 - middle::trans::expr::trans_imm_cast::h3be503504a2cb4d6iY2 8: 0x7fd832539140 - middle::trans::expr::trans_unadjusted::hd291a28db4ab1b64i50 9: 0x7fd8324f6380 - middle::trans::expr::trans::h4aa7a0f1f6a515f12o0 10: 0x7fd83259d640 - middle::trans::_match::store_local::h95ac038bd6a8824cjRf 11: 0x7fd8324f4310 - middle::trans::base::init_local::hcaa97d53d8042b21zyb 12: 0x7fd8324f3810 - middle::trans::controlflow::trans_stmt::h754badf284040952fjW 13: 0x7fd8324f51b0 - middle::trans::controlflow::trans_block::hd9fdbeb4ba696bd2boW 14: 0x7fd8325a6520 - middle::trans::base::trans_closure::h201746f506a92a56lpc 15: 0x7fd8324e4b50 - middle::trans::base::trans_fn::hfc81a7de00fc2ea6yAc 16: 0x7fd8324e01d0 - middle::trans::base::trans_item::h0854978c1c605151HTc 17: 0x7fd8325b2910 - middle::trans::base::trans_crate::haa777e4646f5d49aBRd 18: 0x7fd8329f3c80 - driver::driver::phase_4_translate_to_llvm::hee038ef8fdb7099bjOu 19: 0x7fd8329eb130 - driver::driver::compile_input::h411f5de1517db61bIpu 20: 0x7fd832a7f680 - driver::run_compiler::h918ca986269540e0iay 21: 0x7fd832a7f560 - driver::main_args::closure.148406 22: 0x7fd83212f540 - task::TaskBuilder&lt;S&gt;::try_future::closure.100321 23: 0x7fd83212f330 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.100292 24: 0x7fd8333eb720 - task::spawn_opts::closure.8416 25: 0x7fd831d6f930 - rust_try_inner 26: 0x7fd831d6f920 - rust_try 27: 0x7fd831d0c520 - unwind::try::ha98ecfc6c2b84277uId 28: 0x7fd831d0c380 - task::Task::run::hc9ce4f8671722f9bfYc 29: 0x7fd8333eb490 - task::spawn_opts::closure.8356 30: 0x7fd831d0df70 - thread::thread_start::h605925f5652c970frid 31: 0x7fd830ff6dc0 - start_thread 32: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">error: internal compiler error: translating unsupported cast: *const [int] (cast_other) -&gt; uint (cast_integral) note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /tmp/tmp.AJuZnZc9G6/rust/src/libsyntax/ast_util.rs:776 stack backtrace: 1: 0x7fd831534e20 - rt::backtrace::imp::write::h05ad71e0d8d53545YFq 2: 0x7fd831537fe0 - failure::on_fail::h67318170e271381eq1q 3: 0x7fd831d0ef40 - unwind::begin_unwind_inner::hab98eb958c8dd037MTd 4: 0x7fd830019c20 - unwind::begin_unwind::h6101647644969584620 5: 0x7fd83001a3c0 - diagnostic::Handler::bug::h73bed1cade32a05dYID 6: 0x7fd832101800 - driver::session::Session::bug::haf0a22dbefd7a44bSmv 7: 0x7fd8325467d0 - middle::trans::expr::trans_imm_cast::h3be503504a2cb4d6iY2 8: 0x7fd832539140 - middle::trans::expr::trans_unadjusted::hd291a28db4ab1b64i50 9: 0x7fd8324f6380 - middle::trans::expr::trans::h4aa7a0f1f6a515f12o0 10: 0x7fd83259d640 - middle::trans::_match::store_local::h95ac038bd6a8824cjRf 11: 0x7fd8324f4310 - middle::trans::base::init_local::hcaa97d53d8042b21zyb 12: 0x7fd8324f3810 - middle::trans::controlflow::trans_stmt::h754badf284040952fjW 13: 0x7fd8324f51b0 - middle::trans::controlflow::trans_block::hd9fdbeb4ba696bd2boW 14: 0x7fd8325a6520 - middle::trans::base::trans_closure::h201746f506a92a56lpc 15: 0x7fd8324e4b50 - middle::trans::base::trans_fn::hfc81a7de00fc2ea6yAc 16: 0x7fd8324e01d0 - middle::trans::base::trans_item::h0854978c1c605151HTc 17: 0x7fd8325b2910 - middle::trans::base::trans_crate::haa777e4646f5d49aBRd 18: 0x7fd8329f3c80 - driver::driver::phase_4_translate_to_llvm::hee038ef8fdb7099bjOu 19: 0x7fd8329eb130 - driver::driver::compile_input::h411f5de1517db61bIpu 20: 0x7fd832a7f680 - driver::run_compiler::h918ca986269540e0iay 21: 0x7fd832a7f560 - driver::main_args::closure.148406 22: 0x7fd83212f540 - task::TaskBuilder&lt;S&gt;::try_future::closure.100321 23: 0x7fd83212f330 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.100292 24: 0x7fd8333eb720 - task::spawn_opts::closure.8416 25: 0x7fd831d6f930 - rust_try_inner 26: 0x7fd831d6f920 - rust_try 27: 0x7fd831d0c520 - unwind::try::ha98ecfc6c2b84277uId 28: 0x7fd831d0c380 - task::Task::run::hc9ce4f8671722f9bfYc 29: 0x7fd8333eb490 - task::spawn_opts::closure.8356 30: 0x7fd831d0df70 - thread::thread_start::h605925f5652c970frid 31: 0x7fd830ff6dc0 - start_thread 32: 0x0 - &lt;unknown&gt; </code></pre></div>
<p dir="auto">Code:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn f() -&gt; u64 { 0 } fn main() { let n = f as f32; }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">u64</span> <span class="pl-kos">{</span> <span class="pl-c1">0</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> n = f <span class="pl-k">as</span> <span class="pl-smi">f32</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Error with backtrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="src/main.rs:6:9: 6:10 warning: unused variable: `n`, #[warn(unused_variable)] on by default src/main.rs:6 let n = f as f32; ^ error: internal compiler error: translating unsupported cast: fn() -&gt; u64 (cast_pointer) -&gt; f32 (cast_float) note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:163 stack backtrace: 1: 0x7f6e5389ced0 - rt::backtrace::imp::write::h3e02102493c7a1b79Hp::v0.11.0.pre 2: 0x7f6e538a3a00 - failure::on_fail::h73803e3fd7728138o3p::v0.11.0.pre 3: 0x7f6e55a06ef0 - unwind::begin_unwind_inner::h66e3981eb8555b96cZd::v0.11.0.pre 4: 0x7f6e54e4a4e0 - unwind::begin_unwind::h14114372353668361027::v0.11.0.pre 5: 0x7f6e54e4ae80 - diagnostic::Handler::bug::h163e51ddd1a017c2Dgc::v0.11.0.pre 6: 0x7f6e562f9520 - driver::session::Session::bug::h09f59f7b6f35750fdsr::v0.11.0.pre 7: 0x7f6e5637cbf0 - middle::trans::expr::trans_imm_cast::h261d15fd2f6453feLQh::v0.11.0.pre 8: 0x7f6e5636e380 - middle::trans::expr::trans_unadjusted::h37391b28c8fd0d0b60f::v0.11.0.pre 9: 0x7f6e5632a310 - middle::trans::expr::trans_into::hdc05c03d27b262d4JDf::v0.11.0.pre 10: 0x7f6e56434000 - middle::trans::_match::store_local::closure.85655 11: 0x7f6e56433cf0 - middle::trans::_match::mk_binding_alloca::h16257314354832004452::v0.11.0.pre 12: 0x7f6e563eaa70 - middle::trans::_match::store_local::h71f3ff230e537ab6JEu::v0.11.0.pre 13: 0x7f6e563297e0 - middle::trans::base::init_local::he8478d5bef2cef9cOZp::v0.11.0.pre 14: 0x7f6e56328d40 - middle::trans::controlflow::trans_stmt::h77aa44239cd8a9d8Mdc::v0.11.0.pre 15: 0x7f6e5632a940 - middle::trans::controlflow::trans_block::hf4faa65f79a4fae52ic::v0.11.0.pre 16: 0x7f6e563f0850 - middle::trans::base::trans_closure::hbab3416264edbe7aauq::v0.11.0.pre 17: 0x7f6e562fa790 - middle::trans::base::trans_fn::hd7d1d11484c269ccbCq::v0.11.0.pre 18: 0x7f6e562f3230 - middle::trans::base::trans_item::h40a4f8eccf6f8e7eCSq::v0.11.0.pre 19: 0x7f6e564011b0 - middle::trans::base::trans_crate::h470bfcf3cac093e1JMr::v0.11.0.pre 20: 0x7f6e56c06570 - driver::driver::phase_4_translate_to_llvm::h2fa30f4b120cdb579Aq::v0.11.0.pre 21: 0x7f6e56bfd2b0 - driver::driver::compile_input::h1d313b682f9ead2bDeq::v0.11.0.pre 22: 0x7f6e56cca0c0 - driver::run_compiler::hcc8540f7b478ad28b0s::v0.11.0.pre 23: 0x7f6e56cc9fd0 - driver::main_args::closure.117522 24: 0x7f6e56cdf0f0 - task::TaskBuilder&lt;S&gt;::try_future::closure.118663 25: 0x7f6e56cded10 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.118640 26: 0x7f6e55d5c590 - task::spawn_opts::closure.7462 27: 0x7f6e55a5f290 - rust_try 28: 0x7f6e55a03500 - unwind::try::h800fde6f36f3558bBNd::v0.11.0.pre 29: 0x7f6e55a031e0 - task::Task::run::hf743f122a6385418XYc::v0.11.0.pre 30: 0x7f6e55d5c350 - task::spawn_opts::closure.7408 31: 0x7f6e55a05da0 - thread::thread_start::hd9510588dd47efddvld::v0.11.0.pre 32: 0x7f6e53311060 - start_thread 33: 0x7f6e556cd489 - __clone 34: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">src/main.rs:6:9: 6:10 warning: unused variable: `n`, #[warn(unused_variable)] on by default src/main.rs:6 let n = f as f32; ^ error: internal compiler error: translating unsupported cast: fn() -&gt; u64 (cast_pointer) -&gt; f32 (cast_float) note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:163 stack backtrace: 1: 0x7f6e5389ced0 - rt::backtrace::imp::write::h3e02102493c7a1b79Hp::v0.11.0.pre 2: 0x7f6e538a3a00 - failure::on_fail::h73803e3fd7728138o3p::v0.11.0.pre 3: 0x7f6e55a06ef0 - unwind::begin_unwind_inner::h66e3981eb8555b96cZd::v0.11.0.pre 4: 0x7f6e54e4a4e0 - unwind::begin_unwind::h14114372353668361027::v0.11.0.pre 5: 0x7f6e54e4ae80 - diagnostic::Handler::bug::h163e51ddd1a017c2Dgc::v0.11.0.pre 6: 0x7f6e562f9520 - driver::session::Session::bug::h09f59f7b6f35750fdsr::v0.11.0.pre 7: 0x7f6e5637cbf0 - middle::trans::expr::trans_imm_cast::h261d15fd2f6453feLQh::v0.11.0.pre 8: 0x7f6e5636e380 - middle::trans::expr::trans_unadjusted::h37391b28c8fd0d0b60f::v0.11.0.pre 9: 0x7f6e5632a310 - middle::trans::expr::trans_into::hdc05c03d27b262d4JDf::v0.11.0.pre 10: 0x7f6e56434000 - middle::trans::_match::store_local::closure.85655 11: 0x7f6e56433cf0 - middle::trans::_match::mk_binding_alloca::h16257314354832004452::v0.11.0.pre 12: 0x7f6e563eaa70 - middle::trans::_match::store_local::h71f3ff230e537ab6JEu::v0.11.0.pre 13: 0x7f6e563297e0 - middle::trans::base::init_local::he8478d5bef2cef9cOZp::v0.11.0.pre 14: 0x7f6e56328d40 - middle::trans::controlflow::trans_stmt::h77aa44239cd8a9d8Mdc::v0.11.0.pre 15: 0x7f6e5632a940 - middle::trans::controlflow::trans_block::hf4faa65f79a4fae52ic::v0.11.0.pre 16: 0x7f6e563f0850 - middle::trans::base::trans_closure::hbab3416264edbe7aauq::v0.11.0.pre 17: 0x7f6e562fa790 - middle::trans::base::trans_fn::hd7d1d11484c269ccbCq::v0.11.0.pre 18: 0x7f6e562f3230 - middle::trans::base::trans_item::h40a4f8eccf6f8e7eCSq::v0.11.0.pre 19: 0x7f6e564011b0 - middle::trans::base::trans_crate::h470bfcf3cac093e1JMr::v0.11.0.pre 20: 0x7f6e56c06570 - driver::driver::phase_4_translate_to_llvm::h2fa30f4b120cdb579Aq::v0.11.0.pre 21: 0x7f6e56bfd2b0 - driver::driver::compile_input::h1d313b682f9ead2bDeq::v0.11.0.pre 22: 0x7f6e56cca0c0 - driver::run_compiler::hcc8540f7b478ad28b0s::v0.11.0.pre 23: 0x7f6e56cc9fd0 - driver::main_args::closure.117522 24: 0x7f6e56cdf0f0 - task::TaskBuilder&lt;S&gt;::try_future::closure.118663 25: 0x7f6e56cded10 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.118640 26: 0x7f6e55d5c590 - task::spawn_opts::closure.7462 27: 0x7f6e55a5f290 - rust_try 28: 0x7f6e55a03500 - unwind::try::h800fde6f36f3558bBNd::v0.11.0.pre 29: 0x7f6e55a031e0 - task::Task::run::hf743f122a6385418XYc::v0.11.0.pre 30: 0x7f6e55d5c350 - task::spawn_opts::closure.7408 31: 0x7f6e55a05da0 - thread::thread_start::hd9510588dd47efddvld::v0.11.0.pre 32: 0x7f6e53311060 - start_thread 33: 0x7f6e556cd489 - __clone 34: 0x0 - &lt;unknown&gt; </code></pre></div>
1
<p dir="auto">Shortcut Guide will not work after sometime of launching PowerToys. I have to restart PowerToys to make it work again.</p>
<h1 dir="auto">Environment</h1> <p dir="auto">Microsoft Windows [Version 10.0.18363.836]<br> PowerToys [Version v0.17.0]<br> Shortcut Guide</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">When I hold [Win], Shortcut Guide is not appear.<br> Sometimes it doesn't work suddenly.<br> This bug sometimes fix suddenly or doesn't fix until reboot windows.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Hold [Win] then appear Shortcut Guide.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Hold [Win] but there is no actions.<br> Release [Win] then appear Start menu.</p> <p dir="auto">It doesn't help me to reboot PowerToys or Toggle ShortcutGuide.<br> Other apps (e.g. Window Walker) work well, but FancyZone doesn't work sometimes at the same time.</p> <h1 dir="auto">Screenshots</h1> <p dir="auto">It is my setting.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42331656/82132874-93d77300-981f-11ea-938f-03f11d12e927.png"><img src="https://user-images.githubusercontent.com/42331656/82132874-93d77300-981f-11ea-938f-03f11d12e927.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/42331656/82132875-9e920800-981f-11ea-96ba-d11b70b3425e.png"><img src="https://user-images.githubusercontent.com/42331656/82132875-9e920800-981f-11ea-96ba-d11b70b3425e.png" alt="image" style="max-width: 100%;"></a></p>
1
<p dir="auto">I don't think that the spell-check package is doing anything wrong here, so I assume that this visual bug is due to decorations stretching across soft-wrap boundaries when maybe they shouldn't:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1038121/5606912/de32d7fc-93fa-11e4-985e-02304d21b02b.png"><img src="https://cloud.githubusercontent.com/assets/1038121/5606912/de32d7fc-93fa-11e4-985e-02304d21b02b.png" alt="screen shot 2015-01-04 at 10 17 03 am" style="max-width: 100%;"></a></p> <p dir="auto"><em>(As a side note, I'm impressed that supercalifragilisticexpialidocious is in the OS X dictionary. I had to come up with another long nonsense word <g-emoji class="g-emoji" alias="laughing" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f606.png">😆</g-emoji>)</em></p> <p dir="auto">I would expect that "absafragginglutely" would be decorated, but <em>not</em> the space between "absafragginglutely" and the previous instance of the word "testing".</p> <p dir="auto">Atom v0.166.0-25b44ce on Mac OS X 10.10.1</p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/benogle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/benogle">@benogle</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/88668fb5aae5a7b8893e2647ab95ebd67143c2b32bc566bbea9ff05c9ba54e83/687474703a2f2f692e696d6775722e636f6d2f3377476e7032302e706e67"><img src="https://camo.githubusercontent.com/88668fb5aae5a7b8893e2647ab95ebd67143c2b32bc566bbea9ff05c9ba54e83/687474703a2f2f692e696d6775722e636f6d2f3377476e7032302e706e67" alt="1" data-canonical-src="http://i.imgur.com/3wGnp20.png" style="max-width: 100%;"></a></p> <p dir="auto">And when I make the window wider again:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/26e0a7181e712c4ada50dde9ab811bea2d7e7c806f47cfa74b35b932e8d48480/687474703a2f2f692e696d6775722e636f6d2f4e71686765676c2e706e67"><img src="https://camo.githubusercontent.com/26e0a7181e712c4ada50dde9ab811bea2d7e7c806f47cfa74b35b932e8d48480/687474703a2f2f692e696d6775722e636f6d2f4e71686765676c2e706e67" alt="2" data-canonical-src="http://i.imgur.com/Nqhgegl.png" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="'global': 'exception-reporting': 'userId': '84c65616-dd5b-347b-3d53-50153c0eb9a2' 'welcome': 'showOnStartup': false 'core': {} 'editor': 'invisibles': {} 'spell-check': {} spell-check 0.45.0 atom 0.165.0"><pre class="notranslate"><code class="notranslate">'global': 'exception-reporting': 'userId': '84c65616-dd5b-347b-3d53-50153c0eb9a2' 'welcome': 'showOnStartup': false 'core': {} 'editor': 'invisibles': {} 'spell-check': {} spell-check 0.45.0 atom 0.165.0 </code></pre></div>
1
<p dir="auto">This CSS line is incorrect:</p> <p dir="auto">.navbar-nav.navbar-right:last-child{margin-right:-15px}</p> <p dir="auto">Because the navbar-right floats right, the last child is actually the first menu item within the menu:</p> <p dir="auto">[last-child] [middle child] [first child]</p> <p dir="auto">Therefore, the left menu option sits too close to the middle menu option. Instead, the CSS should be:</p> <p dir="auto">.navbar-nav.navbar-right:first-child{margin-right:-15px}</p> <p dir="auto">This makes the item all the way to the right be closer to the edge and spaces all menu items evently.</p>
<p dir="auto">If you have a navbar with navbar-fixed-top, and items in a navbar-right, the last item hangs over the container by 15px. You can see this with the example on the getbootstrap site: <a href="http://getbootstrap.com/examples/navbar-fixed-top/" rel="nofollow">http://getbootstrap.com/examples/navbar-fixed-top/</a></p>
1
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p> <h2 dir="auto">Yes - problems using the FlexVolume<br> <strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): flexvolume unmount</h2> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): 1.4.6<br> Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.6", GitCommit:"e569a27d02001e343cb68086bc06d47804f62af6", GitTreeState:"clean", BuildDate:"2016-11-12T05:22:15Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"windows/amd64"}<br> Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.6+coreos.0", GitCommit:"ec2b52fabadf824a42b66b6729fe4cff2c62af8c", GitTreeState:"clean", BuildDate:"2016-11-14T19:42:00Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}</p> <p dir="auto"><strong>Environment</strong>:<br> CoreOS</p> <ul dir="auto"> <li> <p dir="auto"><strong>Cloud provider or hardware configuration</strong>:<br> local vagrant</p> </li> <li> <p dir="auto"><strong>OS</strong> (e.g. from /etc/os-release):<br> NAME=CoreOS<br> ID=coreos<br> VERSION=1235.0.0<br> VERSION_ID=1235.0.0<br> BUILD_ID=2016-11-17-0416<br> PRETTY_NAME="CoreOS 1235.0.0 (MoreOS)"<br> ANSI_COLOR="1;32"<br> HOME_URL="<a href="https://coreos.com/" rel="nofollow">https://coreos.com/</a>"<br> BUG_REPORT_URL="<a href="https://github.com/coreos/bugs/issues">https://github.com/coreos/bugs/issues</a>"</p> </li> <li> <p dir="auto"><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<br> Linux w1 4.8.6-coreos <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> SMP Thu Nov 17 04:07:44 UTC 2016 x86_64 Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz GenuineIntel GNU/Linux</p> </li> <li> <p dir="auto"><strong>Install tools</strong>:<br> <a href="https://github.com/coreos/coreos-kubernetes">https://github.com/coreos/coreos-kubernetes</a></p> </li> <li> <p dir="auto"><strong>Others</strong>:</p> </li> </ul> <p dir="auto"><strong>What happened</strong>:<br> I added a FlexVolume driver having looked at the example here <a href="https://github.com/kubernetes/kubernetes/tree/master/examples/volumes/flexvolume">https://github.com/kubernetes/kubernetes/tree/master/examples/volumes/flexvolume</a><br> After experiencing issues with my driver I reverted it to a skeletal test driver to simply print out calls inbound (please see attached 'skel' script)<br> <a href="https://github.com/kubernetes/kubernetes/files/619184/skel.txt">skel.txt</a></p> <p dir="auto">When I test my pod with my volume and the steps below it will init and mount ok but there seems to be no call made to unmount when I test deleting the pod.</p> <p dir="auto"><strong>What you expected to happen</strong>:<br> When starting a pod with a the flex volume we should see a log that the mount was called and when I delete the pod I should see a log file entry for the unmount showing that my drivers unmount function has been called.</p> <p dir="auto">$ cat /tmp/skel.log<br> Running init<br> Running mount on path /var/lib/kubelet/pods/c58d27e7-b62f-11e6-b279-080027126f56/volumes/zopa.com~splunk/test on {"kubernetes.io/fsType":"ext4","kubernetes.io/readwrite":"rw"}<br> Running umount with path /var/lib/kubelet/pods/c58d27e7-b62f-11e6-b279-080027126f56/volumes/zopa.com~splunk/test</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto">Add the plugin to the kubelet $VOLUME_PLUGIN_DIR/zopa.com~skel/skel then start the pod: -<br> <a href="https://github.com/kubernetes/kubernetes/files/619275/skeltest.yaml.txt">skeltest.yaml.txt</a></p> <p dir="auto"><strong>Anything else do we need to know</strong>:</p> <p dir="auto">See here for filtered kubelet -v 5 logs from the creation of the test pod and it's deletion and the logs to /tmp/skel.log<br> <a href="https://github.com/kubernetes/kubernetes/files/619269/skel_logs.txt">skel_logs.txt</a></p>
<p dir="auto">Forked from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46692646" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1980" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/1980/hovercard" href="https://github.com/kubernetes/kubernetes/pull/1980">#1980</a>.</p> <p dir="auto">The API has a number of lists containing names embedded in objects, such as Volumes, Containers, Ports, Env, and VolumeMounts. Both configuration and field references (e.g., in filter expressions, events) are uglier and/or more verbose when using lists rather than maps. This puts us at a disadvantage compared to other systems with more elegant API and/or configuration schemas (e.g., Fig).</p> <p dir="auto">Automatically translating maps into lists of named objects appears to be hard. In JSON and YAML, structures and maps cannot be distinguished without a schema. It looks like we'd need either duplicate fields, duplicate schemas, or a custom parser in order to support both formats in the same API version. Duplicate schemas have proven hard to maintain, both in Kubernetes and internally. I don't think we want to maintain parallel API versions forever, either. The go-yaml parser is around 9k lines of code -- a custom parser is not something we want to own, IMO.</p> <p dir="auto">The specific proposal here is to:</p> <ul dir="auto"> <li>change these lists to maps</li> <li>make these name fields optional and auto-populate them from map keys in apiserver, so that names are available in subobjects even without the maps to which they belong</li> </ul> <p dir="auto">Port name is currently optional. It would effectively be required. A convention of "p" would be straightforward for users/tools, however, such as in the case of ports auto-populated from Docker images (e.g., by podex).</p> <p dir="auto">This would be a breaking change. We could do it in v1beta3.</p> <p dir="auto">The names of top-level objects, in ObjectMeta in v1beta3, would not be changed. Those can be auto-populated in v1beta3 by clients in a straightforward manner.</p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/smarterclayton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/smarterclayton">@smarterclayton</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/erictune/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/erictune">@erictune</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/proppy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/proppy">@proppy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thockin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thockin">@thockin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jbeda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jbeda">@jbeda</a></p>
0
<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>: N/A</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Linux</li> <li><strong>TensorFlow installed from (source or binary)</strong>: binary</li> <li><strong>TensorFlow version (use command below)</strong>: v1.9.0-rc0-35-g17d6639b55 1.9.0-rc1</li> <li><strong>Python version</strong>: 3.6</li> <li><strong>Bazel version (if compiling from source)</strong>: N/A</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: N/A</li> <li><strong>CUDA/cuDNN version</strong>: N/A</li> <li><strong>GPU model and memory</strong>: N/A</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="HOROVOD_WITH_TENSORFLOW=1 HOROVOD_CUDA_HOME=/xx/cuda/9.0/ HOROVOD_NCCL_HOME=/xx/NCCL/2.2.13/ HOROVOD_GPU_ALLREDUCE=NCCL pip install --no-cache-dir horovod --user -U"><pre class="notranslate"><code class="notranslate">HOROVOD_WITH_TENSORFLOW=1 HOROVOD_CUDA_HOME=/xx/cuda/9.0/ HOROVOD_NCCL_HOME=/xx/NCCL/2.2.13/ HOROVOD_GPU_ALLREDUCE=NCCL pip install --no-cache-dir horovod --user -U </code></pre></div> <p dir="auto">Logs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" In file included from /xx/.local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/dnn.h:33:0, from /xx/.local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/stream.h:30, from horovod/tensorflow/mpi_ops.cc:29: /xx/.local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/lib/statusor.h:21:46: fatal error: tensorflow/compiler/xla/statusor.h: No such file or di rectory compilation terminated."><pre class="notranslate"><code class="notranslate"> In file included from /xx/.local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/dnn.h:33:0, from /xx/.local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/stream.h:30, from horovod/tensorflow/mpi_ops.cc:29: /xx/.local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/lib/statusor.h:21:46: fatal error: tensorflow/compiler/xla/statusor.h: No such file or di rectory compilation terminated. </code></pre></div> <p dir="auto">Looks like some necessary headers are missing in this release.</p>
<h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: Yes</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Fedora 27</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Source</li> <li><strong>TensorFlow version (use command below)</strong>: v1.8.0-rc1-909-g968addadfd 1.8.0-rc1</li> <li><strong>Python version</strong>: 3.6m</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.12.0</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: 6.4</li> <li><strong>CUDA/cuDNN version</strong>: 9.1/7.1</li> <li><strong>GPU model and memory</strong>: GTX 1080 8GB</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="include Makefile.config TF_INC = `$(PYTHON) -W ignore -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` TF_CFLAGS = `$(PYTHON) -W ignore -c 'import tensorflow as tf; print(&quot; &quot;.join(tf.sysconfig.get_compile_flags()))'` TF_LFLAGS = `$(PYTHON) -W ignore -c 'import tensorflow as tf; print(&quot; &quot;.join(tf.sysconfig.get_link_flags()))'` CUDA_INC = $(CUDA_HOME)/../ GPUCC = nvcc -ccbin=$(CXX) CFLAGS = -std=c++11 $(TF_CFLAGS) -I. -I$(CUDA_INC) -I$(TF_INC) GPUCFLAGS = -c LFLAGS = $(ODFLAGS) -pthread -fopenmp -shared -fPIC $(TF_LFLAGS) GPULFLAGS = -x cu -Xcompiler &quot;$(CFLAGS) $(LFLAGS)&quot; --expt-relaxed-constexpr GPUDEF = -DGOOGLE_CUDA=1 CGPUFLAGS = -lcuda SRC = cart_hex_interpol.cc GPUSRC = cart_hex_interpol.cu.cc SRC_O = cart_hex_interpol.o GPUSRC_O = cart_hex_interpol.cu.o LIB = cart_hex_interpol.so all: gpu default: gpu cpu: $(CXX) $(CFLAGS) $(SRC) $(LFLAGS) -o $(LIB) gpu: $(GPUCC) $(GPUDEF) $(CFLAGS) $(GPUCFLAGS) $(GPUSRC) $(GPULFLAGS) -o $(GPUSRC_O) $(CXX) $(GPUDEF) $(CFLAGS) $(SRC) $(GPUSRC_O) $(LFLAGS) $(CGPUFLAGS) -o $(LIB) clean: rm -f $(SRC_O) $(GPUSRC_O) $(LIB)"><pre class="notranslate"><code class="notranslate">include Makefile.config TF_INC = `$(PYTHON) -W ignore -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` TF_CFLAGS = `$(PYTHON) -W ignore -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))'` TF_LFLAGS = `$(PYTHON) -W ignore -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))'` CUDA_INC = $(CUDA_HOME)/../ GPUCC = nvcc -ccbin=$(CXX) CFLAGS = -std=c++11 $(TF_CFLAGS) -I. -I$(CUDA_INC) -I$(TF_INC) GPUCFLAGS = -c LFLAGS = $(ODFLAGS) -pthread -fopenmp -shared -fPIC $(TF_LFLAGS) GPULFLAGS = -x cu -Xcompiler "$(CFLAGS) $(LFLAGS)" --expt-relaxed-constexpr GPUDEF = -DGOOGLE_CUDA=1 CGPUFLAGS = -lcuda SRC = cart_hex_interpol.cc GPUSRC = cart_hex_interpol.cu.cc SRC_O = cart_hex_interpol.o GPUSRC_O = cart_hex_interpol.cu.o LIB = cart_hex_interpol.so all: gpu default: gpu cpu: $(CXX) $(CFLAGS) $(SRC) $(LFLAGS) -o $(LIB) gpu: $(GPUCC) $(GPUDEF) $(CFLAGS) $(GPUCFLAGS) $(GPUSRC) $(GPULFLAGS) -o $(GPUSRC_O) $(CXX) $(GPUDEF) $(CFLAGS) $(SRC) $(GPUSRC_O) $(LFLAGS) $(CGPUFLAGS) -o $(LIB) clean: rm -f $(SRC_O) $(GPUSRC_O) $(LIB) </code></pre></div> <h3 dir="auto">Describe the problem</h3> <p dir="auto">When compiling a custom TensorFlow operator using a Makefile and including CUDA/GPU code, the compilation fails due to missing <code class="notranslate">fatal error: tensorflow/compiler/xla/statusor.h: No such file or directory</code>. The files are missing in <code class="notranslate">/usr/local/lib/python3.6/site-packages/tensorflow/</code> because the headers do not get installed during installation of the wheel package for TensorFlow.<br> A temporary fix is to copy the headers from source:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo mkdir /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/compiler/ sudo mkdir /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/compiler/xla sudo cp tensorflow/compiler/xla/*.h /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/compiler/xla/"><pre class="notranslate"><code class="notranslate">sudo mkdir /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/compiler/ sudo mkdir /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/compiler/xla sudo cp tensorflow/compiler/xla/*.h /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/compiler/xla/ </code></pre></div> <p dir="auto">This issue was not present in TensorFlow 1.5, but must have been introduced since then. Compiling with or without XLA makes no difference.</p> <h3 dir="auto">Source code / logs</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="make gpu -j2 nvcc -ccbin=/usr/local/gcc-6.4/bin/g++-6.4 -DGOOGLE_CUDA=1 -std=c++11 `python3 -W ignore -c 'import tensorflow as tf; print(&quot; &quot;.join(tf.sysconfig.get_compile_flags()))'` -I. -I/usr/local/cuda/../ -I`python3 -W ignore -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -c cart_hex_interpol.cu.cc -x cu -Xcompiler &quot;-std=c++11 `python3 -W ignore -c 'import tensorflow as tf; print(&quot; &quot;.join(tf.sysconfig.get_compile_flags()))'` -I. -I/usr/local/cuda/../ -I`python3 -W ignore -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -O3 -pthread -fopenmp -shared -fPIC `python3 -W ignore -c 'import tensorflow as tf; print(&quot; &quot;.join(tf.sysconfig.get_link_flags()))'`&quot; --expt-relaxed-constexpr -o cart_hex_interpol.cu.o In file included from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/dso_loader.h:26:0, from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/platform/stream_executor.h:26, from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_launch_config.h:27, from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:22, from cart_hex_interpol.cu.cc:5: /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/lib/statusor.h:21:46: fatal error: tensorflow/compiler/xla/statusor.h: No such file or directory #include &quot;tensorflow/compiler/xla/statusor.h&quot; "><pre class="notranslate"><code class="notranslate">make gpu -j2 nvcc -ccbin=/usr/local/gcc-6.4/bin/g++-6.4 -DGOOGLE_CUDA=1 -std=c++11 `python3 -W ignore -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))'` -I. -I/usr/local/cuda/../ -I`python3 -W ignore -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -c cart_hex_interpol.cu.cc -x cu -Xcompiler "-std=c++11 `python3 -W ignore -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))'` -I. -I/usr/local/cuda/../ -I`python3 -W ignore -c 'import tensorflow as tf; print(tf.sysconfig.get_include())'` -O3 -pthread -fopenmp -shared -fPIC `python3 -W ignore -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))'`" --expt-relaxed-constexpr -o cart_hex_interpol.cu.o In file included from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/dso_loader.h:26:0, from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/platform/stream_executor.h:26, from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_launch_config.h:27, from /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:22, from cart_hex_interpol.cu.cc:5: /usr/local/lib/python3.6/site-packages/tensorflow/include/tensorflow/stream_executor/lib/statusor.h:21:46: fatal error: tensorflow/compiler/xla/statusor.h: No such file or directory #include "tensorflow/compiler/xla/statusor.h" </code></pre></div>
1
<p dir="auto">how use babel 7 version into ecmascript 7 configuration ?</p> <p dir="auto">example my -&gt; .babelrc --&gt;</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;plugins&quot;:[ //..... ], &quot;presets&quot;: [ &quot;@babel/env&quot;, &quot;@babel/flow&quot;, &quot;@babel/preset-react&quot; ] }"><pre class="notranslate">{ <span class="pl-ent">"plugins"</span>:[ <span class="pl-ii">//.....</span> ], <span class="pl-ent">"presets"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>@babel/env<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>@babel/flow<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>@babel/preset-react<span class="pl-pds">"</span></span> ] }</pre></div>
<blockquote> <p dir="auto">Issue originally reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rauschma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rauschma">@rauschma</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="244878909" data-permission-text="Title is private" data-url="https://github.com/babel/babel-preset-env/issues/381" data-hovercard-type="issue" data-hovercard-url="/babel/babel-preset-env/issues/381/hovercard" href="https://github.com/babel/babel-preset-env/issues/381">babel/babel-preset-env#381</a></p> </blockquote> <p dir="auto">I’m not sure how much that would be used in practice, but for some experiments and tests, it would be nice if one could specify an ES version to target.</p> <p dir="auto">Examples:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;targets&quot;: { &quot;ecmascript&quot;: &quot;2015&quot; } &quot;targets&quot;: { &quot;ecmascript&quot;: &quot;5&quot; }"><pre class="notranslate"><code class="notranslate">"targets": { "ecmascript": "2015" } "targets": { "ecmascript": "5" } </code></pre></div>
1
<p dir="auto">One of my users reported this panic to me.</p> <p dir="auto">Expect normal successful completion, got "fatal error: unexpected signal during runtime execution".</p> <p dir="auto">Go version is go1.5.1.</p> <p dir="auto">See <a href="https://groups.google.com/d/topic/golang-nuts/Men8KFhERN0/discussion" rel="nofollow">https://groups.google.com/d/topic/golang-nuts/Men8KFhERN0/discussion</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ go env GOARCH=&quot;amd64&quot; GOBIN=&quot;&quot; GOEXE=&quot;&quot; GOHOSTARCH=&quot;amd64&quot; GOHOSTOS=&quot;linux&quot; GOOS=&quot;linux&quot; GOPATH=&quot;/home/terryb/gospace&quot; GORACE=&quot;&quot; GOROOT=&quot;/home/terryb/go&quot; GOTOOLDIR=&quot;/home/terryb/go/pkg/tool/linux_amd64&quot; GO15VENDOREXPERIMENT=&quot;&quot; CC=&quot;gcc&quot; GOGCCFLAGS=&quot;-fPIC -m64 -pthread -fmessage-length=0&quot; CXX=&quot;g++&quot; CGO_ENABLED=&quot;1&quot;"><pre class="notranslate"><code class="notranslate">$ go env GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/terryb/gospace" GORACE="" GOROOT="/home/terryb/go" GOTOOLDIR="/home/terryb/go/pkg/tool/linux_amd64" GO15VENDOREXPERIMENT="" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1" </code></pre></div> <p dir="auto">OS:<br> 3.2.0-26-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="51275969" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/41" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/41/hovercard" href="https://github.com/golang/go/issues/41">#41</a>-Ubuntu x86_64 GNU/Linux</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ igor -in pogona_krishna80_gffs -out pogona_igor_strict0 -overlap-strictness 0 -threads=10 2015/11/11 13:58:08 reading PALS features from &quot;pogona_krishna80_gffs&quot; 2015/11/11 13:58:08 writing to &quot;pogona_igor_strict0&quot; 2015/11/11 13:58:08 generating piles ... piling. fatal error: unexpected signal during runtime execution [signal 0xb code=0x1 addr=0xf1 pc=0x45addb] runtime stack: runtime.throw(0x6357c0, 0x2a) /home/terryb/go/src/runtime/panic.go:527 +0x90 fp=0x7fffeedbf6e8 sp=0x7fffeedbf6d0 runtime.sigpanic() /home/terryb/go/src/runtime/sigpanic_unix.go:12 +0x5a fp=0x7fffeedbf738 sp=0x7fffeedbf6e8 runtime.munmap(0x7f8f9bf91000, 0x1a3f348, 0x41c41f, 0x7f8f9bf91000, 0x1a3f348, 0x723960, 0x7f8f9bf91000, 0x347e69, 0x36bc9a, 0x41bc3c, ...) /home/terryb/go/src/runtime/sys_linux_amd64.s:266 +0x1b fp=0x7fffeedbf740 sp=0x7fffeedbf738 runtime.sysFree(0x7f8f9bf91000, 0x1a3f348, 0x723960) /home/terryb/go/src/runtime/mem_linux.go:103 +0x34 fp=0x7fffeedbf758 sp=0x7fffeedbf740 runtime.gcCopySpans() /home/terryb/go/src/runtime/mgc.go:1600 +0xdf fp=0x7fffeedbf790 sp=0x7fffeedbf758 runtime.gcMark(0x7cb400254e9ddc) /home/terryb/go/src/runtime/mgc.go:1415 +0x5c fp=0x7fffeedbf7f8 sp=0x7fffeedbf790 runtime.gc.func3() /home/terryb/go/src/runtime/mgc.go:1089 +0x23 fp=0x7fffeedbf808 sp=0x7fffeedbf7f8 runtime.systemstack(0x6fd880) /home/terryb/go/src/runtime/asm_amd64.s:262 +0x79 fp=0x7fffeedbf810 sp=0x7fffeedbf808 runtime.mstart() /home/terryb/go/src/runtime/proc1.go:674 fp=0x7fffeedbf818 sp=0x7fffeedbf810 goroutine 5 [garbage collection]: runtime.systemstack_switch() /home/terryb/go/src/runtime/asm_amd64.s:216 fp=0xc820095c98 sp=0xc820095c90 runtime.gc(0x0) /home/terryb/go/src/runtime/mgc.go:1097 +0x3d0 fp=0xc820095f90 sp=0xc820095c98 runtime.backgroundgc() /home/terryb/go/src/runtime/mgc.go:897 +0x3d fp=0xc820095fc0 sp=0xc820095f90 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820095fc8 sp=0xc820095fc0 created by runtime.startGC /home/terryb/go/src/runtime/mgc.go:870 +0x186 goroutine 1 [sleep]: runtime.gopark(0x64d7a0, 0x6fd4a0, 0x5f47f0, 0x5, 0x2179813, 0x2) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xd664048b98 sp=0xd664048b70 runtime.goparkunlock(0x6fd4a0, 0x5f47f0, 0x5, 0x13, 0x2) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xd664048bd0 sp=0xd664048b98 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:59 +0xf9 fp=0xd664048c18 sp=0xd664048bd0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664048c78 sp=0xd664048c18 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664048d48 sp=0xd664048c78 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664048d70 sp=0xd664048d48 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664048db8 sp=0xd664048d70 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664048e18 sp=0xd664048db8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664048ee8 sp=0xd664048e18 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664048f10 sp=0xd664048ee8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664048f58 sp=0xd664048f10 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664048fb8 sp=0xd664048f58 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049088 sp=0xd664048fb8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd6640490b0 sp=0xd664049088 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd6640490f8 sp=0xd6640490b0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049158 sp=0xd6640490f8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049228 sp=0xd664049158 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049250 sp=0xd664049228 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049298 sp=0xd664049250 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd6640492f8 sp=0xd664049298 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd6640493c8 sp=0xd6640492f8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd6640493f0 sp=0xd6640493c8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049438 sp=0xd6640493f0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049498 sp=0xd664049438 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049568 sp=0xd664049498 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049590 sp=0xd664049568 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd6640495d8 sp=0xd664049590 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049638 sp=0xd6640495d8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049708 sp=0xd664049638 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049730 sp=0xd664049708 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049778 sp=0xd664049730 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd6640497d8 sp=0xd664049778 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd6640498a8 sp=0xd6640497d8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd6640498d0 sp=0xd6640498a8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049918 sp=0xd6640498d0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049978 sp=0xd664049918 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049a48 sp=0xd664049978 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049a70 sp=0xd664049a48 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049ab8 sp=0xd664049a70 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049b18 sp=0xd664049ab8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049be8 sp=0xd664049b18 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049c10 sp=0xd664049be8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049c58 sp=0xd664049c10 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049cb8 sp=0xd664049c58 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049d88 sp=0xd664049cb8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049db0 sp=0xd664049d88 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049df8 sp=0xd664049db0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049e58 sp=0xd664049df8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049f28 sp=0xd664049e58 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049f50 sp=0xd664049f28 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049f98 sp=0xd664049f50 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049ff8 sp=0xd664049f98 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a0c8 sp=0xd664049ff8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a0f0 sp=0xd66404a0c8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a138 sp=0xd66404a0f0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a198 sp=0xd66404a138 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a268 sp=0xd66404a198 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a290 sp=0xd66404a268 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a2d8 sp=0xd66404a290 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a338 sp=0xd66404a2d8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a408 sp=0xd66404a338 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a430 sp=0xd66404a408 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a478 sp=0xd66404a430 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a4d8 sp=0xd66404a478 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a5a8 sp=0xd66404a4d8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a5d0 sp=0xd66404a5a8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a618 sp=0xd66404a5d0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a678 sp=0xd66404a618 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a748 sp=0xd66404a678 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a770 sp=0xd66404a748 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a7b8 sp=0xd66404a770 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a818 sp=0xd66404a7b8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a8e8 sp=0xd66404a818 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a910 sp=0xd66404a8e8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a958 sp=0xd66404a910 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a9b8 sp=0xd66404a958 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404aa88 sp=0xd66404a9b8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404aab0 sp=0xd66404aa88 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404aaf8 sp=0xd66404aab0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404ab58 sp=0xd66404aaf8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404ac28 sp=0xd66404ab58 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404ac50 sp=0xd66404ac28 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404ac98 sp=0xd66404ac50 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404acf8 sp=0xd66404ac98 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404adc8 sp=0xd66404acf8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404adf0 sp=0xd66404adc8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404ae38 sp=0xd66404adf0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404ae98 sp=0xd66404ae38 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404af68 sp=0xd66404ae98 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404af90 sp=0xd66404af68 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404afd8 sp=0xd66404af90 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404b038 sp=0xd66404afd8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404b108 sp=0xd66404b038 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404b130 sp=0xd66404b108 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404b178 sp=0xd66404b130 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404b1d8 sp=0xd66404b178 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404b2a8 sp=0xd66404b1d8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404b2d0 sp=0xd66404b2a8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404b318 sp=0xd66404b2d0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404b378 sp=0xd66404b318 ...additional frames elided... goroutine 2 [force gc (idle), 527 minutes]: runtime.gopark(0x64d7a0, 0x6fd2d0, 0x5f9cc0, 0xf, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820094758 sp=0xc820094730 runtime.goparkunlock(0x6fd2d0, 0x5f9cc0, 0xf, 0xc820000114, 0x1) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xc820094790 sp=0xc820094758 runtime.forcegchelper() /home/terryb/go/src/runtime/proc.go:152 +0xb8 fp=0xc8200947c0 sp=0xc820094790 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200947c8 sp=0xc8200947c0 created by runtime.init.4 /home/terryb/go/src/runtime/proc.go:141 +0x2b goroutine 3 [GC sweep wait, 3 minutes]: runtime.gopark(0x64d7a0, 0x6fd480, 0x5f6d20, 0xd, 0x44d714, 0x1) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820094f48 sp=0xc820094f20 runtime.goparkunlock(0x6fd480, 0x5f6d20, 0xd, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xc820094f80 sp=0xc820094f48 runtime.bgsweep(0xc8200c4000) /home/terryb/go/src/runtime/mgcsweep.go:67 +0x14d fp=0xc820094fb8 sp=0xc820094f80 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820094fc0 sp=0xc820094fb8 created by runtime.gcenable /home/terryb/go/src/runtime/mgc.go:206 +0x53 goroutine 4 [finalizer wait, 527 minutes]: runtime.gopark(0x64d7a0, 0x720f00, 0x5f9920, 0xe, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820095718 sp=0xc8200956f0 runtime.goparkunlock(0x720f00, 0x5f9920, 0xe, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xc820095750 sp=0xc820095718 runtime.runfinq() /home/terryb/go/src/runtime/mfinal.go:154 +0xaa fp=0xc8200957c0 sp=0xc820095750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200957c8 sp=0xc8200957c0 created by runtime.createfing /home/terryb/go/src/runtime/mfinal.go:135 +0x60 goroutine 6 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b1680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820096750 sp=0xc820096728 runtime.gcBgMarkWorker(0xc820024000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200967b8 sp=0xc820096750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200967c0 sp=0xc8200967b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 17 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ea8480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820090750 sp=0xc820090728 runtime.gcBgMarkWorker(0xc820025500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200907b8 sp=0xc820090750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200907c0 sp=0xc8200907b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 7 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e76000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820096f50 sp=0xc820096f28 runtime.gcBgMarkWorker(0xc820026a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820096fb8 sp=0xc820096f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820096fc0 sp=0xc820096fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 18 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820601680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820090f50 sp=0xc820090f28 runtime.gcBgMarkWorker(0xc820028000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820090fb8 sp=0xc820090f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820090fc0 sp=0xc820090fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 8 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8213da000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820097750 sp=0xc820097728 runtime.gcBgMarkWorker(0xc820029500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200977b8 sp=0xc820097750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200977c0 sp=0xc8200977b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 33 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d2000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820504750 sp=0xc820504728 runtime.gcBgMarkWorker(0xc82002aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205047b8 sp=0xc820504750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205047c0 sp=0xc8205047b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 9 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d2d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820097f50 sp=0xc820097f28 runtime.gcBgMarkWorker(0xc82002c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820097fb8 sp=0xc820097f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820097fc0 sp=0xc820097fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 19 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820091750 sp=0xc820091728 runtime.gcBgMarkWorker(0xc82002d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200917b8 sp=0xc820091750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200917c0 sp=0xc8200917b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 10 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820500750 sp=0xc820500728 runtime.gcBgMarkWorker(0xc82002ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205007b8 sp=0xc820500750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205007c0 sp=0xc8205007b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 34 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820620900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820504f50 sp=0xc820504f28 runtime.gcBgMarkWorker(0xc820030000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820504fb8 sp=0xc820504f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820504fc0 sp=0xc820504fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 11 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d3b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820500f50 sp=0xc820500f28 runtime.gcBgMarkWorker(0xc820031500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820500fb8 sp=0xc820500f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820500fc0 sp=0xc820500fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 12 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820582000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820501750 sp=0xc820501728 runtime.gcBgMarkWorker(0xc820032a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205017b8 sp=0xc820501750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205017c0 sp=0xc8205017b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 13 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820501f50 sp=0xc820501f28 runtime.gcBgMarkWorker(0xc820034000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820501fb8 sp=0xc820501f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820501fc0 sp=0xc820501fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 14 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820601200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820502750 sp=0xc820502728 runtime.gcBgMarkWorker(0xc820035500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205027b8 sp=0xc820502750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205027c0 sp=0xc8205027b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 15 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820615680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820502f50 sp=0xc820502f28 runtime.gcBgMarkWorker(0xc820036a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820502fb8 sp=0xc820502f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820502fc0 sp=0xc820502fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 35 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f3680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820505750 sp=0xc820505728 runtime.gcBgMarkWorker(0xc820038000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205057b8 sp=0xc820505750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205057c0 sp=0xc8205057b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 36 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820124000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820505f50 sp=0xc820505f28 runtime.gcBgMarkWorker(0xc820039500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820505fb8 sp=0xc820505f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820505fc0 sp=0xc820505fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 37 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e64000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820506750 sp=0xc820506728 runtime.gcBgMarkWorker(0xc82003aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205067b8 sp=0xc820506750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205067c0 sp=0xc8205067b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 16 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820620480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820503750 sp=0xc820503728 runtime.gcBgMarkWorker(0xc82003c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205037b8 sp=0xc820503750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205037c0 sp=0xc8205037b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 20 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820091f50 sp=0xc820091f28 runtime.gcBgMarkWorker(0xc82003d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820091fb8 sp=0xc820091f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820091fc0 sp=0xc820091fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 38 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820582900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820506f50 sp=0xc820506f28 runtime.gcBgMarkWorker(0xc82003ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820506fb8 sp=0xc820506f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820506fc0 sp=0xc820506fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 39 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820507750 sp=0xc820507728 runtime.gcBgMarkWorker(0xc820040000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205077b8 sp=0xc820507750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205077c0 sp=0xc8205077b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 40 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bed80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820507f50 sp=0xc820507f28 runtime.gcBgMarkWorker(0xc820041500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820507fb8 sp=0xc820507f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820507fc0 sp=0xc820507fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 49 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e4e000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820503f50 sp=0xc820503f28 runtime.gcBgMarkWorker(0xc820042a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820503fb8 sp=0xc820503f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820503fc0 sp=0xc820503fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 50 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820528750 sp=0xc820528728 runtime.gcBgMarkWorker(0xc820044000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205287b8 sp=0xc820528750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205287c0 sp=0xc8205287b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 51 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820528f50 sp=0xc820528f28 runtime.gcBgMarkWorker(0xc820045500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820528fb8 sp=0xc820528f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820528fc0 sp=0xc820528fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 52 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820529750 sp=0xc820529728 runtime.gcBgMarkWorker(0xc820046a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205297b8 sp=0xc820529750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205297c0 sp=0xc8205297b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 53 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d3680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820529f50 sp=0xc820529f28 runtime.gcBgMarkWorker(0xc820048000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820529fb8 sp=0xc820529f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820529fc0 sp=0xc820529fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 54 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc82009b680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052a750 sp=0xc82052a728 runtime.gcBgMarkWorker(0xc820049500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052a7b8 sp=0xc82052a750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052a7c0 sp=0xc82052a7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 55 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052af50 sp=0xc82052af28 runtime.gcBgMarkWorker(0xc82004aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052afb8 sp=0xc82052af50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052afc0 sp=0xc82052afb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 56 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052b750 sp=0xc82052b728 runtime.gcBgMarkWorker(0xc82004c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052b7b8 sp=0xc82052b750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052b7c0 sp=0xc82052b7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 57 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bf200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052bf50 sp=0xc82052bf28 runtime.gcBgMarkWorker(0xc82004d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052bfb8 sp=0xc82052bf50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052bfc0 sp=0xc82052bfb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 58 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ea8000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820524750 sp=0xc820524728 runtime.gcBgMarkWorker(0xc82004ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205247b8 sp=0xc820524750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205247c0 sp=0xc8205247b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 41 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ed6000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820538750 sp=0xc820538728 runtime.gcBgMarkWorker(0xc820050000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205387b8 sp=0xc820538750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205387c0 sp=0xc8205387b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 59 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc82009b200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820524f50 sp=0xc820524f28 runtime.gcBgMarkWorker(0xc820051500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820524fb8 sp=0xc820524f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820524fc0 sp=0xc820524fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 60 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820582480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820525750 sp=0xc820525728 runtime.gcBgMarkWorker(0xc820052a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205257b8 sp=0xc820525750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205257c0 sp=0xc8205257b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 61 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820601b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820525f50 sp=0xc820525f28 runtime.gcBgMarkWorker(0xc820054000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820525fb8 sp=0xc820525f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820525fc0 sp=0xc820525fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 62 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e3e000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820526750 sp=0xc820526728 runtime.gcBgMarkWorker(0xc820055500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205267b8 sp=0xc820526750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205267c0 sp=0xc8205267b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 21 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8200c6000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820092750 sp=0xc820092728 runtime.gcBgMarkWorker(0xc820056a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200927b8 sp=0xc820092750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200927c0 sp=0xc8200927b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 42 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ec8000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820538f50 sp=0xc820538f28 runtime.gcBgMarkWorker(0xc820058000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820538fb8 sp=0xc820538f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820538fc0 sp=0xc820538fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 63 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205de000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820526f50 sp=0xc820526f28 runtime.gcBgMarkWorker(0xc820059500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820526fb8 sp=0xc820526f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820526fc0 sp=0xc820526fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 64 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820527750 sp=0xc820527728 runtime.gcBgMarkWorker(0xc82005aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205277b8 sp=0xc820527750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205277c0 sp=0xc8205277b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 65 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820597200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820527f50 sp=0xc820527f28 runtime.gcBgMarkWorker(0xc82005c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820527fb8 sp=0xc820527f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820527fc0 sp=0xc820527fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 22 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820092f50 sp=0xc820092f28 runtime.gcBgMarkWorker(0xc82005d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820092fb8 sp=0xc820092f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820092fc0 sp=0xc820092fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 23 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820093750 sp=0xc820093728 runtime.gcBgMarkWorker(0xc82005ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200937b8 sp=0xc820093750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200937c0 sp=0xc8200937b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 24 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820093f50 sp=0xc820093f28 runtime.gcBgMarkWorker(0xc820060000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820093fb8 sp=0xc820093f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820093fc0 sp=0xc820093fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 43 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820539750 sp=0xc820539728 runtime.gcBgMarkWorker(0xc820061500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205397b8 sp=0xc820539750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205397c0 sp=0xc8205397b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 44 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820539f50 sp=0xc820539f28 runtime.gcBgMarkWorker(0xc820062a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820539fb8 sp=0xc820539f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820539fc0 sp=0xc820539fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 45 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f3200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053a750 sp=0xc82053a728 runtime.gcBgMarkWorker(0xc820064000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053a7b8 sp=0xc82053a750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053a7c0 sp=0xc82053a7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 46 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205de900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053af50 sp=0xc82053af28 runtime.gcBgMarkWorker(0xc820065500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053afb8 sp=0xc82053af50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053afc0 sp=0xc82053afb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 47 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d3200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053b750 sp=0xc82053b728 runtime.gcBgMarkWorker(0xc820066a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053b7b8 sp=0xc82053b750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053b7c0 sp=0xc82053b7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 48 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d2900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053bf50 sp=0xc82053bf28 runtime.gcBgMarkWorker(0xc820068000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053bfb8 sp=0xc82053bf50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053bfc0 sp=0xc82053bfb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 81 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820600480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820534750 sp=0xc820534728 runtime.gcBgMarkWorker(0xc820069500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205347b8 sp=0xc820534750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205347c0 sp=0xc8205347b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 82 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b1200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820534f50 sp=0xc820534f28 runtime.gcBgMarkWorker(0xc82006aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820534fb8 sp=0xc820534f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820534fc0 sp=0xc820534fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 83 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820600000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820535750 sp=0xc820535728 runtime.gcBgMarkWorker(0xc82006c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205357b8 sp=0xc820535750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205357c0 sp=0xc8205357b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 84 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820615200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820535f50 sp=0xc820535f28 runtime.gcBgMarkWorker(0xc82006d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820535fb8 sp=0xc820535f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820535fc0 sp=0xc820535fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 85 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820536750 sp=0xc820536728 runtime.gcBgMarkWorker(0xc82006ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205367b8 sp=0xc820536750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205367c0 sp=0xc8205367b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 86 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc821458000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820536f50 sp=0xc820536f28 runtime.gcBgMarkWorker(0xc820070000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820536fb8 sp=0xc820536f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820536fc0 sp=0xc820536fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 87 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc82009a900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820537750 sp=0xc820537728 runtime.gcBgMarkWorker(0xc820071500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205377b8 sp=0xc820537750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205377c0 sp=0xc8205377b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 88 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820537f50 sp=0xc820537f28 runtime.gcBgMarkWorker(0xc820072a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820537fb8 sp=0xc820537f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820537fc0 sp=0xc820537fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 25 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f3b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820554750 sp=0xc820554728 runtime.gcBgMarkWorker(0xc820074000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205547b8 sp=0xc820554750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205547c0 sp=0xc8205547b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 89 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820550750 sp=0xc820550728 runtime.gcBgMarkWorker(0xc820075500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205507b8 sp=0xc820550750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205507c0 sp=0xc8205507b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 90 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bf680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820550f50 sp=0xc820550f28 runtime.gcBgMarkWorker(0xc820076a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820550fb8 sp=0xc820550f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820550fc0 sp=0xc820550fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 91 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820551750 sp=0xc820551728 runtime.gcBgMarkWorker(0xc820078000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205517b8 sp=0xc820551750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205517c0 sp=0xc8205517b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 92 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820600d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820551f50 sp=0xc820551f28 runtime.gcBgMarkWorker(0xc820079500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820551fb8 sp=0xc820551f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820551fc0 sp=0xc820551fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 93 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820552750 sp=0xc820552728 runtime.gcBgMarkWorker(0xc82007aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205527b8 sp=0xc820552750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205527c0 sp=0xc8205527b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 26 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bf680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820554f50 sp=0xc820554f28 runtime.gcBgMarkWorker(0xc82007c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820554fb8 sp=0xc820554f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820554fc0 sp=0xc820554fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 94 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820615b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820552f50 sp=0xc820552f28 runtime.gcBgMarkWorker(0xc82007d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820552fb8 sp=0xc820552f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820552fc0 sp=0xc820552fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 95 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205de480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820553750 sp=0xc820553728 runtime.gcBgMarkWorker(0xc82007ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205537b8 sp=0xc820553750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205537c0 sp=0xc8205537b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 96 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820553f50 sp=0xc820553f28 runtime.gcBgMarkWorker(0xc820080000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820553fb8 sp=0xc820553f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820553fc0 sp=0xc820553fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 97 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820562750 sp=0xc820562728 runtime.gcBgMarkWorker(0xc820081500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205627b8 sp=0xc820562750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205627c0 sp=0xc8205627b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 27 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820124900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820555750 sp=0xc820555728 runtime.gcBgMarkWorker(0xc820082a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205557b8 sp=0xc820555750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205557c0 sp=0xc8205557b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 98 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820571200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820562f50 sp=0xc820562f28 runtime.gcBgMarkWorker(0xc820084000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820562fb8 sp=0xc820562f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820562fc0 sp=0xc820562fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 99 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc821312000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820563750 sp=0xc820563728 runtime.gcBgMarkWorker(0xc820085500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205637b8 sp=0xc820563750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205637c0 sp=0xc8205637b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 66 [mark worker (idle)]: runtime.gopark(0x64d658, 0x6fdb80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82055e750 sp=0xc82055e728 runtime.gcBgMarkWorker(0xc820086a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82055e7b8 sp=0xc82055e750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82055e7c0 sp=0xc82055e7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 67 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e3c480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82055ef50 sp=0xc82055ef28 runtime.gcBgMarkWorker(0xc820088000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82055efb8 sp=0xc82055ef50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82055efc0 sp=0xc82055efb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 28 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8213e4000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820555f50 sp=0xc820555f28 runtime.gcBgMarkWorker(0xc820089500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820555fb8 sp=0xc820555f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820555fc0 sp=0xc820555fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 29 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820556750 sp=0xc820556728 runtime.gcBgMarkWorker(0xc82008aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205567b8 sp=0xc820556750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205567c0 sp=0xc8205567b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 30 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820556f50 sp=0xc820556f28 runtime.gcBgMarkWorker(0xc82008c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820556fb8 sp=0xc820556f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820556fc0 sp=0xc820556fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 31 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820124480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820557750 sp=0xc820557728 runtime.gcBgMarkWorker(0xc82008d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205577b8 sp=0xc820557750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205577c0 sp=0xc8205577b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 113 [runnable]: runtime.notetsleepg(0x6fd4b8, 0x17828, 0x16) /home/terryb/go/src/runtime/lock_futex.go:202 +0x4e fp=0xc820561738 sp=0xc820561710 runtime.timerproc() /home/terryb/go/src/runtime/time.go:209 +0xde fp=0xc8205617c0 sp=0xc820561738 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205617c8 sp=0xc8205617c0 created by runtime.addtimerLocked /home/terryb/go/src/runtime/time.go:116 +0x11f"><pre class="notranslate"><code class="notranslate">$ igor -in pogona_krishna80_gffs -out pogona_igor_strict0 -overlap-strictness 0 -threads=10 2015/11/11 13:58:08 reading PALS features from "pogona_krishna80_gffs" 2015/11/11 13:58:08 writing to "pogona_igor_strict0" 2015/11/11 13:58:08 generating piles ... piling. fatal error: unexpected signal during runtime execution [signal 0xb code=0x1 addr=0xf1 pc=0x45addb] runtime stack: runtime.throw(0x6357c0, 0x2a) /home/terryb/go/src/runtime/panic.go:527 +0x90 fp=0x7fffeedbf6e8 sp=0x7fffeedbf6d0 runtime.sigpanic() /home/terryb/go/src/runtime/sigpanic_unix.go:12 +0x5a fp=0x7fffeedbf738 sp=0x7fffeedbf6e8 runtime.munmap(0x7f8f9bf91000, 0x1a3f348, 0x41c41f, 0x7f8f9bf91000, 0x1a3f348, 0x723960, 0x7f8f9bf91000, 0x347e69, 0x36bc9a, 0x41bc3c, ...) /home/terryb/go/src/runtime/sys_linux_amd64.s:266 +0x1b fp=0x7fffeedbf740 sp=0x7fffeedbf738 runtime.sysFree(0x7f8f9bf91000, 0x1a3f348, 0x723960) /home/terryb/go/src/runtime/mem_linux.go:103 +0x34 fp=0x7fffeedbf758 sp=0x7fffeedbf740 runtime.gcCopySpans() /home/terryb/go/src/runtime/mgc.go:1600 +0xdf fp=0x7fffeedbf790 sp=0x7fffeedbf758 runtime.gcMark(0x7cb400254e9ddc) /home/terryb/go/src/runtime/mgc.go:1415 +0x5c fp=0x7fffeedbf7f8 sp=0x7fffeedbf790 runtime.gc.func3() /home/terryb/go/src/runtime/mgc.go:1089 +0x23 fp=0x7fffeedbf808 sp=0x7fffeedbf7f8 runtime.systemstack(0x6fd880) /home/terryb/go/src/runtime/asm_amd64.s:262 +0x79 fp=0x7fffeedbf810 sp=0x7fffeedbf808 runtime.mstart() /home/terryb/go/src/runtime/proc1.go:674 fp=0x7fffeedbf818 sp=0x7fffeedbf810 goroutine 5 [garbage collection]: runtime.systemstack_switch() /home/terryb/go/src/runtime/asm_amd64.s:216 fp=0xc820095c98 sp=0xc820095c90 runtime.gc(0x0) /home/terryb/go/src/runtime/mgc.go:1097 +0x3d0 fp=0xc820095f90 sp=0xc820095c98 runtime.backgroundgc() /home/terryb/go/src/runtime/mgc.go:897 +0x3d fp=0xc820095fc0 sp=0xc820095f90 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820095fc8 sp=0xc820095fc0 created by runtime.startGC /home/terryb/go/src/runtime/mgc.go:870 +0x186 goroutine 1 [sleep]: runtime.gopark(0x64d7a0, 0x6fd4a0, 0x5f47f0, 0x5, 0x2179813, 0x2) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xd664048b98 sp=0xd664048b70 runtime.goparkunlock(0x6fd4a0, 0x5f47f0, 0x5, 0x13, 0x2) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xd664048bd0 sp=0xd664048b98 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:59 +0xf9 fp=0xd664048c18 sp=0xd664048bd0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664048c78 sp=0xd664048c18 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664048d48 sp=0xd664048c78 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664048d70 sp=0xd664048d48 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664048db8 sp=0xd664048d70 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664048e18 sp=0xd664048db8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664048ee8 sp=0xd664048e18 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664048f10 sp=0xd664048ee8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664048f58 sp=0xd664048f10 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664048fb8 sp=0xd664048f58 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049088 sp=0xd664048fb8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd6640490b0 sp=0xd664049088 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd6640490f8 sp=0xd6640490b0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049158 sp=0xd6640490f8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049228 sp=0xd664049158 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049250 sp=0xd664049228 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049298 sp=0xd664049250 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd6640492f8 sp=0xd664049298 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd6640493c8 sp=0xd6640492f8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd6640493f0 sp=0xd6640493c8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049438 sp=0xd6640493f0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049498 sp=0xd664049438 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049568 sp=0xd664049498 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049590 sp=0xd664049568 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd6640495d8 sp=0xd664049590 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049638 sp=0xd6640495d8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049708 sp=0xd664049638 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049730 sp=0xd664049708 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049778 sp=0xd664049730 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd6640497d8 sp=0xd664049778 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd6640498a8 sp=0xd6640497d8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd6640498d0 sp=0xd6640498a8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049918 sp=0xd6640498d0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049978 sp=0xd664049918 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049a48 sp=0xd664049978 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049a70 sp=0xd664049a48 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049ab8 sp=0xd664049a70 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049b18 sp=0xd664049ab8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049be8 sp=0xd664049b18 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049c10 sp=0xd664049be8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049c58 sp=0xd664049c10 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049cb8 sp=0xd664049c58 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049d88 sp=0xd664049cb8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049db0 sp=0xd664049d88 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049df8 sp=0xd664049db0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049e58 sp=0xd664049df8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd664049f28 sp=0xd664049e58 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd664049f50 sp=0xd664049f28 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd664049f98 sp=0xd664049f50 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd664049ff8 sp=0xd664049f98 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a0c8 sp=0xd664049ff8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a0f0 sp=0xd66404a0c8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a138 sp=0xd66404a0f0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a198 sp=0xd66404a138 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a268 sp=0xd66404a198 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a290 sp=0xd66404a268 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a2d8 sp=0xd66404a290 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a338 sp=0xd66404a2d8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a408 sp=0xd66404a338 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a430 sp=0xd66404a408 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a478 sp=0xd66404a430 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a4d8 sp=0xd66404a478 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a5a8 sp=0xd66404a4d8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a5d0 sp=0xd66404a5a8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a618 sp=0xd66404a5d0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a678 sp=0xd66404a618 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a748 sp=0xd66404a678 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a770 sp=0xd66404a748 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a7b8 sp=0xd66404a770 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a818 sp=0xd66404a7b8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404a8e8 sp=0xd66404a818 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404a910 sp=0xd66404a8e8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404a958 sp=0xd66404a910 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404a9b8 sp=0xd66404a958 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404aa88 sp=0xd66404a9b8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404aab0 sp=0xd66404aa88 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404aaf8 sp=0xd66404aab0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404ab58 sp=0xd66404aaf8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404ac28 sp=0xd66404ab58 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404ac50 sp=0xd66404ac28 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404ac98 sp=0xd66404ac50 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404acf8 sp=0xd66404ac98 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404adc8 sp=0xd66404acf8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404adf0 sp=0xd66404adc8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404ae38 sp=0xd66404adf0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404ae98 sp=0xd66404ae38 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404af68 sp=0xd66404ae98 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404af90 sp=0xd66404af68 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404afd8 sp=0xd66404af90 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404b038 sp=0xd66404afd8 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404b108 sp=0xd66404b038 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404b130 sp=0xd66404b108 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404b178 sp=0xd66404b130 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404b1d8 sp=0xd66404b178 runtime.mallocgc(0x40, 0x5ce820, 0x0, 0x2) /home/terryb/go/src/runtime/malloc.go:711 +0x535 fp=0xd66404b2a8 sp=0xd66404b1d8 runtime.newobject(0x5ce820, 0x5f47f0) /home/terryb/go/src/runtime/malloc.go:760 +0x42 fp=0xd66404b2d0 sp=0xd66404b2a8 time.Sleep(0x186a0) /home/terryb/go/src/runtime/time.go:53 +0x37 fp=0xd66404b318 sp=0xd66404b2d0 runtime.gcAssistAlloc(0x40, 0x1) /home/terryb/go/src/runtime/mgcmark.go:295 +0x23e fp=0xd66404b378 sp=0xd66404b318 ...additional frames elided... goroutine 2 [force gc (idle), 527 minutes]: runtime.gopark(0x64d7a0, 0x6fd2d0, 0x5f9cc0, 0xf, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820094758 sp=0xc820094730 runtime.goparkunlock(0x6fd2d0, 0x5f9cc0, 0xf, 0xc820000114, 0x1) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xc820094790 sp=0xc820094758 runtime.forcegchelper() /home/terryb/go/src/runtime/proc.go:152 +0xb8 fp=0xc8200947c0 sp=0xc820094790 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200947c8 sp=0xc8200947c0 created by runtime.init.4 /home/terryb/go/src/runtime/proc.go:141 +0x2b goroutine 3 [GC sweep wait, 3 minutes]: runtime.gopark(0x64d7a0, 0x6fd480, 0x5f6d20, 0xd, 0x44d714, 0x1) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820094f48 sp=0xc820094f20 runtime.goparkunlock(0x6fd480, 0x5f6d20, 0xd, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xc820094f80 sp=0xc820094f48 runtime.bgsweep(0xc8200c4000) /home/terryb/go/src/runtime/mgcsweep.go:67 +0x14d fp=0xc820094fb8 sp=0xc820094f80 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820094fc0 sp=0xc820094fb8 created by runtime.gcenable /home/terryb/go/src/runtime/mgc.go:206 +0x53 goroutine 4 [finalizer wait, 527 minutes]: runtime.gopark(0x64d7a0, 0x720f00, 0x5f9920, 0xe, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820095718 sp=0xc8200956f0 runtime.goparkunlock(0x720f00, 0x5f9920, 0xe, 0x14, 0x1) /home/terryb/go/src/runtime/proc.go:191 +0x54 fp=0xc820095750 sp=0xc820095718 runtime.runfinq() /home/terryb/go/src/runtime/mfinal.go:154 +0xaa fp=0xc8200957c0 sp=0xc820095750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200957c8 sp=0xc8200957c0 created by runtime.createfing /home/terryb/go/src/runtime/mfinal.go:135 +0x60 goroutine 6 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b1680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820096750 sp=0xc820096728 runtime.gcBgMarkWorker(0xc820024000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200967b8 sp=0xc820096750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200967c0 sp=0xc8200967b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 17 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ea8480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820090750 sp=0xc820090728 runtime.gcBgMarkWorker(0xc820025500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200907b8 sp=0xc820090750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200907c0 sp=0xc8200907b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 7 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e76000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820096f50 sp=0xc820096f28 runtime.gcBgMarkWorker(0xc820026a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820096fb8 sp=0xc820096f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820096fc0 sp=0xc820096fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 18 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820601680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820090f50 sp=0xc820090f28 runtime.gcBgMarkWorker(0xc820028000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820090fb8 sp=0xc820090f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820090fc0 sp=0xc820090fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 8 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8213da000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820097750 sp=0xc820097728 runtime.gcBgMarkWorker(0xc820029500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200977b8 sp=0xc820097750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200977c0 sp=0xc8200977b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 33 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d2000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820504750 sp=0xc820504728 runtime.gcBgMarkWorker(0xc82002aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205047b8 sp=0xc820504750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205047c0 sp=0xc8205047b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 9 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d2d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820097f50 sp=0xc820097f28 runtime.gcBgMarkWorker(0xc82002c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820097fb8 sp=0xc820097f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820097fc0 sp=0xc820097fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 19 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820091750 sp=0xc820091728 runtime.gcBgMarkWorker(0xc82002d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200917b8 sp=0xc820091750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200917c0 sp=0xc8200917b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 10 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820500750 sp=0xc820500728 runtime.gcBgMarkWorker(0xc82002ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205007b8 sp=0xc820500750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205007c0 sp=0xc8205007b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 34 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820620900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820504f50 sp=0xc820504f28 runtime.gcBgMarkWorker(0xc820030000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820504fb8 sp=0xc820504f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820504fc0 sp=0xc820504fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 11 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d3b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820500f50 sp=0xc820500f28 runtime.gcBgMarkWorker(0xc820031500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820500fb8 sp=0xc820500f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820500fc0 sp=0xc820500fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 12 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820582000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820501750 sp=0xc820501728 runtime.gcBgMarkWorker(0xc820032a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205017b8 sp=0xc820501750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205017c0 sp=0xc8205017b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 13 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820501f50 sp=0xc820501f28 runtime.gcBgMarkWorker(0xc820034000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820501fb8 sp=0xc820501f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820501fc0 sp=0xc820501fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 14 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820601200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820502750 sp=0xc820502728 runtime.gcBgMarkWorker(0xc820035500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205027b8 sp=0xc820502750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205027c0 sp=0xc8205027b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 15 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820615680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820502f50 sp=0xc820502f28 runtime.gcBgMarkWorker(0xc820036a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820502fb8 sp=0xc820502f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820502fc0 sp=0xc820502fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 35 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f3680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820505750 sp=0xc820505728 runtime.gcBgMarkWorker(0xc820038000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205057b8 sp=0xc820505750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205057c0 sp=0xc8205057b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 36 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820124000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820505f50 sp=0xc820505f28 runtime.gcBgMarkWorker(0xc820039500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820505fb8 sp=0xc820505f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820505fc0 sp=0xc820505fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 37 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e64000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820506750 sp=0xc820506728 runtime.gcBgMarkWorker(0xc82003aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205067b8 sp=0xc820506750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205067c0 sp=0xc8205067b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 16 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820620480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820503750 sp=0xc820503728 runtime.gcBgMarkWorker(0xc82003c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205037b8 sp=0xc820503750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205037c0 sp=0xc8205037b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 20 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820091f50 sp=0xc820091f28 runtime.gcBgMarkWorker(0xc82003d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820091fb8 sp=0xc820091f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820091fc0 sp=0xc820091fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 38 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820582900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820506f50 sp=0xc820506f28 runtime.gcBgMarkWorker(0xc82003ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820506fb8 sp=0xc820506f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820506fc0 sp=0xc820506fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 39 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820507750 sp=0xc820507728 runtime.gcBgMarkWorker(0xc820040000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205077b8 sp=0xc820507750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205077c0 sp=0xc8205077b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 40 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bed80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820507f50 sp=0xc820507f28 runtime.gcBgMarkWorker(0xc820041500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820507fb8 sp=0xc820507f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820507fc0 sp=0xc820507fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 49 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e4e000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820503f50 sp=0xc820503f28 runtime.gcBgMarkWorker(0xc820042a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820503fb8 sp=0xc820503f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820503fc0 sp=0xc820503fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 50 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820528750 sp=0xc820528728 runtime.gcBgMarkWorker(0xc820044000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205287b8 sp=0xc820528750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205287c0 sp=0xc8205287b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 51 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820596000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820528f50 sp=0xc820528f28 runtime.gcBgMarkWorker(0xc820045500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820528fb8 sp=0xc820528f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820528fc0 sp=0xc820528fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 52 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820529750 sp=0xc820529728 runtime.gcBgMarkWorker(0xc820046a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205297b8 sp=0xc820529750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205297c0 sp=0xc8205297b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 53 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d3680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820529f50 sp=0xc820529f28 runtime.gcBgMarkWorker(0xc820048000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820529fb8 sp=0xc820529f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820529fc0 sp=0xc820529fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 54 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc82009b680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052a750 sp=0xc82052a728 runtime.gcBgMarkWorker(0xc820049500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052a7b8 sp=0xc82052a750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052a7c0 sp=0xc82052a7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 55 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052af50 sp=0xc82052af28 runtime.gcBgMarkWorker(0xc82004aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052afb8 sp=0xc82052af50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052afc0 sp=0xc82052afb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 56 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052b750 sp=0xc82052b728 runtime.gcBgMarkWorker(0xc82004c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052b7b8 sp=0xc82052b750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052b7c0 sp=0xc82052b7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 57 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bf200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82052bf50 sp=0xc82052bf28 runtime.gcBgMarkWorker(0xc82004d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82052bfb8 sp=0xc82052bf50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82052bfc0 sp=0xc82052bfb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 58 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ea8000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820524750 sp=0xc820524728 runtime.gcBgMarkWorker(0xc82004ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205247b8 sp=0xc820524750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205247c0 sp=0xc8205247b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 41 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ed6000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820538750 sp=0xc820538728 runtime.gcBgMarkWorker(0xc820050000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205387b8 sp=0xc820538750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205387c0 sp=0xc8205387b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 59 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc82009b200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820524f50 sp=0xc820524f28 runtime.gcBgMarkWorker(0xc820051500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820524fb8 sp=0xc820524f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820524fc0 sp=0xc820524fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 60 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820582480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820525750 sp=0xc820525728 runtime.gcBgMarkWorker(0xc820052a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205257b8 sp=0xc820525750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205257c0 sp=0xc8205257b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 61 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820601b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820525f50 sp=0xc820525f28 runtime.gcBgMarkWorker(0xc820054000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820525fb8 sp=0xc820525f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820525fc0 sp=0xc820525fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 62 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e3e000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820526750 sp=0xc820526728 runtime.gcBgMarkWorker(0xc820055500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205267b8 sp=0xc820526750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205267c0 sp=0xc8205267b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 21 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8200c6000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820092750 sp=0xc820092728 runtime.gcBgMarkWorker(0xc820056a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200927b8 sp=0xc820092750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200927c0 sp=0xc8200927b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 42 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820ec8000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820538f50 sp=0xc820538f28 runtime.gcBgMarkWorker(0xc820058000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820538fb8 sp=0xc820538f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820538fc0 sp=0xc820538fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 63 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205de000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820526f50 sp=0xc820526f28 runtime.gcBgMarkWorker(0xc820059500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820526fb8 sp=0xc820526f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820526fc0 sp=0xc820526fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 64 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820527750 sp=0xc820527728 runtime.gcBgMarkWorker(0xc82005aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205277b8 sp=0xc820527750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205277c0 sp=0xc8205277b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 65 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820597200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820527f50 sp=0xc820527f28 runtime.gcBgMarkWorker(0xc82005c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820527fb8 sp=0xc820527f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820527fc0 sp=0xc820527fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 22 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820092f50 sp=0xc820092f28 runtime.gcBgMarkWorker(0xc82005d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820092fb8 sp=0xc820092f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820092fc0 sp=0xc820092fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 23 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820093750 sp=0xc820093728 runtime.gcBgMarkWorker(0xc82005ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8200937b8 sp=0xc820093750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200937c0 sp=0xc8200937b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 24 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f2000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820093f50 sp=0xc820093f28 runtime.gcBgMarkWorker(0xc820060000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820093fb8 sp=0xc820093f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820093fc0 sp=0xc820093fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 43 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820539750 sp=0xc820539728 runtime.gcBgMarkWorker(0xc820061500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205397b8 sp=0xc820539750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205397c0 sp=0xc8205397b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 44 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820539f50 sp=0xc820539f28 runtime.gcBgMarkWorker(0xc820062a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820539fb8 sp=0xc820539f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820539fc0 sp=0xc820539fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 45 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f3200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053a750 sp=0xc82053a728 runtime.gcBgMarkWorker(0xc820064000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053a7b8 sp=0xc82053a750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053a7c0 sp=0xc82053a7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 46 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205de900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053af50 sp=0xc82053af28 runtime.gcBgMarkWorker(0xc820065500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053afb8 sp=0xc82053af50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053afc0 sp=0xc82053afb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 47 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d3200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053b750 sp=0xc82053b728 runtime.gcBgMarkWorker(0xc820066a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053b7b8 sp=0xc82053b750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053b7c0 sp=0xc82053b7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 48 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205d2900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82053bf50 sp=0xc82053bf28 runtime.gcBgMarkWorker(0xc820068000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82053bfb8 sp=0xc82053bf50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82053bfc0 sp=0xc82053bfb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 81 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820600480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820534750 sp=0xc820534728 runtime.gcBgMarkWorker(0xc820069500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205347b8 sp=0xc820534750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205347c0 sp=0xc8205347b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 82 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b1200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820534f50 sp=0xc820534f28 runtime.gcBgMarkWorker(0xc82006aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820534fb8 sp=0xc820534f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820534fc0 sp=0xc820534fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 83 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820600000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820535750 sp=0xc820535728 runtime.gcBgMarkWorker(0xc82006c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205357b8 sp=0xc820535750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205357c0 sp=0xc8205357b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 84 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820615200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820535f50 sp=0xc820535f28 runtime.gcBgMarkWorker(0xc82006d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820535fb8 sp=0xc820535f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820535fc0 sp=0xc820535fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 85 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820536750 sp=0xc820536728 runtime.gcBgMarkWorker(0xc82006ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205367b8 sp=0xc820536750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205367c0 sp=0xc8205367b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 86 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc821458000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820536f50 sp=0xc820536f28 runtime.gcBgMarkWorker(0xc820070000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820536fb8 sp=0xc820536f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820536fc0 sp=0xc820536fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 87 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc82009a900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820537750 sp=0xc820537728 runtime.gcBgMarkWorker(0xc820071500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205377b8 sp=0xc820537750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205377c0 sp=0xc8205377b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 88 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820537f50 sp=0xc820537f28 runtime.gcBgMarkWorker(0xc820072a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820537fb8 sp=0xc820537f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820537fc0 sp=0xc820537fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 25 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205f3b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820554750 sp=0xc820554728 runtime.gcBgMarkWorker(0xc820074000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205547b8 sp=0xc820554750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205547c0 sp=0xc8205547b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 89 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820550750 sp=0xc820550728 runtime.gcBgMarkWorker(0xc820075500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205507b8 sp=0xc820550750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205507c0 sp=0xc8205507b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 90 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bf680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820550f50 sp=0xc820550f28 runtime.gcBgMarkWorker(0xc820076a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820550fb8 sp=0xc820550f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820550fc0 sp=0xc820550fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 91 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820551750 sp=0xc820551728 runtime.gcBgMarkWorker(0xc820078000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205517b8 sp=0xc820551750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205517c0 sp=0xc8205517b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 92 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820600d80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820551f50 sp=0xc820551f28 runtime.gcBgMarkWorker(0xc820079500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820551fb8 sp=0xc820551f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820551fc0 sp=0xc820551fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 93 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205be000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820552750 sp=0xc820552728 runtime.gcBgMarkWorker(0xc82007aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205527b8 sp=0xc820552750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205527c0 sp=0xc8205527b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 26 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205bf680, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820554f50 sp=0xc820554f28 runtime.gcBgMarkWorker(0xc82007c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820554fb8 sp=0xc820554f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820554fc0 sp=0xc820554fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 94 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820615b00, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820552f50 sp=0xc820552f28 runtime.gcBgMarkWorker(0xc82007d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820552fb8 sp=0xc820552f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820552fc0 sp=0xc820552fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 95 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205de480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820553750 sp=0xc820553728 runtime.gcBgMarkWorker(0xc82007ea00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205537b8 sp=0xc820553750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205537c0 sp=0xc8205537b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 96 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820614000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820553f50 sp=0xc820553f28 runtime.gcBgMarkWorker(0xc820080000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820553fb8 sp=0xc820553f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820553fc0 sp=0xc820553fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 97 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820562750 sp=0xc820562728 runtime.gcBgMarkWorker(0xc820081500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205627b8 sp=0xc820562750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205627c0 sp=0xc8205627b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 27 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820124900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820555750 sp=0xc820555728 runtime.gcBgMarkWorker(0xc820082a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205557b8 sp=0xc820555750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205557c0 sp=0xc8205557b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 98 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820571200, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820562f50 sp=0xc820562f28 runtime.gcBgMarkWorker(0xc820084000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820562fb8 sp=0xc820562f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820562fc0 sp=0xc820562fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 99 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc821312000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820563750 sp=0xc820563728 runtime.gcBgMarkWorker(0xc820085500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205637b8 sp=0xc820563750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205637c0 sp=0xc8205637b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 66 [mark worker (idle)]: runtime.gopark(0x64d658, 0x6fdb80, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82055e750 sp=0xc82055e728 runtime.gcBgMarkWorker(0xc820086a00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82055e7b8 sp=0xc82055e750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82055e7c0 sp=0xc82055e7b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 67 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820e3c480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc82055ef50 sp=0xc82055ef28 runtime.gcBgMarkWorker(0xc820088000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc82055efb8 sp=0xc82055ef50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82055efc0 sp=0xc82055efb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 28 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8213e4000, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820555f50 sp=0xc820555f28 runtime.gcBgMarkWorker(0xc820089500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820555fb8 sp=0xc820555f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820555fc0 sp=0xc820555fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 29 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820570900, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820556750 sp=0xc820556728 runtime.gcBgMarkWorker(0xc82008aa00) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205567b8 sp=0xc820556750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205567c0 sp=0xc8205567b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 30 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc8205b0480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820556f50 sp=0xc820556f28 runtime.gcBgMarkWorker(0xc82008c000) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc820556fb8 sp=0xc820556f50 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820556fc0 sp=0xc820556fb8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 31 [mark worker (idle)]: runtime.gopark(0x64d658, 0xc820124480, 0x61b430, 0x12, 0x14, 0x0) /home/terryb/go/src/runtime/proc.go:185 +0x163 fp=0xc820557750 sp=0xc820557728 runtime.gcBgMarkWorker(0xc82008d500) /home/terryb/go/src/runtime/mgc.go:1289 +0xf7 fp=0xc8205577b8 sp=0xc820557750 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205577c0 sp=0xc8205577b8 created by runtime.gcBgMarkStartWorkers /home/terryb/go/src/runtime/mgc.go:1239 +0x93 goroutine 113 [runnable]: runtime.notetsleepg(0x6fd4b8, 0x17828, 0x16) /home/terryb/go/src/runtime/lock_futex.go:202 +0x4e fp=0xc820561738 sp=0xc820561710 runtime.timerproc() /home/terryb/go/src/runtime/time.go:209 +0xde fp=0xc8205617c0 sp=0xc820561738 runtime.goexit() /home/terryb/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8205617c8 sp=0xc8205617c0 created by runtime.addtimerLocked /home/terryb/go/src/runtime/time.go:116 +0x11f </code></pre></div>
<p dir="auto">I recently upgraded to Go 1.5 from 1.4.2 for a moderately large production service, serving thousands of requests per second. This particular program has been run on every Go version from 1.1 through (now) 1.5, and has been stable in production for about 2+ years. Switching to Go 1.5 saw dramatic improvements in GC pause time, as expected, but the processes are intermittently exiting (somewhere between 1-6h of uptime) with the below panic.</p> <p dir="auto">On each version, this has been running on Ubuntu 12.04.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal error: runtime: cannot allocate memory runtime stack: runtime.throw(0x8c8f20, 0x1f) /usr/local/go/src/runtime/panic.go:527 +0x90 runtime.persistentalloc1(0x4000, 0x8, 0xaa8a78, 0xa8d3a8) /usr/local/go/src/runtime/malloc.go:878 +0x2e3 runtime.persistentalloc.func1() /usr/local/go/src/runtime/malloc.go:831 +0x3b runtime.systemstack(0x7ff1377fdc78) /usr/local/go/src/runtime/asm_amd64.s:278 +0xab runtime.persistentalloc(0x4000, 0x0, 0xaa8a78, 0x5) /usr/local/go/src/runtime/malloc.go:832 +0x58 runtime.fixAlloc_Alloc(0xa95eb8, 0xa8d3a8) /usr/local/go/src/runtime/mfixalloc.go:67 +0xee runtime.mHeap_AllocSpanLocked(0xa89ba0, 0x5, 0x412c1b) /usr/local/go/src/runtime/mheap.go:561 +0x1a7 runtime.mHeap_Alloc_m(0xa89ba0, 0x5, 0x100000000, 0xc8200205bc) /usr/local/go/src/runtime/mheap.go:425 +0x1ac runtime.mHeap_Alloc.func1() /usr/local/go/src/runtime/mheap.go:484 +0x41 runtime.systemstack(0x7ff1377fddb8) /usr/local/go/src/runtime/asm_amd64.s:278 +0xab runtime.mHeap_Alloc(0xa89ba0, 0x5, 0x10100000000, 0x923300) /usr/local/go/src/runtime/mheap.go:485 +0x63 runtime.largeAlloc(0x9c40, 0x0, 0x4d4f07) /usr/local/go/src/runtime/malloc.go:745 +0xb3 runtime.mallocgc.func3() /usr/local/go/src/runtime/malloc.go:634 +0x33 runtime.systemstack(0xc820020000) /usr/local/go/src/runtime/asm_amd64.s:262 +0x79 runtime.mstart() /usr/local/go/src/runtime/proc1.go:674 goroutine 1145040165 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:216 fp=0xc8226375f0 sp=0xc8226375e8 runtime.mallocgc(0x9c40, 0x731f60, 0x0, 0x60) /usr/local/go/src/runtime/malloc.go:635 +0x9c4 fp=0xc8226376c0 sp=0xc8226375f0 runtime.newarray(0x731f60, 0x1388, 0x3) /usr/local/go/src/runtime/malloc.go:777 +0xc9 fp=0xc822637700 sp=0xc8226376c0 runtime.makechan(0x7320e0, 0x1388, 0xc93f800000) /usr/local/go/src/runtime/chan.go:72 +0x135 fp=0xc822637750 sp=0xc822637700 github.com/crashlytics/gusset/caching-proxy.(*CachingProxy).Request(0xc820110550, 0x7ff13c6c01b0, 0xc964463810, 0xc9644b30a4, 0x0, 0x0) /srv/go/src/github.com/crashlytics/gusset/caching-proxy/caching-proxy.go:445 +0x6d0 fp=0xc822637908 sp=0xc822637750 main.cachedRequestHandler(0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /srv/go/src/github.com/crashlytics/gusset/gusset.go:69 +0x437 fp=0xc822637b68 sp=0xc822637908 net/http.HandlerFunc.ServeHTTP(0x922e98, 0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /usr/local/go/src/net/http/server.go:1422 +0x3a fp=0xc822637b88 sp=0xc822637b68 net/http.(*ServeMux).ServeHTTP(0xc82010d530, 0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /usr/local/go/src/net/http/server.go:1699 +0x17d fp=0xc822637be0 sp=0xc822637b88 net/http.serverHandler.ServeHTTP(0xc82011c540, 0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /usr/local/go/src/net/http/server.go:1862 +0x19e fp=0xc822637c40 sp=0xc822637be0 net/http.(*conn).serve(0xc8aef18160) /usr/local/go/src/net/http/server.go:1361 +0xbee fp=0xc822637f98 sp=0xc822637c40 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc822637fa0 sp=0xc822637f98 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:1910 +0x3f6"><pre class="notranslate"><code class="notranslate">fatal error: runtime: cannot allocate memory runtime stack: runtime.throw(0x8c8f20, 0x1f) /usr/local/go/src/runtime/panic.go:527 +0x90 runtime.persistentalloc1(0x4000, 0x8, 0xaa8a78, 0xa8d3a8) /usr/local/go/src/runtime/malloc.go:878 +0x2e3 runtime.persistentalloc.func1() /usr/local/go/src/runtime/malloc.go:831 +0x3b runtime.systemstack(0x7ff1377fdc78) /usr/local/go/src/runtime/asm_amd64.s:278 +0xab runtime.persistentalloc(0x4000, 0x0, 0xaa8a78, 0x5) /usr/local/go/src/runtime/malloc.go:832 +0x58 runtime.fixAlloc_Alloc(0xa95eb8, 0xa8d3a8) /usr/local/go/src/runtime/mfixalloc.go:67 +0xee runtime.mHeap_AllocSpanLocked(0xa89ba0, 0x5, 0x412c1b) /usr/local/go/src/runtime/mheap.go:561 +0x1a7 runtime.mHeap_Alloc_m(0xa89ba0, 0x5, 0x100000000, 0xc8200205bc) /usr/local/go/src/runtime/mheap.go:425 +0x1ac runtime.mHeap_Alloc.func1() /usr/local/go/src/runtime/mheap.go:484 +0x41 runtime.systemstack(0x7ff1377fddb8) /usr/local/go/src/runtime/asm_amd64.s:278 +0xab runtime.mHeap_Alloc(0xa89ba0, 0x5, 0x10100000000, 0x923300) /usr/local/go/src/runtime/mheap.go:485 +0x63 runtime.largeAlloc(0x9c40, 0x0, 0x4d4f07) /usr/local/go/src/runtime/malloc.go:745 +0xb3 runtime.mallocgc.func3() /usr/local/go/src/runtime/malloc.go:634 +0x33 runtime.systemstack(0xc820020000) /usr/local/go/src/runtime/asm_amd64.s:262 +0x79 runtime.mstart() /usr/local/go/src/runtime/proc1.go:674 goroutine 1145040165 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:216 fp=0xc8226375f0 sp=0xc8226375e8 runtime.mallocgc(0x9c40, 0x731f60, 0x0, 0x60) /usr/local/go/src/runtime/malloc.go:635 +0x9c4 fp=0xc8226376c0 sp=0xc8226375f0 runtime.newarray(0x731f60, 0x1388, 0x3) /usr/local/go/src/runtime/malloc.go:777 +0xc9 fp=0xc822637700 sp=0xc8226376c0 runtime.makechan(0x7320e0, 0x1388, 0xc93f800000) /usr/local/go/src/runtime/chan.go:72 +0x135 fp=0xc822637750 sp=0xc822637700 github.com/crashlytics/gusset/caching-proxy.(*CachingProxy).Request(0xc820110550, 0x7ff13c6c01b0, 0xc964463810, 0xc9644b30a4, 0x0, 0x0) /srv/go/src/github.com/crashlytics/gusset/caching-proxy/caching-proxy.go:445 +0x6d0 fp=0xc822637908 sp=0xc822637750 main.cachedRequestHandler(0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /srv/go/src/github.com/crashlytics/gusset/gusset.go:69 +0x437 fp=0xc822637b68 sp=0xc822637908 net/http.HandlerFunc.ServeHTTP(0x922e98, 0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /usr/local/go/src/net/http/server.go:1422 +0x3a fp=0xc822637b88 sp=0xc822637b68 net/http.(*ServeMux).ServeHTTP(0xc82010d530, 0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /usr/local/go/src/net/http/server.go:1699 +0x17d fp=0xc822637be0 sp=0xc822637b88 net/http.serverHandler.ServeHTTP(0xc82011c540, 0x7ff13c6c0178, 0xc9644e2580, 0xc9642b6380) /usr/local/go/src/net/http/server.go:1862 +0x19e fp=0xc822637c40 sp=0xc822637be0 net/http.(*conn).serve(0xc8aef18160) /usr/local/go/src/net/http/server.go:1361 +0xbee fp=0xc822637f98 sp=0xc822637c40 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc822637fa0 sp=0xc822637f98 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:1910 +0x3f6 </code></pre></div>
1
<h4 dir="auto">Describe the workflow you want to enable</h4> <p dir="auto">To be able to use <code class="notranslate">metrics.plot_confusion_matrix</code> in the same way as <code class="notranslate">metrics.confusion_matrix</code></p> <h4 dir="auto">Describe your proposed solution</h4> <p dir="auto">To add an optional <code class="notranslate">y_pred</code> argument to <code class="notranslate">metrics.plot_confusion_matrix</code></p> <h4 dir="auto">Additional context</h4> <p dir="auto">I find it a bit confusing and incoherent that <code class="notranslate">confusion_matrix</code> supports a <code class="notranslate">y_pred</code> argument but <code class="notranslate">plot_confusion_matrix</code> does not. I do not know the rationale behind the actual implementation, but I was expecting these two functions from the same package to have a similar interface.</p>
<p dir="auto">The signature of <code class="notranslate">plot_confusion_matrix</code> is currently:</p> <p dir="auto"><code class="notranslate">sklearn.metrics.plot_confusion_matrix(estimator, X, y_true, labels=None, sample_weight=None, normalize=None, display_labels=None, include_values=True, xticks_rotation='horizontal', values_format=None, cmap='viridis', ax=None)</code></p> <p dir="auto">The function takes an estimator and raw data and can not be used with already predicted labels. This has some downsides:</p> <ul dir="auto"> <li>If a confusion matrix should be plotted but the predictions should also be used elsewhere (e.g. calculating accuracy_score) the estimation has to be performed several times. That takes longer and can result in different values if the estimator is randomized.</li> <li>If no estimator is available (e.g. predictions loaded from a file) the plot can not be used at all.</li> </ul> <p dir="auto">Suggestion: allow passing predicted labels <code class="notranslate">y_pred</code> to <code class="notranslate">plot_confusion_matrix</code> that will be used instead of <code class="notranslate">estimator</code> and <code class="notranslate">X</code>. In my opinion the cleanest solution would be to remove the prediction step from the function and use a signature similar to that of <code class="notranslate">accuracy_score</code>, e.g. <code class="notranslate">(y_true, y_pred, labels=None, sample_weight=None, ...)</code>. However in order to maintain backwards compatibility, <code class="notranslate">y_pred</code> can be added as an optional keyword argument.</p> <p dir="auto">TODO:</p> <ul dir="auto"> <li> <p dir="auto">Introduce the class methods for the currently existing plots:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">ConfusionMatrixDisplay</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="715485974" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/18543" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/18543/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/18543">#18543</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">PrecisionRecallDisplay</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="946907798" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/20552" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/20552/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/20552">#20552</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">RocCurveDisplay</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="948050789" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/20569" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/20569/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/20569">#20569</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <code class="notranslate">DetCurveDisplay</code> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="794129835" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/19278" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/19278/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/19278">#19278</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <code class="notranslate">PartialDependenceDisplay</code>. For this one, we don't want to introduce the <code class="notranslate">from_predictions</code> classmethod because it would not make sense, we only want <code class="notranslate">from_estimator</code>.</li> </ul> </li> <li> <p dir="auto">For all Display listed above, deprecate their corresponding <code class="notranslate">plot_...</code> function. We don't need to deprecate <code class="notranslate">plot_det_curve</code> because it hasn't been released yet, we can just remove it.</p> </li> <li> <p dir="auto">for new PRs like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="630742675" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/17443" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/17443/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/17443">#17443</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="667059094" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/18020" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/18020/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/18020">#18020</a> we can implement the class methods right away instead of introducing a <code class="notranslate">plot</code> function.</p> </li> </ul>
1
<p dir="auto">hi<br> please provide capability of defining css namespace for all css and js that render html or use classes for example:<br> change class name for modal</p> <p dir="auto">.modal-header<br> to<br> .ns-modal-header</p> <p dir="auto">for inner example user can define namespace class for widgets in your site: Customize section</p> <p dir="auto">then user can change the ns to unique name to preventing css name conflict with his css files.</p>
<p dir="auto">To prevent random mixing of styles maybe we should use prefix?</p> <p dir="auto">For example, <code class="notranslate">.tb-span6</code> or <code class="notranslate">.tb-row</code> instead <code class="notranslate">.span6</code> or <code class="notranslate">.row</code>?</p> <p dir="auto"><code class="notranslate">.menu</code>, <code class="notranslate">.navbar</code> is so common class names so it may a little confusing without prefix</p>
1
<p dir="auto">Hello,</p> <p dir="auto">After I did explore on framework I found playwright one of the best fit for UI test automation.<br> my requirement is like wanted to covet test automation on desktop browser[real browsers] , mobile browsers ,mobile app on android and iOS, is there any support for this requirement ?<br> I know it support browser level emulation only. if I missed please help me.</p>
<p dir="auto">Is there any way to connect to a device, start a browser (e.g. chromium instance on Android) and run the tests?</p> <p dir="auto">If not, what is missing at this point to be able to use it on both Android and iOS?</p> <hr> <h3 dir="auto"><strong>Note from maintainers:</strong></h3> <p dir="auto">Please refer to the <a href="https://playwright.dev/docs/next/api/class-android" rel="nofollow">https://playwright.dev/docs/next/api/class-android</a> for<br> instructions on how to use Playwright with Chrome for Android, Android<br> WebViews and Android itself</p> <hr>
1
<h3 dir="auto">Description</h3> <p dir="auto">Code to reproduce and compare to scipy below.<br> I think there might be a bug map_coordinates when using the default arguments of mode='constant' and cval=0.0.<br> The function seems to be doing some sort of extrapolation in beyond one of the corners of the image even though it should just return the constant 0.0. Whats more, this seems to happen only on one corner.</p> <p dir="auto">Related to <a href="https://github.com/google/jax/issues/5687" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/5687/hovercard">#5687</a>, but with different behavior in different corners.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import os # os.environ['CUDA_VISIBLE_DEVICES'] = '' # Doesnt impact the bug import jax import jax.numpy as jnp import scipy as sp kernel = jnp.ones((8, 8), dtype=jnp.float32) in_pos = jnp.array([[0., 0.], [4., 4.], [7., 7.], [7.01, 7.01], [7.5, 7.5], [-7.5, 7.5], [7.5, -7.5], [-7.5, -7.5]]) out = jax.scipy.ndimage.map_coordinates(kernel, in_pos.T, order=1, mode='constant', cval=0.0) print(out) # [1. 1. 1. 0.98009956 0.25 0. 0. 0. ] out2 = sp.ndimage.map_coordinates(kernel, in_pos.T, order=1) print(out2) # [1. 1. 1. 0. 0. 0. 0. 0.] "><pre class="notranslate"><code class="notranslate">import os # os.environ['CUDA_VISIBLE_DEVICES'] = '' # Doesnt impact the bug import jax import jax.numpy as jnp import scipy as sp kernel = jnp.ones((8, 8), dtype=jnp.float32) in_pos = jnp.array([[0., 0.], [4., 4.], [7., 7.], [7.01, 7.01], [7.5, 7.5], [-7.5, 7.5], [7.5, -7.5], [-7.5, -7.5]]) out = jax.scipy.ndimage.map_coordinates(kernel, in_pos.T, order=1, mode='constant', cval=0.0) print(out) # [1. 1. 1. 0.98009956 0.25 0. 0. 0. ] out2 = sp.ndimage.map_coordinates(kernel, in_pos.T, order=1) print(out2) # [1. 1. 1. 0. 0. 0. 0. 0.] </code></pre></div> <h3 dir="auto">What jax/jaxlib version are you using?</h3> <p dir="auto">0.4.1</p> <h3 dir="auto">Which accelerator(s) are you using?</h3> <p dir="auto">CPU and GPU</p> <h3 dir="auto">Additional system info</h3> <p dir="auto">Ubuntu 22.05</p> <h3 dir="auto">NVIDIA GPU info</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto">jax.scipy.ndimage.map_coordinates behaves differently than scipy.ndimage.map_coordinates when using mode="constant". In this example we can see that 2.9 which should be as "off the array" as 3, produces a different output which is in fact wrong (1) but should in fact produce what the original implementation produces (0, which is cval).</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from scipy import ndimage import jax import jax.numpy as jnp src = jnp.array([5, 1, 6]) # Fails! # src = jnp.array([5, 1, 5]) # Doesn't fail # Since 2.9 is first jnp.floored, this gives &quot;2&quot;. Which is a valid index. coords = [[2, 3, 2.9]] def scipy_map_coordinates(): return ndimage.map_coordinates(src, coords, order=1, mode=&quot;constant&quot;) def jax_map_coordinates(): return jax.scipy.ndimage.map_coordinates( src, coords, order=1, mode=&quot;constant&quot;) print(scipy_map_coordinates()) print(jax_map_coordinates()) assert jnp.array_equal(scipy_map_coordinates(), jax_map_coordinates())"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">scipy</span> <span class="pl-k">import</span> <span class="pl-s1">ndimage</span> <span class="pl-k">import</span> <span class="pl-s1">jax</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">jnp</span> <span class="pl-s1">src</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-c1">5</span>, <span class="pl-c1">1</span>, <span class="pl-c1">6</span>]) <span class="pl-c"># Fails!</span> <span class="pl-c"># src = jnp.array([5, 1, 5]) # Doesn't fail</span> <span class="pl-c"># Since 2.9 is first jnp.floored, this gives "2". Which is a valid index.</span> <span class="pl-s1">coords</span> <span class="pl-c1">=</span> [[<span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">2.9</span>]] <span class="pl-k">def</span> <span class="pl-en">scipy_map_coordinates</span>(): <span class="pl-k">return</span> <span class="pl-s1">ndimage</span>.<span class="pl-en">map_coordinates</span>(<span class="pl-s1">src</span>, <span class="pl-s1">coords</span>, <span class="pl-s1">order</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">mode</span><span class="pl-c1">=</span><span class="pl-s">"constant"</span>) <span class="pl-k">def</span> <span class="pl-en">jax_map_coordinates</span>(): <span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">scipy</span>.<span class="pl-s1">ndimage</span>.<span class="pl-en">map_coordinates</span>( <span class="pl-s1">src</span>, <span class="pl-s1">coords</span>, <span class="pl-s1">order</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">mode</span><span class="pl-c1">=</span><span class="pl-s">"constant"</span>) <span class="pl-en">print</span>(<span class="pl-en">scipy_map_coordinates</span>()) <span class="pl-en">print</span>(<span class="pl-en">jax_map_coordinates</span>()) <span class="pl-k">assert</span> <span class="pl-s1">jnp</span>.<span class="pl-en">array_equal</span>(<span class="pl-en">scipy_map_coordinates</span>(), <span class="pl-en">jax_map_coordinates</span>())</pre></div> <p dir="auto">Yielding:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[6 0 0] [6 0 1] --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) &lt;ipython-input-6-b13f0479754d&gt; in &lt;module&gt;() 20 print(jax_map_coordinates()) 21 ---&gt; 22 assert jnp.array_equal(scipy_map_coordinates(), jax_map_coordinates()) AssertionError: "><pre class="notranslate"><code class="notranslate">[6 0 0] [6 0 1] --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) &lt;ipython-input-6-b13f0479754d&gt; in &lt;module&gt;() 20 print(jax_map_coordinates()) 21 ---&gt; 22 assert jnp.array_equal(scipy_map_coordinates(), jax_map_coordinates()) AssertionError: </code></pre></div> <p dir="auto">CC: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/claudiofantacci/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/claudiofantacci">@claudiofantacci</a></p>
1
<h5 dir="auto">ISSUE TYPE</h5> <p dir="auto">Bug</p> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">docker_service_module</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.1.0"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0 </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">ubntu 16.04 LTS</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Whene I try to use docker_service module I get an error about docker-compose.<br> In my machine I've install docker, docker-compose and docker has port 4243 enabled for API</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--- - hosts: all user: root vars: username: claudio password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx public_key: ~/.ssh/id_rsa.pub tasks: - name: cloning repo become: yes become_user: manager git: [email protected]:xxxxx/xxxxxxxxxxx.git dest=/home/manager/project accept_hostkey=yes version=master force=yes recursive=no key_file=/home/manager/.ssh/id_rsa - hosts: local user: root vars: username: claudio password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx public_key: ~/.ssh/id_rsa.pub tasks: - name: docker system become: yes become_user: manager docker_service: project_src: /home/manager/project/conf_default state: present "><pre class="notranslate"><code class="notranslate">--- - hosts: all user: root vars: username: claudio password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx public_key: ~/.ssh/id_rsa.pub tasks: - name: cloning repo become: yes become_user: manager git: [email protected]:xxxxx/xxxxxxxxxxx.git dest=/home/manager/project accept_hostkey=yes version=master force=yes recursive=no key_file=/home/manager/.ssh/id_rsa - hosts: local user: root vars: username: claudio password: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx public_key: ~/.ssh/id_rsa.pub tasks: - name: docker system become: yes become_user: manager docker_service: project_src: /home/manager/project/conf_default state: present </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Using /home/manager/project/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [setup] ******************************************************************* ok: [xxx.xxx.xxx.xxx] ok: [xxx.xxx.xxx.xxx] TASK [cloning repo] ************************************************************ ok: [xxx.xxx.xxx.xxx] =&gt; {&quot;after&quot;: &quot;4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177&quot;, &quot;before&quot;: &quot;4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177&quot;, &quot;changed&quot;: false, &quot;warnings&quot;: []} ok: [xxx.xxx.xxx.xxx] =&gt; {&quot;after&quot;: &quot;4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177&quot;, &quot;before&quot;: &quot;4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177&quot;, &quot;changed&quot;: false, &quot;warnings&quot;: []} PLAY [local] ******************************************************************* TASK [setup] ******************************************************************* ok: [xxx.xxx.xxx.xxx] TASK [docker system] *********************************************************** fatal: [xxx.xxx.xxx.xxx]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;failed&quot;: true, &quot;msg&quot;: &quot;Unable to load docker-compose. Try `pip install docker-compose`. Error: cannot import name IPAMConfig&quot;} to retry, use: --limit @/home/manager/control-methods/ansible/provision.retry PLAY RECAP ********************************************************************* xxx.xxx.xxx.xxx : ok=2 changed=0 unreachable=0 failed=0 xxx.xxx.xxx.xxx : ok=3 changed=0 unreachable=0 failed=1 "><pre class="notranslate"><code class="notranslate">Using /home/manager/project/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [setup] ******************************************************************* ok: [xxx.xxx.xxx.xxx] ok: [xxx.xxx.xxx.xxx] TASK [cloning repo] ************************************************************ ok: [xxx.xxx.xxx.xxx] =&gt; {"after": "4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177", "before": "4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177", "changed": false, "warnings": []} ok: [xxx.xxx.xxx.xxx] =&gt; {"after": "4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177", "before": "4ff912eaf4a81f83ebf19ef5e871ac15c9ff9177", "changed": false, "warnings": []} PLAY [local] ******************************************************************* TASK [setup] ******************************************************************* ok: [xxx.xxx.xxx.xxx] TASK [docker system] *********************************************************** fatal: [xxx.xxx.xxx.xxx]: FAILED! =&gt; {"changed": false, "failed": true, "msg": "Unable to load docker-compose. Try `pip install docker-compose`. Error: cannot import name IPAMConfig"} to retry, use: --limit @/home/manager/control-methods/ansible/provision.retry PLAY RECAP ********************************************************************* xxx.xxx.xxx.xxx : ok=2 changed=0 unreachable=0 failed=0 xxx.xxx.xxx.xxx : ok=3 changed=0 unreachable=0 failed=1 </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"><code class="notranslate">docker_container</code></p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.0 (devel 216e2c8813) last updated 2017/01/20 09:22:29 (GMT +000) ansible 2.2.0.0 (detached HEAD cdec853e37) last updated 2017/01/20 09:25:31 (GMT +000)"><pre class="notranslate"><code class="notranslate">ansible 2.3.0 (devel 216e2c8813) last updated 2017/01/20 09:22:29 (GMT +000) ansible 2.2.0.0 (detached HEAD cdec853e37) last updated 2017/01/20 09:25:31 (GMT +000) </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Nothing changed</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Linux machine1 3.16.0-4-amd64 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3525390" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/1" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/1/hovercard" href="https://github.com/ansible/ansible/issues/1">#1</a> SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux</p> <p dir="auto">pip list:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. backports.ssl-match-hostname (3.5.0.1) cached-property (1.3.0) chardet (2.3.0) colorama (0.3.7) defusedxml (0.4.1) docker (2.0.2) docker-compose (1.10.0) docker-py (1.10.6) docker-pycreds (0.2.1) dockerpty (0.4.1) docopt (0.6.2) docutils (0.12) enum34 (1.1.6) functools32 (3.2.3.post2) iotop (0.6) ipaddress (1.0.18) jsonschema (2.5.1) Pillow (2.6.1) pip (9.0.1) Pygments (2.0.1) python-apt (0.9.3.12) python-debian (0.1.27) python-debianbts (1.11) PyYAML (3.12) reportbug (6.6.3) requests (2.11.1) roman (2.0.0) setuptools (5.5.1) six (1.10.0) SOAPpy (0.12.22) texttable (0.8.7) websocket-client (0.40.0) wstools (0.4.3)"><pre class="notranslate"><code class="notranslate">pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. backports.ssl-match-hostname (3.5.0.1) cached-property (1.3.0) chardet (2.3.0) colorama (0.3.7) defusedxml (0.4.1) docker (2.0.2) docker-compose (1.10.0) docker-py (1.10.6) docker-pycreds (0.2.1) dockerpty (0.4.1) docopt (0.6.2) docutils (0.12) enum34 (1.1.6) functools32 (3.2.3.post2) iotop (0.6) ipaddress (1.0.18) jsonschema (2.5.1) Pillow (2.6.1) pip (9.0.1) Pygments (2.0.1) python-apt (0.9.3.12) python-debian (0.1.27) python-debianbts (1.11) PyYAML (3.12) reportbug (6.6.3) requests (2.11.1) roman (2.0.0) setuptools (5.5.1) six (1.10.0) SOAPpy (0.12.22) texttable (0.8.7) websocket-client (0.40.0) wstools (0.4.3) </code></pre></div> <p dir="auto">python --version<br> <code class="notranslate">Python 2.7.9</code></p> <p dir="auto">docker info</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 1.12.3 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge null overlay host Swarm: inactive Runtimes: runc Default Runtime: runc Security Options: Kernel Version: 3.16.0-4-amd64 Operating System: Debian GNU/Linux 8 (jessie) OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 1.963 GiB Name: machine1 ID: PD6F:VQDI:VAK4:O3YU:PWDT:HFAG:T3Z4:FNP5:QLT7:C3TO:7OKS:OODH Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ WARNING: No memory limit support WARNING: No swap limit support WARNING: No kernel memory limit support WARNING: No oom kill disable support WARNING: No cpu cfs quota support WARNING: No cpu cfs period support Insecure Registries: 127.0.0.0/8"><pre class="notranslate"><code class="notranslate">Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 1.12.3 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge null overlay host Swarm: inactive Runtimes: runc Default Runtime: runc Security Options: Kernel Version: 3.16.0-4-amd64 Operating System: Debian GNU/Linux 8 (jessie) OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 1.963 GiB Name: machine1 ID: PD6F:VQDI:VAK4:O3YU:PWDT:HFAG:T3Z4:FNP5:QLT7:C3TO:7OKS:OODH Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ WARNING: No memory limit support WARNING: No swap limit support WARNING: No kernel memory limit support WARNING: No oom kill disable support WARNING: No cpu cfs quota support WARNING: No cpu cfs period support Insecure Registries: 127.0.0.0/8 </code></pre></div> <h5 dir="auto">SUMMARY</h5> <p dir="auto">When module <code class="notranslate">docker_container</code> is used, it fails every time with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;Failed to import docker-py - cannot import name Client. Try `pip install docker-py`&quot;"><pre class="notranslate"><code class="notranslate">"Failed to import docker-py - cannot import name Client. Try `pip install docker-py`" </code></pre></div> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - docker_container: image: hello-world name: hello"><pre class="notranslate"><code class="notranslate"> - docker_container: image: hello-world name: hello </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Image is executed.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [docker-registry : docker_container] ************************************** task path: /vagrant/service-playbooks/roles/docker-registry/tasks/registry-server.yml:56 Using module file /home/vagrant/ansible/lib/ansible/modules/core/cloud/docker/docker_container.py &lt;192.168.77.201&gt; ESTABLISH SSH CONNECTION FOR USER: deploy &lt;192.168.77.201&gt; SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.77.201 '/bin/sh -c '&quot;'&quot;'( umask 77 &amp;&amp; mkdir -p &quot;` echo $HOME/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817 `&quot; &amp;&amp; echo ansible-tmp-1484904632.51-163570270155817=&quot;` echo $HOME/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817 `&quot; ) &amp;&amp; sleep 0'&quot;'&quot;'' &lt;192.168.77.201&gt; PUT /tmp/tmpeXfDvf TO /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/docker_container.py &lt;192.168.77.201&gt; SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r '[192.168.77.201]' &lt;192.168.77.201&gt; ESTABLISH SSH CONNECTION FOR USER: deploy &lt;192.168.77.201&gt; SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.77.201 '/bin/sh -c '&quot;'&quot;'chmod u+x /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/ /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/docker_container.py &amp;&amp; sleep 0'&quot;'&quot;'' &lt;192.168.77.201&gt; ESTABLISH SSH CONNECTION FOR USER: deploy &lt;192.168.77.201&gt; SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r -tt 192.168.77.201 '/bin/sh -c '&quot;'&quot;'/usr/bin/python /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/docker_container.py; rm -rf &quot;/home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/&quot; &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0'&quot;'&quot;'' fatal: [machine_1]: FAILED! =&gt; { &quot;changed&quot;: false, &quot;failed&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;api_version&quot;: null, &quot;blkio_weight&quot;: null, &quot;cacert_path&quot;: null, &quot;capabilities&quot;: null, &quot;cert_path&quot;: null, &quot;cleanup&quot;: false, &quot;command&quot;: null, &quot;cpu_period&quot;: null, &quot;cpu_quota&quot;: null, &quot;cpu_shares&quot;: null, &quot;cpuset_cpus&quot;: null, &quot;cpuset_mems&quot;: null, &quot;debug&quot;: false, &quot;detach&quot;: true, &quot;devices&quot;: null, &quot;dns_opts&quot;: null, &quot;dns_search_domains&quot;: null, &quot;dns_servers&quot;: null, &quot;docker_host&quot;: null, &quot;entrypoint&quot;: null, &quot;env&quot;: null, &quot;env_file&quot;: null, &quot;etc_hosts&quot;: null, &quot;exposed_ports&quot;: null, &quot;filter_logger&quot;: false, &quot;force_kill&quot;: false, &quot;groups&quot;: null, &quot;hostname&quot;: null, &quot;ignore_image&quot;: false, &quot;image&quot;: &quot;hello-world&quot;, &quot;interactive&quot;: false, &quot;ipc_mode&quot;: null, &quot;keep_volumes&quot;: true, &quot;kernel_memory&quot;: null, &quot;key_path&quot;: null, &quot;kill_signal&quot;: null, &quot;labels&quot;: null, &quot;links&quot;: null, &quot;log_driver&quot;: null, &quot;log_options&quot;: null, &quot;mac_address&quot;: null, &quot;memory&quot;: &quot;0&quot;, &quot;memory_reservation&quot;: null, &quot;memory_swap&quot;: null, &quot;memory_swappiness&quot;: null, &quot;name&quot;: &quot;hello&quot;, &quot;network_mode&quot;: null, &quot;networks&quot;: null, &quot;oom_killer&quot;: null, &quot;oom_score_adj&quot;: null, &quot;paused&quot;: false, &quot;pid_mode&quot;: null, &quot;privileged&quot;: false, &quot;published_ports&quot;: null, &quot;pull&quot;: false, &quot;purge_networks&quot;: false, &quot;read_only&quot;: false, &quot;recreate&quot;: false, &quot;restart&quot;: false, &quot;restart_policy&quot;: null, &quot;restart_retries&quot;: null, &quot;security_opts&quot;: null, &quot;shm_size&quot;: null, &quot;ssl_version&quot;: null, &quot;state&quot;: &quot;started&quot;, &quot;stop_signal&quot;: null, &quot;stop_timeout&quot;: null, &quot;timeout&quot;: null, &quot;tls&quot;: null, &quot;tls_hostname&quot;: null, &quot;tls_verify&quot;: null, &quot;trust_image_content&quot;: false, &quot;tty&quot;: false, &quot;ulimits&quot;: null, &quot;user&quot;: null, &quot;uts&quot;: null, &quot;volume_driver&quot;: null, &quot;volumes&quot;: null, &quot;volumes_from&quot;: null }, &quot;module_name&quot;: &quot;docker_container&quot; }, &quot;msg&quot;: &quot;Failed to import docker-py - cannot import name Client. Try `pip install docker-py`&quot; } to retry, use: --limit @/vagrant/service-playbooks/microservice-infrastructure-no-elastic.retry"><pre class="notranslate"><code class="notranslate">TASK [docker-registry : docker_container] ************************************** task path: /vagrant/service-playbooks/roles/docker-registry/tasks/registry-server.yml:56 Using module file /home/vagrant/ansible/lib/ansible/modules/core/cloud/docker/docker_container.py &lt;192.168.77.201&gt; ESTABLISH SSH CONNECTION FOR USER: deploy &lt;192.168.77.201&gt; SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.77.201 '/bin/sh -c '"'"'( umask 77 &amp;&amp; mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817 `" &amp;&amp; echo ansible-tmp-1484904632.51-163570270155817="` echo $HOME/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817 `" ) &amp;&amp; sleep 0'"'"'' &lt;192.168.77.201&gt; PUT /tmp/tmpeXfDvf TO /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/docker_container.py &lt;192.168.77.201&gt; SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r '[192.168.77.201]' &lt;192.168.77.201&gt; ESTABLISH SSH CONNECTION FOR USER: deploy &lt;192.168.77.201&gt; SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.77.201 '/bin/sh -c '"'"'chmod u+x /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/ /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/docker_container.py &amp;&amp; sleep 0'"'"'' &lt;192.168.77.201&gt; ESTABLISH SSH CONNECTION FOR USER: deploy &lt;192.168.77.201&gt; SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=deploy -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r -tt 192.168.77.201 '/bin/sh -c '"'"'/usr/bin/python /home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/docker_container.py; rm -rf "/home/deploy/.ansible/tmp/ansible-tmp-1484904632.51-163570270155817/" &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0'"'"'' fatal: [machine_1]: FAILED! =&gt; { "changed": false, "failed": true, "invocation": { "module_args": { "api_version": null, "blkio_weight": null, "cacert_path": null, "capabilities": null, "cert_path": null, "cleanup": false, "command": null, "cpu_period": null, "cpu_quota": null, "cpu_shares": null, "cpuset_cpus": null, "cpuset_mems": null, "debug": false, "detach": true, "devices": null, "dns_opts": null, "dns_search_domains": null, "dns_servers": null, "docker_host": null, "entrypoint": null, "env": null, "env_file": null, "etc_hosts": null, "exposed_ports": null, "filter_logger": false, "force_kill": false, "groups": null, "hostname": null, "ignore_image": false, "image": "hello-world", "interactive": false, "ipc_mode": null, "keep_volumes": true, "kernel_memory": null, "key_path": null, "kill_signal": null, "labels": null, "links": null, "log_driver": null, "log_options": null, "mac_address": null, "memory": "0", "memory_reservation": null, "memory_swap": null, "memory_swappiness": null, "name": "hello", "network_mode": null, "networks": null, "oom_killer": null, "oom_score_adj": null, "paused": false, "pid_mode": null, "privileged": false, "published_ports": null, "pull": false, "purge_networks": false, "read_only": false, "recreate": false, "restart": false, "restart_policy": null, "restart_retries": null, "security_opts": null, "shm_size": null, "ssl_version": null, "state": "started", "stop_signal": null, "stop_timeout": null, "timeout": null, "tls": null, "tls_hostname": null, "tls_verify": null, "trust_image_content": false, "tty": false, "ulimits": null, "user": null, "uts": null, "volume_driver": null, "volumes": null, "volumes_from": null }, "module_name": "docker_container" }, "msg": "Failed to import docker-py - cannot import name Client. Try `pip install docker-py`" } to retry, use: --limit @/vagrant/service-playbooks/microservice-infrastructure-no-elastic.retry </code></pre></div>
1
<p dir="auto">Hi, For documentation purpose and project release process we need the Export control classification number(ECCN) for OpenCV if it applies. Can you please let me know the ECCN ?</p>
<p dir="auto">We are concerned about the authority of OpenCV as recently arised trade issues between US and the rest of the world (especially China). We are looking forward to get your official answers for the questions below:</p> <ol dir="auto"> <li>Is the OpenCV project subject to U.S. Export Administration Regulations (EAR) and classified under ECCN 0D521? Or such AI software is subject to EAR, but not classified under ECCN 0D521?</li> <li>Is U..S. Bureau of Industry and Security license required for exporting this project to China?</li> </ol>
1
<p dir="auto">one more trouble case with duplicate column names<br> the exception could be nicer (sort ambiguous because of duplicate column or similar) or it could sort by the first? column with this name (although this would not be nice in case the column is not duplicate but has in fact different content with the same name and the user not being aware of this).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd df = pd.DataFrame([(1,2), (3,4)], columns = ['a', 'a']) df.sort('a') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-1-251abbb5c77e&gt; in &lt;module&gt;() 1 import pandas as pd 2 df = pd.DataFrame([(1,2), (3,4)], columns = ['a', 'a']) ----&gt; 3 df.sort('a') /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in sort(self, columns, column, axis, ascending, inplace) 3062 columns = column 3063 return self.sort_index(by=columns, axis=axis, ascending=ascending, -&gt; 3064 inplace=inplace) 3065 3066 def sort_index(self, axis=0, by=None, ascending=True, inplace=False): /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in sort_index(self, axis, by, ascending, inplace) 3125 self._clear_item_cache() 3126 else: -&gt; 3127 return self.take(indexer, axis=axis) 3128 3129 def sortlevel(self, level=0, axis=0, ascending=True, inplace=False): /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in take(self, indices, axis) 2853 new_values = com.take_2d(self.values, 2854 com._ensure_int64(indices), -&gt; 2855 axis=axis) 2856 if axis == 0: 2857 new_columns = self.columns /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/common.pyc in take_2d(arr, indexer, out, mask, needs_masking, axis, fill_value) 414 out = np.empty(out_shape, dtype=arr.dtype) 415 take_f = _get_take2d_function(dtype_str, axis=axis) --&gt; 416 take_f(arr, _ensure_int64(indexer), out=out, fill_value=fill_value) 417 return out 418 elif dtype_str in ('float64', 'object', 'datetime64[ns]'): /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/algos.so in pandas.algos.take_2d_axis0_int64 (pandas/algos.c:73957)() ValueError: Buffer has wrong number of dimensions (expected 1, got 2)"><pre class="notranslate"><code class="notranslate">import pandas as pd df = pd.DataFrame([(1,2), (3,4)], columns = ['a', 'a']) df.sort('a') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-1-251abbb5c77e&gt; in &lt;module&gt;() 1 import pandas as pd 2 df = pd.DataFrame([(1,2), (3,4)], columns = ['a', 'a']) ----&gt; 3 df.sort('a') /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in sort(self, columns, column, axis, ascending, inplace) 3062 columns = column 3063 return self.sort_index(by=columns, axis=axis, ascending=ascending, -&gt; 3064 inplace=inplace) 3065 3066 def sort_index(self, axis=0, by=None, ascending=True, inplace=False): /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in sort_index(self, axis, by, ascending, inplace) 3125 self._clear_item_cache() 3126 else: -&gt; 3127 return self.take(indexer, axis=axis) 3128 3129 def sortlevel(self, level=0, axis=0, ascending=True, inplace=False): /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in take(self, indices, axis) 2853 new_values = com.take_2d(self.values, 2854 com._ensure_int64(indices), -&gt; 2855 axis=axis) 2856 if axis == 0: 2857 new_columns = self.columns /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/core/common.pyc in take_2d(arr, indexer, out, mask, needs_masking, axis, fill_value) 414 out = np.empty(out_shape, dtype=arr.dtype) 415 take_f = _get_take2d_function(dtype_str, axis=axis) --&gt; 416 take_f(arr, _ensure_int64(indexer), out=out, fill_value=fill_value) 417 return out 418 elif dtype_str in ('float64', 'object', 'datetime64[ns]'): /usr/local/lib/python2.7/dist-packages/pandas-0.10.0.dev_74ab638-py2.7-linux-x86_64.egg/pandas/algos.so in pandas.algos.take_2d_axis0_int64 (pandas/algos.c:73957)() ValueError: Buffer has wrong number of dimensions (expected 1, got 2) </code></pre></div>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: import pandas as pd In [2]: df = pd.DataFrame({'Number' : [1, 2], 'Date' : [&quot;2017-03-02&quot;] * 2, 'Str' : [&quot;foo&quot;, &quot;inf&quot;]}) In [3]: df Out[3]: Date Number Str 0 2017-03-02 1 foo 1 2017-03-02 2 inf In [4]: df.groupby(['Number']).apply(lambda x: x.iloc[0]) Out[4]: Date Number Str Number 1 2017-03-02 1 foo 2 2017-03-02 2 inf In [5]: df.Date = pd.to_datetime(df.Date) In [6]: df Out[6]: Date Number Str 0 2017-03-02 1 foo 1 2017-03-02 2 inf In [7]: df.groupby(['Number']).apply(lambda x: x.iloc[0]) Out[7]: Date Number Str Number 1 2017-03-02 1 NaN 2 2017-03-02 2 inf "><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'Number'</span> : [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>], <span class="pl-s">'Date'</span> : [<span class="pl-s">"2017-03-02"</span>] <span class="pl-c1">*</span> <span class="pl-c1">2</span>, <span class="pl-s">'Str'</span> : [<span class="pl-s">"foo"</span>, <span class="pl-s">"inf"</span>]}) <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">3</span>]: <span class="pl-v">Date</span> <span class="pl-v">Number</span> <span class="pl-v">Str</span> <span class="pl-c1">0</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">1</span> <span class="pl-s1">foo</span> <span class="pl-c1">1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">2</span> <span class="pl-s1">inf</span> <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">df</span>.<span class="pl-en">groupby</span>([<span class="pl-s">'Number'</span>]).<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>]) <span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-v">Date</span> <span class="pl-v">Number</span> <span class="pl-v">Str</span> <span class="pl-v">Number</span> <span class="pl-c1">1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">1</span> <span class="pl-s1">foo</span> <span class="pl-c1">2</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">2</span> <span class="pl-s1">inf</span> <span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">df</span>.<span class="pl-v">Date</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-v">Date</span>) <span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">6</span>]: <span class="pl-v">Date</span> <span class="pl-v">Number</span> <span class="pl-v">Str</span> <span class="pl-c1">0</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">1</span> <span class="pl-s1">foo</span> <span class="pl-c1">1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">2</span> <span class="pl-s1">inf</span> <span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">df</span>.<span class="pl-en">groupby</span>([<span class="pl-s">'Number'</span>]).<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>]) <span class="pl-v">Out</span>[<span class="pl-c1">7</span>]: <span class="pl-v">Date</span> <span class="pl-v">Number</span> <span class="pl-v">Str</span> <span class="pl-v">Number</span> <span class="pl-c1">1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">1</span> <span class="pl-v">NaN</span> <span class="pl-c1">2</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">2</span> <span class="pl-s1">inf</span></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">When I change the type of the Date column to a Pandas datetime, it causes other columns' types to change in unexpected ways when doing a group-by/apply. Notice the contents of the "Str" column changes to a numeric type in the final group-by/apply (a contributing factor is probably that one of the elements is the string "inf"). The "inf" value has become inf, and the "foo" value has become NaN.</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">I expect the Str column to remain a string type, and contain the original strings. I.e.:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" Date Number Str 0 2017-03-02 1 foo 1 2017-03-02 2 inf"><pre class="notranslate"> <span class="pl-v">Date</span> <span class="pl-v">Number</span> <span class="pl-v">Str</span> <span class="pl-c1">0</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">1</span> <span class="pl-s1">foo</span> <span class="pl-c1">1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">03</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">2</span> <span class="pl-s1">inf</span></pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-327.10.1.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 <p dir="auto">pandas: 0.18.1<br> nose: 1.3.7<br> pip: None<br> setuptools: 0.6<br> Cython: 0.24.1<br> numpy: 1.11.1<br> scipy: 0.18.0<br> statsmodels: 0.6.1<br> xarray: 0.7.0<br> IPython: 5.0.0<br> sphinx: 1.3.5<br> patsy: 0.4.1<br> dateutil: 2.5.3<br> pytz: 2016.6.1<br> blosc: None<br> bottleneck: 1.1.0<br> tables: 3.2.3.1<br> numexpr: 2.6.1<br> matplotlib: 1.5.1<br> openpyxl: 2.3.2<br> xlrd: 1.0.0<br> xlwt: 1.1.2<br> xlsxwriter: 0.9.2<br> lxml: 3.6.1<br> bs4: 4.4.1<br> html5lib: 0.999<br> httplib2: None<br> apiclient: None<br> sqlalchemy: 1.0.13<br> pymysql: 0.6.7.None<br> psycopg2: 2.5.4 (dt dec pq3 ext)<br> jinja2: 2.8<br> boto: 2.40.0<br> pandas_datareader: None</p> </details>
0
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> Bug</p> <p dir="auto"><strong>What is the current behavior?</strong><br> Build script fails</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (false) { import('./module'); // &lt;-- Fails to transform this or remove this }"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">false</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">'./module'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;-- Fails to transform this or remove this</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong><br> Probably transforming this expression as well and letting uglify to get rid of it later.</p> <p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node -v &gt; v8.1.3"><pre class="notranslate"><code class="notranslate">node -v &gt; v8.1.3 </code></pre></div> <p dir="auto">I came across this issue because we use feature flags at build time that include specific code if feature is enabled.</p>
<p dir="auto"><strong>Bug</strong></p> <p dir="auto"><strong>What is the current behavior?</strong><br> In case of development environment such code</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (process.env.NODE_ENV === 'testing') { import('somemodule'); }"><pre class="notranslate"><code class="notranslate">if (process.env.NODE_ENV === 'testing') { import('somemodule'); } </code></pre></div> <p dir="auto">is transformed by webpack <code class="notranslate">2.5.1</code> into this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (false) { import('somemodule'); }"><pre class="notranslate"><code class="notranslate">if (false) { import('somemodule'); } </code></pre></div> <p dir="auto">which leads to <code class="notranslate">Uncaught SyntaxError: Unexpected token import</code> error in the latest Chrome.</p> <p dir="auto">Node.JS 7.10.0, babel 6.24.1 has <code class="notranslate">syntax-dynamic-import</code> plugin</p>
1
<h2 dir="auto">Expected Behavior</h2> <p dir="auto">Docs are accurate.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Docs are inaccurate.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Go here: <a href="https://github.com/zeit/next.js#importing-css--sass--less-files">https://github.com/zeit/next.js#importing-css--sass--less-files</a></li> <li>Click any of the three css/sass/less links</li> </ol> <p dir="auto">Happy to put together a quick PR if someone can tell me where the relevant branch is located.</p>
<h1 dir="auto">Examples bug report</h1> <h2 dir="auto">Example name</h2> <p dir="auto"><a href="https://github.com/zeit/next.js/tree/master/examples/with-polyfills">with-polyfills</a></p> <h2 dir="auto">Describe the bug</h2> <p dir="auto"><code class="notranslate">with-polyfills</code> shows how to polyfill missing features prior to initialization of Next app. However, I would like to load polyfills only for the missing features using the dynamic import.</p> <p dir="auto">For example IntersectionObserver is supported widely in the latest versions of browsers, so it's usually not necessary to load the <a href="https://github.com/w3c/IntersectionObserver/tree/master/polyfill">intersection-observer polyfill</a>. Thus I would like to import the polyfill only when the feature is missing like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// client/polyfills.js async function loadPolyfills() { if (typeof window.IntersectionObserver === 'undefined') { await import('intersection-observer') } } export default loadPolyfills()"><pre class="notranslate"><span class="pl-c">// client/polyfills.js</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">loadPolyfills</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">IntersectionObserver</span> <span class="pl-c1">===</span> <span class="pl-s">'undefined'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">'intersection-observer'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">loadPolyfills</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div> <p dir="auto">When I do that the application crashes when browser attempts to load the polyfill with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unhandled Rejection (ChunkLoadError): Loading chunk 0 failed. (error: http://localhost:3000/static/chunks/0.js)"><pre class="notranslate"><code class="notranslate">Unhandled Rejection (ChunkLoadError): Loading chunk 0 failed. (error: http://localhost:3000/static/chunks/0.js) </code></pre></div> <p dir="auto">Apparently Webpack points to the chunk in a wrong location, since the chunk is available in <code class="notranslate">_next</code> directory, i.e. <code class="notranslate">http://localhost:3000/_next/static/chunks/0.js</code></p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">I have prepared a repository with reproduction of the issue. The feature detection is <a href="https://github.com/jnv/next-with-polyfills-dynamic-import/blob/master/client/polyfills.js">commented out</a> to reproduce the behavior in any browser.</p> <ol dir="auto"> <li>Download or clone <a href="https://github.com/jnv/next-with-polyfills-dynamic-import">https://github.com/jnv/next-with-polyfills-dynamic-import</a></li> <li>Install dependencies with <code class="notranslate">yarn</code></li> <li>Start application with <code class="notranslate">yarn dev</code></li> <li>Go to <code class="notranslate">http://localhost:3000/</code></li> <li>See the error</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Browser loads the chunk without error, before Next initialization.</p> <h2 dir="auto">Screenshots</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/616767/62223424-3029a980-b3b5-11e9-9a6d-ef9d9d926270.png"><img src="https://user-images.githubusercontent.com/616767/62223424-3029a980-b3b5-11e9-9a6d-ef9d9d926270.png" alt="Error in browser" style="max-width: 100%;"></a></p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOS</li> <li>Browser: does not apply</li> <li>Version of Next.js: 9.0.2</li> </ul>
0
<p dir="auto">in the example on getbootstrap, when one opens the modal, the whole page contents gets rocked to the left. I suppose that is not the meaning and it is a bug?</p> <p dir="auto">launch demo modal to check it out: <a href="http://getbootstrap.com/javascript/#modals" rel="nofollow">http://getbootstrap.com/javascript/#modals</a></p> <p dir="auto">Kind regards,<br> J.</p>
<p dir="auto">When launching the modal component (<a href="http://getbootstrap.com/javascript/#modals" rel="nofollow">http://getbootstrap.com/javascript/#modals</a>) the entire content will slightly move to the left on mac OS (haven't tried it on windows yet). With the active modal the scrollbar seem to disappear, while the content width still changes.</p> <p dir="auto">You can observer the problem on the bootstrap page</p>
1
<p dir="auto">I wonder if you could combine a built-in support for RTL languages.<br> You can require users to add the class rtl the body tag and accordingly change the necessary parts in the system.</p> <p dir="auto">Example body tag:<br> &lt; body class="rtl" &gt;</p> <p dir="auto">Example css rule:<br> body.rtl {<br> direction: rtl;<br> }<br> body.rtl .navbar .nav &gt; li {<br> float: right;<br> }</p>
<p dir="auto">Would be great to have support for right-to-left languages.</p>
1
<p dir="auto">I can correctly install this (most of the time) but executing npm update I get the following error; I am guessing there is something wrong in the package.json or similar. If I figure out what it is I'll add a message here, but if someone knows off hand that would be awesome.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm http 404 https://registry.npmjs.org/bootstrap/2.3.1 npm ERR! Error: version not found: 2.3.1 : bootstrap/2.3.1 npm ERR! at RegClient.&lt;anonymous&gt; (/Users/andy/nvm/v0.8.22/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:268:14) npm ERR! at Request.init.self.callback (/Users/andy/nvm/v0.8.22/lib/node_modules/npm/node_modules/request/main.js:120:22) npm ERR! at Request.EventEmitter.emit (events.js:99:17) npm ERR! at Request.&lt;anonymous&gt; (/Users/andy/nvm/v0.8.22/lib/node_modules/npm/node_modules/request/main.js:648:16) npm ERR! at Request.EventEmitter.emit (events.js:126:20) npm ERR! at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/andy/nvm/v0.8.22/lib/node_modules/npm/node_modules/request/main.js:610:14) npm ERR! at IncomingMessage.EventEmitter.emit (events.js:126:20) npm ERR! at IncomingMessage._emitEnd (http.js:366:10) npm ERR! at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23) npm ERR! at CleartextStream.socketOnData [as ondata] (http.js:1485:20) npm ERR! If you need help, you may report this log at: npm ERR! &lt;http://github.com/isaacs/npm/issues&gt; npm ERR! or email it to: npm ERR! &lt;[email protected]&gt; npm ERR! System Darwin 12.3.0 npm ERR! command &quot;/Users/andy/nvm/v0.8.22/bin/node&quot; &quot;/Users/andy/nvm/v0.8.22/bin/npm&quot; &quot;update&quot; npm ERR! cwd /Users/andy/prototype/prototypes/prototype1 npm ERR! node -v v0.8.22 npm ERR! npm -v 1.2.14"><pre class="notranslate"><span class="pl-s1">npm</span> <span class="pl-s1">http</span> <span class="pl-c1">404</span> https:<span class="pl-c">//registry.npmjs.org/bootstrap/2.3.1</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> Error: version <span class="pl-s1">not</span> <span class="pl-s1">found</span>: <span class="pl-c1">2.3</span><span class="pl-c1">.1</span> : <span class="pl-s1">bootstrap</span><span class="pl-c1">/</span><span class="pl-c1">2.3</span><span class="pl-c1">.1</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">RegClient</span><span class="pl-kos">.</span><span class="pl-c1">&lt;</span><span class="pl-s1">anonymous</span><span class="pl-c1">&gt;</span> <span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Users<span class="pl-c1">/</span>andy</span><span class="pl-c1">/</span><span class="pl-s1">nvm</span><span class="pl-c1">/</span><span class="pl-s1">v0</span><span class="pl-c1">.8</span><span class="pl-c1">.22</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">npm</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">npm</span><span class="pl-c1">-</span><span class="pl-s1">registry</span><span class="pl-c1">-</span><span class="pl-s1">client</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">268</span>:<span class="pl-c1">14</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">Request</span><span class="pl-kos">.</span><span class="pl-c1">init</span><span class="pl-kos">.</span><span class="pl-c1">self</span><span class="pl-kos">.</span><span class="pl-en">callback</span> <span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Users<span class="pl-c1">/</span>andy</span><span class="pl-c1">/</span><span class="pl-s1">nvm</span><span class="pl-c1">/</span><span class="pl-s1">v0</span><span class="pl-c1">.8</span><span class="pl-c1">.22</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">npm</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">request</span><span class="pl-c1">/</span><span class="pl-s1">main</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">120</span>:<span class="pl-c1">22</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">Request</span><span class="pl-kos">.</span><span class="pl-c1">EventEmitter</span><span class="pl-kos">.</span><span class="pl-en">emit</span> <span class="pl-kos">(</span><span class="pl-s1">events</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">99</span>:<span class="pl-c1">17</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">Request</span><span class="pl-kos">.</span><span class="pl-c1">&lt;</span><span class="pl-s1">anonymous</span><span class="pl-c1">&gt;</span> <span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Users<span class="pl-c1">/</span>andy</span><span class="pl-c1">/</span><span class="pl-s1">nvm</span><span class="pl-c1">/</span><span class="pl-s1">v0</span><span class="pl-c1">.8</span><span class="pl-c1">.22</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">npm</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">request</span><span class="pl-c1">/</span><span class="pl-s1">main</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">648</span>:<span class="pl-c1">16</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">Request</span><span class="pl-kos">.</span><span class="pl-c1">EventEmitter</span><span class="pl-kos">.</span><span class="pl-en">emit</span> <span class="pl-kos">(</span><span class="pl-s1">events</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">126</span>:<span class="pl-c1">20</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">IncomingMessage</span><span class="pl-kos">.</span><span class="pl-c1">Request</span><span class="pl-kos">.</span><span class="pl-c1">start</span><span class="pl-kos">.</span><span class="pl-c1">self</span><span class="pl-kos">.</span><span class="pl-c1">req</span><span class="pl-kos">.</span><span class="pl-c1">self</span><span class="pl-kos">.</span><span class="pl-c1">httpModule</span><span class="pl-kos">.</span><span class="pl-c1">request</span><span class="pl-kos">.</span><span class="pl-en">buffer</span> <span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Users<span class="pl-c1">/</span>andy</span><span class="pl-c1">/</span><span class="pl-s1">nvm</span><span class="pl-c1">/</span><span class="pl-s1">v0</span><span class="pl-c1">.8</span><span class="pl-c1">.22</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">npm</span><span class="pl-c1">/</span><span class="pl-s1">node_modules</span><span class="pl-c1">/</span><span class="pl-s1">request</span><span class="pl-c1">/</span><span class="pl-s1">main</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">610</span>:<span class="pl-c1">14</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">IncomingMessage</span><span class="pl-kos">.</span><span class="pl-c1">EventEmitter</span><span class="pl-kos">.</span><span class="pl-en">emit</span> <span class="pl-kos">(</span><span class="pl-s1">events</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">126</span>:<span class="pl-c1">20</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">IncomingMessage</span><span class="pl-kos">.</span><span class="pl-en">_emitEnd</span> <span class="pl-kos">(</span><span class="pl-s1">http</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">366</span>:<span class="pl-c1">10</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">HTTPParser</span><span class="pl-kos">.</span><span class="pl-c1">parserOnMessageComplete</span> <span class="pl-kos">[</span><span class="pl-s1">as</span> <span class="pl-s1">onMessageComplete</span><span class="pl-kos">]</span> <span class="pl-kos">(</span><span class="pl-s1">http</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">149</span>:<span class="pl-c1">23</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-s1">at</span> <span class="pl-v">CleartextStream</span><span class="pl-kos">.</span><span class="pl-c1">socketOnData</span> <span class="pl-kos">[</span><span class="pl-s1">as</span> <span class="pl-s1">ondata</span><span class="pl-kos">]</span> <span class="pl-kos">(</span><span class="pl-s1">http</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">1485</span>:<span class="pl-c1">20</span><span class="pl-kos">)</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-v">If</span> <span class="pl-s1">you</span> <span class="pl-s1">need</span> <span class="pl-s1">help</span><span class="pl-kos">,</span> <span class="pl-s1">you</span> <span class="pl-s1">may</span> <span class="pl-s1">report</span> <span class="pl-s1">this</span> <span class="pl-s1">log</span><span class="pl-kos"></span> <span class="pl-s1">at</span>: <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-c1">&lt;</span><span class="pl-s1">http</span>:<span class="pl-c">//github.com/isaacs/npm/issues&gt;</span> <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-c1">or</span> <span class="pl-c1">email</span> <span class="pl-c1">it</span> <span class="pl-s1">to</span>: <span class="pl-s1">npm</span> <span class="pl-c1">ERR</span><span class="pl-c1">!</span> <span class="pl-c1">&lt;</span><span class="pl-c1">npm-</span>@<span class="pl-c1">googlegroups</span><span class="pl-kos">.</span><span class="pl-c1">com</span><span class="pl-c1">&gt;</span> npm ERR! System Darwin 12.3.0 npm ERR! command "/Users/andy/nvm/v0.8.22/bin/node" "/Users/andy/nvm/v0.8.22/bin/npm" "update" npm ERR! cwd /Users/andy/prototype/prototypes/prototype1 npm ERR! node -v v0.8.22 npm ERR! npm -v 1.2.14</pre></div>
<p dir="auto">The twitter-bootstrap module on npm is still at version 2.1.1.</p> <p dir="auto"><a href="https://npmjs.org/package/twitter-bootstrap" rel="nofollow">https://npmjs.org/package/twitter-bootstrap</a></p>
1
<p dir="auto">foo.ts:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export const a = 1 export const b = 2"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span> <span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span></pre></div> <p dir="auto">bar.ts:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// error! export * as foo from './foo' // ok import * as foo1 from './foo' export const foo = foo1"><pre class="notranslate"><span class="pl-c">// error!</span> <span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">foo</span> <span class="pl-k">from</span> <span class="pl-s">'./foo'</span> <span class="pl-c">// ok</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">foo1</span> <span class="pl-k">from</span> <span class="pl-s">'./foo'</span> <span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s1">foo1</span></pre></div>
<p dir="auto">The ES7 proposal is available at: <a href="https://github.com/leebyron/ecmascript-more-export-from">https://github.com/leebyron/ecmascript-more-export-from</a></p> <p dir="auto">The additions include:</p> <p dir="auto">reexporting default:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// proposed: export v from &quot;mod&quot;; // symmetric to: import v from &quot;mod&quot;; export {v};"><pre class="notranslate"><span class="pl-c">// proposed:</span> <span class="pl-k">export</span> <span class="pl-s1">v</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span> <span class="pl-c">// symmetric to:</span> <span class="pl-k">import</span> <span class="pl-s1">v</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-kos">{</span><span class="pl-s1">v</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">reexporting as sub-module:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// proposed: export * as ns from &quot;mod&quot;; // symmetric to: import * as ns from &quot;mod&quot;; export {ns};"><pre class="notranslate"><span class="pl-c">// proposed:</span> <span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span> <span class="pl-c">// symmetric to:</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-kos">{</span><span class="pl-s1">ns</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">also allowing combining</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// proposed export v, {x, y as w} from &quot;mod&quot; // symmetric to import v, {x, y as w} from &quot;mod&quot; As well as // proposed export v, * as ns from &quot;mod&quot; // symmetric to import v, * as ns from &quot;mod&quot;"><pre class="notranslate"><span class="pl-c">// proposed</span> <span class="pl-s1">export</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>x<span class="pl-kos">,</span> y <span class="pl-s1">as</span> <span class="pl-s1">w</span><span class="pl-kos">}</span> <span class="pl-s1">from</span> <span class="pl-s">"mod"</span> <span class="pl-c">// symmetric to</span> <span class="pl-k">import</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">w</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span> <span class="pl-smi">As</span> <span class="pl-s1">well</span> <span class="pl-k">as</span> <span class="pl-c">// proposed</span> <span class="pl-smi">export</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-s1">from</span> <span class="pl-s">"mod"</span> <span class="pl-c">// symmetric to</span> <span class="pl-k">import</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span></pre></div>
1
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2133" rel="nofollow">http://projects.scipy.org/numpy/ticket/2133</a> on 2012-05-16 by trac user mwtoews, assigned to unknown.</em></p> <p dir="auto">I see good overflow warnings operations on int32 scalars, but not for int32 arrays:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np # Case 1: Good, proper data types are used to avoid overflow np.array([1], dtype=np.long) + np.int32(2**31 - 1) # array([2147483648], dtype=int64) # Case 2: Bad, overflow happens and no warning raised np.array([1], dtype=np.int32) + np.int32(2**31 - 1) # array([-2147483648]) # Case 3: Similar bad, array vs. array np.array([1], dtype=np.int32) + np.array([2**31 - 1], dtype=np.int32) # array([-2147483648]) # Case 4: Better, a warning is raised np.int32(1) + np.int32(2**31 - 1) # __main__:1: RuntimeWarning: overflow encountered in long_scalars # -2147483648"><pre class="notranslate"><code class="notranslate">import numpy as np # Case 1: Good, proper data types are used to avoid overflow np.array([1], dtype=np.long) + np.int32(2**31 - 1) # array([2147483648], dtype=int64) # Case 2: Bad, overflow happens and no warning raised np.array([1], dtype=np.int32) + np.int32(2**31 - 1) # array([-2147483648]) # Case 3: Similar bad, array vs. array np.array([1], dtype=np.int32) + np.array([2**31 - 1], dtype=np.int32) # array([-2147483648]) # Case 4: Better, a warning is raised np.int32(1) + np.int32(2**31 - 1) # __main__:1: RuntimeWarning: overflow encountered in long_scalars # -2147483648 </code></pre></div> <p dir="auto">Here is what I can determine between operator <em>op</em> between arrays or scalars:</p> <ol dir="auto"> <li>array-long <em>op</em> scalar-32 = array-long, all good</li> <li>array-32 <em>op</em> scalar-32 = array-32, no overflow warning!</li> <li>array-32 <em>op</em> array-32 = array-32, no overflow warning!</li> <li>scalar-32 <em>op</em> scalar-32 = scalar-32, helpful overflow warning</li> </ol> <p dir="auto">I would expect an overflow runtime warning for cases 2 and 3, similar to case 4.</p> <p dir="auto">These results are with NumPy 1.6.1/Python 2.5.1 on Windows 32-bit, which I installed from <code class="notranslate">numpy-unoptimized-1.6.1.win32-py2.5.exe</code> from [http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy ~gohlke], but are reproducible on 64-bit Linux.</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
<p dir="auto">Hello</p> <p dir="auto">Periodically/frequently the PowerToy context menu periodically will not show or open when I right click the icon from the notification area or attempt to access it from search dialog. I must kill the process and restart in order to get into settings when this happens.</p> <h1 dir="auto">Environment</h1> <p dir="auto">Windows 10 1909 April 2020 CU</p> <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] PowerToys version: v0.17.0 PowerToy module for which you are reporting the bug (if applicable): Main UI control"><pre class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] PowerToys version: v0.17.0 PowerToy module for which you are reporting the bug (if applicable): Main UI control </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Not sure what causes this. At times, it does appear that PowerToys is hanging and I see an hour glass but that does not happen everytime. I do notice that that FZ zones are not work at a 100% when this occurs although it does seem to eventually work. I suspect some sort of hang situation underneath the covers. When FZ isn't working, I notice that the regular Windows Snap behavior will start to get mixed into the select zone layout so when I start to switch between zones the window will move between all regular windows snap and the select zones.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">I expect that when I want to access the "settings" from the context menu that it always comes up.</p> <h1 dir="auto">Actual behavior</h1> <h1 dir="auto">Screenshots</h1>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.778 PowerToys version: 0.17.0 PowerToy module for which you are reporting the bug: FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.778 PowerToys version: 0.17.0 PowerToy module for which you are reporting the bug: FancyZones </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Uninstall previous version of PowerToys</li> <li>Install 0.17.0</li> <li>Open PowerToys, things work just fine</li> <li>Wait for a while</li> <li>Try to place a window inside a zone, it shows no zones, and acts as if the app no longer running</li> <li>Can open settings window and interact with toggles and such, but cannot save</li> <li>Can close settings window</li> <li>Can sometimes right click &gt; exit on the systray icon, other times i have to force close in task manager</li> <li>Reopen PowerToys, repeat</li> </ul> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The ability to use FancyZones as long as the PowerToys app is running</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">FanzyZones only being usable right after opening, and then no longer working after an undetermined amount of time when trying to snap a window</p>
1
<p dir="auto">I see there is help text in the online manual but it doesn't seem to be accessible from the REPL.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="help?&gt; include include_from_node1 (generic function with 1 method)"><pre class="notranslate"><code class="notranslate">help?&gt; include include_from_node1 (generic function with 1 method) </code></pre></div> <p dir="auto">I presume this is because the <code class="notranslate">include</code> symbol gets reassigned at some point.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; methods(include) #1 method for generic function &quot;include_from_node1&quot;: include_from_node1(path::AbstractString) at loading.jl:119"><pre class="notranslate"><code class="notranslate">julia&gt; methods(include) #1 method for generic function "include_from_node1": include_from_node1(path::AbstractString) at loading.jl:119 </code></pre></div>
<p dir="auto">I think, help texts for keywords could be useful for beginners, <code class="notranslate">help("using")</code> comes to mind.</p>
1
<p dir="auto"><strong>Elasticsearch version</strong>: 2.3.5</p> <p dir="auto"><strong>Plugins installed</strong>: [head, kopf, cloud_aws, marvel, license]</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>:</p> <p dir="auto"><strong>Steps to reproduce</strong>:</p> <ol dir="auto"> <li>Cluster has 21 nodes. Previous version (1.7.2) worked with no issues for more than a year.</li> </ol> <p dir="auto">What we see is huge spike in write IOPS per node (500 writes/s before 2500 writes/s now). Around noon we have a script that reads a lot of data from this cluster and our read IOPS go high as well. We are running on AWS and the volume has only 3,000 max. With all those IOPS we hit the limit of 3,000 and at this point Elastisearch goes down.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5177657/18093612/16ea9248-6e96-11e6-9fcc-9acda254116b.png"><img src="https://cloud.githubusercontent.com/assets/5177657/18093612/16ea9248-6e96-11e6-9fcc-9acda254116b.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">When we look at all ES nodes and get the status of Elasticsearch service we get this: <code class="notranslate">elasticsearch dead but subsys locked</code>. When we try to start ES backup we get this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Starting elasticsearch: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000429990000, 15408234496, 0) failed; error='Cannot allocate memory' (errno=12) There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (mmap) failed to map 15408234496 bytes for committing reserved memory. An error report file with more information is saved as: /tmp/hs_err_pid8710.log [FAILED]"><pre class="notranslate"><code class="notranslate"> Starting elasticsearch: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000429990000, 15408234496, 0) failed; error='Cannot allocate memory' (errno=12) There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (mmap) failed to map 15408234496 bytes for committing reserved memory. An error report file with more information is saved as: /tmp/hs_err_pid8710.log [FAILED] </code></pre></div> <p dir="auto">So apparently init script does not correctly report Elasticsearch status - ES is still running but it is in a bad state. So we have to kill ES manually with kill -9 (which is not fun at all on 21 servers) and only then we can start ES back online.</p> <p dir="auto">So with that multiple questions:</p> <ol dir="auto"> <li>Why does new ES has so much more write IOPS? How do we prevent this?</li> </ol> <p dir="auto">One possibility is that auto-throttling is in place? We used to have this setting in our previous cluster:</p> <p dir="auto">indices.store.throttle.max_bytes_per_sec = "100mb"</p> <p dir="auto">So 2.3.5 apparently has auto-throttling enabled by default. Since it is impossible to delete our previous setting - does new ES just ignores it? Or how do we delete it? How can we disable auto-throttling if it causes the issue?</p> <ol dir="auto"> <li>What is wrong with init script? We use official rpm and it seems there is a bug with init script - it does not correctly detect hung process. How can we fix that?</li> </ol> <p dir="auto">Thanks a lot!</p>
<p dir="auto">Hi,</p> <p dir="auto">looks like <code class="notranslate">DocumentMapper</code> is creating its own list of root field mappers:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" ... // UID first so it will be the first stored field to load (so will benefit from &quot;fields: []&quot; early termination this.rootMappers.put(UidFieldMapper.class, new UidFieldMapper()); this.rootMappers.put(IdFieldMapper.class, idFieldMapper); this.rootMappers.put(RoutingFieldMapper.class, new RoutingFieldMapper()); // add default mappers, order is important (for example analyzer should come before the rest to set context.analyzer) this.rootMappers.put(SizeFieldMapper.class, new SizeFieldMapper()); this.rootMappers.put(IndexFieldMapper.class, new IndexFieldMapper()); this.rootMappers.put(SourceFieldMapper.class, new SourceFieldMapper()); this.rootMappers.put(TypeFieldMapper.class, new TypeFieldMapper()); this.rootMappers.put(AnalyzerMapper.class, new AnalyzerMapper()); this.rootMappers.put(AllFieldMapper.class, new AllFieldMapper()); this.rootMappers.put(BoostFieldMapper.class, new BoostFieldMapper()); this.rootMappers.put(TimestampFieldMapper.class, new TimestampFieldMapper()); this.rootMappers.put(TTLFieldMapper.class, new TTLFieldMapper()); this.rootMappers.put(ParentFieldMapper.class, new ParentFieldMapper()); ..."><pre class="notranslate"> ... <span class="pl-c">// UID first so it will be the first stored field to load (so will benefit from "fields: []" early termination</span> <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">UidFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">UidFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">IdFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-s1">idFieldMapper</span>); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">RoutingFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">RoutingFieldMapper</span>()); <span class="pl-c">// add default mappers, order is important (for example analyzer should come before the rest to set context.analyzer)</span> <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">SizeFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">SizeFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">IndexFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">IndexFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">SourceFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">SourceFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">TypeFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">TypeFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">AnalyzerMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">AnalyzerMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">AllFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">AllFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">BoostFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">BoostFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">TimestampFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">TimestampFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">TTLFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">TTLFieldMapper</span>()); <span class="pl-smi">this</span>.<span class="pl-s1">rootMappers</span>.<span class="pl-en">put</span>(<span class="pl-smi">ParentFieldMapper</span>.<span class="pl-k">class</span>, <span class="pl-k">new</span> <span class="pl-smi">ParentFieldMapper</span>()); ...</pre></div> <p dir="auto">and <code class="notranslate">DocumentMapperParser</code> is creating its own:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="... rootTypeParsers = new MapBuilder&lt;String, Mapper.TypeParser&gt;() .put(SizeFieldMapper.NAME, new SizeFieldMapper.TypeParser()) .put(IndexFieldMapper.NAME, new IndexFieldMapper.TypeParser()) .put(SourceFieldMapper.NAME, new SourceFieldMapper.TypeParser()) .put(TypeFieldMapper.NAME, new TypeFieldMapper.TypeParser()) .put(AllFieldMapper.NAME, new AllFieldMapper.TypeParser()) .put(AnalyzerMapper.NAME, new AnalyzerMapper.TypeParser()) .put(BoostFieldMapper.NAME, new BoostFieldMapper.TypeParser()) .put(ParentFieldMapper.NAME, new ParentFieldMapper.TypeParser()) .put(RoutingFieldMapper.NAME, new RoutingFieldMapper.TypeParser()) .put(TimestampFieldMapper.NAME, new TimestampFieldMapper.TypeParser()) .put(TTLFieldMapper.NAME, new TTLFieldMapper.TypeParser()) .put(UidFieldMapper.NAME, new UidFieldMapper.TypeParser()) .put(IdFieldMapper.NAME, new IdFieldMapper.TypeParser()) .immutableMap(); ..."><pre class="notranslate">... <span class="pl-s1">rootTypeParsers</span> = <span class="pl-k">new</span> <span class="pl-smi">MapBuilder</span>&lt;<span class="pl-smi">String</span>, <span class="pl-smi">Mapper</span>.<span class="pl-smi">TypeParser</span>&gt;() .<span class="pl-en">put</span>(<span class="pl-smi">SizeFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">SizeFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">IndexFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">IndexFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">SourceFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">SourceFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">TypeFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">TypeFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">AllFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">AllFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">AnalyzerMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">AnalyzerMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">BoostFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">BoostFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">ParentFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">ParentFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">RoutingFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">RoutingFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">TimestampFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">TimestampFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">TTLFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">TTLFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">UidFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">UidFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">put</span>(<span class="pl-smi">IdFieldMapper</span>.<span class="pl-c1">NAME</span>, <span class="pl-k">new</span> <span class="pl-smi">IdFieldMapper</span>.<span class="pl-smi">TypeParser</span>()) .<span class="pl-en">immutableMap</span>(); ...</pre></div> <p dir="auto">From external plugin it is possible to modify only root type parsers from <code class="notranslate">DocumentMapperParser</code>, but it is the list from <code class="notranslate">DocumentMapper</code> that is used when creating <code class="notranslate">ParsedDocument</code> instance.</p> <p dir="auto">BTW,<br> im trying to create plugin that will add support for computed fields (based on script), i wanted to borrow some 'inspiration' from how '_all' field is implemented (as it is in a way computed field). Is implementing root field mapper the right way to do it ? I tried to use field mappers (not root), but looks like they are not used unless field value is present in indexed document (which is kinda problem for computed fields, as they are never present in source document)</p>
0
<ul dir="auto"> <li>VSCode Version: 0.10.11</li> <li>OS Version: WIN10 x64 - Home Edition</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Just try to write a SASS / Scss stylesheet with an <code class="notranslate">@at-root</code>.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9027363/13930447/c57c5cf8-ef7d-11e5-8e73-d37f1353868b.png"><img src="https://cloud.githubusercontent.com/assets/9027363/13930447/c57c5cf8-ef7d-11e5-8e73-d37f1353868b.png" alt="image" style="max-width: 100%;"></a></li> </ol>
<ul dir="auto"> <li>VSCode Version: 1.3.1</li> <li>OS Version: Windows 10</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>create file with<code class="notranslate">scss</code> ext</li> <li>copy the following code</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".overlay { position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; background-color: rgba(0,0,0,0.85); @at-root .ios &amp; { padding-top: 15px; } }"><pre class="notranslate"><code class="notranslate">.overlay { position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; background-color: rgba(0,0,0,0.85); @at-root .ios &amp; { padding-top: 15px; } } </code></pre></div> <p dir="auto">You will see <code class="notranslate">error</code> remark on <code class="notranslate">@at-root</code></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>: 0.186.0<br> <strong>System</strong>: Mac OS X 10.10.2<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: No line exists for row 11. Last screen row: 10</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:385 Error: No line exists for row 11. Last screen row: 10 at TextEditorPresenter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:385:19) at TextEditorPresenter.module.exports.TextEditorPresenter.batch (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:91:12) at TextEditorPresenter.module.exports.TextEditorPresenter.updateLinesState (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:375:19) at TextEditorPresenter.module.exports.TextEditorPresenter.getState (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:123:14) at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:172:38) at /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:280:28 at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom.app/Contents/Resources/app/src/view-registry.js:159:9) at /Applications/Atom.app/Contents/Resources/app/src/view-registry.js:3:61 "><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:385 Error: No line exists for row 11. Last screen row: 10 at TextEditorPresenter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:385:19) at TextEditorPresenter.module.exports.TextEditorPresenter.batch (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:91:12) at TextEditorPresenter.module.exports.TextEditorPresenter.updateLinesState (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:375:19) at TextEditorPresenter.module.exports.TextEditorPresenter.getState (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:123:14) at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:172:38) at /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:280:28 at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom.app/Contents/Resources/app/src/view-registry.js:159:9) at /Applications/Atom.app/Contents/Resources/app/src/view-registry.js:3:61 </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -0:05.3 editor:indent (atom-text-editor.editor.is-focused) -0:05.1 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:05.1 snippets:expand (atom-text-editor.editor.is-focused) -0:05.1 editor:indent (atom-text-editor.editor.is-focused) -0:04.9 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:04.9 snippets:expand (atom-text-editor.editor.is-focused) -0:04.9 editor:indent (atom-text-editor.editor.is-focused) -0:03.2 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:03.2 snippets:expand (atom-text-editor.editor.is-focused) -0:03.2 editor:indent (atom-text-editor.editor.is-focused) -0:02.9 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:02.9 snippets:expand (atom-text-editor.editor.is-focused) -0:02.9 editor:indent (atom-text-editor.editor.is-focused) -0:02.7 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:02.7 snippets:expand (atom-text-editor.editor.is-focused) -0:02.7 editor:indent (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> -0:05.3 editor:indent (atom-text-editor.editor.is-focused) -0:05.1 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:05.1 snippets:expand (atom-text-editor.editor.is-focused) -0:05.1 editor:indent (atom-text-editor.editor.is-focused) -0:04.9 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:04.9 snippets:expand (atom-text-editor.editor.is-focused) -0:04.9 editor:indent (atom-text-editor.editor.is-focused) -0:03.2 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:03.2 snippets:expand (atom-text-editor.editor.is-focused) -0:03.2 editor:indent (atom-text-editor.editor.is-focused) -0:02.9 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:02.9 snippets:expand (atom-text-editor.editor.is-focused) -0:02.9 editor:indent (atom-text-editor.editor.is-focused) -0:02.7 snippets:next-tab-stop (atom-text-editor.editor.is-focused) -0:02.7 snippets:expand (atom-text-editor.editor.is-focused) -0:02.7 editor:indent (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;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;base16-tomorrow-dark-theme&quot; ] }, &quot;editor&quot;: { &quot;showIndentGuide&quot;: true, &quot;invisibles&quot;: {}, &quot;fontSize&quot;: 14 } }"><pre class="notranslate">{ <span class="pl-ent">"core"</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>base16-tomorrow-dark-theme<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">14</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 angularjs, v0.2.0 autocomplete-plus, v2.4.1 autocomplete-snippets, v1.0.1 color-picker, v1.4.4 emmet, v2.3.4 highlight-line, v0.10.1 javascript-snippets, v1.0.0 jshint, v1.3.0 language-latex, v0.4.1 language-puppet, v0.10.0 latex, v0.19.1 linter, v0.12.0 minimap, v4.5.0 pdf-view, v0.17.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> angularjs, v0.<span class="pl-ii">2</span>.<span class="pl-ii">0</span> autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">4</span>.<span class="pl-ii">1</span> autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">1</span> color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">4</span>.<span class="pl-ii">4</span> emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">4</span> highlight<span class="pl-k">-</span>line, v0.<span class="pl-ii">10</span>.<span class="pl-ii">1</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">0</span> language<span class="pl-k">-</span>latex, v0.<span class="pl-ii">4</span>.<span class="pl-ii">1</span> language<span class="pl-k">-</span>puppet, v0.<span class="pl-ii">10</span>.<span class="pl-ii">0</span> latex, v0.<span class="pl-ii">19</span>.<span class="pl-ii">1</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> minimap, v4.<span class="pl-ii">5</span>.<span class="pl-ii">0</span> pdf<span class="pl-k">-</span>view, v0.<span class="pl-ii">17</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>
<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.180.0<br> <strong>System</strong>: Mac OS X 10.10.2<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: No line exists for row 18. Last screen row: 17</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:234 Error: No line exists for row 18. Last screen row: 17 at TextEditorPresenter.module.exports.TextEditorPresenter.updateLinesState (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:234:17) at TextEditorPresenter.module.exports.TextEditorPresenter.characterWidthsChanged (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:835:12) at TextEditorPresenter.module.exports.TextEditorPresenter.batchCharacterMeasurement (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:815:21) at module.exports.React.createClass.measureCharactersInNewLines (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/lines-component.js:341:24) at boundMethod [as measureCharactersInNewLines] (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/ReactCompositeComponent.js:1295:21) at module.exports.React.createClass.componentDidUpdate (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/lines-component.js:108:14) at CallbackQueue.mixInto.notifyAll (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/CallbackQueue.js:75:22) at ReactReconcileTransaction.ON_DOM_READY_QUEUEING.close (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/ReactReconcileTransaction.js:88:26) at ReactReconcileTransaction.Mixin.closeAll (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/Transaction.js:214:42) at ReactReconcileTransaction.Mixin.perform (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/Transaction.js:155:16)"><pre class="notranslate"><code class="notranslate">At /Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:234 Error: No line exists for row 18. Last screen row: 17 at TextEditorPresenter.module.exports.TextEditorPresenter.updateLinesState (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:234:17) at TextEditorPresenter.module.exports.TextEditorPresenter.characterWidthsChanged (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:835:12) at TextEditorPresenter.module.exports.TextEditorPresenter.batchCharacterMeasurement (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:815:21) at module.exports.React.createClass.measureCharactersInNewLines (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/lines-component.js:341:24) at boundMethod [as measureCharactersInNewLines] (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/ReactCompositeComponent.js:1295:21) at module.exports.React.createClass.componentDidUpdate (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/src/lines-component.js:108:14) at CallbackQueue.mixInto.notifyAll (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/CallbackQueue.js:75:22) at ReactReconcileTransaction.ON_DOM_READY_QUEUEING.close (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/ReactReconcileTransaction.js:88:26) at ReactReconcileTransaction.Mixin.closeAll (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/Transaction.js:214:42) at ReactReconcileTransaction.Mixin.perform (/Users/dan.treasure/Downloads/Atom.app/Contents/Resources/app/node_modules/react-atom-fork/lib/Transaction.js:155:16) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -0:00.8 window:update-available (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui)"><pre class="notranslate"><code class="notranslate"> -0:00.8 window:update-available (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui) </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;editor&quot;: { &quot;fontSize&quot;: 23 } }"><pre class="notranslate">{ <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">23</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 atom-jshint, v1.4.3 autocomplete-plus, v0.21.0 linter, v0.4.11 linter-coffeelint, v0.1.1 ruby-slim, v0.2.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> atom<span class="pl-k">-</span>jshint, v1.<span class="pl-ii">4</span>.<span class="pl-ii">3</span> autocomplete<span class="pl-k">-</span>plus, v0.<span class="pl-ii">21</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">4</span>.<span class="pl-ii">11</span> linter<span class="pl-k">-</span>coffeelint, v0.<span class="pl-ii">1</span>.<span class="pl-ii">1</span> ruby<span class="pl-k">-</span>slim, v0.<span class="pl-ii">2</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">I have a growing bootstrap tasklist that sets up a common environment across all of my hosts -- things like ssh_authorized_keys, switching users' shells to their preferred, and most recently setting up a base set of monitoring rules in my Nagios infrastructure.</p> <p dir="auto">The last bit led me to exploring <code class="notranslate">delegate_to</code> to set up rules on the nagios host which reference the nrpe rules installed on each host. Simple stuff, really. nrpe has a configuration variable which is used to restrict who can connect to it, based on IP address: <code class="notranslate">allowed_hosts=127.0.0.1,{{ hostvars['monitor.rix.si']['ansible_default_ipv4']['address'] }}</code></p> <p dir="auto">This fact doesn't exist because setup hasn't (necessarily) run on that host to populate hostvars, so let's grab it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Pull facts for monitor since we need them in nrpe config action: setup delegate_to: monitor.rix.si"><pre class="notranslate"><code class="notranslate">- name: Pull facts for monitor since we need them in nrpe config action: setup delegate_to: monitor.rix.si </code></pre></div> <p dir="auto">Nope, this doesn't work, in fact:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [debug] ***************************************************************** failed: [web1.rix.si] =&gt; {&quot;failed&quot;: true, &quot;item&quot;: &quot;&quot;} msg: {'inventory_hostname': 'monitor.rix.si', 'inventory_hostname_short': 'monitor', 'machine_type': 'server', 'group_names': ['nagios']}"><pre class="notranslate"><code class="notranslate">TASK: [debug] ***************************************************************** failed: [web1.rix.si] =&gt; {"failed": true, "item": ""} msg: {'inventory_hostname': 'monitor.rix.si', 'inventory_hostname_short': 'monitor', 'machine_type': 'server', 'group_names': ['nagios']} </code></pre></div> <p dir="auto">If I was working at a playbook-level scope I could just do this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: monitor.rix.si - name: Pull facts for monitor since we need them in nrpe config action: setup"><pre class="notranslate"><code class="notranslate">- hosts: monitor.rix.si - name: Pull facts for monitor since we need them in nrpe config action: setup </code></pre></div> <p dir="auto">And that would work, but I don't think it's sane to have to add that to every playbook when I specifically have this bootstrap to not have to do that, and converting the bootstrap to a playbook with <code class="notranslate">hosts: all</code> sucks, since it would have to run for every host when I run a host-specific playbook.</p> <p dir="auto">From my POV, delegate_to should set up hostvars, but I don't know much of the architecture of Ansible enough to dig in to the code and figure out how to make this stick.</p> <p dir="auto">Is it possible that there is another way to tackle this?</p>
<p dir="auto">Consider a lookaside fact cache that can pull (and store) facts in a local sqlite3 database such that you do not have to always hit hosts to get their fact data each time</p> <p dir="auto">This would prevent the "need to talk to hosts previously" case and save some communication time in other cases.</p>
1
<p dir="auto">When Saving a Chart the option to ADD TO DASHBOARD is hidden.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/58375897/104600598-33ffc900-5647-11eb-8073-4fcdf84663e3.gif"><img src="https://user-images.githubusercontent.com/58375897/104600598-33ffc900-5647-11eb-8073-4fcdf84663e3.gif" alt="2021-01-14_09-01-04 (1)" data-animated-image="" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected results</h3> <p dir="auto">To show the dropdown list.</p> <h3 dir="auto">Actual results</h3> <p dir="auto">Shows only 1 dashboard and need to use scroll bar to see more</p> <h4 dir="auto">Screenshots</h4> <p dir="auto">In an instance with many dashboards available</p> <ol dir="auto"> <li>Go to any chart</li> <li>Click on save</li> <li>Scroll down to ADD TO DASHBOARD</li> <li>See error</li> </ol> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>superset version: 01/13/2021 release</li> <li></li> </ul> <h3 dir="auto">Checklist</h3> <p dir="auto">Make sure to follow these steps before submitting your issue - thank you!</p> <ul class="contains-task-list"> <li>[x ] I have checked the superset logs for python stacktraces and included it here as text if there are any.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have reproduced the issue with at least the latest released version of superset.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the issue tracker for the same issue and I haven't found one similar.</li> </ul> <h3 dir="auto">Additional context</h3> <p dir="auto">Add any other context about the problem here.</p>
<details open="" class="details-reset border rounded-2"> <summary class="px-3 py-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-camera-video"> <path d="M16 3.75v8.5a.75.75 0 0 1-1.136.643L11 10.575v.675A1.75 1.75 0 0 1 9.25 13h-7.5A1.75 1.75 0 0 1 0 11.25v-6.5C0 3.784.784 3 1.75 3h7.5c.966 0 1.75.784 1.75 1.75v.675l3.864-2.318A.75.75 0 0 1 16 3.75Zm-6.5 1a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-6.5ZM11 8.825l3.5 2.1v-5.85l-3.5 2.1Z"></path> </svg> <span aria-label="Video description Jan-12-2021.11-29-35.mp4" class="m-1">Jan-12-2021.11-29-35.mp4</span> <span class="dropdown-caret"></span> </summary> <video src="https://user-images.githubusercontent.com/67837651/104363247-c5493100-54c9-11eb-9b6f-ded5f033985c.mp4" data-canonical-src="https://user-images.githubusercontent.com/67837651/104363247-c5493100-54c9-11eb-9b6f-ded5f033985c.mp4" controls="controls" muted="muted" class="d-block rounded-bottom-2 border-top width-fit" style="max-height:640px; min-height: 200px"> </video> </details> <p dir="auto">related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="780766533" data-permission-text="Title is private" data-url="https://github.com/apache/superset/issues/12310" data-hovercard-type="issue" data-hovercard-url="/apache/superset/issues/12310/hovercard" href="https://github.com/apache/superset/issues/12310">#12310</a> issues in dashboard)</p> <p dir="auto">obviously this behavior is global in Superset. addressing in one modal is not enough</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adam-stasiak/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adam-stasiak">@adam-stasiak</a> pls give a round of audit in the product and look for all areas that are being affected, and list those in comment. <g-emoji class="g-emoji" alias="pray" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f64f.png">🙏</g-emoji></p>
1
<h2 dir="auto">❓ Questions and Help</h2> <p dir="auto">I tried to convert a PyTorch model that has a grid_sample operation to ONNX but it was not supported.<br> I'm using PyTorch version 1.6.0. Please help add support!</p> <p dir="auto">Issue was also described but not resolved in:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="320140182" data-permission-text="Title is private" data-url="https://github.com/onnx/onnx/issues/883" data-hovercard-type="issue" data-hovercard-url="/onnx/onnx/issues/883/hovercard" href="https://github.com/onnx/onnx/issues/883">onnx/onnx#883</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="501445631" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/27212" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/27212/hovercard" href="https://github.com/pytorch/pytorch/issues/27212">#27212</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="501452260" data-permission-text="Title is private" data-url="https://github.com/onnx/onnx/issues/2383" data-hovercard-type="issue" data-hovercard-url="/onnx/onnx/issues/2383/hovercard" href="https://github.com/onnx/onnx/issues/2383">onnx/onnx#2383</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="558563403" data-permission-text="Title is private" data-url="https://github.com/microsoft/onnxruntime/issues/2962" data-hovercard-type="issue" data-hovercard-url="/microsoft/onnxruntime/issues/2962/hovercard" href="https://github.com/microsoft/onnxruntime/issues/2962">microsoft/onnxruntime#2962</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="596024212" data-permission-text="Title is private" data-url="https://github.com/AliaksandrSiarohin/first-order-model/issues/92" data-hovercard-type="issue" data-hovercard-url="/AliaksandrSiarohin/first-order-model/issues/92/hovercard" href="https://github.com/AliaksandrSiarohin/first-order-model/issues/92">AliaksandrSiarohin/first-order-model#92</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="496632562" data-permission-text="Title is private" data-url="https://github.com/NVIDIA/TensorRT/issues/130" data-hovercard-type="issue" data-hovercard-url="/NVIDIA/TensorRT/issues/130/hovercard" href="https://github.com/NVIDIA/TensorRT/issues/130">NVIDIA/TensorRT#130</a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/houseroad/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/houseroad">@houseroad</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/spandantiwari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/spandantiwari">@spandantiwari</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lara-hdr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lara-hdr">@lara-hdr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BowenBao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BowenBao">@BowenBao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/neginraoof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/neginraoof">@neginraoof</a></p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2> <p dir="auto">Add support for conversion of <code class="notranslate">grid_sample</code> layer into ONNX.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">It could be really hard to perform geometric deformations on image such as object stretch or horizontal flip with convolutional layers, especially using relatively small models.</p> <p dir="auto"><a href="https://pytorch.org/tutorials/intermediate/spatial_transformer_tutorial.html" rel="nofollow">Spatial Transformer Networks tutorial by PyTorch</a> as one more instance of motivation for proposed feature.</p> <h2 dir="auto">Pitch</h2> <p dir="auto">PyTorch supports <code class="notranslate">grid_sample</code> layer. It would be great to have an ability to convert models with this layer in ONNX for further usage.</p> <h2 dir="auto">Alternatives</h2> <h2 dir="auto">Additional context</h2> <p dir="auto">Minimal code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch import torch.nn.functional as F class MyModel(torch.nn.Module): def __init__(self): super(MyModel,self).__init__() def forward(self, x, m): return F.grid_sample(x, m) x = torch.rand(1, 1, 10, 10) m = torch.Tensor([[[1, 0, 0], [0, 1, 0]]]) m = F.affine_grid(m, x.size()).type_as(x) model = MyModel() torch.onnx.export( model, (x, m), &quot;grid_sample.onnx&quot;, verbose=True, input_names=['input', 'grid'], output_names=['output'] )"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-k">import</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">functional</span> <span class="pl-k">as</span> <span class="pl-v">F</span> <span class="pl-k">class</span> <span class="pl-v">MyModel</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>): <span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>): <span class="pl-en">super</span>(<span class="pl-v">MyModel</span>,<span class="pl-s1">self</span>).<span class="pl-en">__init__</span>() <span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>, <span class="pl-s1">m</span>): <span class="pl-k">return</span> <span class="pl-v">F</span>.<span class="pl-en">grid_sample</span>(<span class="pl-s1">x</span>, <span class="pl-s1">m</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">rand</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">10</span>, <span class="pl-c1">10</span>) <span class="pl-s1">m</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-v">Tensor</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">1</span>, <span class="pl-c1">0</span>]]]) <span class="pl-s1">m</span> <span class="pl-c1">=</span> <span class="pl-v">F</span>.<span class="pl-en">affine_grid</span>(<span class="pl-s1">m</span>, <span class="pl-s1">x</span>.<span class="pl-en">size</span>()).<span class="pl-en">type_as</span>(<span class="pl-s1">x</span>) <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">MyModel</span>() <span class="pl-s1">torch</span>.<span class="pl-s1">onnx</span>.<span class="pl-en">export</span>( <span class="pl-s1">model</span>, (<span class="pl-s1">x</span>, <span class="pl-s1">m</span>), <span class="pl-s">"grid_sample.onnx"</span>, <span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">input_names</span><span class="pl-c1">=</span>[<span class="pl-s">'input'</span>, <span class="pl-s">'grid'</span>], <span class="pl-s1">output_names</span><span class="pl-c1">=</span>[<span class="pl-s">'output'</span>] )</pre></div> <p dir="auto"><a href="https://github.com/onnx/onnx/issues/2383" data-hovercard-type="issue" data-hovercard-url="/onnx/onnx/issues/2383/hovercard">Reference</a> to my issue in ONNX repository to add spatial transformer operator.</p>
1
<p dir="auto">I'm trying to remove the duplicates contained in this following text file:<br> <a href="https://www.dropbox.com/s/mx3zqot352gdrhq/hg19.txt?dl=0" rel="nofollow">https://www.dropbox.com/s/mx3zqot352gdrhq/hg19.txt?dl=0</a><br> After reading this into a dataframe, and calling drop_duplicates, the dataframe still has the same number of rows. Though clearly, there are many duplicates contained in the file.</p> <p dir="auto">I am using a Mac with 8 gigs of RAM. I'm not sure why this is occurring.</p>
<p dir="auto">Hello<br> I would like to contribute to pandas codebase as I've (hopefully) had some expectedly nice features ideas for it, but it is not easy to start;)<br> I am stuck at the time I have to compile my own pandas as Visual Studio 2017 refuses to install on my machine because of Net Framework 4.6.<br> It is unfortunate that MS assistance can't help here (their forums mark these topics as duplicate and send back to topics which have not been solved. Genius), so I tried to find some alternative<br> in Code::Blocks <a href="http://www.codeblocks.org/" rel="nofollow">http://www.codeblocks.org/</a><br> Some compilers provided with the default Code::Blocks installation are GNU GCC (MinGW/Cygwin), MS Visual C++ Free Toolkit 2003, Borland's C++ Compiler 5.5, DigitalMars Free Compiler., OpenWatcom, Small Device C Compiler (SDCC) and others.<br> Would it be fitting for working with Python and Pandas codebase?</p> <p dir="auto">What are alternative solutions?<br> I really want to contribute, but being stuck on the first steps is pitiful (but doesn't reflect my coding ability, I hope:)).</p> <p dir="auto">Do you know if there is a lighter /friendlier user contribution roadmap?<br> The document <a href="https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#working-with-the-code">https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#working-with-the-code</a> is very complete but quite harsh to approach.<br> It is not very clear what should be installed from the start (I read about cpplint, clang, flake8, asv and pytest but I wonder why they don't come as an addition to pandas dependencies so you really create an environment with the complete tools).</p> <p dir="auto">Thanks by advance</p>
0
<p dir="auto">When I downloaded Bootstrap 3 from the customize page, the font files were corrupt, and therefore Glyphicons were not working, I went and downloaded from the link on the homepage here: <a href="http://getbootstrap.com/" rel="nofollow">http://getbootstrap.com/</a> the issue was gone.</p>
<p dir="auto">When using a customized version of Bootstrap 3.0 the Glyph icons don't work. The font file sizes differ from the "normal" version.</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cbeams" rel="nofollow">Chris Beams</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8164?redirect=false" rel="nofollow">SPR-8164</a></strong> and commented</p> <hr> <p dir="auto">This issue is a sub-task of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398110688" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12694" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12694/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12694">#12694</a></p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398108760" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12399" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12399/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12399">#12399</a> o.s.http.client.SimpleClientHttpRequestFactory should allow to specify HttpURLConnection properties (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jonaskilian" rel="nofollow">Jonas Kilian</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-369?redirect=false" rel="nofollow">SPR-369</a></strong> and commented</p> <p dir="auto">I'd like to have the possiblity, not to make lowlevel spring beans like "dataSource", "hibernateSessionFactory" etc. visible to /any/ application code.</p> <p dir="auto">Of course, they should be accessible by other beans via &lt;ref bean..&gt; but right now, one can always access every single bean using<br> MyAppContext.getBean(..)</p> <p dir="auto">This is also an issue for my DAOs, which in turn should not just be usable by "anybody" but rather only by my BusinessLogicBeans etc.</p> <p dir="auto">The goal is to ensure some kind of proper design and layers just by<br> keeping an eye on my (ideally visualized) application context descriptors and how &lt;ref bean..&gt; constructs are used.</p> <p dir="auto">somehow related to</p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398051534" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5069" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5069/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5069">#5069</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398049608" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/4906" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/4906/hovercard" href="https://github.com/spring-projects/spring-framework/issues/4906">#4906</a></p> <hr> <p dir="auto"><strong>Affects:</strong> 1.1 final</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="398079745" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8410" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8410/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8410">#8410</a> Add visibility to beans (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">11 votes, 7 watchers</p>
0
<p dir="auto">I'm using the following code to resize the label images of semantic segmentation task [PASCAL VOC] ( images with values in range 0 to <code class="notranslate">n_classes</code> with <code class="notranslate">n_classes</code> = 21).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" lbl = m.imread(lbl_path) lbl = np.array(lbl, dtype=np.int32) lbl = self.encode_segmap(lbl) print 'Unique: ', np.unique(lbl) plt.imshow(lbl) plt.show() lbl = m.imresize(lbl, (self.img_size, self.img_size), 'nearest') print 'Unique after resize: ', np.unique(lbl) plt.imshow(lbl) plt.show()"><pre class="notranslate"><code class="notranslate"> lbl = m.imread(lbl_path) lbl = np.array(lbl, dtype=np.int32) lbl = self.encode_segmap(lbl) print 'Unique: ', np.unique(lbl) plt.imshow(lbl) plt.show() lbl = m.imresize(lbl, (self.img_size, self.img_size), 'nearest') print 'Unique after resize: ', np.unique(lbl) plt.imshow(lbl) plt.show() </code></pre></div> <p dir="auto">When I run this, I get this output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unique: [ 0 1 15] Unique after resize: [ 0 17 255]"><pre class="notranslate"><code class="notranslate">Unique: [ 0 1 15] Unique after resize: [ 0 17 255] </code></pre></div> <p dir="auto">Shouldn't the values after resize ( using <code class="notranslate">nearest</code>) only belong to the set ( 0, 1, 15 )?</p> <p dir="auto">The images I get as output are :</p> <p dir="auto">Original<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6251729/24836419/be5704a2-1d38-11e7-94ef-2aab572c0201.png"><img src="https://cloud.githubusercontent.com/assets/6251729/24836419/be5704a2-1d38-11e7-94ef-2aab572c0201.png" alt="original" style="max-width: 100%;"></a></p> <p dir="auto">Resized<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6251729/24836420/be5b2fd2-1d38-11e7-93e8-3307d127c20c.png"><img src="https://cloud.githubusercontent.com/assets/6251729/24836420/be5b2fd2-1d38-11e7-93e8-3307d127c20c.png" alt="resized" style="max-width: 100%;"></a></p>
<p dir="auto">scipy.misc.imresize changes minimum, mean and maximum values of image. That is not what user can expect.</p> <p dir="auto">Following code (EDIT: updated for removal of <code class="notranslate">lena</code>, so doesn't quite match the opencv version below):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np from scipy import misc img = np.random.randint(25, 246, 400*400).reshape(400, 400) print(img.min(), img.mean(), img.max()) img2 = misc.imresize(img.astype('uint8'), [1000, 1000]) print(img2.min(), img2.mean(), img2.max()) img2 = misc.imresize(img.astype('float32'), [1000, 1000]) print(img2.min(), img2.mean(), img2.max())"><pre class="notranslate"><code class="notranslate">import numpy as np from scipy import misc img = np.random.randint(25, 246, 400*400).reshape(400, 400) print(img.min(), img.mean(), img.max()) img2 = misc.imresize(img.astype('uint8'), [1000, 1000]) print(img2.min(), img2.mean(), img2.max()) img2 = misc.imresize(img.astype('float32'), [1000, 1000]) print(img2.min(), img2.mean(), img2.max()) </code></pre></div> <p dir="auto">produces following output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(25, 134.83063125000001, 245) (26, 134.33983000000001, 245) (1, 126.824645, 255)"><pre class="notranslate"><code class="notranslate">(25, 134.83063125000001, 245) (26, 134.33983000000001, 245) (1, 126.824645, 255) </code></pre></div> <p dir="auto">The changes are very significant. cv2 (opencv) library has better situation:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2 import scipy.misc import numpy img = scipy.misc.ascent() print(img.min(), img.mean(), img.max()) img2 = cv2.resize(img.astype('uint8'), dsize=(1000,1000)) print(img2.min(), img2.mean(), img2.max()) img2 = cv2.resize(img.astype('float32'), dsize=(1000,1000)) print(img2.min(), img2.mean(), img2.max())"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span> <span class="pl-k">import</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">misc</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-s1">img</span> <span class="pl-c1">=</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">misc</span>.<span class="pl-en">ascent</span>() <span class="pl-en">print</span>(<span class="pl-s1">img</span>.<span class="pl-en">min</span>(), <span class="pl-s1">img</span>.<span class="pl-en">mean</span>(), <span class="pl-s1">img</span>.<span class="pl-en">max</span>()) <span class="pl-s1">img2</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">resize</span>(<span class="pl-s1">img</span>.<span class="pl-en">astype</span>(<span class="pl-s">'uint8'</span>), <span class="pl-s1">dsize</span><span class="pl-c1">=</span>(<span class="pl-c1">1000</span>,<span class="pl-c1">1000</span>)) <span class="pl-en">print</span>(<span class="pl-s1">img2</span>.<span class="pl-en">min</span>(), <span class="pl-s1">img2</span>.<span class="pl-en">mean</span>(), <span class="pl-s1">img2</span>.<span class="pl-en">max</span>()) <span class="pl-s1">img2</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">resize</span>(<span class="pl-s1">img</span>.<span class="pl-en">astype</span>(<span class="pl-s">'float32'</span>), <span class="pl-s1">dsize</span><span class="pl-c1">=</span>(<span class="pl-c1">1000</span>,<span class="pl-c1">1000</span>)) <span class="pl-en">print</span>(<span class="pl-s1">img2</span>.<span class="pl-en">min</span>(), <span class="pl-s1">img2</span>.<span class="pl-en">mean</span>(), <span class="pl-s1">img2</span>.<span class="pl-en">max</span>())</pre></div> <p dir="auto">Output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="25 124.046783447 245 26 123.920154 244 25.8968 124.044 243.705"><pre class="notranslate"><code class="notranslate">25 124.046783447 245 26 123.920154 244 25.8968 124.044 243.705 </code></pre></div> <p dir="auto">scipy.version.full_version, scipy.version.git_revision, scipy.version.release is ('0.14.0', 'f2ec91c4908f9d67b5445fbfacce7f47518b35d1', True)</p>
1
<p dir="auto">I have a quasar/vue3 app but upgrading all realease after the 0.21.1 infinite cycle of request start<br> I made two simple codepen where you can see the problem<br> <a href="https://codepen.io/mila76/pen/wvexgoE" rel="nofollow">1.21.1</a><br> <a href="https://codepen.io/mila76/pen/abwjpdd" rel="nofollow">1.21.2</a></p> <p dir="auto">I can't figure out what's is the root cause of that , maybe related to other "similar" bug<br> Sorry if is a sort of duplicate</p>
<h4 dir="auto">Describe the bug</h4> <p dir="auto">I updated from axios <code class="notranslate">0.21.1</code> to <code class="notranslate">0.22.0</code> but typescript started giving me strange errors</p> <p dir="auto">I then noticed that the types declarations changed and they do not make much sense.</p> <p dir="auto">I can see that the <code class="notranslate">post</code> signature is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="post&lt;T = never, R = AxiosResponse&lt;T&gt;&gt;(url: string, data?: T | undefined, config?: AxiosRequestConfig&lt;T&gt; | undefined): Promise&lt;R&gt;"><pre class="notranslate"><code class="notranslate">post&lt;T = never, R = AxiosResponse&lt;T&gt;&gt;(url: string, data?: T | undefined, config?: AxiosRequestConfig&lt;T&gt; | undefined): Promise&lt;R&gt; </code></pre></div> <p dir="auto">I don't really get why the response data object should be, by default, equal to the object passed as body, there is really no sense for that as a default behaviour. It should be AxiosResponse instead.</p> <p dir="auto">For the <code class="notranslate">axios</code> function, the returned object is even a <code class="notranslate">never</code>, in <code class="notranslate">axios(config: AxiosRequestConfig&lt;any&gt;): AxiosPromise&lt;never&gt;</code>.</p> <p dir="auto">Of course I can just put the types specifications, but it makes the code longer and ugly when there would be many times no reason for that.</p> <h4 dir="auto">To Reproduce</h4> <p dir="auto">To reproduce it, just try to make a post request</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const response = await axios.post( CONFIG.API_UNITN.CLESIUS.SECURITY.AUTH_SERVICE_URL, data.toString() ); // the response has AxiosResponse&lt;string&gt; type"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">post</span><span class="pl-kos">(</span> <span class="pl-c1">CONFIG</span><span class="pl-kos">.</span><span class="pl-c1">API_UNITN</span><span class="pl-kos">.</span><span class="pl-c1">CLESIUS</span><span class="pl-kos">.</span><span class="pl-c1">SECURITY</span><span class="pl-kos">.</span><span class="pl-c1">AUTH_SERVICE_URL</span><span class="pl-kos">,</span> <span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-en">toString</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">// the response has AxiosResponse&lt;string&gt; type</span></pre></div> <h4 dir="auto">Expected behavior</h4> <p dir="auto">There should not be types assumptions such as the one made</p> <h4 dir="auto">Environment</h4> <ul dir="auto"> <li>Axios Version 0.22.0</li> <li>Adapter http</li> <li>Browser any</li> <li>Browser Version any</li> <li>Node.js Version any</li> <li>OS: Linux Ubuntu 20</li> <li>Additional Library Versions none</li> </ul> <h4 dir="auto">Additional context/Screenshots</h4> <p dir="auto">Add any other context about the problem here. If applicable, add screenshots to help explain.</p>
0
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/override-class-declarations-with-inline-styles#?solution=%0A%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%20%20color%3A%20green%3B%20%7D%0A%20%20.pink-text%20%7Bcolor%3A%20pink%3B%7D%0A%20%20.blue-text%20%7Bcolor%3A%20blue%3B%7D%0A%3C%2Fstyle%3E%0A%3Ch1%20id%3D%22orange-text%22%20class%3D%22pink-text%20blue-text%22%3E%0A%3Ch1%20style%3D%22color%3A%20white%3B%22%3E%0A%20%20Hello%20World!%0A%3C%2Fh1%3E%0A" rel="nofollow">Override Class Declarations with Inline Styles</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 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 id=&quot;orange-text&quot; class=&quot;pink-text blue-text&quot;&gt; &lt;h1 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-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-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h1</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>
<h4 dir="auto">Challenge Name</h4> <p dir="auto">Sift through Text with Regular Expressions<br> <a href="https://www.freecodecamp.com/challenges/sift-through-text-with-regular-expressions" rel="nofollow">https://www.freecodecamp.com/challenges/sift-through-text-with-regular-expressions</a></p> <h4 dir="auto">Issue Description</h4> <p dir="auto">The instructions clearly state</p> <blockquote> <p dir="auto">Select all the occurrences of the <strong>word</strong> <em>and</em> in <em>testString</em>.</p> </blockquote> <p dir="auto">Hence i think the following regex <code class="notranslate">/\band\b/gi</code> or <code class="notranslate">/(?:\b)and(?:\b)/gi</code> where one actually considers the word boundaries in the expression should also be a valid answer, not just <code class="notranslate">/and/gi</code>.</p> <p dir="auto">Sorry if this a duplicate (and it probably is), but definitely should be fixed IMHO. Could turn down some dedicated beginners.</p> <h4 dir="auto">Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var expression = /\band\b/gi; var andCount = testString.match(expression).length;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">expression</span> <span class="pl-c1">=</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\b</span>and<span class="pl-cce">\b</span><span class="pl-c1">/</span>gi</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">andCount</span> <span class="pl-c1">=</span> <span class="pl-s1">testString</span><span class="pl-kos">.</span><span class="pl-en">match</span><span class="pl-kos">(</span><span class="pl-s1">expression</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span></pre></div>
0
<h4 dir="auto">Issue Description</h4> <p dir="auto">We frequently get emails from campers complaining that their name doesn't show up on their certificates. I respond to them with the following instructions:</p> <p dir="auto">"We pull all your biographical information directly from GitHub. So you just need to add your name to your GitHub account. Then go back to your Free Code Camp code portfolio and click the "update my profile from GitHub" button. Then your name will appear on your certificate.</p> <p dir="auto">Instead of having to answer these emails, if a camper doesn't have a name, we could just put a short message like this right on their certificate where there name would normally go. I propose the following copy for this, which is short enough to avoid an ugly line wrap:</p> <p dir="auto">"Add name on GitHub then update FCC"</p> <p dir="auto">You'll do this in boot/user.js in the showCert function.</p> <h4 dir="auto">Screenshot</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/b82b0602ca1e5084338dc5196f0375c4ae25461d83351e2519991aae7ae84572/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41725f2d30382d4d4d706446687164574a374c4734385854656162572d6d3342655051422f696d6167652e706e67"><img src="https://camo.githubusercontent.com/b82b0602ca1e5084338dc5196f0375c4ae25461d83351e2519991aae7ae84572/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f41725f2d30382d4d4d706446687164574a374c4734385854656162572d6d3342655051422f696d6167652e706e67" alt="" data-canonical-src="https://www.evernote.com/l/Ar_-08-MMpdFhqdWJ7LG48XTeabW-m3BePQB/image.png" style="max-width: 100%;"></a></p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-create-a-set-of-radio-buttons" rel="nofollow">Waypoint: Create a Set of Radio Buttons</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.<br> The Page elements as they will appear on the browser are getting displayed twice.<br> Eg. If I write the html as</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;p&gt; Hello, world&lt;/p&gt;"><pre class="notranslate"><code class="notranslate">&lt;p&gt; Hello, world&lt;/p&gt; </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hello, world Hello, world gets displayed instead of a single line of Hello, world"><pre class="notranslate"><code class="notranslate">Hello, world Hello, world gets displayed instead of a single line of Hello, world </code></pre></div> <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="![g2](https://cloud.githubusercontent.com/assets/9304050/10104315/c6511152-63c6-11e5-9633-1275a5cf40c2.PNG) ![g1](https://cloud.githubusercontent.com/assets/9304050/10104314/c641a262-63c6-11e5-9d6d-0c7d679b2b73.PNG) &lt;link href=&quot;http://fonts.googleapis.com/css?family=Lobster&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt; &lt;style&gt; .red-text { color: red; } h2 { font-family: Lobster, Monospace; } p { font-size: 16px; font-family: Monospace; } .thick-green-border { border-color: green; border-width: 10px; border-style: solid; border-radius: 50%; } .smaller-image { width: 100px; } &lt;/style&gt; &lt;h2 class=&quot;red-text&quot;&gt;CatPhotoApp&lt;/h2&gt; &lt;p&gt;Click here for &lt;a href=&quot;#&quot;&gt;cat photos&lt;/a&gt;.&lt;/p&gt; &lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;smaller-image thick-green-border&quot; src=&quot;https://bit.ly/fcc-relaxing-cat&quot;&gt;&lt;/a&gt; &lt;p&gt;Things cats love:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;cat nip&lt;/li&gt; &lt;li&gt;laser pointers&lt;/li&gt; &lt;li&gt;lasagna&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Top 3 things cats hate:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;flea treatment&lt;/li&gt; &lt;li&gt;thunder&lt;/li&gt; &lt;li&gt;other cats&lt;/li&gt; &lt;/ol&gt; &lt;form action=&quot;/submit-cat-photo&quot;&gt; &lt;input type=&quot;text&quot; placeholder=&quot;cat photo URL&quot; required&gt; &lt;button type=&quot;submit&quot;&gt;Submit&lt;/button&gt; &lt;/form&gt; "><pre class="notranslate">![g2](https://cloud.githubusercontent.com/assets/9304050/10104315/c6511152-63c6-11e5-9633-1275a5cf40c2.PNG) ![g1](https://cloud.githubusercontent.com/assets/9304050/10104314/c641a262-63c6-11e5-9d6d-0c7d679b2b73.PNG) <span class="pl-kos">&lt;</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">http://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> .<span class="pl-c1">red-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> red; } <span class="pl-ent">h2</span> { <span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace; } <span class="pl-ent">p</span> { <span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">16<span class="pl-smi">px</span></span>; <span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace; } .<span class="pl-c1">thick-green-border</span> { <span class="pl-c1">border-color</span><span class="pl-kos">:</span> green; <span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>; <span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid; <span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></span>; } .<span class="pl-c1">smaller-image</span> { <span class="pl-c1">width</span><span class="pl-kos">:</span> <span class="pl-c1">100<span class="pl-smi">px</span></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">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">&gt;</span>CatPhotoApp<span class="pl-kos">&lt;/</span><span class="pl-ent">h2</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Click here for <span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span>cat photos<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span>.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">smaller-image thick-green-border</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Things cats love:<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>cat nip<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>laser pointers<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>lasagna<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Top 3 things cats hate:<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">ol</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>flea treatment<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>thunder<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span>other cats<span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">ol</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">form</span> <span class="pl-c1">action</span>="<span class="pl-s">/submit-cat-photo</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">cat photo URL</span>" <span class="pl-c1">required</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">&gt;</span>Submit<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">form</span><span class="pl-kos">&gt;</span></pre></div>
0
<p dir="auto">MRE:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; function f(_::T; s) where T 0 end ERROR: syntax: all-underscore identifier used as rvalue around REPL[12]:2```"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-k">function</span> <span class="pl-en">f</span>(_<span class="pl-k">::</span><span class="pl-c1">T</span>; s) <span class="pl-k">where</span> T <span class="pl-c1">0</span> <span class="pl-k">end</span> ERROR<span class="pl-k">:</span> syntax<span class="pl-k">:</span> all<span class="pl-k">-</span>underscore identifier used <span class="pl-k">as</span> rvalue around REPL[<span class="pl-c1">12</span>]<span class="pl-k">:</span><span class="pl-c1">2</span><span class="pl-s"><span class="pl-pds">```</span></span></pre></div> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; versioninfo() Julia Version 1.5.3 Commit 788b2c77c1 (2020-11-09 13:37 UTC) Platform Info: OS: macOS (x86_64-apple-darwin18.7.0) CPU: Intel(R) Core(TM) i7-8557U CPU @ 1.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-9.0.1 (ORCJIT, skylake)"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">versioninfo</span>() Julia Version <span class="pl-c1">1.5</span>.<span class="pl-c1">3</span> Commit <span class="pl-c1">788</span>b2c77c1 (<span class="pl-c1">2020</span><span class="pl-k">-</span><span class="pl-c1">11</span><span class="pl-k">-</span><span class="pl-c1">09</span> <span class="pl-c1">13</span><span class="pl-k">:</span><span class="pl-c1">37</span> UTC) Platform Info<span class="pl-k">:</span> OS<span class="pl-k">:</span> macOS (x86_64<span class="pl-k">-</span>apple<span class="pl-k">-</span>darwin18.<span class="pl-c1">7.0</span>) CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i7<span class="pl-k">-</span><span class="pl-c1">8557</span>U CPU @ <span class="pl-c1">1.70</span>GHz WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span> LIBM<span class="pl-k">:</span> libopenlibm LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">9.0</span>.<span class="pl-c1">1</span> (ORCJIT, skylake)</pre></div>
<p dir="auto">MWE:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; function fun(_::Int; s) end ERROR: syntax: all-underscore identifier used as rvalue around REPL[4]:2 Stacktrace: [1] top-level scope at REPL[4]:1"><pre class="notranslate"><code class="notranslate">julia&gt; function fun(_::Int; s) end ERROR: syntax: all-underscore identifier used as rvalue around REPL[4]:2 Stacktrace: [1] top-level scope at REPL[4]:1 </code></pre></div> <p dir="auto">I can <code class="notranslate">Meta.@dump</code> this, so I think parsing is working fine. I can't <code class="notranslate">Meta.@lower</code>, so I think the problem happens during lowering.</p> <p dir="auto">Removing either the <code class="notranslate">_</code> or the keyword makes it work:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; function fun(::Int; s) end fun (generic function with 1 method) julia&gt; function fun2(_::Int) end fun2 (generic function with 1 method)"><pre class="notranslate"><code class="notranslate">julia&gt; function fun(::Int; s) end fun (generic function with 1 method) julia&gt; function fun2(_::Int) end fun2 (generic function with 1 method) </code></pre></div>
1
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">I have bind some style properties, like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="position = {left: 40, top: 50}"><pre class="notranslate"><code class="notranslate">position = {left: 40, top: 50} </code></pre></div> <p dir="auto">so my first thought is this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;div class={`basic-tooltip ${className}`} style={position}&gt;"><pre class="notranslate"><code class="notranslate">&lt;div class={`basic-tooltip ${className}`} style={position}&gt; </code></pre></div> <p dir="auto">the result is style is not show at all。<br> I have to change to this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// this really sucks~ const positionStyle = {} if (style.left) { positionStyle.left = `${style.left || 0}px` } if (style.right) { positionStyle.left = `${style.right || 0}px` } if (style.top) { positionStyle.left = `${style.top || 0}px` } if (style.bottom) { positionStyle.bottom = `${style.bottom || 0}px` } &lt;div class={`basic-tooltip ${className}`} style={positionStyle}&gt;"><pre class="notranslate"><code class="notranslate">// this really sucks~ const positionStyle = {} if (style.left) { positionStyle.left = `${style.left || 0}px` } if (style.right) { positionStyle.left = `${style.right || 0}px` } if (style.top) { positionStyle.left = `${style.top || 0}px` } if (style.bottom) { positionStyle.bottom = `${style.bottom || 0}px` } &lt;div class={`basic-tooltip ${className}`} style={positionStyle}&gt; </code></pre></div> <p dir="auto">so why don't the first way be supported, this is much more elegant than the second way。</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="render(){ const position = {left: 40, top: 50} return &lt;div class={`basic-tooltip ${className}`} style={position} /&gt; }"><pre class="notranslate"><code class="notranslate">render(){ const position = {left: 40, top: 50} return &lt;div class={`basic-tooltip ${className}`} style={position} /&gt; } </code></pre></div>
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">When managing components it is important to have all the information you can interact with at a glance.<br> In general, a component has two primary interactions props it takes and events it emits.</p> <p dir="auto">We have the ability to know at a glance for Props as you can go to the props section of the component and you know with 100% certainty which props are available, the types of the props if they are required, and so on.<br> We do not have this same ease when it comes to what events a component can emit.<br> We have $emit for a component but this can be anywhere in the component and it is not a streamlined process. With this being the nature of $emits we lose the ability to know at a glance.</p> <p dir="auto">It would be nice to extend the component structure to include an emits section that if included Vue throws an error if an $emit event happens that has not been listed. This can also we extended to include types.</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="Vue.component('addOne',{ template: `&lt;button v-on:click=&quot;add()&quot;&gt;Add One&lt;/button&gt;`, props: { num: { type: Number, required: true } }, emits: { result: { type: Number } }, methods: { add () { this.$emit('result', this.num + 1) } } })"><pre class="notranslate"><code class="notranslate">Vue.component('addOne',{ template: `&lt;button v-on:click="add()"&gt;Add One&lt;/button&gt;`, props: { num: { type: Number, required: true } }, emits: { result: { type: Number } }, methods: { add () { this.$emit('result', this.num + 1) } } }) </code></pre></div>
0
<p dir="auto">As discuss in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25557715" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/2752" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/2752/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/2752">#2752</a>, it would be nice to test sample weight in common tests.</p>
<p dir="auto">The main advantage would be to be able to say on a per-PR basis "this PR can be merged when CI is green". See the <a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request">doc</a> for more details. cc <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="11523" data-permission-text="Team members are private" data-url="/orgs/scikit-learn/teams/core-devs/members" data-hovercard-type="team" data-hovercard-url="/orgs/scikit-learn/teams/core-devs/hovercard" href="https://github.com/orgs/scikit-learn/teams/core-devs">@scikit-learn/core-devs</a> <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="3593183" data-permission-text="Team members are private" data-url="/orgs/scikit-learn/teams/contributor-experience-team/members" data-hovercard-type="team" data-hovercard-url="/orgs/scikit-learn/teams/contributor-experience-team/hovercard" href="https://github.com/orgs/scikit-learn/teams/contributor-experience-team">@scikit-learn/contributor-experience-team</a> for visibility.</p> <p dir="auto">Currently we need to remember to come back in one hour and we sometimes forget. As a maintainer with many different things to track, it would be very nice to have this sense of quicker completion and the peace of mind of not having to remember to come back to merge the PR.</p> <p dir="auto">Here is a screenshot from sphinx-gallery which has set this up:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1680079/204514285-836bca8f-163e-4f07-9a84-b13441b8ee6d.png"><img src="https://user-images.githubusercontent.com/1680079/204514285-836bca8f-163e-4f07-9a84-b13441b8ee6d.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">You can see this is a per-PR thing ("Enable automerge" button) and there is even a way to bypass branch protection, which can be nice in some rare cases (for example we know for a fact that the CI error is not related to the PR).</p> <p dir="auto">Things we would need to do:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> set-up branch <a href="https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule">branch protection rules</a> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> define required checks: probably azure + github doc build, maybe others. We probably want to leave aside other more noisy checks like codecov?</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> require 1 approval rather than 2 (to allow DOC PRs to be merged with only one approval)</li> </ul> </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> set-up <a href="https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository">auto-merge</a> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> make sure we check the require required checks (Thomas' comment at the meeting)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> reset auto-merge when a commit is pushed after auto-merge is set, just to be on the safe side. This <a href="https://github.blog/changelog/2021-03-22-updated-pull-request-auto-merge-behavior-for-users-without-write-access/" rel="nofollow">link</a> says that it is done automatically, unclear whether this is the same thing as "Dismiss stale pull request approvals when new commits are pushed" setting in branch protection rules.</li> </ul> </li> </ul> <p dir="auto">Other items from discussions at the meeting:</p> <ul dir="auto"> <li>Q: does a human have to click "auto merge" on a PR for it to happen, or does it automatically happen for all PRs that match the approval requirements?</li> <li>A: a per PR manual action is required to allow automerge, see screenshot above</li> <li>Q: is "merge when CI is green" functionality of "<a href="https://github.com/refined-github/refined-github">Refined GitHub</a>" a solution?</li> <li>A: you need to keep the tab open for it to work, and in my limited experience it does not work reliably. Also it is not public information that the PR will be merged when CI is green.</li> </ul>
0
<p dir="auto">Hi there.</p> <p dir="auto">Perhaps the following isn’t even a real issue, but I’m a bit confused with the current outputs I got.</p> <p dir="auto">I’m trying to fine tune RAG on a bunch of question-answer pairs I have (for while, not that much, &lt; 1k ones). I have splitted them as suggested (train.source, train.target, val.source…). After running the <code class="notranslate">finetune_rag.py</code>, the outputs generated were <strong>only two files (~2 kB)</strong>:</p> <ul dir="auto"> <li>git_log.json</li> <li>hparams.pkl</li> </ul> <p dir="auto">Is that right? Because I was expecting <em>a big binary file or something like that containing the weight matrices</em>, so I could use them afterwards in a new trial.</p> <p dir="auto">Could you please tell me what’s the point I’m missing here?</p> <hr> <p dir="auto">I provide more details below. Btw, I have two NVIDIA RTX 3090, 24GB each, but they were barely used in the whole process (which took ~3 hours).</p> <p dir="auto"><strong>Command:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python finetune_rag.py \ --data_dir rag_manual_qa_finetuning \ --output_dir output_ft \ --model_name_or_path rag-sequence-base \ --model_type rag_sequence \ --gpus 2 \ --distributed_retriever pytorch"><pre class="notranslate"><code class="notranslate">python finetune_rag.py \ --data_dir rag_manual_qa_finetuning \ --output_dir output_ft \ --model_name_or_path rag-sequence-base \ --model_type rag_sequence \ --gpus 2 \ --distributed_retriever pytorch </code></pre></div> <p dir="auto"><strong>Logs</strong> (in fact, it’s strange but the logs even seem to be generated in duplicate - I don’t know why):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="loading configuration file rag-sequence-base/config.json Model config RagConfig { &quot;architectures&quot;: [ &quot;RagSequenceForGeneration&quot; ], &quot;dataset&quot;: &quot;wiki_dpr&quot;, &quot;dataset_split&quot;: &quot;train&quot;, &quot;do_deduplication&quot;: true, &quot;do_marginalize&quot;: false, &quot;doc_sep&quot;: &quot; // &quot;, &quot;exclude_bos_score&quot;: false, &quot;forced_eos_token_id&quot;: 2, &quot;generator&quot;: { &quot;_name_or_path&quot;: &quot;&quot;, &quot;_num_labels&quot;: 3, &quot;activation_dropout&quot;: 0.0, &quot;activation_function&quot;: &quot;gelu&quot;, &quot;add_bias_logits&quot;: false, &quot;add_cross_attention&quot;: false, &quot;add_final_layer_norm&quot;: false, &quot;architectures&quot;: [ &quot;BartModel&quot;, &quot;BartForMaskedLM&quot;, &quot;BartForSequenceClassification&quot; ], &quot;attention_dropout&quot;: 0.0, &quot;bad_words_ids&quot;: null, &quot;bos_token_id&quot;: 0, &quot;chunk_size_feed_forward&quot;: 0, &quot;classif_dropout&quot;: 0.0, &quot;classifier_dropout&quot;: 0.0, &quot;d_model&quot;: 1024, &quot;decoder_attention_heads&quot;: 16, &quot;decoder_ffn_dim&quot;: 4096, &quot;decoder_layerdrop&quot;: 0.0, &quot;decoder_layers&quot;: 12, &quot;decoder_start_token_id&quot;: 2, &quot;diversity_penalty&quot;: 0.0, &quot;do_sample&quot;: false, &quot;dropout&quot;: 0.1, &quot;early_stopping&quot;: false, &quot;encoder_attention_heads&quot;: 16, &quot;encoder_ffn_dim&quot;: 4096, &quot;encoder_layerdrop&quot;: 0.0, &quot;encoder_layers&quot;: 12, &quot;encoder_no_repeat_ngram_size&quot;: 0, &quot;eos_token_id&quot;: 2, &quot;extra_pos_embeddings&quot;: 2, &quot;finetuning_task&quot;: null, &quot;force_bos_token_to_be_generated&quot;: false, &quot;forced_bos_token_id&quot;: null, &quot;forced_eos_token_id&quot;: 2, &quot;gradient_checkpointing&quot;: false, &quot;id2label&quot;: { &quot;0&quot;: &quot;LABEL_0&quot;, &quot;1&quot;: &quot;LABEL_1&quot;, &quot;2&quot;: &quot;LABEL_2&quot; }, &quot;init_std&quot;: 0.02, &quot;is_decoder&quot;: false, &quot;is_encoder_decoder&quot;: true, &quot;label2id&quot;: { &quot;LABEL_0&quot;: 0, &quot;LABEL_1&quot;: 1, &quot;LABEL_2&quot;: 2 }, &quot;length_penalty&quot;: 1.0, &quot;max_length&quot;: 20, &quot;max_position_embeddings&quot;: 1024, &quot;min_length&quot;: 0, &quot;model_type&quot;: &quot;bart&quot;, &quot;no_repeat_ngram_size&quot;: 0, &quot;normalize_before&quot;: false, &quot;normalize_embedding&quot;: true, &quot;num_beam_groups&quot;: 1, &quot;num_beams&quot;: 1, &quot;num_hidden_layers&quot;: 12, &quot;num_return_sequences&quot;: 1, &quot;output_attentions&quot;: false, &quot;output_hidden_states&quot;: false, &quot;output_past&quot;: false, &quot;output_scores&quot;: false, &quot;pad_token_id&quot;: 1, &quot;prefix&quot;: &quot; &quot;, &quot;pruned_heads&quot;: {}, &quot;repetition_penalty&quot;: 1.0, &quot;return_dict&quot;: false, &quot;return_dict_in_generate&quot;: false, &quot;scale_embedding&quot;: false, &quot;sep_token_id&quot;: null, &quot;static_position_embeddings&quot;: false, &quot;task_specific_params&quot;: { &quot;summarization&quot;: { &quot;early_stopping&quot;: true, &quot;length_penalty&quot;: 2.0, &quot;max_length&quot;: 142, &quot;min_length&quot;: 56, &quot;no_repeat_ngram_size&quot;: 3, &quot;num_beams&quot;: 4 } }, &quot;temperature&quot;: 1.0, &quot;tie_encoder_decoder&quot;: false, &quot;tie_word_embeddings&quot;: true, &quot;tokenizer_class&quot;: null, &quot;top_k&quot;: 50, &quot;top_p&quot;: 1.0, &quot;torchscript&quot;: false, &quot;transformers_version&quot;: &quot;4.4.0.dev0&quot;, &quot;use_bfloat16&quot;: false, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 50265 }, &quot;index_name&quot;: &quot;exact&quot;, &quot;index_path&quot;: null, &quot;is_encoder_decoder&quot;: true, &quot;label_smoothing&quot;: 0.0, &quot;max_combined_length&quot;: 300, &quot;model_type&quot;: &quot;rag&quot;, &quot;n_docs&quot;: 5, &quot;output_retrieved&quot;: false, &quot;passages_path&quot;: null, &quot;question_encoder&quot;: { &quot;_name_or_path&quot;: &quot;&quot;, &quot;add_cross_attention&quot;: false, &quot;architectures&quot;: [ &quot;DPRQuestionEncoder&quot; ], &quot;attention_probs_dropout_prob&quot;: 0.1, &quot;bad_words_ids&quot;: null, &quot;bos_token_id&quot;: null, &quot;chunk_size_feed_forward&quot;: 0, &quot;decoder_start_token_id&quot;: null, &quot;diversity_penalty&quot;: 0.0, &quot;do_sample&quot;: false, &quot;early_stopping&quot;: false, &quot;encoder_no_repeat_ngram_size&quot;: 0, &quot;eos_token_id&quot;: null, &quot;finetuning_task&quot;: null, &quot;forced_bos_token_id&quot;: null, &quot;forced_eos_token_id&quot;: null, &quot;gradient_checkpointing&quot;: false, &quot;hidden_act&quot;: &quot;gelu&quot;, &quot;hidden_dropout_prob&quot;: 0.1, &quot;hidden_size&quot;: 768, &quot;id2label&quot;: { &quot;0&quot;: &quot;LABEL_0&quot;, &quot;1&quot;: &quot;LABEL_1&quot; }, &quot;initializer_range&quot;: 0.02, &quot;intermediate_size&quot;: 3072, &quot;is_decoder&quot;: false, &quot;is_encoder_decoder&quot;: false, &quot;label2id&quot;: { &quot;LABEL_0&quot;: 0, &quot;LABEL_1&quot;: 1 }, &quot;layer_norm_eps&quot;: 1e-12, &quot;length_penalty&quot;: 1.0, &quot;max_length&quot;: 20, &quot;max_position_embeddings&quot;: 512, &quot;min_length&quot;: 0, &quot;model_type&quot;: &quot;dpr&quot;, &quot;no_repeat_ngram_size&quot;: 0, &quot;num_attention_heads&quot;: 12, &quot;num_beam_groups&quot;: 1, &quot;num_beams&quot;: 1, &quot;num_hidden_layers&quot;: 12, &quot;num_return_sequences&quot;: 1, &quot;output_attentions&quot;: false, &quot;output_hidden_states&quot;: false, &quot;output_scores&quot;: false, &quot;pad_token_id&quot;: 0, &quot;position_embedding_type&quot;: &quot;absolute&quot;, &quot;prefix&quot;: null, &quot;projection_dim&quot;: 0, &quot;pruned_heads&quot;: {}, &quot;repetition_penalty&quot;: 1.0, &quot;return_dict&quot;: false, &quot;return_dict_in_generate&quot;: false, &quot;sep_token_id&quot;: null, &quot;task_specific_params&quot;: null, &quot;temperature&quot;: 1.0, &quot;tie_encoder_decoder&quot;: false, &quot;tie_word_embeddings&quot;: true, &quot;tokenizer_class&quot;: null, &quot;top_k&quot;: 50, &quot;top_p&quot;: 1.0, &quot;torchscript&quot;: false, &quot;transformers_version&quot;: &quot;4.4.0.dev0&quot;, &quot;type_vocab_size&quot;: 2, &quot;use_bfloat16&quot;: false, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 30522 }, &quot;reduce_loss&quot;: false, &quot;retrieval_batch_size&quot;: 8, &quot;retrieval_vector_size&quot;: 768, &quot;title_sep&quot;: &quot; / &quot;, &quot;use_cache&quot;: true, &quot;use_dummy_dataset&quot;: false, &quot;vocab_size&quot;: null } Model name 'rag-sequence-base' not found in model shortcut name list (facebook/dpr-question_encoder-single-nq-base, facebook/dpr-question_encoder-multiset-base). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/question_encoder_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/question_encoder_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/question_encoder_tokenizer/vocab.txt loading file None loading file None loading file rag-sequence-base/question_encoder_tokenizer/special_tokens_map.json loading file rag-sequence-base/question_encoder_tokenizer/tokenizer_config.json Model name 'rag-sequence-base' not found in model shortcut name list (facebook/bart-base, facebook/bart-large, facebook/bart-large-mnli, facebook/bart-large-cnn, facebook/bart-large-xsum, yjernite/bart_eli5). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/generator_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/generator_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/generator_tokenizer/vocab.json loading file rag-sequence-base/generator_tokenizer/merges.txt loading file None loading file None loading file rag-sequence-base/generator_tokenizer/special_tokens_map.json loading file rag-sequence-base/generator_tokenizer/tokenizer_config.json Loading passages from wiki_dpr Downloading: 9.64kB [00:00, 10.8MB/s] Downloading: 67.5kB [00:00, 59.5MB/s] WARNING:datasets.builder:Using custom data configuration psgs_w100.nq.no_index-dummy=False,with_index=False Downloading and preparing dataset wiki_dpr/psgs_w100.nq.no_index (download: 66.09 GiB, generated: 73.03 GiB, post-processed: Unknown size, total: 139.13 GiB) to /home/usp/.cache/huggingface/datasets/wiki_dpr/psgs_w100.nq.no_index-dummy=False,with_index=False/0.0.0/91b145e64f5bc8b55a7b3e9f730786ad6eb19cd5bc020e2e02cdf7d0cb9db9c1... Downloading: 100%|█████████████████████████| 4.69G/4.69G [07:11&lt;00:00, 10.9MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:27&lt;00:00, 9.00MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:36&lt;00:00, 8.47MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:37&lt;00:00, 8.41MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:38&lt;00:00, 8.36MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:40&lt;00:00, 8.25MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:58&lt;00:00, 7.45MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:58&lt;00:00, 7.43MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:00&lt;00:00, 7.34MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:04&lt;00:00, 7.17MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:05&lt;00:00, 7.13MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:07&lt;00:00, 7.06MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:10&lt;00:00, 6.94MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:24&lt;00:00, 6.48MB/s] Downloading: 100%|█████████████████████████| 1.32G/1.32G [03:27&lt;00:00, 6.38MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:33&lt;00:00, 6.21MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [04:57&lt;00:00, 4.45MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:36&lt;00:00, 8.47MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.94MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:44&lt;00:00, 8.03MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:55&lt;00:00, 7.54MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.92MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.90MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:56&lt;00:00, 7.49MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:19&lt;00:00, 6.63MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:53&lt;00:00, 7.63MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:00&lt;00:00, 7.33MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:11&lt;00:00, 6.92MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:14&lt;00:00, 6.80MB/s] Downloading: 100%|█████████████████████████| 1.32G/1.32G [03:06&lt;00:00, 7.10MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:35&lt;00:00, 6.16MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:50&lt;00:00, 5.76MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.93MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:32&lt;00:00, 8.67MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:07&lt;00:00, 7.05MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:53&lt;00:00, 7.62MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:22&lt;00:00, 6.56MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:47&lt;00:00, 7.93MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:26&lt;00:00, 9.06MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:40&lt;00:00, 8.25MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:42&lt;00:00, 8.17MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:54&lt;00:00, 7.59MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:41&lt;00:00, 8.22MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:18&lt;00:00, 6.69MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:30&lt;00:00, 8.83MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:00&lt;00:00, 7.34MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:20&lt;00:00, 9.44MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:24&lt;00:00, 9.19MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:21&lt;00:00, 9.38MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:18&lt;00:00, 9.59MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:19&lt;00:00, 9.53MB/s] 0 examples [00:00, ? examples/s]2021-03-05 12:11:39.666323: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 Dataset wiki_dpr downloaded and prepared to /home/usp/.cache/huggingface/datasets/wiki_dpr/psgs_w100.nq.no_index-dummy=False,with_index=False/0.0.0/91b145e64f5bc8b55a7b3e9f730786ad6eb19cd5bc020e2e02cdf7d0cb9db9c1. Subsequent calls will reuse this data. loading weights file rag-sequence-base/pytorch_model.bin All model checkpoint weights were used when initializing RagSequenceForGeneration. Some weights of RagSequenceForGeneration were not initialized from the model checkpoint at rag-sequence-base and are newly initialized: ['rag.generator.lm_head.weight'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. loading configuration file rag-sequence-base/config.json Model config RagConfig { &quot;architectures&quot;: [ &quot;RagSequenceForGeneration&quot; ], &quot;dataset&quot;: &quot;wiki_dpr&quot;, &quot;dataset_split&quot;: &quot;train&quot;, &quot;do_deduplication&quot;: true, &quot;do_marginalize&quot;: false, &quot;doc_sep&quot;: &quot; // &quot;, &quot;exclude_bos_score&quot;: false, &quot;forced_eos_token_id&quot;: 2, &quot;generator&quot;: { &quot;_name_or_path&quot;: &quot;&quot;, &quot;_num_labels&quot;: 3, &quot;activation_dropout&quot;: 0.0, &quot;activation_function&quot;: &quot;gelu&quot;, &quot;add_bias_logits&quot;: false, &quot;add_cross_attention&quot;: false, &quot;add_final_layer_norm&quot;: false, &quot;architectures&quot;: [ &quot;BartModel&quot;, &quot;BartForMaskedLM&quot;, &quot;BartForSequenceClassification&quot; ], &quot;attention_dropout&quot;: 0.0, &quot;bad_words_ids&quot;: null, &quot;bos_token_id&quot;: 0, &quot;chunk_size_feed_forward&quot;: 0, &quot;classif_dropout&quot;: 0.0, &quot;classifier_dropout&quot;: 0.0, &quot;d_model&quot;: 1024, &quot;decoder_attention_heads&quot;: 16, &quot;decoder_ffn_dim&quot;: 4096, &quot;decoder_layerdrop&quot;: 0.0, &quot;decoder_layers&quot;: 12, &quot;decoder_start_token_id&quot;: 2, &quot;diversity_penalty&quot;: 0.0, &quot;do_sample&quot;: false, &quot;dropout&quot;: 0.1, &quot;early_stopping&quot;: false, &quot;encoder_attention_heads&quot;: 16, &quot;encoder_ffn_dim&quot;: 4096, &quot;encoder_layerdrop&quot;: 0.0, &quot;encoder_layers&quot;: 12, &quot;encoder_no_repeat_ngram_size&quot;: 0, &quot;eos_token_id&quot;: 2, &quot;extra_pos_embeddings&quot;: 2, &quot;finetuning_task&quot;: null, &quot;force_bos_token_to_be_generated&quot;: false, &quot;forced_bos_token_id&quot;: null, &quot;forced_eos_token_id&quot;: 2, &quot;gradient_checkpointing&quot;: false, &quot;id2label&quot;: { &quot;0&quot;: &quot;LABEL_0&quot;, &quot;1&quot;: &quot;LABEL_1&quot;, &quot;2&quot;: &quot;LABEL_2&quot; }, &quot;init_std&quot;: 0.02, &quot;is_decoder&quot;: false, &quot;is_encoder_decoder&quot;: true, &quot;label2id&quot;: { &quot;LABEL_0&quot;: 0, &quot;LABEL_1&quot;: 1, &quot;LABEL_2&quot;: 2 }, &quot;length_penalty&quot;: 1.0, &quot;max_length&quot;: 20, &quot;max_position_embeddings&quot;: 1024, &quot;min_length&quot;: 0, &quot;model_type&quot;: &quot;bart&quot;, &quot;no_repeat_ngram_size&quot;: 0, &quot;normalize_before&quot;: false, &quot;normalize_embedding&quot;: true, &quot;num_beam_groups&quot;: 1, &quot;num_beams&quot;: 1, &quot;num_hidden_layers&quot;: 12, &quot;num_return_sequences&quot;: 1, &quot;output_attentions&quot;: false, &quot;output_hidden_states&quot;: false, &quot;output_past&quot;: false, &quot;output_scores&quot;: false, &quot;pad_token_id&quot;: 1, &quot;prefix&quot;: &quot; &quot;, &quot;pruned_heads&quot;: {}, &quot;repetition_penalty&quot;: 1.0, &quot;return_dict&quot;: false, &quot;return_dict_in_generate&quot;: false, &quot;scale_embedding&quot;: false, &quot;sep_token_id&quot;: null, &quot;static_position_embeddings&quot;: false, &quot;task_specific_params&quot;: { &quot;summarization&quot;: { &quot;early_stopping&quot;: true, &quot;length_penalty&quot;: 2.0, &quot;max_length&quot;: 142, &quot;min_length&quot;: 56, &quot;no_repeat_ngram_size&quot;: 3, &quot;num_beams&quot;: 4 } }, &quot;temperature&quot;: 1.0, &quot;tie_encoder_decoder&quot;: false, &quot;tie_word_embeddings&quot;: true, &quot;tokenizer_class&quot;: null, &quot;top_k&quot;: 50, &quot;top_p&quot;: 1.0, &quot;torchscript&quot;: false, &quot;transformers_version&quot;: &quot;4.4.0.dev0&quot;, &quot;use_bfloat16&quot;: false, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 50265 }, &quot;index_name&quot;: &quot;exact&quot;, &quot;index_path&quot;: null, &quot;is_encoder_decoder&quot;: true, &quot;label_smoothing&quot;: 0.0, &quot;max_combined_length&quot;: 300, &quot;model_type&quot;: &quot;rag&quot;, &quot;n_docs&quot;: 5, &quot;output_retrieved&quot;: false, &quot;passages_path&quot;: null, &quot;question_encoder&quot;: { &quot;_name_or_path&quot;: &quot;&quot;, &quot;add_cross_attention&quot;: false, &quot;architectures&quot;: [ &quot;DPRQuestionEncoder&quot; ], &quot;attention_probs_dropout_prob&quot;: 0.1, &quot;bad_words_ids&quot;: null, &quot;bos_token_id&quot;: null, &quot;chunk_size_feed_forward&quot;: 0, &quot;decoder_start_token_id&quot;: null, &quot;diversity_penalty&quot;: 0.0, &quot;do_sample&quot;: false, &quot;early_stopping&quot;: false, &quot;encoder_no_repeat_ngram_size&quot;: 0, &quot;eos_token_id&quot;: null, &quot;finetuning_task&quot;: null, &quot;forced_bos_token_id&quot;: null, &quot;forced_eos_token_id&quot;: null, &quot;gradient_checkpointing&quot;: false, &quot;hidden_act&quot;: &quot;gelu&quot;, &quot;hidden_dropout_prob&quot;: 0.1, &quot;hidden_size&quot;: 768, &quot;id2label&quot;: { &quot;0&quot;: &quot;LABEL_0&quot;, &quot;1&quot;: &quot;LABEL_1&quot; }, &quot;initializer_range&quot;: 0.02, &quot;intermediate_size&quot;: 3072, &quot;is_decoder&quot;: false, &quot;is_encoder_decoder&quot;: false, &quot;label2id&quot;: { &quot;LABEL_0&quot;: 0, &quot;LABEL_1&quot;: 1 }, &quot;layer_norm_eps&quot;: 1e-12, &quot;length_penalty&quot;: 1.0, &quot;max_length&quot;: 20, &quot;max_position_embeddings&quot;: 512, &quot;min_length&quot;: 0, &quot;model_type&quot;: &quot;dpr&quot;, &quot;no_repeat_ngram_size&quot;: 0, &quot;num_attention_heads&quot;: 12, &quot;num_beam_groups&quot;: 1, &quot;num_beams&quot;: 1, &quot;num_hidden_layers&quot;: 12, &quot;num_return_sequences&quot;: 1, &quot;output_attentions&quot;: false, &quot;output_hidden_states&quot;: false, &quot;output_scores&quot;: false, &quot;pad_token_id&quot;: 0, &quot;position_embedding_type&quot;: &quot;absolute&quot;, &quot;prefix&quot;: null, &quot;projection_dim&quot;: 0, &quot;pruned_heads&quot;: {}, &quot;repetition_penalty&quot;: 1.0, &quot;return_dict&quot;: false, &quot;return_dict_in_generate&quot;: false, &quot;sep_token_id&quot;: null, &quot;task_specific_params&quot;: null, &quot;temperature&quot;: 1.0, &quot;tie_encoder_decoder&quot;: false, &quot;tie_word_embeddings&quot;: true, &quot;tokenizer_class&quot;: null, &quot;top_k&quot;: 50, &quot;top_p&quot;: 1.0, &quot;torchscript&quot;: false, &quot;transformers_version&quot;: &quot;4.4.0.dev0&quot;, &quot;type_vocab_size&quot;: 2, &quot;use_bfloat16&quot;: false, &quot;use_cache&quot;: true, &quot;vocab_size&quot;: 30522 }, &quot;reduce_loss&quot;: false, &quot;retrieval_batch_size&quot;: 8, &quot;retrieval_vector_size&quot;: 768, &quot;title_sep&quot;: &quot; / &quot;, &quot;use_cache&quot;: true, &quot;use_dummy_dataset&quot;: false, &quot;vocab_size&quot;: null } Model name 'rag-sequence-base' not found in model shortcut name list (facebook/dpr-question_encoder-single-nq-base, facebook/dpr-question_encoder-multiset-base). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/question_encoder_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/question_encoder_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/question_encoder_tokenizer/vocab.txt loading file None loading file None loading file rag-sequence-base/question_encoder_tokenizer/special_tokens_map.json loading file rag-sequence-base/question_encoder_tokenizer/tokenizer_config.json Model name 'rag-sequence-base' not found in model shortcut name list (facebook/bart-base, facebook/bart-large, facebook/bart-large-mnli, facebook/bart-large-cnn, facebook/bart-large-xsum, yjernite/bart_eli5). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/generator_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/generator_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/generator_tokenizer/vocab.json loading file rag-sequence-base/generator_tokenizer/merges.txt loading file None loading file None loading file rag-sequence-base/generator_tokenizer/special_tokens_map.json loading file rag-sequence-base/generator_tokenizer/tokenizer_config.json GPU available: True, used: True INFO:lightning:GPU available: True, used: True TPU available: False, using: 0 TPU cores INFO:lightning:TPU available: False, using: 0 TPU cores LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1] INFO:lightning:LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1]"><pre class="notranslate"><code class="notranslate">loading configuration file rag-sequence-base/config.json Model config RagConfig { "architectures": [ "RagSequenceForGeneration" ], "dataset": "wiki_dpr", "dataset_split": "train", "do_deduplication": true, "do_marginalize": false, "doc_sep": " // ", "exclude_bos_score": false, "forced_eos_token_id": 2, "generator": { "_name_or_path": "", "_num_labels": 3, "activation_dropout": 0.0, "activation_function": "gelu", "add_bias_logits": false, "add_cross_attention": false, "add_final_layer_norm": false, "architectures": [ "BartModel", "BartForMaskedLM", "BartForSequenceClassification" ], "attention_dropout": 0.0, "bad_words_ids": null, "bos_token_id": 0, "chunk_size_feed_forward": 0, "classif_dropout": 0.0, "classifier_dropout": 0.0, "d_model": 1024, "decoder_attention_heads": 16, "decoder_ffn_dim": 4096, "decoder_layerdrop": 0.0, "decoder_layers": 12, "decoder_start_token_id": 2, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.1, "early_stopping": false, "encoder_attention_heads": 16, "encoder_ffn_dim": 4096, "encoder_layerdrop": 0.0, "encoder_layers": 12, "encoder_no_repeat_ngram_size": 0, "eos_token_id": 2, "extra_pos_embeddings": 2, "finetuning_task": null, "force_bos_token_to_be_generated": false, "forced_bos_token_id": null, "forced_eos_token_id": 2, "gradient_checkpointing": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "init_std": 0.02, "is_decoder": false, "is_encoder_decoder": true, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 1024, "min_length": 0, "model_type": "bart", "no_repeat_ngram_size": 0, "normalize_before": false, "normalize_embedding": true, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_past": false, "output_scores": false, "pad_token_id": 1, "prefix": " ", "pruned_heads": {}, "repetition_penalty": 1.0, "return_dict": false, "return_dict_in_generate": false, "scale_embedding": false, "sep_token_id": null, "static_position_embeddings": false, "task_specific_params": { "summarization": { "early_stopping": true, "length_penalty": 2.0, "max_length": 142, "min_length": 56, "no_repeat_ngram_size": 3, "num_beams": 4 } }, "temperature": 1.0, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torchscript": false, "transformers_version": "4.4.0.dev0", "use_bfloat16": false, "use_cache": true, "vocab_size": 50265 }, "index_name": "exact", "index_path": null, "is_encoder_decoder": true, "label_smoothing": 0.0, "max_combined_length": 300, "model_type": "rag", "n_docs": 5, "output_retrieved": false, "passages_path": null, "question_encoder": { "_name_or_path": "", "add_cross_attention": false, "architectures": [ "DPRQuestionEncoder" ], "attention_probs_dropout_prob": 0.1, "bad_words_ids": null, "bos_token_id": null, "chunk_size_feed_forward": 0, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-12, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 512, "min_length": 0, "model_type": "dpr", "no_repeat_ngram_size": 0, "num_attention_heads": 12, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": 0, "position_embedding_type": "absolute", "prefix": null, "projection_dim": 0, "pruned_heads": {}, "repetition_penalty": 1.0, "return_dict": false, "return_dict_in_generate": false, "sep_token_id": null, "task_specific_params": null, "temperature": 1.0, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torchscript": false, "transformers_version": "4.4.0.dev0", "type_vocab_size": 2, "use_bfloat16": false, "use_cache": true, "vocab_size": 30522 }, "reduce_loss": false, "retrieval_batch_size": 8, "retrieval_vector_size": 768, "title_sep": " / ", "use_cache": true, "use_dummy_dataset": false, "vocab_size": null } Model name 'rag-sequence-base' not found in model shortcut name list (facebook/dpr-question_encoder-single-nq-base, facebook/dpr-question_encoder-multiset-base). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/question_encoder_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/question_encoder_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/question_encoder_tokenizer/vocab.txt loading file None loading file None loading file rag-sequence-base/question_encoder_tokenizer/special_tokens_map.json loading file rag-sequence-base/question_encoder_tokenizer/tokenizer_config.json Model name 'rag-sequence-base' not found in model shortcut name list (facebook/bart-base, facebook/bart-large, facebook/bart-large-mnli, facebook/bart-large-cnn, facebook/bart-large-xsum, yjernite/bart_eli5). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/generator_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/generator_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/generator_tokenizer/vocab.json loading file rag-sequence-base/generator_tokenizer/merges.txt loading file None loading file None loading file rag-sequence-base/generator_tokenizer/special_tokens_map.json loading file rag-sequence-base/generator_tokenizer/tokenizer_config.json Loading passages from wiki_dpr Downloading: 9.64kB [00:00, 10.8MB/s] Downloading: 67.5kB [00:00, 59.5MB/s] WARNING:datasets.builder:Using custom data configuration psgs_w100.nq.no_index-dummy=False,with_index=False Downloading and preparing dataset wiki_dpr/psgs_w100.nq.no_index (download: 66.09 GiB, generated: 73.03 GiB, post-processed: Unknown size, total: 139.13 GiB) to /home/usp/.cache/huggingface/datasets/wiki_dpr/psgs_w100.nq.no_index-dummy=False,with_index=False/0.0.0/91b145e64f5bc8b55a7b3e9f730786ad6eb19cd5bc020e2e02cdf7d0cb9db9c1... Downloading: 100%|█████████████████████████| 4.69G/4.69G [07:11&lt;00:00, 10.9MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:27&lt;00:00, 9.00MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:36&lt;00:00, 8.47MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:37&lt;00:00, 8.41MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:38&lt;00:00, 8.36MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:40&lt;00:00, 8.25MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:58&lt;00:00, 7.45MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:58&lt;00:00, 7.43MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:00&lt;00:00, 7.34MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:04&lt;00:00, 7.17MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:05&lt;00:00, 7.13MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:07&lt;00:00, 7.06MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:10&lt;00:00, 6.94MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:24&lt;00:00, 6.48MB/s] Downloading: 100%|█████████████████████████| 1.32G/1.32G [03:27&lt;00:00, 6.38MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:33&lt;00:00, 6.21MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [04:57&lt;00:00, 4.45MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:36&lt;00:00, 8.47MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.94MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:44&lt;00:00, 8.03MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:55&lt;00:00, 7.54MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.92MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.90MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:56&lt;00:00, 7.49MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:19&lt;00:00, 6.63MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:53&lt;00:00, 7.63MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:00&lt;00:00, 7.33MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:11&lt;00:00, 6.92MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:14&lt;00:00, 6.80MB/s] Downloading: 100%|█████████████████████████| 1.32G/1.32G [03:06&lt;00:00, 7.10MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:35&lt;00:00, 6.16MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:50&lt;00:00, 5.76MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:28&lt;00:00, 8.93MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:32&lt;00:00, 8.67MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:07&lt;00:00, 7.05MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:53&lt;00:00, 7.62MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:22&lt;00:00, 6.56MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:47&lt;00:00, 7.93MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:26&lt;00:00, 9.06MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:40&lt;00:00, 8.25MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:42&lt;00:00, 8.17MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:54&lt;00:00, 7.59MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:41&lt;00:00, 8.22MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:18&lt;00:00, 6.69MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:30&lt;00:00, 8.83MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [03:00&lt;00:00, 7.34MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:20&lt;00:00, 9.44MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:24&lt;00:00, 9.19MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:21&lt;00:00, 9.38MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:18&lt;00:00, 9.59MB/s] Downloading: 100%|█████████████████████████| 1.33G/1.33G [02:19&lt;00:00, 9.53MB/s] 0 examples [00:00, ? examples/s]2021-03-05 12:11:39.666323: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 Dataset wiki_dpr downloaded and prepared to /home/usp/.cache/huggingface/datasets/wiki_dpr/psgs_w100.nq.no_index-dummy=False,with_index=False/0.0.0/91b145e64f5bc8b55a7b3e9f730786ad6eb19cd5bc020e2e02cdf7d0cb9db9c1. Subsequent calls will reuse this data. loading weights file rag-sequence-base/pytorch_model.bin All model checkpoint weights were used when initializing RagSequenceForGeneration. Some weights of RagSequenceForGeneration were not initialized from the model checkpoint at rag-sequence-base and are newly initialized: ['rag.generator.lm_head.weight'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. loading configuration file rag-sequence-base/config.json Model config RagConfig { "architectures": [ "RagSequenceForGeneration" ], "dataset": "wiki_dpr", "dataset_split": "train", "do_deduplication": true, "do_marginalize": false, "doc_sep": " // ", "exclude_bos_score": false, "forced_eos_token_id": 2, "generator": { "_name_or_path": "", "_num_labels": 3, "activation_dropout": 0.0, "activation_function": "gelu", "add_bias_logits": false, "add_cross_attention": false, "add_final_layer_norm": false, "architectures": [ "BartModel", "BartForMaskedLM", "BartForSequenceClassification" ], "attention_dropout": 0.0, "bad_words_ids": null, "bos_token_id": 0, "chunk_size_feed_forward": 0, "classif_dropout": 0.0, "classifier_dropout": 0.0, "d_model": 1024, "decoder_attention_heads": 16, "decoder_ffn_dim": 4096, "decoder_layerdrop": 0.0, "decoder_layers": 12, "decoder_start_token_id": 2, "diversity_penalty": 0.0, "do_sample": false, "dropout": 0.1, "early_stopping": false, "encoder_attention_heads": 16, "encoder_ffn_dim": 4096, "encoder_layerdrop": 0.0, "encoder_layers": 12, "encoder_no_repeat_ngram_size": 0, "eos_token_id": 2, "extra_pos_embeddings": 2, "finetuning_task": null, "force_bos_token_to_be_generated": false, "forced_bos_token_id": null, "forced_eos_token_id": 2, "gradient_checkpointing": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "init_std": 0.02, "is_decoder": false, "is_encoder_decoder": true, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 1024, "min_length": 0, "model_type": "bart", "no_repeat_ngram_size": 0, "normalize_before": false, "normalize_embedding": true, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_past": false, "output_scores": false, "pad_token_id": 1, "prefix": " ", "pruned_heads": {}, "repetition_penalty": 1.0, "return_dict": false, "return_dict_in_generate": false, "scale_embedding": false, "sep_token_id": null, "static_position_embeddings": false, "task_specific_params": { "summarization": { "early_stopping": true, "length_penalty": 2.0, "max_length": 142, "min_length": 56, "no_repeat_ngram_size": 3, "num_beams": 4 } }, "temperature": 1.0, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torchscript": false, "transformers_version": "4.4.0.dev0", "use_bfloat16": false, "use_cache": true, "vocab_size": 50265 }, "index_name": "exact", "index_path": null, "is_encoder_decoder": true, "label_smoothing": 0.0, "max_combined_length": 300, "model_type": "rag", "n_docs": 5, "output_retrieved": false, "passages_path": null, "question_encoder": { "_name_or_path": "", "add_cross_attention": false, "architectures": [ "DPRQuestionEncoder" ], "attention_probs_dropout_prob": 0.1, "bad_words_ids": null, "bos_token_id": null, "chunk_size_feed_forward": 0, "decoder_start_token_id": null, "diversity_penalty": 0.0, "do_sample": false, "early_stopping": false, "encoder_no_repeat_ngram_size": 0, "eos_token_id": null, "finetuning_task": null, "forced_bos_token_id": null, "forced_eos_token_id": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "layer_norm_eps": 1e-12, "length_penalty": 1.0, "max_length": 20, "max_position_embeddings": 512, "min_length": 0, "model_type": "dpr", "no_repeat_ngram_size": 0, "num_attention_heads": 12, "num_beam_groups": 1, "num_beams": 1, "num_hidden_layers": 12, "num_return_sequences": 1, "output_attentions": false, "output_hidden_states": false, "output_scores": false, "pad_token_id": 0, "position_embedding_type": "absolute", "prefix": null, "projection_dim": 0, "pruned_heads": {}, "repetition_penalty": 1.0, "return_dict": false, "return_dict_in_generate": false, "sep_token_id": null, "task_specific_params": null, "temperature": 1.0, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torchscript": false, "transformers_version": "4.4.0.dev0", "type_vocab_size": 2, "use_bfloat16": false, "use_cache": true, "vocab_size": 30522 }, "reduce_loss": false, "retrieval_batch_size": 8, "retrieval_vector_size": 768, "title_sep": " / ", "use_cache": true, "use_dummy_dataset": false, "vocab_size": null } Model name 'rag-sequence-base' not found in model shortcut name list (facebook/dpr-question_encoder-single-nq-base, facebook/dpr-question_encoder-multiset-base). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/question_encoder_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/question_encoder_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/question_encoder_tokenizer/vocab.txt loading file None loading file None loading file rag-sequence-base/question_encoder_tokenizer/special_tokens_map.json loading file rag-sequence-base/question_encoder_tokenizer/tokenizer_config.json Model name 'rag-sequence-base' not found in model shortcut name list (facebook/bart-base, facebook/bart-large, facebook/bart-large-mnli, facebook/bart-large-cnn, facebook/bart-large-xsum, yjernite/bart_eli5). Assuming 'rag-sequence-base' is a path, a model identifier, or url to a directory containing tokenizer files. Didn't find file rag-sequence-base/generator_tokenizer/tokenizer.json. We won't load it. Didn't find file rag-sequence-base/generator_tokenizer/added_tokens.json. We won't load it. loading file rag-sequence-base/generator_tokenizer/vocab.json loading file rag-sequence-base/generator_tokenizer/merges.txt loading file None loading file None loading file rag-sequence-base/generator_tokenizer/special_tokens_map.json loading file rag-sequence-base/generator_tokenizer/tokenizer_config.json GPU available: True, used: True INFO:lightning:GPU available: True, used: True TPU available: False, using: 0 TPU cores INFO:lightning:TPU available: False, using: 0 TPU cores LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1] INFO:lightning:LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1] </code></pre></div>
<h1 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature request</h1> <p dir="auto">Enabling Discussion on github</p> <h2 dir="auto">Motivation</h2> <p dir="auto">reserve issues for only feature request, bugs (anything that would be an addition to the transformers library). While, discussion will be for guidance and questions.<br> I know that this is the use of <a href="https://discuss.huggingface.co/c/transformers/9" rel="nofollow">discuss huggingface</a>. However, I think large portion of users interact just from github, it makes sense to have issues not include general question and guidance (<strong>false issues</strong>) and you as transformers maintainers will relate to the amount of notifications from it.</p>
0
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Platform Version VersionString Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version: Version: 0.6.2951.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Platform Version VersionString Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version: Version: 0.6.2951.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Make the Windows Terminal go full-screen on a 4K monitor.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Fast and responsive (like it performs in non-full screen mode).</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Super slow and sluggish behavior. There is at least a 2s delay for typing and using <code class="notranslate">ls</code> for example will result in a slow animation for listing the content in a directory. The Terminal is pretty much unusable if I go full-screen</p> <p dir="auto">I have a laptop with a 1080p display and I also have an external monitor connected via mini-display port. Monitor is 4K native 60 Hz, and it works without any issues. My laptop has also a dedicated GPU (nVidia GTX850m with the latest drivers). All other apps (i.e. Spotify, Microsoft Edge, Word etc) perform just fine when in full-screen on this 4K display. However, the Windows Terminal performs super slow when I go full screen on the monitor.<br> Terminal performs fine when I put it in full-screen on the laptop's main display.</p>
<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] Windows Terminal version (if applicable): Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] Windows Terminal version (if applicable): Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <h1 dir="auto">Expected behavior</h1> <h1 dir="auto">Actual behavior</h1>
0
<h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>3.1.11</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>Windows Server 2012 R2</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>None</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">webContents.print(option, callback) print blurring use virtual pdf printer when deviceName have value .</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">webContents.print({ silent: true, printBackground:true,deviceName: data.deviceName }</p> <p dir="auto">print blurring when deviceName have value print blurring<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/48546169/59989222-c9f08f00-9670-11e9-89a6-4f46b487f018.png"><img src="https://user-images.githubusercontent.com/48546169/59989222-c9f08f00-9670-11e9-89a6-4f46b487f018.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">but if deviceName have no value , print is defined</p> <p dir="auto">I'm not sure if this is a BUG, and I still want to find a solution. Thank!!!</p>
<h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>3.1.11</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>Windows Server 2012 R2</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>None</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">webContents.print(option, callback) print blurring use virtual pdf printer when deviceName have value .<br> virtual pdf printer have setting option for print Dpi ,70Dpi 96Dpi 4000Dpi.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/48546169/60571693-aa5f1200-9da6-11e9-8696-286937b49f4c.png"><img src="https://user-images.githubusercontent.com/48546169/60571693-aa5f1200-9da6-11e9-8696-286937b49f4c.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">webContents.print({ silent: true, printBackground:true,deviceName: data.deviceName }</p> <p dir="auto">print blurring when deviceName have value print blurring<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/48546169/59989222-c9f08f00-9670-11e9-89a6-4f46b487f018.png"><img src="https://user-images.githubusercontent.com/48546169/59989222-c9f08f00-9670-11e9-89a6-4f46b487f018.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">but if deviceName have no value , print is defined</p> <p dir="auto">I'm not sure if this is a BUG, and I still want to find a solution. Thank!!!</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.18362.267 Windows Terminal version (if applicable): v0.3.2142.0 Any other software? No"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] 10.0.18362.267 Windows Terminal version (if applicable): v0.3.2142.0 Any other software? No </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <h2 dir="auto">Error 1: CMD</h2> <ol dir="auto"> <li>Open Windows Terminal</li> <li>Open CMD tab</li> <li>Close Terminal</li> </ol> <h2 dir="auto">Error 2: Ubuntu</h2> <ol dir="auto"> <li>Open Windows Terminal</li> <li>Open Ubuntu tab</li> <li>Input any command</li> <li>Close Terminal</li> </ol> <h1 dir="auto">Actual behavior</h1> <h2 dir="auto">Error 1: CMD</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46282492/62481181-afbbdc00-b7ec-11e9-999b-c1748d4688f6.png"><img src="https://user-images.githubusercontent.com/46282492/62481181-afbbdc00-b7ec-11e9-999b-c1748d4688f6.png" alt="pic1" style="max-width: 100%;"></a></p> <h2 dir="auto">Error 2: Ubuntu</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46282492/62481575-bc8cff80-b7ed-11e9-9a5f-b0c18d2ccd3a.PNG"><img src="https://user-images.githubusercontent.com/46282492/62481575-bc8cff80-b7ed-11e9-9a5f-b0c18d2ccd3a.PNG" alt="pic3" style="max-width: 100%;"></a></p> <p dir="auto">Terminal process remains on background and especially it occupies CPU resources excessively when after exiting terminal used as CMD.</p> <p dir="auto">When I use only PowerShell, terminal process disappears from background process list immediately after exiting terminal.</p>
<h1 dir="auto">Environment</h1> <p dir="auto">Windows build number: 10.0.19013.0<br> Windows Terminal version (if applicable): 0.6.2951.0</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" On opening Windows Terminal, move the window to external monitor and app crashes after a couple of seconds. Laptop is on the Slow Insiders ring for Windows and this was working on the previous build (18362) but on upgrade to 19013 today, Windows Terminal is crashing if the app window is moved off the laptop display. Laptop display was set as Main Display (so window opening there) and if external monitor set to left or right of this then app still crashes (i.e. dragging left or right off laptop display causes same behaviour). Setting external display as main display and spawning app window there then I don't see this issue and can move the app between monitors without problem. Following error is logged to Application Event Log so this may be a Windows issue (please advise?): Faulting application name: WindowsTerminal.exe, version: 1.0.1910.22001, time stamp: 0x5daf7ab2 Faulting module name: KERNELBASE.dll, version: 10.0.19013.1, time stamp: 0x6d1c8fa4 Exception code: 0xc000027b Fault offset: 0x000000000010a7bc Faulting process ID: 0x53e4 Faulting application start time: 0x01d599429b1508c5 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report ID: 4ad4a8ec-eb6c-4cfc-a19c-4a809dab3237 Faulting package full name: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App And this Windows Error Reporting event: Fault bucket 1583250623008362713, type 5 Event Name: MoAppCrash Response: Not available Cab Id: 0 Problem signature: P1: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe P2: praid:App P3: 1.0.1910.22001 P4: 5daf7ab2 P5: StackHash12_c0a P6: 0.0.0.0 P7: 00000000 P8: 88000fa8 P9: 0 P10: "><pre class="notranslate"><code class="notranslate"> On opening Windows Terminal, move the window to external monitor and app crashes after a couple of seconds. Laptop is on the Slow Insiders ring for Windows and this was working on the previous build (18362) but on upgrade to 19013 today, Windows Terminal is crashing if the app window is moved off the laptop display. Laptop display was set as Main Display (so window opening there) and if external monitor set to left or right of this then app still crashes (i.e. dragging left or right off laptop display causes same behaviour). Setting external display as main display and spawning app window there then I don't see this issue and can move the app between monitors without problem. Following error is logged to Application Event Log so this may be a Windows issue (please advise?): Faulting application name: WindowsTerminal.exe, version: 1.0.1910.22001, time stamp: 0x5daf7ab2 Faulting module name: KERNELBASE.dll, version: 10.0.19013.1, time stamp: 0x6d1c8fa4 Exception code: 0xc000027b Fault offset: 0x000000000010a7bc Faulting process ID: 0x53e4 Faulting application start time: 0x01d599429b1508c5 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report ID: 4ad4a8ec-eb6c-4cfc-a19c-4a809dab3237 Faulting package full name: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App And this Windows Error Reporting event: Fault bucket 1583250623008362713, type 5 Event Name: MoAppCrash Response: Not available Cab Id: 0 Problem signature: P1: Microsoft.WindowsTerminal_0.6.2951.0_x64__8wekyb3d8bbwe P2: praid:App P3: 1.0.1910.22001 P4: 5daf7ab2 P5: StackHash12_c0a P6: 0.0.0.0 P7: 00000000 P8: 88000fa8 P9: 0 P10: </code></pre></div>
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: latest</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>Config a Monitor and specify the value of its protocol to registry(address is null)</li> <li>run the dubbo application</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">Monitor effect and no warning log about monitor</p> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">The log says that There's no valid monitor config found<br> What actually happens?<br> the code of The logic of org.apache.dubbo.config.MonitorConfig#isValid is</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public boolean isValid() { return StringUtils.isNotEmpty(address); }"><pre class="notranslate"><code class="notranslate">public boolean isValid() { return StringUtils.isNotEmpty(address); } </code></pre></div> <p dir="auto">actually, if not specify address but specify the monitor config's protocol to registry, that is OK.</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="[20/08/19 14:22:59:133 CST] main INFO config.AbstractConfig: [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: , current host: 192.168.99.1 "><pre class="notranslate"><code class="notranslate">[20/08/19 14:22:59:133 CST] main INFO config.AbstractConfig: [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: , current host: 192.168.99.1 </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.1</li> <li>Operating System version: CentOS 7.4</li> <li>Java version: Java HotSpot 1.8.202</li> </ul> <h3 dir="auto">Question</h3> <p dir="auto">Is it possible to throttle the request rate to an exported service with Dubbo?<br> The expectation is to be able to dynamically throttle the rate of request coming to a service, at run time.</p>
0
<p dir="auto">Good morning,</p> <p dir="auto">I just updated matplotlib and noticed an error (probably typo) in the plot-gui.<br> Using the <code class="notranslate">Save the figure</code>-Button, it returns</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Format &quot;png)')&quot; is not supported."><pre class="notranslate"><code class="notranslate">Format "png)')" is not supported. </code></pre></div> <p dir="auto">for every supported format (replace <code class="notranslate">png</code> respectively).</p> <p dir="auto">Minimal working example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt import numpy as np a = np.arange(6).reshape((3, 2)) plt.plot(a[:,0], a[:,1], '*') plt.show()"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt import numpy as np a = np.arange(6).reshape((3, 2)) plt.plot(a[:,0], a[:,1], '*') plt.show() </code></pre></div> <p dir="auto">Specs: 3.16.1-1-ARCH with matplotlib version 1.4.0 via AUR</p> <p dir="auto">Thanks in advance!</p>
<p dir="auto">Bug also reported here: <a href="https://bugs.archlinux.org/task/41790" rel="nofollow">https://bugs.archlinux.org/task/41790</a><br> When clicking on the Save button on the NavigationToolbar, I get an error:<br> <code class="notranslate">Format "png)')" is not supported. Supported formats: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff.</code></p> <p dir="auto">I tracked the bug to be coming from the output of the <code class="notranslate">_getSaveFileName</code> function, that is supposed to be a string but is a tuple in reality. In <code class="notranslate">qt_compat.py</code>, <code class="notranslate">_getSaveFileName</code> links to QtWidgets.QtFileDialog.getSaveFileName.<br> In pyqt4, this function returns a string, but the doc pyqt4/5 differences says that in pyqt5 the functions returns a tuple (filename, extension), as for <code class="notranslate">getSaveFileNameAndFilter</code> in pyqt4.</p> <p dir="auto">Commenting line 96 in <code class="notranslate">qt_compat.py</code> solved the problem, because <code class="notranslate">_getSaveFileName</code> is then correctly defined in line 117 (only returning the first element of the tuple).</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">Brief</h3> <p dir="auto">Dubbo should be added new annotations for <code class="notranslate">MethodConfig</code> and <code class="notranslate">ArgumentConfig</code> in order to complete Annotation-Driven Programming Model.</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>Dubbo version: 2.7.2</li> <li>Operating System version: 本地macos,docker容器基础镜像alpine</li> <li>Java version: 1.8</li> <li>SpringBoot: 2.1.5.RELEASE</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>Spring filter中注入</li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Reference(version = &quot;*&quot;) private TyrfingUserService userService;"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Reference</span>(<span class="pl-s1">version</span> = <span class="pl-s">"*"</span>) <span class="pl-k">private</span> <span class="pl-smi">TyrfingUserService</span> <span class="pl-s1">userService</span>;</pre></div> <ol start="2" dir="auto"> <li>然后调用服务接口</li> </ol> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="userService.getUserByLoginName(loginName)"><pre class="notranslate"><span class="pl-s1">userService</span>.<span class="pl-en">getUserByLoginName</span>(<span class="pl-s1">loginName</span>)</pre></div> <ol start="3" dir="auto"> <li>服务实现了GenericService接口</li> </ol> <blockquote> <p dir="auto">这里需要对每个实现类的方法参数进行相应的验证</p> </blockquote> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Override public Object $invoke(String methodName, String[] parameterTypes, Object[] args) throws GenericException { MethodInvocation methodInvocation = MethodInvocationUtils.createFromClass(this.getClass(), methodName); if (methodInvocation == null) { throw new GenericException(new NoSuchMethodException(methodName)); } Method method = methodInvocation.getMethod(); // 这里需要对每个实现类的方法参数进行相应的验证 // ... try { return method.invoke(this, invokeArgs); } catch (IllegalAccessException e) { throw new GenericException(e); } catch (InvocationTargetException e) { throw new GenericException(e.getTargetException()); } }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">Object</span> <span class="pl-s1">$invoke</span>(<span class="pl-smi">String</span> <span class="pl-s1">methodName</span>, <span class="pl-smi">String</span>[] <span class="pl-s1">parameterTypes</span>, <span class="pl-smi">Object</span>[] <span class="pl-s1">args</span>) <span class="pl-k">throws</span> <span class="pl-s1">GenericException</span> { <span class="pl-smi">MethodInvocation</span> <span class="pl-s1">methodInvocation</span> = <span class="pl-smi">MethodInvocationUtils</span>.<span class="pl-en">createFromClass</span>(<span class="pl-smi">this</span>.<span class="pl-en">getClass</span>(), <span class="pl-s1">methodName</span>); <span class="pl-k">if</span> (<span class="pl-s1">methodInvocation</span> == <span class="pl-c1">null</span>) { <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">GenericException</span>(<span class="pl-k">new</span> <span class="pl-smi">NoSuchMethodException</span>(<span class="pl-s1">methodName</span>)); } <span class="pl-smi">Method</span> <span class="pl-s1">method</span> = <span class="pl-s1">methodInvocation</span>.<span class="pl-en">getMethod</span>(); <span class="pl-c">// 这里需要对每个实现类的方法参数进行相应的验证</span> <span class="pl-c">// ...</span> <span class="pl-k">try</span> { <span class="pl-k">return</span> <span class="pl-s1">method</span>.<span class="pl-en">invoke</span>(<span class="pl-smi">this</span>, <span class="pl-s1">invokeArgs</span>); } <span class="pl-k">catch</span> (<span class="pl-smi">IllegalAccessException</span> <span class="pl-s1">e</span>) { <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">GenericException</span>(<span class="pl-s1">e</span>); } <span class="pl-k">catch</span> (<span class="pl-smi">InvocationTargetException</span> <span class="pl-s1">e</span>) { <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">GenericException</span>(<span class="pl-s1">e</span>.<span class="pl-en">getTargetException</span>()); } }</pre></div> <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> <p dir="auto">docker环境下服务消费端抛出异常,本地开发环境中测试可以:</p> <blockquote> <p dir="auto">是不是<code class="notranslate">$invoke</code>中的<code class="notranslate">method.invoke</code>这样的调用方式是不允许的?<br> 如果不允许的话,我应该怎样实现?</p> </blockquote> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.apache.dubbo.rpc.RpcException: Failed to invoke the method getUserByLoginName in the service com.tyrfing.service.auth.TyrfingUserService. Tried 3 times of the providers [172.18.0.6:10050] (1/1) from the registry registry:2181 on the consumer 172.18.0.6 using the dubbo version 2.7.2. Last error is: org.apache.dubbo.rpc.RpcException: Failed to invoke remote method: getUserByLoginName, provider: dubbo://172.18.0.6:10050/com.tyrfing.service.auth.TyrfingUserService?anyhost=true&amp;application=demo&amp;bean.name=ServiceBean:com.tyrfing.service.auth.TyrfingUserService&amp;check=false&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=false&amp;interface=com.tyrfing.service.auth.TyrfingUserService&amp;lazy=false&amp;methods=*&amp;pid=1&amp;qos-enable=false&amp;reference.filter=tyrfing_tracing&amp;register=true&amp;register.ip=172.18.0.6&amp;release=2.7.2&amp;remote.application=demo&amp;revision=1.0.1&amp;service.filter=tyrfing_tracing&amp;side=consumer&amp;sticky=false&amp;timestamp=1560839021419&amp;version=1.0.0, cause: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.rpc.RpcException: org.apache.dubbo.rpc.RpcException: Failed to invoke remote proxy method getUserByLoginName to registry://registry:2181/org.apache.dubbo.registry.RegistryService?application=demo&amp;client=curator&amp;dubbo=2.0.2&amp;export=dubbo%3A%2F%2F172.18.0.6%3A10050%2Fcom.tyrfing.service.auth.TyrfingUserService%3Fanyhost%3Dtrue%26application%3Ddemo%26bean.name%3DServiceBean%3Acom.tyrfing.service.auth.TyrfingUserService%26bind.ip%3D172.18.0.6%26bind.port%3D10050%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dtrue%26interface%3Dcom.tyrfing.service.auth.TyrfingUserService%26methods%3D*%26pid%3D1%26qos-enable%3Dfalse%26register%3Dtrue%26release%3D2.7.2%26service.filter%3Dtyrfing_tracing%26side%3Dprovider%26timestamp%3D1560839021419%26version%3D1.0.0&amp;pid=1&amp;qos-enable=false&amp;registry=zookeeper&amp;release=2.7.2&amp;timestamp=1560839021419, cause: Not found method \&quot;getUserByLoginName\&quot; in class org.apache.dubbo.rpc.service.GenericService. org.apache.dubbo.rpc.RpcException: org.apache.dubbo.rpc.RpcException: Failed to invoke remote proxy method getUserByLoginName to registry://registry:2181/org.apache.dubbo.registry.RegistryService?application=demo&amp;client=curator&amp;dubbo=2.0.2&amp;export=dubbo%3A%2F%2F172.18.0.6%3A10050%2Fcom.tyrfing.service.auth.TyrfingUserService%3Fanyhost%3Dtrue%26application%3Ddemo%26bean.name%3DServiceBean%3Acom.tyrfing.service.auth.TyrfingUserService%26bind.ip%3D172.18.0.6%26bind.port%3D10050%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dtrue%26interface%3Dcom.tyrfing.service.auth.TyrfingUserService%26methods%3D*%26pid%3D1%26qos-enable%3Dfalse%26register%3Dtrue%26release%3D2.7.2%26service.filter%3Dtyrfing_tracing%26side%3Dprovider%26timestamp%3D1560839021419%26version%3D1.0.0&amp;pid=1&amp;qos-enable=false&amp;registry=zookeeper&amp;release=2.7.2&amp;timestamp=1560839021419, cause: Not found method \&quot;getUserByLoginName\&quot; in class org.apache.dubbo.rpc.service.GenericService. at com.tyrfing.tracing.TracingFilter.invoke(TracingFilter.java:125) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:55) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:48) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:81) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:96) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:148) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:150) at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:152) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:102) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:193) at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51) at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.dubbo.rpc.RpcException: Failed to invoke remote proxy method getUserByLoginName to registry://registry:2181/org.apache.dubbo.registry.RegistryService?application=demo&amp;client=curator&amp;dubbo=2.0.2&amp;export=dubbo%3A%2F%2F172.18.0.6%3A10050%2Fcom.tyrfing.service.auth.TyrfingUserService%3Fanyhost%3Dtrue%26application%3Ddemo%26bean.name%3DServiceBean%3Acom.tyrfing.service.auth.TyrfingUserService%26bind.ip%3D172.18.0.6%26bind.port%3D10050%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dtrue%26interface%3Dcom.tyrfing.service.auth.TyrfingUserService%26methods%3D*%26pid%3D1%26qos-enable%3Dfalse%26register%3Dtrue%26release%3D2.7.2%26service.filter%3Dtyrfing_tracing%26side%3Dprovider%26timestamp%3D1560839021419%26version%3D1.0.0&amp;pid=1&amp;qos-enable=false&amp;registry=zookeeper&amp;release=2.7.2&amp;timestamp=1560839021419, cause: Not found method \&quot;getUserByLoginName\&quot; in class org.apache.dubbo.rpc.service.GenericService. at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:107) at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at com.tyrfing.tracing.TracingFilter.invoke(TracingFilter.java:113) ... 26 more Caused by: org.apache.dubbo.common.bytecode.NoSuchMethodException: Not found method \&quot;getUserByLoginName\&quot; in class org.apache.dubbo.rpc.service.GenericService. at org.apache.dubbo.common.bytecode.Wrapper6.invokeMethod(Wrapper6.java) at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47) at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84) ... 29 more "><pre class="notranslate"><code class="notranslate">org.apache.dubbo.rpc.RpcException: Failed to invoke the method getUserByLoginName in the service com.tyrfing.service.auth.TyrfingUserService. Tried 3 times of the providers [172.18.0.6:10050] (1/1) from the registry registry:2181 on the consumer 172.18.0.6 using the dubbo version 2.7.2. Last error is: org.apache.dubbo.rpc.RpcException: Failed to invoke remote method: getUserByLoginName, provider: dubbo://172.18.0.6:10050/com.tyrfing.service.auth.TyrfingUserService?anyhost=true&amp;application=demo&amp;bean.name=ServiceBean:com.tyrfing.service.auth.TyrfingUserService&amp;check=false&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=false&amp;interface=com.tyrfing.service.auth.TyrfingUserService&amp;lazy=false&amp;methods=*&amp;pid=1&amp;qos-enable=false&amp;reference.filter=tyrfing_tracing&amp;register=true&amp;register.ip=172.18.0.6&amp;release=2.7.2&amp;remote.application=demo&amp;revision=1.0.1&amp;service.filter=tyrfing_tracing&amp;side=consumer&amp;sticky=false&amp;timestamp=1560839021419&amp;version=1.0.0, cause: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.rpc.RpcException: org.apache.dubbo.rpc.RpcException: Failed to invoke remote proxy method getUserByLoginName to registry://registry:2181/org.apache.dubbo.registry.RegistryService?application=demo&amp;client=curator&amp;dubbo=2.0.2&amp;export=dubbo%3A%2F%2F172.18.0.6%3A10050%2Fcom.tyrfing.service.auth.TyrfingUserService%3Fanyhost%3Dtrue%26application%3Ddemo%26bean.name%3DServiceBean%3Acom.tyrfing.service.auth.TyrfingUserService%26bind.ip%3D172.18.0.6%26bind.port%3D10050%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dtrue%26interface%3Dcom.tyrfing.service.auth.TyrfingUserService%26methods%3D*%26pid%3D1%26qos-enable%3Dfalse%26register%3Dtrue%26release%3D2.7.2%26service.filter%3Dtyrfing_tracing%26side%3Dprovider%26timestamp%3D1560839021419%26version%3D1.0.0&amp;pid=1&amp;qos-enable=false&amp;registry=zookeeper&amp;release=2.7.2&amp;timestamp=1560839021419, cause: Not found method \"getUserByLoginName\" in class org.apache.dubbo.rpc.service.GenericService. org.apache.dubbo.rpc.RpcException: org.apache.dubbo.rpc.RpcException: Failed to invoke remote proxy method getUserByLoginName to registry://registry:2181/org.apache.dubbo.registry.RegistryService?application=demo&amp;client=curator&amp;dubbo=2.0.2&amp;export=dubbo%3A%2F%2F172.18.0.6%3A10050%2Fcom.tyrfing.service.auth.TyrfingUserService%3Fanyhost%3Dtrue%26application%3Ddemo%26bean.name%3DServiceBean%3Acom.tyrfing.service.auth.TyrfingUserService%26bind.ip%3D172.18.0.6%26bind.port%3D10050%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dtrue%26interface%3Dcom.tyrfing.service.auth.TyrfingUserService%26methods%3D*%26pid%3D1%26qos-enable%3Dfalse%26register%3Dtrue%26release%3D2.7.2%26service.filter%3Dtyrfing_tracing%26side%3Dprovider%26timestamp%3D1560839021419%26version%3D1.0.0&amp;pid=1&amp;qos-enable=false&amp;registry=zookeeper&amp;release=2.7.2&amp;timestamp=1560839021419, cause: Not found method \"getUserByLoginName\" in class org.apache.dubbo.rpc.service.GenericService. at com.tyrfing.tracing.TracingFilter.invoke(TracingFilter.java:125) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:55) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:48) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:81) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:96) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:148) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:150) at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:152) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:102) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:193) at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51) at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.dubbo.rpc.RpcException: Failed to invoke remote proxy method getUserByLoginName to registry://registry:2181/org.apache.dubbo.registry.RegistryService?application=demo&amp;client=curator&amp;dubbo=2.0.2&amp;export=dubbo%3A%2F%2F172.18.0.6%3A10050%2Fcom.tyrfing.service.auth.TyrfingUserService%3Fanyhost%3Dtrue%26application%3Ddemo%26bean.name%3DServiceBean%3Acom.tyrfing.service.auth.TyrfingUserService%26bind.ip%3D172.18.0.6%26bind.port%3D10050%26deprecated%3Dfalse%26dubbo%3D2.0.2%26dynamic%3Dtrue%26generic%3Dtrue%26interface%3Dcom.tyrfing.service.auth.TyrfingUserService%26methods%3D*%26pid%3D1%26qos-enable%3Dfalse%26register%3Dtrue%26release%3D2.7.2%26service.filter%3Dtyrfing_tracing%26side%3Dprovider%26timestamp%3D1560839021419%26version%3D1.0.0&amp;pid=1&amp;qos-enable=false&amp;registry=zookeeper&amp;release=2.7.2&amp;timestamp=1560839021419, cause: Not found method \"getUserByLoginName\" in class org.apache.dubbo.rpc.service.GenericService. at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:107) at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at com.tyrfing.tracing.TracingFilter.invoke(TracingFilter.java:113) ... 26 more Caused by: org.apache.dubbo.common.bytecode.NoSuchMethodException: Not found method \"getUserByLoginName\" in class org.apache.dubbo.rpc.service.GenericService. at org.apache.dubbo.common.bytecode.Wrapper6.invokeMethod(Wrapper6.java) at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47) at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84) ... 29 more </code></pre></div>
0
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; pr = pd.period_range(start='2017-01-01 00:00:00', periods=999999, freq='T') &gt;&gt;&gt; df = pd.DataFrame({&quot;value&quot;: range(999999)}, index=pr) &gt;&gt;&gt; df.loc[:&quot;2018-01-01 00:00&quot;]"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">pr</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">period_range</span>(<span class="pl-s1">start</span><span class="pl-c1">=</span><span class="pl-s">'2017-01-01 00:00:00'</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-c1">999999</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'T'</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">"value"</span>: <span class="pl-en">range</span>(<span class="pl-c1">999999</span>)}, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">pr</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[:<span class="pl-s">"2018-01-01 00:00"</span>]</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" value 2017-01-01 00:00 0 2017-01-01 00:01 1 2017-01-01 00:02 2 ... 2017-12-31 23:59 525599 2018-01-01 00:00 525600"><pre class="notranslate"><code class="notranslate"> value 2017-01-01 00:00 0 2017-01-01 00:01 1 2017-01-01 00:02 2 ... 2017-12-31 23:59 525599 2018-01-01 00:00 525600 </code></pre></div> <p dir="auto">Everything will be fine if the value of <code class="notranslate">periods</code> parameter is &lt; 1000000.</p> <p dir="auto">So when I hit it with 1000000:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; pr = pd.period_range(start='2017-01-01 00:00:00', periods=1000000, freq='T') &gt;&gt;&gt; df = pd.DataFrame({&quot;value&quot;: range(1000000)}, index=pr) &gt;&gt;&gt; df.loc[:&quot;2018-01-01 00:00&quot;]"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">pr</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">period_range</span>(<span class="pl-s1">start</span><span class="pl-c1">=</span><span class="pl-s">'2017-01-01 00:00:00'</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-c1">1000000</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'T'</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">"value"</span>: <span class="pl-en">range</span>(<span class="pl-c1">1000000</span>)}, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">pr</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[:<span class="pl-s">"2018-01-01 00:00"</span>]</pre></div> <p dir="auto">Error occurs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexing.py&quot;, line 1373, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexing.py&quot;, line 1581, in _getitem_axis return self._get_slice_axis(key, axis=axis) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexing.py&quot;, line 1406, in _get_slice_axis slice_obj.step, kind=self.name) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py&quot;, line 3454, in slice_indexer kind=kind) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py&quot;, line 3661, in slice_locs end_slice = self.get_slice_bound(end, 'right', kind) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py&quot;, line 3585, in get_slice_bound slc = self._get_loc_only_exact_matches(label) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py&quot;, line 3554, in _get_loc_only_exact_matches return self.get_loc(key) File &quot;/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/period.py&quot;, line 812, in get_loc return self._engine.get_loc(key) File &quot;pandas/_libs/index.pyx&quot;, line 117, in pandas._libs.index.IndexEngine.get_loc File &quot;pandas/_libs/index.pyx&quot;, line 125, in pandas._libs.index.IndexEngine.get_loc File &quot;pandas/_libs/index.pyx&quot;, line 365, in pandas._libs.index._bin_search File &quot;pandas/_libs/period.pyx&quot;, line 717, in pandas._libs.period._Period.__richcmp__ TypeError: Cannot compare type 'Period' with type 'int64'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexing.py", line 1373, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexing.py", line 1581, in _getitem_axis return self._get_slice_axis(key, axis=axis) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexing.py", line 1406, in _get_slice_axis slice_obj.step, kind=self.name) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3454, in slice_indexer kind=kind) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3661, in slice_locs end_slice = self.get_slice_bound(end, 'right', kind) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3585, in get_slice_bound slc = self._get_loc_only_exact_matches(label) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3554, in _get_loc_only_exact_matches return self.get_loc(key) File "/Users/violetvivirand/.local/share/virtualenvs/rewind-imputation-UYiSILLm/lib/python3.6/site-packages/pandas/core/indexes/period.py", line 812, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 125, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 365, in pandas._libs.index._bin_search File "pandas/_libs/period.pyx", line 717, in pandas._libs.period._Period.__richcmp__ TypeError: Cannot compare type 'Period' with type 'int64' </code></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">Don't know what causes the error when the amount of PeriodIndex is more than 1000000. It should work without any problem, isn't it <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji><g-emoji class="g-emoji" alias="question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2753.png">❓</g-emoji></p> <h4 dir="auto">Expected Output</h4> <p dir="auto">It should returns the data from <strong>2017-01-01 00:00</strong> to <strong>2018-01-01 00:00</strong>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" value 2017-01-01 00:00 0 2017-01-01 00:01 1 2017-01-01 00:02 2 ... 2017-12-31 23:59 525599 2018-01-01 00:00 525600"><pre class="notranslate"><code class="notranslate"> value 2017-01-01 00:00 0 2017-01-01 00:01 1 2017-01-01 00:02 2 ... 2017-12-31 23:59 525599 2018-01-01 00:00 525600 </code></pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 3.6.0.final.0<br> python-bits: 64<br> OS: Darwin<br> OS-release: 16.7.0<br> machine: x86_64<br> processor: i386<br> byteorder: little<br> LC_ALL: None<br> LANG: zh_TW.UTF-8<br> LOCALE: zh_TW.UTF-8</p> <p dir="auto">pandas: 0.21.0<br> pytest: None<br> pip: 9.0.1<br> setuptools: 36.6.0<br> Cython: None<br> numpy: 1.13.3<br> scipy: None<br> pyarrow: None<br> xarray: None<br> IPython: 6.2.1<br> sphinx: None<br> patsy: None<br> dateutil: 2.6.1<br> pytz: 2017.3<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> feather: None<br> matplotlib: None<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: None<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: None<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">use max_seq_len, after setting default to close <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="13359426" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/3391" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/3391/hovercard" href="https://github.com/pandas-dev/pandas/issues/3391">#3391</a>.<br> also duplicate behaviour of "..." in other situations, rather then<br> always printing 6 items</p>
0
<p dir="auto">by <strong>julien.laffaye</strong>:</p> <pre class="notranslate">What steps will reproduce the problem? 1. run make.bash What is the expected output? A successful compilation What do you see instead? Segfault Which compiler are you using (5g, 6g, 8g, gccgo)? 8g Which operating system are you using? FreeBSD Which version are you using? (run 'go version') go1 Please provide any additional information below. GOARCH: 386 ; amd64 is just fine. On FreeBSD 9.0, go_boostrap segfault (every time). On FreeBSD 8.2, I got (not 100% reproducible) : runtime: split stack overflow: 0x382f8cb0 &lt; 0x582f6000 throw: runtime: split stack overflow goroutine 1 [running]: goroutine 2 [syscall]: created by runtime.main /work/a/ports/lang/go/work/go/src/pkg/runtime/proc.c:221</pre> <p dir="auto">Attachments:</p> <ol dir="auto"> <li><a href="https://storage.googleapis.com/go-attachment/3452/0/go-1_freebsd_9.log" rel="nofollow">go-1_freebsd_9.log</a> (4430 bytes)</li> </ol>
<pre class="notranslate">What steps will reproduce the problem? 1. Try to build a project that uses goyacc and Makefiles with "go build" What is the expected output? goyacc generates a .go from a .y, then the resulting .go is compiled and linked in to the final binary. What do you see instead? Compiler and linker errors about missing symbols. Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? Which revision are you using? (hg identify) Ubuntu lucid with the golang-weekly 2011-12-22-1~11701~lucid1</pre>
0
<p dir="auto">Received this error. For some additional info, I am only using the <code class="notranslate">std/path</code> module and some function from the <code class="notranslate">Deno</code> global.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550/src/libcore/cell.rs:878:9 stack backtrace: 0: backtrace::backtrace::libunwind::trace at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86 1: backtrace::backtrace::trace_unsynchronized at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66 2: std::sys_common::backtrace::_print_fmt at src/libstd/sys_common/backtrace.rs:78 3: &lt;std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display&gt;::fmt at src/libstd/sys_common/backtrace.rs:59 4: core::fmt::write at src/libcore/fmt/mod.rs:1063 5: std::io::Write::write_fmt at src/libstd/io/mod.rs:1426 6: std::sys_common::backtrace::_print at src/libstd/sys_common/backtrace.rs:62 7: std::sys_common::backtrace::print at src/libstd/sys_common/backtrace.rs:49 8: std::panicking::default_hook::{{closure}} at src/libstd/panicking.rs:204 9: std::panicking::default_hook at src/libstd/panicking.rs:224 10: std::panicking::rust_panic_with_hook at src/libstd/panicking.rs:470 11: rust_begin_unwind at src/libstd/panicking.rs:378 12: core::panicking::panic_fmt at src/libcore/panicking.rs:85 13: core::option::expect_none_failed at src/libcore/option.rs:1211 14: deno_core::bindings::send 15: &lt;extern &quot;C&quot; fn(A0) .&gt; R as rusty_v8::support::CFnFrom&lt;F&gt;&gt;::mapping::c_fn 16: _ZN2v88internal25FunctionCallbackArguments4CallENS0_15CallHandlerInfoE 17: _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEESA_NS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EENS0_16BuiltinArgumentsE 18: _ZN2v88internalL26Builtin_Impl_HandleApiCallENS0_16BuiltinArgumentsEPNS0_7IsolateE 19: Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. fatal runtime error: failed to initiate panic, error 5 Aborted"><pre class="notranslate"><code class="notranslate">thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550/src/libcore/cell.rs:878:9 stack backtrace: 0: backtrace::backtrace::libunwind::trace at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86 1: backtrace::backtrace::trace_unsynchronized at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66 2: std::sys_common::backtrace::_print_fmt at src/libstd/sys_common/backtrace.rs:78 3: &lt;std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display&gt;::fmt at src/libstd/sys_common/backtrace.rs:59 4: core::fmt::write at src/libcore/fmt/mod.rs:1063 5: std::io::Write::write_fmt at src/libstd/io/mod.rs:1426 6: std::sys_common::backtrace::_print at src/libstd/sys_common/backtrace.rs:62 7: std::sys_common::backtrace::print at src/libstd/sys_common/backtrace.rs:49 8: std::panicking::default_hook::{{closure}} at src/libstd/panicking.rs:204 9: std::panicking::default_hook at src/libstd/panicking.rs:224 10: std::panicking::rust_panic_with_hook at src/libstd/panicking.rs:470 11: rust_begin_unwind at src/libstd/panicking.rs:378 12: core::panicking::panic_fmt at src/libcore/panicking.rs:85 13: core::option::expect_none_failed at src/libcore/option.rs:1211 14: deno_core::bindings::send 15: &lt;extern "C" fn(A0) .&gt; R as rusty_v8::support::CFnFrom&lt;F&gt;&gt;::mapping::c_fn 16: _ZN2v88internal25FunctionCallbackArguments4CallENS0_15CallHandlerInfoE 17: _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEESA_NS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EENS0_16BuiltinArgumentsE 18: _ZN2v88internalL26Builtin_Impl_HandleApiCallENS0_16BuiltinArgumentsEPNS0_7IsolateE 19: Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. fatal runtime error: failed to initiate panic, error 5 Aborted </code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\workspace&gt;deno-1.0.3.exe Deno 1.0.3 exit using ctrl+d or close() &gt; crypto.getRandomValues(new Uint8Array(10)) Uint8Array(10) [ 255, 146, 102, 81, 25, 238, 144, 127, 185, 250 ] &gt; "><pre class="notranslate"><code class="notranslate">C:\workspace&gt;deno-1.0.3.exe Deno 1.0.3 exit using ctrl+d or close() &gt; crypto.getRandomValues(new Uint8Array(10)) Uint8Array(10) [ 255, 146, 102, 81, 25, 238, 144, 127, 185, 250 ] &gt; </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\workspace\deno&gt;deno Deno 1.0.4 exit using ctrl+d or close() &gt; crypto.getRandomValues(new Uint8Array(10)) thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550\src\libcore\cell.rs:878:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace C:\workspace\deno&gt;"><pre class="notranslate"><code class="notranslate">C:\workspace\deno&gt;deno Deno 1.0.4 exit using ctrl+d or close() &gt; crypto.getRandomValues(new Uint8Array(10)) thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550\src\libcore\cell.rs:878:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace C:\workspace\deno&gt; </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\workspace\deno&gt;set RUST_BACKTRACE=full&amp; deno Deno 1.0.4 exit using ctrl+d or close() &gt; crypto.getRandomValues(new Uint8Array(10)) thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550\src\libcore\cell.rs:878:9 stack backtrace: 0: 0x7ff7eaab92df - CrashForExceptionInNonABICompliantCodeRange 1: 0x7ff7eaada82b - CrashForExceptionInNonABICompliantCodeRange 2: 0x7ff7eaaaf09c - CrashForExceptionInNonABICompliantCodeRange 3: 0x7ff7eaabc96c - CrashForExceptionInNonABICompliantCodeRange 4: 0x7ff7eaabc5bf - CrashForExceptionInNonABICompliantCodeRange 5: 0x7ff7eaabd147 - CrashForExceptionInNonABICompliantCodeRange 6: 0x7ff7eaabcccf - CrashForExceptionInNonABICompliantCodeRange 7: 0x7ff7eaad9130 - CrashForExceptionInNonABICompliantCodeRange 8: 0x7ff7eaad8f83 - CrashForExceptionInNonABICompliantCodeRange 9: 0x7ff7e9fdd070 - &lt;unknown&gt; 10: 0x7ff7e9fcf8ab - &lt;unknown&gt; 11: 0x7ff7ea4731bb - CrashForExceptionInNonABICompliantCodeRange 12: 0x7ff7ea4725f8 - CrashForExceptionInNonABICompliantCodeRange 13: 0x7ff7ea471b46 - CrashForExceptionInNonABICompliantCodeRange 14: 0x7ff7ea471767 - CrashForExceptionInNonABICompliantCodeRange 15: 0x7ff7ea2842fc - CrashForExceptionInNonABICompliantCodeRange 16: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 17: 0x7ff7ea20ff1f - CrashForExceptionInNonABICompliantCodeRange 18: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 19: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 20: 0x7ff7ea21421e - CrashForExceptionInNonABICompliantCodeRange 21: 0x7ff7ea213e0c - CrashForExceptionInNonABICompliantCodeRange 22: 0x7ff7ea0d57a7 - &lt;unknown&gt; 23: 0x7ff7ea0d4b2a - &lt;unknown&gt; 24: 0x7ff7ea003be3 - &lt;unknown&gt; 25: 0x7ff7e9ffb6a1 - &lt;unknown&gt; 26: 0x7ff7e9fdde9d - &lt;unknown&gt; 27: 0x7ff7e9fcf71b - &lt;unknown&gt; 28: 0x7ff7ea4731bb - CrashForExceptionInNonABICompliantCodeRange 29: 0x7ff7ea4725f8 - CrashForExceptionInNonABICompliantCodeRange 30: 0x7ff7ea471b46 - CrashForExceptionInNonABICompliantCodeRange 31: 0x7ff7ea471767 - CrashForExceptionInNonABICompliantCodeRange 32: 0x7ff7ea2842fc - CrashForExceptionInNonABICompliantCodeRange 33: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 34: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 35: 0x7ff7ea245a51 - CrashForExceptionInNonABICompliantCodeRange 36: 0x7ff7ea2c930f - CrashForExceptionInNonABICompliantCodeRange 37: 0x7ff7ea237dad - CrashForExceptionInNonABICompliantCodeRange 38: 0x7ff7ea21410c - CrashForExceptionInNonABICompliantCodeRange 39: 0x7ff7ea0d56de - &lt;unknown&gt; 40: 0x7ff7ea0d5dac - &lt;unknown&gt; 41: 0x7ff7ea0d5eaf - &lt;unknown&gt; 42: 0x7ff7ea199b28 - CrashForExceptionInNonABICompliantCodeRange 43: 0x7ff7ea199905 - CrashForExceptionInNonABICompliantCodeRange 44: 0x7ff7ea035ae1 - &lt;unknown&gt; 45: 0x7ff7ea010321 - &lt;unknown&gt; 46: 0x7ff7e9ffb436 - &lt;unknown&gt; 47: 0x7ff7e9fb9380 - &lt;unknown&gt; 48: 0x7ff7e9fb7ce0 - &lt;unknown&gt; 49: 0x7ff7e9fc3179 - &lt;unknown&gt; 50: 0x7ff7e98121fa - &lt;unknown&gt; 51: 0x7ff7e96f250e - &lt;unknown&gt; 52: 0x7ff7e9787669 - &lt;unknown&gt; 53: 0x7ff7e9741a54 - &lt;unknown&gt; 54: 0x7ff7e98c16f5 - &lt;unknown&gt; 55: 0x7ff7e9764f20 - &lt;unknown&gt; 56: 0x7ff7e9948d26 - &lt;unknown&gt; 57: 0x7ff7eaabcb67 - CrashForExceptionInNonABICompliantCodeRange 58: 0x7ff7eaacab92 - CrashForExceptionInNonABICompliantCodeRange 59: 0x7ff7eaabd388 - CrashForExceptionInNonABICompliantCodeRange 60: 0x7ff7e9768da7 - &lt;unknown&gt; 61: 0x7ff7eaaeaf44 - CrashForExceptionInNonABICompliantCodeRange 62: 0x7ffd92e77bd4 - BaseThreadInitThunk 63: 0x7ffd9398ce51 - RtlUserThreadStart C:\workspace\deno&gt;"><pre class="notranslate"><code class="notranslate">C:\workspace\deno&gt;set RUST_BACKTRACE=full&amp; deno Deno 1.0.4 exit using ctrl+d or close() &gt; crypto.getRandomValues(new Uint8Array(10)) thread 'main' panicked at 'already borrowed: BorrowMutError', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550\src\libcore\cell.rs:878:9 stack backtrace: 0: 0x7ff7eaab92df - CrashForExceptionInNonABICompliantCodeRange 1: 0x7ff7eaada82b - CrashForExceptionInNonABICompliantCodeRange 2: 0x7ff7eaaaf09c - CrashForExceptionInNonABICompliantCodeRange 3: 0x7ff7eaabc96c - CrashForExceptionInNonABICompliantCodeRange 4: 0x7ff7eaabc5bf - CrashForExceptionInNonABICompliantCodeRange 5: 0x7ff7eaabd147 - CrashForExceptionInNonABICompliantCodeRange 6: 0x7ff7eaabcccf - CrashForExceptionInNonABICompliantCodeRange 7: 0x7ff7eaad9130 - CrashForExceptionInNonABICompliantCodeRange 8: 0x7ff7eaad8f83 - CrashForExceptionInNonABICompliantCodeRange 9: 0x7ff7e9fdd070 - &lt;unknown&gt; 10: 0x7ff7e9fcf8ab - &lt;unknown&gt; 11: 0x7ff7ea4731bb - CrashForExceptionInNonABICompliantCodeRange 12: 0x7ff7ea4725f8 - CrashForExceptionInNonABICompliantCodeRange 13: 0x7ff7ea471b46 - CrashForExceptionInNonABICompliantCodeRange 14: 0x7ff7ea471767 - CrashForExceptionInNonABICompliantCodeRange 15: 0x7ff7ea2842fc - CrashForExceptionInNonABICompliantCodeRange 16: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 17: 0x7ff7ea20ff1f - CrashForExceptionInNonABICompliantCodeRange 18: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 19: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 20: 0x7ff7ea21421e - CrashForExceptionInNonABICompliantCodeRange 21: 0x7ff7ea213e0c - CrashForExceptionInNonABICompliantCodeRange 22: 0x7ff7ea0d57a7 - &lt;unknown&gt; 23: 0x7ff7ea0d4b2a - &lt;unknown&gt; 24: 0x7ff7ea003be3 - &lt;unknown&gt; 25: 0x7ff7e9ffb6a1 - &lt;unknown&gt; 26: 0x7ff7e9fdde9d - &lt;unknown&gt; 27: 0x7ff7e9fcf71b - &lt;unknown&gt; 28: 0x7ff7ea4731bb - CrashForExceptionInNonABICompliantCodeRange 29: 0x7ff7ea4725f8 - CrashForExceptionInNonABICompliantCodeRange 30: 0x7ff7ea471b46 - CrashForExceptionInNonABICompliantCodeRange 31: 0x7ff7ea471767 - CrashForExceptionInNonABICompliantCodeRange 32: 0x7ff7ea2842fc - CrashForExceptionInNonABICompliantCodeRange 33: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 34: 0x7ff7ea216755 - CrashForExceptionInNonABICompliantCodeRange 35: 0x7ff7ea245a51 - CrashForExceptionInNonABICompliantCodeRange 36: 0x7ff7ea2c930f - CrashForExceptionInNonABICompliantCodeRange 37: 0x7ff7ea237dad - CrashForExceptionInNonABICompliantCodeRange 38: 0x7ff7ea21410c - CrashForExceptionInNonABICompliantCodeRange 39: 0x7ff7ea0d56de - &lt;unknown&gt; 40: 0x7ff7ea0d5dac - &lt;unknown&gt; 41: 0x7ff7ea0d5eaf - &lt;unknown&gt; 42: 0x7ff7ea199b28 - CrashForExceptionInNonABICompliantCodeRange 43: 0x7ff7ea199905 - CrashForExceptionInNonABICompliantCodeRange 44: 0x7ff7ea035ae1 - &lt;unknown&gt; 45: 0x7ff7ea010321 - &lt;unknown&gt; 46: 0x7ff7e9ffb436 - &lt;unknown&gt; 47: 0x7ff7e9fb9380 - &lt;unknown&gt; 48: 0x7ff7e9fb7ce0 - &lt;unknown&gt; 49: 0x7ff7e9fc3179 - &lt;unknown&gt; 50: 0x7ff7e98121fa - &lt;unknown&gt; 51: 0x7ff7e96f250e - &lt;unknown&gt; 52: 0x7ff7e9787669 - &lt;unknown&gt; 53: 0x7ff7e9741a54 - &lt;unknown&gt; 54: 0x7ff7e98c16f5 - &lt;unknown&gt; 55: 0x7ff7e9764f20 - &lt;unknown&gt; 56: 0x7ff7e9948d26 - &lt;unknown&gt; 57: 0x7ff7eaabcb67 - CrashForExceptionInNonABICompliantCodeRange 58: 0x7ff7eaacab92 - CrashForExceptionInNonABICompliantCodeRange 59: 0x7ff7eaabd388 - CrashForExceptionInNonABICompliantCodeRange 60: 0x7ff7e9768da7 - &lt;unknown&gt; 61: 0x7ff7eaaeaf44 - CrashForExceptionInNonABICompliantCodeRange 62: 0x7ffd92e77bd4 - BaseThreadInitThunk 63: 0x7ffd9398ce51 - RtlUserThreadStart C:\workspace\deno&gt; </code></pre></div>
1
<p dir="auto">For English only, other languages we will close it directly.</p> <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p> <h3 dir="auto">Which version of Sharding-Sphere do you using?</h3> <p dir="auto">docker image shardingsphere/sharding-proxy:latest</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:170)<br> at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)<br> at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:297)<br> ... 12 more<br> Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'autoCommit' on class: io.shardingsphere.core.yaml.sharding.DataSourceParameter<br> at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:132)<br> at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:121)<br> at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:322)<br> at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)</p> <h3 dir="auto">Steps to reproduce the behavior</h3> <p dir="auto">dataSources:<br> ds_master:<br> url: jdbc:mysql://localhost:3306/ds_master<br> username: root<br> password:<br> autoCommit: true<br> connectionTimeout: 30000<br> idleTimeout: 60000<br> maxLifetime: 1800000<br> maximumPoolSize: 65</p> <p dir="auto">ds_slave0:<br> url: jdbc:mysql://localhost:3306/ds_slave0<br> username: root<br> password:<br> autoCommit: true<br> connectionTimeout: 30000<br> idleTimeout: 60000<br> maxLifetime: 1800000<br> maximumPoolSize: 65</p> <p dir="auto">ds_slave1: !!org.apache.commons.dbcp.BasicDataSource<br> driverClassName: com.mysql.jdbc.Driver<br> url: jdbc:mysql://localhost:3306/ds_slave1<br> username: root<br> password:<br> autoCommit: true<br> connectionTimeout: 30000<br> idleTimeout: 60000<br> maxLifetime: 1800000<br> maximumPoolSize: 65</p> <p dir="auto">masterSlaveRule:<br> name: ds_ms<br> masterDataSourceName: ds_master<br> slaveDataSourceNames:<br> - ds_slave0<br> - ds_slave1</p> <p dir="auto">props:<br> proxy.mode: MEMORY_STRICTLY<br> proxy.transaction.mode: NONE<br> proxy.max.working.threads: 16<br> sql.show: false</p> <p dir="auto">proxyAuthority:<br> username: root<br> password:</p> <p dir="auto">docker run -d --name sharding-proxy -v /root/sharding-proxy:/opt/sharding-proxy/conf --env JVM_OPTS="-Djava.awt.headless=true" --env PORT=3308 -p 3308:3308 shardingsphere/sharding-proxy:latest</p> <h3 dir="auto">For bug report, please <em>MUST</em> provide the reproduce example codes (such as a github link).</h3>
<p dir="auto">Use a string sharding column , suppose the sharding column value is "abcd";<br> When use sharding-jdbc 3.1.0 , found sharding value pass to ShardingStrategy.doSharding() was a integer value : -1 .<br> But use version 2.0.3 , the sharding value is original value : "abcd"。</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=matsev" rel="nofollow">Mattias Severson</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9832?redirect=false" rel="nofollow">SPR-9832</a></strong> and commented</p> <p dir="auto">The RestTemplate erroneously infers "0" for an empty string values.</p> <ol dir="auto"> <li>Execute the attached test RestTemplateTest using the attached pom.xml file.</li> <li>The test fails, the response from the RestTemplate is {"lhs":"1 U.S. dollar","rhs":"1 U.S. dollar","error":"0","icc":true}</li> </ol> <p dir="auto">For comparison, change the spring version to any 3.0.x version, or perform a request to <a href="http://www.google.com/ig/calculator?q=1USD=?EUR" rel="nofollow">http://www.google.com/ig/calculator?q=1USD=?EUR</a> from a browser. The response is {lhs: "1 U.S. dollar",rhs: "0.774833411 Euros",error: "",icc: true}</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.1 RC1, 3.1.2</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/20524/pom.xml" rel="nofollow">pom.xml</a> (<em>2.74 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/20525/RestTemplateTest.java" rel="nofollow">RestTemplateTest.java</a> (<em>1.02 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398154674" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14603" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14603/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14603">#14603</a> UriComponentsBuilder incorrectly disallows "=" as query parameter value (<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="398153232" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14424" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14424/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14424">#14424</a> RestTemplate fails to correctly parse some HTTP URI parameters (<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="398150979" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14109" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14109/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14109">#14109</a> UriComponentsBuilder.query(String) does not always match properly the query (<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/0721146b14e3df3bde3e6e8f2a871bb0b995ef4f/hovercard" href="https://github.com/spring-projects/spring-framework/commit/0721146b14e3df3bde3e6e8f2a871bb0b995ef4f"><tt>0721146</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/88906d271bc25105d303c4de839aac5422617ab1/hovercard" href="https://github.com/spring-projects/spring-framework/commit/88906d271bc25105d303c4de839aac5422617ab1"><tt>88906d2</tt></a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cbeams" rel="nofollow">Chris Beams</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9669?redirect=false" rel="nofollow">SPR-9669</a></strong> and commented</p> <p dir="auto">ASM 4.0 was released in Oct 2011 to address Java 7 bytecode compatibility, particularly with regard to invokedynamic <a href="http://mail.ow2.org/wws/arc/asm/2011-10/msg00025.html" rel="nofollow">1</a>.</p> <p dir="auto">Certain public API changes were made in the process. Upgrade Spring's own internal repackaging of ASM to ensure users don't run into problems with Java 7 classes. This is most likely to cause problems in conjunction with Spring's component-scanning functionality, so this is high priority.</p> <p dir="auto">The repackaged <code class="notranslate">org.springframework.asm</code> classes are currently based on ASM 2.2.3, which is now several generations behind. Here are the differences between APIs across those generations:</p> <p dir="auto"><code class="notranslate">2.2.3-&gt; 3.2</code>: <a href="http://asm.ow2.org/jdiff223to32/changes.html" rel="nofollow">http://asm.ow2.org/jdiff223to32/changes.html</a><br> <code class="notranslate">3.2 -&gt; 3.3</code>: <a href="http://asm.ow2.org/jdiff32to33/changes.html" rel="nofollow">http://asm.ow2.org/jdiff32to33/changes.html</a><br> <code class="notranslate">3.3 -&gt; 3.4</code>: <a href="http://asm.ow2.org/jdiff33to40/changes.html" rel="nofollow">http://asm.ow2.org/jdiff33to40/changes.html</a></p> <p dir="auto">CGLIB 3.0 was released on May 25th, 2012 <a href="http://cglib.cvs.sourceforge.net/viewvc/cglib/cglib/build.xml?revision=1.56&amp;view=markup" rel="nofollow">2</a> in order to upgrade its dependency on ASM to 4.0. This also involved some API changes. Upgrade Spring's dependency on CGLIB (currently at 2.2) to 3.0. Impact may or may not be significant, but should not have external impact at the API level (because we do not expose CGLIB APIs). It will be important to advise users as to whether CGLIB 3.0 is the new lower bound supported by Spring as of 3.2 GA, or if 2.2 is still supported (with caveats about Java 7 support). This depends again on the extent of internal API changes necessary to support the upgrade.</p> <hr> <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="398106989" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12142" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12142/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12142">#12142</a> <code class="notranslate">@Configuration</code> with AspectJ instead of CGLIB</li> </ul>
0
<p dir="auto">Hi,</p> <p dir="auto">Since the children of a form are stored in an <code class="notranslate">array()</code> in the <code class="notranslate">FormBuilder</code>, the order of fields when rendering of a form in the view <strong>using only <code class="notranslate">form_widget(form)</code></strong> is determined by the way you added your fields in your <code class="notranslate">FormType</code>.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php public function buildForm(FormBuilderInterface $builder, array $options) { $builder -&gt;add('field1', 'text') -&gt;add('field2', 'text'); // and so on... }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">buildForm</span>(<span class="pl-smi"><span class="pl-smi">FormBuilderInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>builder</span>, <span class="pl-smi">array</span> <span class="pl-s1"><span class="pl-c1">$</span>options</span>) { <span class="pl-s1"><span class="pl-c1">$</span>builder</span> -&gt;<span class="pl-en">add</span>(<span class="pl-s">'field1'</span>, <span class="pl-s">'text'</span>) -&gt;<span class="pl-en">add</span>(<span class="pl-s">'field2'</span>, <span class="pl-s">'text'</span>); <span class="pl-c">// and so on...</span> }</pre></div> <p dir="auto"><strong>The problem is :</strong> when using an <code class="notranslate">EventSubscriber</code> (like <code class="notranslate">preSetData</code>) in order to add or some fields in your form, you cannot choose where you want to add these fields.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php public function preSetData(DataEvent $event) { $data = $event-&gt;getData(); $form = $event-&gt;getForm(); if (null !== $data) { $form -&gt;add($this-&gt;factory-&gt;createNamed('field3', 'text')) -&gt;add($this-&gt;factory-&gt;createNamed('field4', 'text')); // and so on } }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">preSetData</span>(<span class="pl-smi"><span class="pl-smi">DataEvent</span></span> <span class="pl-s1"><span class="pl-c1">$</span>event</span>) { <span class="pl-s1"><span class="pl-c1">$</span>data</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-&gt;<span class="pl-en">getData</span>(); <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-&gt;<span class="pl-en">getForm</span>(); <span class="pl-k">if</span> (<span class="pl-c1">null</span> !== <span class="pl-s1"><span class="pl-c1">$</span>data</span>) { <span class="pl-s1"><span class="pl-c1">$</span>form</span> -&gt;<span class="pl-en">add</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">factory</span>-&gt;<span class="pl-en">createNamed</span>(<span class="pl-s">'field3'</span>, <span class="pl-s">'text'</span>)) -&gt;<span class="pl-en">add</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">factory</span>-&gt;<span class="pl-en">createNamed</span>(<span class="pl-s">'field4'</span>, <span class="pl-s">'text'</span>)); <span class="pl-c">// and so on</span> } }</pre></div> <p dir="auto">This example will render the form in this order :</p> <ul dir="auto"> <li>field3</li> <li>field4</li> <li>field1</li> <li>field2</li> </ul> <p dir="auto">In my case it's really annoying because I can't modify the view. The redering of my forms is generic and done <strong>only using <code class="notranslate">form_widget(form)</code></strong>.</p> <p dir="auto">So, is there any way to specify the order of the fields when using an <code class="notranslate">EventSubscriber</code> ?</p>
<p dir="auto">Functionality request.</p> <p dir="auto">It would be great if you could specify the order of the fields when using the following function.</p> <p dir="auto">{{ form_rest(form) }}</p> <p dir="auto">This would allow you to render all the fields without having to use the field_row etc.</p> <p dir="auto">This would mean that if you had subscriber fields (automatically added to the bottom of the fields) you could specify the order in the form_rest.</p>
1
<h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: com.alibaba:dubbo-rpc-thrift:jar:2.6.2</li> <li>Operating System version: Windows</li> <li>Java version: Jdk 1.7</li> </ul> <h3 dir="auto">Descirption</h3> <p dir="auto">Hi, there are two versions of <strong>org.apache.httpcomponents:httpcore:jar</strong> exist in com.alibaba:dubbo-rpc-thrift, and only <strong>org.apache.httpcomponents:httpcore:jar:4.1.3</strong> can be loaded during packaging process based on "nearest wins strategy". However, <strong>class org.apache.http.util.Args</strong> only included in <strong>org.apache.httpcomponents:httpcore:jar:4.4.6:compile</strong> which is shadowed by Maven. When your project referencing the missing class, java.lang.NoClassDefFoundError will be thrown.</p> <h3 dir="auto">Dependency tree</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="com.alibaba:dubbo-rpc-thrift:jar:2.6.2 +- com.alibaba:dubbo-rpc-api:jar:2.6.2:compile +- org.apache.thrift:libthrift:jar:0.8.0:compile | +- org.slf4j:slf4j-api:jar:1.7.25:compile (version managed from 1.5.8) | +- commons-lang:commons-lang:jar:2.5:compile | +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile (version managed from 4.1.2) | | +- (org.apache.httpcomponents:httpcore:jar:4.4.6:compile - **omitted for conflict with 4.1.3**) | | +- (commons-logging:commons-logging:jar:1.2:compile - version managed from 1.1.1; omitted for duplicate) | | \- commons-codec:commons-codec:jar:1.9:compile | \- org.apache.httpcomponents:httpcore:jar:4.1.3:compile"><pre class="notranslate"><code class="notranslate">com.alibaba:dubbo-rpc-thrift:jar:2.6.2 +- com.alibaba:dubbo-rpc-api:jar:2.6.2:compile +- org.apache.thrift:libthrift:jar:0.8.0:compile | +- org.slf4j:slf4j-api:jar:1.7.25:compile (version managed from 1.5.8) | +- commons-lang:commons-lang:jar:2.5:compile | +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile (version managed from 4.1.2) | | +- (org.apache.httpcomponents:httpcore:jar:4.4.6:compile - **omitted for conflict with 4.1.3**) | | +- (commons-logging:commons-logging:jar:1.2:compile - version managed from 1.1.1; omitted for duplicate) | | \- commons-codec:commons-codec:jar:1.9:compile | \- org.apache.httpcomponents:httpcore:jar:4.1.3:compile </code></pre></div> <h3 dir="auto">Stack trace</h3> <p dir="auto">Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/util/Args<br> at org.apache.http.impl.conn.Wire.output(Wire.java:110)<br> at org.apache.http.impl.conn.LoggingOutputStream.write(LoggingOutputStream.java:73)<br> at com.alibaba.dubbo.rpc.protocol.thrift.io.RandomAccessByteArrayOutputStream.writeTo(RandomAccessByteArrayOutputStream.java:93)<br> at com.alibaba.dubbo.rpc.protocol.thrift.io.RandomAccessByteArrayOutputStreamTest.main(RandomAccessByteArrayOutputStreamTest.java:11)<br> Caused by: java.lang.ClassNotFoundException: org.apache.http.util.Args<br> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)<br> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)<br> ... 4 more</p> <h3 dir="auto">Suggested solution</h3> <p dir="auto">I found that you only deal with the dependency conflict issue for httpclient in version mangement file.<br> Could you please set the version of httpcore to 4.4.6 (dependencyManagement) in pom.xml?</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.4</li> <li>Operating System version: windows10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Actual Result</h3> <p dir="auto">How can I use dubbo2.7.4 in maven project?Which repository can provider 2.7.4, and how to configure in the pom.xml and setting.xml? Thanks :)</p>
0
<p dir="auto">The default title for my powershell tabs is so long that (a) it is cut off and (b) the 'X' to close the tab is not displayed, for example:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14079927/62626759-14af2900-b8f6-11e9-83df-85906d423665.png"><img src="https://user-images.githubusercontent.com/14079927/62626759-14af2900-b8f6-11e9-83df-85906d423665.png" alt="wt-title" style="max-width: 100%;"></a></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.239] Windows Terminal version (if applicable): 0.3.2171.0 Any other software? no"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.239] Windows Terminal version (if applicable): 0.3.2171.0 Any other software? no </code></pre></div> <p dir="auto">I did edit the settings to make two changes: The point size for all fonts is now 12 instead of 10 and CMD is the default instead of powershell.</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Open a powershell tab in Windows Terminal</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">At a minimum, I would expect the tab close control to remain visible or at least a click where the control <em>belongs</em> should close the tab.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The long path appears to overwrite the close tab control and prevent any clicks from reaching the close tab control.</p>
<h1 dir="auto">Description of the new feature/enhancement</h1> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">Please add a find box as in cmd.exe:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32870803/68366089-65822800-0158-11ea-8567-edcf2a29be03.png"><img src="https://user-images.githubusercontent.com/32870803/68366089-65822800-0158-11ea-8567-edcf2a29be03.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">A more advanced find box will be helpful just as in Notepad++:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32870803/68366120-7c287f00-0158-11ea-96a9-6930742dc9a3.png"><img src="https://user-images.githubusercontent.com/32870803/68366120-7c287f00-0158-11ea-96a9-6930742dc9a3.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">User should be able to:</p> <ol dir="auto"> <li>Option to search using regular expression.</li> <li>Option to search in current tab only.</li> <li>Option to search across all the tabs.</li> <li>Option to search across tabs of similar type (e.g. across Ubuntu tabs only),</li> <li>Option to get the count of matches etc.</li> </ol>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/[email protected]" rel="nofollow">Mohan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4105?redirect=false" rel="nofollow">SPR-4105</a></strong> and commented</p> <p dir="auto">De serializing org.springframework.webflow.execution.FlowSessionStatus throws following error.</p> <p dir="auto">Exception in thread "main" java.lang.IllegalArgumentException: Unsupported labeled enumeration type 'class org.springframework.core.enums.StaticLabeledEnum': make sure you've properly defined this enumeration: if it's static, are the class and its fields public/static/final?<br> at org.springframework.core.enums.AbstractCachingLabeledEnumResolver$1.create(AbstractCachingLabeledEnumResolver.java:53)<br> at org.springframework.util.CachingMapDecorator.get(CachingMapDecorator.java:152)<br> at org.springframework.core.enums.AbstractCachingLabeledEnumResolver.getLabeledEnumMap(AbstractCachingLabeledEnumResolver.java:74)<br> at org.springframework.core.enums.AbstractCachingLabeledEnumResolver.getLabeledEnumByCode(AbstractCachingLabeledEnumResolver.java:79)<br> at org.springframework.core.enums.StaticLabeledEnum.readResolve(StaticLabeledEnum.java:97)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:585)<br> at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1033)<br> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1727)<br> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)<br> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)</p> <p dir="auto">I think is issue is in getType method org.springframework.core.enums.AbstractLabeledEnum , it should be<br> public Class getType() {<br> final Class declaringClass = getClass().getDeclaringClass();<br> return (declaringClass == null) ? getClass() : getClass().getSuperclass(); // instead of return (declaringClass != null) ? getClass() : getClass().getSuperclass();<br> }</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5 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="398082641" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8784" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8784/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8784">#8784</a> Web Flow deserialization problem on Spring 2.5 RC2 - was working on Spring 2.0.7 (<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="398082352" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8745" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8745/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8745">#8745</a> enum comparsion fails</li> </ul> <p dir="auto">1 votes, 2 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=costin" rel="nofollow">Costin Leau</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3238?redirect=false" rel="nofollow">SPR-3238</a></strong> and commented</p> <p dir="auto">For some reason, when using AbstractJapTests and maven, one gets a StackOverFlow:</p> <p dir="auto">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entity<br> ManagerFactory' defined in class path resource [jpa-beans.xml]: Invocation of init method fail<br> ed; nested exception is java.lang.StackOverflowError<br> Caused by: java.lang.StackOverflowError<br> at java.lang.Character.toLowerCase(Character.java:4204)<br> at java.lang.Character.toLowerCase(Character.java:4171)<br> at java.lang.String.toLowerCase(String.java:2219)<br> at java.lang.String.toLowerCase(String.java:2296)<br> at org.apache.xerces.util.URI.setScheme(URI.java:908)<br> at org.apache.xerces.util.URI.initializeScheme(URI.java:576)<br> at org.apache.xerces.util.URI.initialize(URI.java:400)<br> at org.apache.xerces.util.URI.&lt;init&gt;(URI.java:211)<br> at org.apache.xerces.util.URI.&lt;init&gt;(URI.java:195)<br> at org.apache.xerces.impl.XMLEntityManager.expandSystemId(XMLEntityManager.java:1140)<br> at org.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:581)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.xsdToXMLInputSource(XMLSchemaLoader.java:<br> 625)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.j<br> ava:580)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.j<br> ava:588)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.j<br> ava:588)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489)<br> at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.j<br> ava:588)</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 final</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="398076124" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7930" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7930/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7930">#7930</a> Maven leads to StackOverflowError for AbstractJpaTests (<em><strong>"duplicates"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398076124" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7930" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7930/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7930">#7930</a> Maven leads to StackOverflowError for AbstractJpaTests (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
0
<h3 dir="auto">Describe the bug</h3> <p dir="auto">Using SQLAlchemy with AWS Redshift (<a href="https://docs.aws.amazon.com/redshift/latest/mgmt/cluster-versions.html" rel="nofollow">1.0.47357</a>).</p> <p dir="auto">After upgrading to:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SQLAlchemy==2.0.6 psycopg2-binary==2.9.5"><pre class="notranslate"><code class="notranslate">SQLAlchemy==2.0.6 psycopg2-binary==2.9.5 </code></pre></div> <p dir="auto">I am getting:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter &quot;standard_conforming_strings&quot;"><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter "standard_conforming_strings" </code></pre></div> <p dir="auto">Tried connecting with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="connect_args = {'options': '-c standard_conforming_strings=off'} create_engine(self.connection_string, pool_pre_ping=True, connect_args=connect_args)"><pre class="notranslate"><code class="notranslate">connect_args = {'options': '-c standard_conforming_strings=off'} create_engine(self.connection_string, pool_pre_ping=True, connect_args=connect_args) </code></pre></div> <p dir="auto">as ChatGPT suggested, getting a different, but similar error message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at &quot;&lt;redshift-host&gt;&quot; (&lt;redshift-ip&gt;), port 5439 failed: FATAL: unrecognized configuration parameter &quot;standard_conforming_strings&quot;"><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "&lt;redshift-host&gt;" (&lt;redshift-ip&gt;), port 5439 failed: FATAL: unrecognized configuration parameter "standard_conforming_strings" </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python --version Python 3.9.16"><pre class="notranslate"><code class="notranslate">python --version Python 3.9.16 </code></pre></div> <h3 dir="auto">Optional link from <a href="https://docs.sqlalchemy.org" rel="nofollow">https://docs.sqlalchemy.org</a> which documents the behavior that is expected</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">SQLAlchemy Version in Use</h3> <p dir="auto">SQLAlchemy==2.0.6</p> <h3 dir="auto">DBAPI (i.e. the database driver)</h3> <p dir="auto">psycopg2-binary==2.9.5</p> <h3 dir="auto">Database Vendor and Major Version</h3> <p dir="auto">Redshift 1.0.47357</p> <h3 dir="auto">Python Version</h3> <p dir="auto">Python 3.9.16</p> <h3 dir="auto">Operating system</h3> <p dir="auto">OSX</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="create_engine(connection_string, pool_pre_ping=True) # or connect_args = {'options': '-cstandard_conforming_strings=off'} # or # connect_args = {'options': '-c standard_conforming_strings=off'} create_engine(connection_string, pool_pre_ping=True, connect_args=connect_args)"><pre class="notranslate"><span class="pl-en">create_engine</span>(<span class="pl-s1">connection_string</span>, <span class="pl-s1">pool_pre_ping</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-c"># or </span> <span class="pl-s1">connect_args</span> <span class="pl-c1">=</span> {<span class="pl-s">'options'</span>: <span class="pl-s">'-cstandard_conforming_strings=off'</span>} <span class="pl-c"># or</span> <span class="pl-c"># connect_args = {'options': '-c standard_conforming_strings=off'}</span> <span class="pl-en">create_engine</span>(<span class="pl-s1">connection_string</span>, <span class="pl-s1">pool_pre_ping</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">connect_args</span><span class="pl-c1">=</span><span class="pl-s1">connect_args</span>)</pre></div> <h3 dir="auto">Error</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1964, in _exec_single_context self.dialect.do_execute( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/default.py&quot;, line 748, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedObject: unrecognized configuration parameter &quot;standard_conforming_strings&quot; The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;/opt/homebrew/Cellar/[email protected]/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py&quot;, line 197, in _run_module_as_main return _run_code(code, main_globals, None, File &quot;/opt/homebrew/Cellar/[email protected]/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py&quot;, line 87, in _run_code exec(code, run_globals) File &quot;/src/.ve/lib/python3.9/site-packages/lru/decorators.py&quot;, line 132, in _lazy_cache_wrapper result = function(*args, **kwargs) File &quot;/src/mypackage/redshift.py&quot;, line 164, in tier1_partners rs.connect() File &quot;/src/.ve/lib/python3.9/site-packages/maa/db.py&quot;, line 69, in connect self._connection = self._engine.connect() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 3251, in connect return self._connection_cls(self) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 145, in __init__ self._dbapi_connection = engine.raw_connection() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 3275, in raw_connection return self.pool.connect() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py&quot;, line 455, in connect return _ConnectionFairy._checkout(self) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py&quot;, line 1271, in _checkout fairy = _ConnectionRecord.checkout(pool) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py&quot;, line 719, in checkout rec = pool._do_get() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/impl.py&quot;, line 169, in _do_get self._dec_overflow() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 147, in __exit__ raise exc_value.with_traceback(exc_tb) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/impl.py&quot;, line 166, in _do_get return self._create_connection() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py&quot;, line 396, in _create_connection return _ConnectionRecord(self) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py&quot;, line 681, in __init__ self.__connect() File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py&quot;, line 917, in __connect pool.dispatch.connect.for_modify( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/event/attr.py&quot;, line 473, in _exec_w_sync_on_first_run self(*args, **kw) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/event/attr.py&quot;, line 487, in __call__ fn(*args, **kw) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 1912, in go return once_fn(*arg, **kw) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/create.py&quot;, line 747, in first_connect dialect.initialize(c) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py&quot;, line 654, in initialize super().initialize(connection) File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/base.py&quot;, line 3033, in initialize std_string = connection.exec_driver_sql( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1772, in exec_driver_sql ret = self._execute_context( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1842, in _execute_context return self._exec_single_context( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1983, in _exec_single_context self._handle_dbapi_exception( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 2326, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1964, in _exec_single_context self.dialect.do_execute( File &quot;/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/default.py&quot;, line 748, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter &quot;standard_conforming_strings&quot;"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 748, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedObject: unrecognized configuration parameter "standard_conforming_strings" The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/opt/homebrew/Cellar/[email protected]/3.9.16/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/src/.ve/lib/python3.9/site-packages/lru/decorators.py", line 132, in _lazy_cache_wrapper result = function(*args, **kwargs) File "/src/mypackage/redshift.py", line 164, in tier1_partners rs.connect() File "/src/.ve/lib/python3.9/site-packages/maa/db.py", line 69, in connect self._connection = self._engine.connect() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3251, in connect return self._connection_cls(self) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ self._dbapi_connection = engine.raw_connection() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3275, in raw_connection return self.pool.connect() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 455, in connect return _ConnectionFairy._checkout(self) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 1271, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 719, in checkout rec = pool._do_get() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 169, in _do_get self._dec_overflow() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 147, in __exit__ raise exc_value.with_traceback(exc_tb) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/impl.py", line 166, in _do_get return self._create_connection() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 396, in _create_connection return _ConnectionRecord(self) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 681, in __init__ self.__connect() File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 917, in __connect pool.dispatch.connect.for_modify( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/event/attr.py", line 473, in _exec_w_sync_on_first_run self(*args, **kw) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/event/attr.py", line 487, in __call__ fn(*args, **kw) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 1912, in go return once_fn(*arg, **kw) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 747, in first_connect dialect.initialize(c) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 654, in initialize super().initialize(connection) File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/base.py", line 3033, in initialize std_string = connection.exec_driver_sql( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1772, in exec_driver_sql ret = self._execute_context( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1842, in _execute_context return self._exec_single_context( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1983, in _exec_single_context self._handle_dbapi_exception( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2326, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/src/.ve/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 748, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter "standard_conforming_strings" </code></pre></div> <h3 dir="auto">Additional context</h3> <p dir="auto">thx for checking</p>
<h3 dir="auto">Describe the bug</h3> <p dir="auto">I believe there is a regression of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="742828306" data-permission-text="Title is private" data-url="https://github.com/sqlalchemy/sqlalchemy/issues/5698" data-hovercard-type="issue" data-hovercard-url="/sqlalchemy/sqlalchemy/issues/5698/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/issues/5698">#5698</a> in 2.0.0</p> <p dir="auto">I get the below error after updating from 1.4.46 and have confirmed it present in 2.0.0 - 2.0.5.post1</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="UndefinedObject: unrecognized configuration parameter &quot;standard_conforming_strings&quot;"><pre class="notranslate"><code class="notranslate">UndefinedObject: unrecognized configuration parameter "standard_conforming_strings" </code></pre></div> <p dir="auto">The logic added in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/415ddce1e3b429bdc1180c5b5f7750a08d226525/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/415ddce1e3b429bdc1180c5b5f7750a08d226525"><tt>415ddce</tt></a><br> does not appear to be present in 2.0.0</p> <p dir="auto">It appears to have been removed in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/db08a699489c9b0259579d7ff7fd6bf3496ca3a2/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/db08a699489c9b0259579d7ff7fd6bf3496ca3a2"><tt>db08a69</tt></a></p> <p dir="auto">as seen in<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4827852/223449134-3003f53c-3629-4e8d-85e7-64bf80a33bd8.png"><img src="https://user-images.githubusercontent.com/4827852/223449134-3003f53c-3629-4e8d-85e7-64bf80a33bd8.png" alt="Screenshot 2023-03-07 at 8 18 23 AM" style="max-width: 100%;"></a></p> <h3 dir="auto">Optional link from <a href="https://docs.sqlalchemy.org" rel="nofollow">https://docs.sqlalchemy.org</a> which documents the behavior that is expected</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">SQLAlchemy Version in Use</h3> <p dir="auto">2.0.5post1</p> <h3 dir="auto">DBAPI (i.e. the database driver)</h3> <p dir="auto">psycopg2</p> <h3 dir="auto">Database Vendor and Major Version</h3> <p dir="auto">Redshift 1.0.46987</p> <h3 dir="auto">Python Version</h3> <p dir="auto">3.10</p> <h3 dir="auto">Operating system</h3> <p dir="auto">OSX</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="import sqlalchemy from sqlalchemy.orm import sessionmaker from sqlalchemy import text connection_string = 'postgresql+psycopg2://&lt;redacted username&gt;:&lt;redacted url encoded password&gt;@&lt;redacted db hostname&gt;:&lt;redacted port&gt;/&lt;redacted database&gt;' redshift_engine = sqlalchemy.create_engine(connection_string, echo=False, pool_recycle=120, pool_pre_ping=True) redshift_session = sessionmaker(bind=redshift_engine) tmp_session = redshift_session() tmp_session.query(text(&quot;SELECT * from my_schema.my_table limit 10&quot;)).all()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-s1">sessionmaker</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-s1">text</span> <span class="pl-s1">connection_string</span> <span class="pl-c1">=</span> <span class="pl-s">'postgresql+psycopg2://&lt;redacted username&gt;:&lt;redacted url encoded password&gt;@&lt;redacted db hostname&gt;:&lt;redacted port&gt;/&lt;redacted database&gt;'</span> <span class="pl-s1">redshift_engine</span> <span class="pl-c1">=</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-en">create_engine</span>(<span class="pl-s1">connection_string</span>, <span class="pl-s1">echo</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">pool_recycle</span><span class="pl-c1">=</span><span class="pl-c1">120</span>, <span class="pl-s1">pool_pre_ping</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">redshift_session</span> <span class="pl-c1">=</span> <span class="pl-en">sessionmaker</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-s1">redshift_engine</span>) <span class="pl-s1">tmp_session</span> <span class="pl-c1">=</span> <span class="pl-en">redshift_session</span>() <span class="pl-s1">tmp_session</span>.<span class="pl-en">query</span>(<span class="pl-en">text</span>(<span class="pl-s">"SELECT * from my_schema.my_table limit 10"</span>)).<span class="pl-en">all</span>()</pre></div> <h3 dir="auto">Error</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1964, in _exec_single_context self.dialect.do_execute( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py&quot;, line 747, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedObject: unrecognized configuration parameter &quot;standard_conforming_strings&quot; The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;/home/username/Downloads/pycharm-2022.3.2/plugins/python/helpers/pydev/pydevconsole.py&quot;, line 364, in runcode coro = func() File &quot;&lt;input&gt;&quot;, line 1, in &lt;module&gt; File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py&quot;, line 2715, in all return self._iter().all() # type: ignore File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py&quot;, line 2875, in _iter result: Union[ScalarResult[_T], Result[_T]] = self.session.execute( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 2229, in execute return self._execute_internal( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 2114, in _execute_internal conn = self._connection_for_bind(bind) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 1981, in _connection_for_bind return trans._connection_for_bind(engine, execution_options) File &quot;&lt;string&gt;&quot;, line 2, in _connection_for_bind File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py&quot;, line 137, in _go ret_value = fn(self, *arg, **kw) File &quot;/home/username/.local/share/virtualenvs/Traceback (most recent call last): File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1964, in _exec_single_context self.dialect.do_execute( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py&quot;, line 747, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedObject: unrecognized configuration parameter &quot;standard_conforming_strings&quot; The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;/home/username/Downloads/pycharm-2022.3.2/plugins/python/helpers/pydev/pydevconsole.py&quot;, line 364, in runcode coro = func() File &quot;&lt;input&gt;&quot;, line 1, in &lt;module&gt; File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py&quot;, line 2715, in all return self._iter().all() # type: ignore File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py&quot;, line 2875, in _iter result: Union[ScalarResult[_T], Result[_T]] = self.session.execute( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 2229, in execute return self._execute_internal( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 2114, in _execute_internal conn = self._connection_for_bind(bind) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 1981, in _connection_for_bind return trans._connection_for_bind(engine, execution_options) File &quot;&lt;string&gt;&quot;, line 2, in _connection_for_bind File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py&quot;, line 137, in _go ret_value = fn(self, *arg, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 1108, in _connection_for_bind conn = bind.connect() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 3245, in connect return self._connection_cls(self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 145, in __init__ self._dbapi_connection = engine.raw_connection() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 3269, in raw_connection return self.pool.connect() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 452, in connect return _ConnectionFairy._checkout(self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 1255, in _checkout fairy = _ConnectionRecord.checkout(pool) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 716, in checkout rec = pool._do_get() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py&quot;, line 168, in _do_get with util.safe_reraise(): File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 147, in __exit__ raise exc_value.with_traceback(exc_tb) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py&quot;, line 166, in _do_get return self._create_connection() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 393, in _create_connection return _ConnectionRecord(self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 678, in __init__ self.__connect() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 916, in __connect )._exec_w_sync_on_first_run(self.dbapi_connection, self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py&quot;, line 473, in _exec_w_sync_on_first_run self(*args, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py&quot;, line 487, in __call__ fn(*args, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 1912, in go return once_fn(*arg, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/create.py&quot;, line 746, in first_connect dialect.initialize(c) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py&quot;, line 654, in initialize super().initialize(connection) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/base.py&quot;, line 3028, in initialize std_string = connection.exec_driver_sql( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1772, in exec_driver_sql ret = self._execute_context( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1842, in _execute_context return self._exec_single_context( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1983, in _exec_single_context self._handle_dbapi_exception( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 2325, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1964, in _exec_single_context self.dialect.do_execute( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py&quot;, line 747, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter &quot;standard_conforming_strings&quot; [SQL: show standard_conforming_strings] (Background on this error at: https://sqlalche.me/e/20/f405)-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py&quot;, line 1108, in _connection_for_bind conn = bind.connect() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 3245, in connect return self._connection_cls(self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 145, in __init__ self._dbapi_connection = engine.raw_connection() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 3269, in raw_connection return self.pool.connect() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 452, in connect return _ConnectionFairy._checkout(self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 1255, in _checkout fairy = _ConnectionRecord.checkout(pool) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 716, in checkout rec = pool._do_get() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py&quot;, line 168, in _do_get with util.safe_reraise(): File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 147, in __exit__ raise exc_value.with_traceback(exc_tb) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py&quot;, line 166, in _do_get return self._create_connection() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 393, in _create_connection return _ConnectionRecord(self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 678, in __init__ self.__connect() File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py&quot;, line 916, in __connect )._exec_w_sync_on_first_run(self.dbapi_connection, self) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py&quot;, line 473, in _exec_w_sync_on_first_run self(*args, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py&quot;, line 487, in __call__ fn(*args, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py&quot;, line 1912, in go return once_fn(*arg, **kw) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/create.py&quot;, line 746, in first_connect dialect.initialize(c) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py&quot;, line 654, in initialize super().initialize(connection) File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/base.py&quot;, line 3028, in initialize std_string = connection.exec_driver_sql( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1772, in exec_driver_sql ret = self._execute_context( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1842, in _execute_context return self._exec_single_context( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1983, in _exec_single_context self._handle_dbapi_exception( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 2325, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py&quot;, line 1964, in _exec_single_context self.dialect.do_execute( File &quot;/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py&quot;, line 747, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter &quot;standard_conforming_strings&quot; [SQL: show standard_conforming_strings] (Background on this error at: https://sqlalche.me/e/20/f405)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 747, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedObject: unrecognized configuration parameter "standard_conforming_strings" The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/username/Downloads/pycharm-2022.3.2/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode coro = func() File "&lt;input&gt;", line 1, in &lt;module&gt; File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2715, in all return self._iter().all() # type: ignore File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2875, in _iter result: Union[ScalarResult[_T], Result[_T]] = self.session.execute( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2229, in execute return self._execute_internal( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2114, in _execute_internal conn = self._connection_for_bind(bind) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1981, in _connection_for_bind return trans._connection_for_bind(engine, execution_options) File "&lt;string&gt;", line 2, in _connection_for_bind File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) File "/home/username/.local/share/virtualenvs/Traceback (most recent call last): File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 747, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedObject: unrecognized configuration parameter "standard_conforming_strings" The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/username/Downloads/pycharm-2022.3.2/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode coro = func() File "&lt;input&gt;", line 1, in &lt;module&gt; File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2715, in all return self._iter().all() # type: ignore File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2875, in _iter result: Union[ScalarResult[_T], Result[_T]] = self.session.execute( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2229, in execute return self._execute_internal( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2114, in _execute_internal conn = self._connection_for_bind(bind) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1981, in _connection_for_bind return trans._connection_for_bind(engine, execution_options) File "&lt;string&gt;", line 2, in _connection_for_bind File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go ret_value = fn(self, *arg, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1108, in _connection_for_bind conn = bind.connect() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3245, in connect return self._connection_cls(self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ self._dbapi_connection = engine.raw_connection() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3269, in raw_connection return self.pool.connect() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 452, in connect return _ConnectionFairy._checkout(self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1255, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 716, in checkout rec = pool._do_get() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 168, in _do_get with util.safe_reraise(): File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 147, in __exit__ raise exc_value.with_traceback(exc_tb) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 166, in _do_get return self._create_connection() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection return _ConnectionRecord(self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 678, in __init__ self.__connect() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 916, in __connect )._exec_w_sync_on_first_run(self.dbapi_connection, self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py", line 473, in _exec_w_sync_on_first_run self(*args, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py", line 487, in __call__ fn(*args, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 1912, in go return once_fn(*arg, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 746, in first_connect dialect.initialize(c) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 654, in initialize super().initialize(connection) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/base.py", line 3028, in initialize std_string = connection.exec_driver_sql( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1772, in exec_driver_sql ret = self._execute_context( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1842, in _execute_context return self._exec_single_context( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1983, in _exec_single_context self._handle_dbapi_exception( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2325, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 747, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter "standard_conforming_strings" [SQL: show standard_conforming_strings] (Background on this error at: https://sqlalche.me/e/20/f405)-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1108, in _connection_for_bind conn = bind.connect() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3245, in connect return self._connection_cls(self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ self._dbapi_connection = engine.raw_connection() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3269, in raw_connection return self.pool.connect() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 452, in connect return _ConnectionFairy._checkout(self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1255, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 716, in checkout rec = pool._do_get() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 168, in _do_get with util.safe_reraise(): File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 147, in __exit__ raise exc_value.with_traceback(exc_tb) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 166, in _do_get return self._create_connection() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 393, in _create_connection return _ConnectionRecord(self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 678, in __init__ self.__connect() File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 916, in __connect )._exec_w_sync_on_first_run(self.dbapi_connection, self) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py", line 473, in _exec_w_sync_on_first_run self(*args, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/event/attr.py", line 487, in __call__ fn(*args, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 1912, in go return once_fn(*arg, **kw) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 746, in first_connect dialect.initialize(c) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 654, in initialize super().initialize(connection) File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/base.py", line 3028, in initialize std_string = connection.exec_driver_sql( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1772, in exec_driver_sql ret = self._execute_context( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1842, in _execute_context return self._exec_single_context( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1983, in _exec_single_context self._handle_dbapi_exception( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2325, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/home/username/.local/share/virtualenvs/project01-Z0F7Zsx7/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 747, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) unrecognized configuration parameter "standard_conforming_strings" [SQL: show standard_conforming_strings] (Background on this error at: https://sqlalche.me/e/20/f405) </code></pre></div> <h3 dir="auto">Additional context</h3> <p dir="auto">Downgrading to 1.4.46 has provided a workaround</p>
1
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong><br> I am building a React app with Webpack and Babel, using <code class="notranslate">.browserslistrc</code> to support <strong>Chrome 41</strong> (mainly for SEO purposes), currently in Chrome 41 I get error:</p> <p dir="auto"><code class="notranslate">Unhandled promise rejection ReferenceError: fetch is not defined</code></p> <p dir="auto"><strong>Expected behavior/code</strong><br> I expect that babel should include all needed polyfills, currenlty fetch polyfill seems to not be included.</p> <p dir="auto">getting error: <code class="notranslate">Unhandled promise rejection ReferenceError: fetch is not defined</code></p> <p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p> <p dir="auto">In root js client file I import babel/polyfill wtih:<br> <code class="notranslate">import '@babel/polyfill';</code></p> <p dir="auto"><strong>.babelrc:</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ &quot;@babel/preset-react&quot;, [ &quot;@babel/preset-env&quot;, { &quot;debug&quot;: true, &quot;useBuiltIns&quot;: &quot;entry&quot; } ], &quot;@babel/preset-flow&quot; ], &quot;plugins&quot;: [ &quot;@babel/plugin-proposal-object-rest-spread&quot;, &quot;@babel/plugin-proposal-class-properties&quot;, &quot;react-hot-loader/babel&quot;, [ &quot;styled-components&quot;, { &quot;displayName&quot;: false } ], &quot;ramda&quot; ] } "><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span> <span class="pl-s">"@babel/preset-react"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span> <span class="pl-s">"@babel/preset-env"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"debug"</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-s">"useBuiltIns"</span>: <span class="pl-s">"entry"</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/preset-flow"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span> <span class="pl-s">"@babel/plugin-proposal-object-rest-spread"</span><span class="pl-kos">,</span> <span class="pl-s">"@babel/plugin-proposal-class-properties"</span><span class="pl-kos">,</span> <span class="pl-s">"react-hot-loader/babel"</span><span class="pl-kos">,</span> <span class="pl-kos">[</span> <span class="pl-s">"styled-components"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"displayName"</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"ramda"</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Environment</strong></p> <ul dir="auto"> <li>Babel version(s): v7.2.0</li> <li>Node/npm version: Node 10.5.0 / npm 6.1.0</li> <li>OS: OSX 10.14</li> <li>How you are using Babel: <code class="notranslate">babel-loader</code></li> </ul> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" loader: 'babel-loader', options: { babelrc: true, },"><pre class="notranslate"> <span class="pl-s1">loader</span>: <span class="pl-s">'babel-loader'</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>: <span class="pl-kos">{</span> <span class="pl-c1">babelrc</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span></pre></div> <p dir="auto"><strong>Additional context/Screenshots</strong><br> Output from <code class="notranslate">@babel/preset-env: </code>DEBUG<code class="notranslate"> option</code></p> <p dir="auto">Picks up correct browser (chrome 41)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Using targets: { &quot;android&quot;: &quot;4.2&quot;, &quot;chrome&quot;: &quot;41&quot;, &quot;edge&quot;: &quot;17&quot;, &quot;firefox&quot;: &quot;52&quot;, &quot;ie&quot;: &quot;11&quot;, &quot;ios&quot;: &quot;9.3&quot;, &quot;opera&quot;: &quot;56&quot;, &quot;safari&quot;: &quot;10.1&quot; } Using modules transform: auto Using plugins: transform-template-literals { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } transform-literals { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot; } transform-function-name { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-arrow-functions { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-block-scoped-functions { &quot;android&quot;:&quot;4.2&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-classes { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-object-super { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-shorthand-properties { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } transform-duplicate-keys { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } transform-computed-properties { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } transform-for-of { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-sticky-regex { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-dotall-regex { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } transform-unicode-regex { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } transform-spread { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-parameters { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-destructuring { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-block-scoping { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-typeof-symbol { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } transform-new-target { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-regenerator { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-exponentiation-operator { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } transform-async-to-generator { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } proposal-async-generator-functions { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } proposal-object-rest-spread { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } proposal-unicode-property-regex { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } proposal-json-strings { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;opera&quot;:&quot;56&quot;, &quot;safari&quot;:&quot;10.1&quot; } proposal-optional-catch-binding { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } Using polyfills with `entry` option: [/Users/filiphalas/Projects/tweb/src/client/index.js] Replaced `@babel/polyfill` with the following polyfills: es6.array.copy-within { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.array.fill { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.array.find { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.array.find-index { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.array.from { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es7.array.includes { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.array.iterator { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.array.of { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.array.sort { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.array.species { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.date.to-json { &quot;ios&quot;:&quot;9.3&quot; } es6.date.to-primitive { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.function.has-instance { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.function.name { &quot;ie&quot;:&quot;11&quot; } es6.map { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.math.acosh { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.asinh { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.atanh { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.cbrt { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.clz32 { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.cosh { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.expm1 { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.fround { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.hypot { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.imul { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.log1p { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.log10 { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.log2 { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.sign { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.sinh { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.tanh { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.math.trunc { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.constructor { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.epsilon { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.is-finite { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.number.is-integer { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.is-nan { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.number.is-safe-integer { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.max-safe-integer { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.min-safe-integer { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.parse-float { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.number.parse-int { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.assign { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es7.object.define-getter { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es7.object.define-setter { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es7.object.entries { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.object.freeze { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.get-own-property-descriptor { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es7.object.get-own-property-descriptors { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.object.get-own-property-names { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.get-prototype-of { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es7.object.lookup-getter { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot; } es7.object.lookup-setter { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.prevent-extensions { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.is { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.object.is-frozen { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.is-sealed { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.is-extensible { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.keys { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.seal { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot; } es6.object.set-prototype-of { &quot;android&quot;:&quot;4.2&quot; } es7.object.values { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.promise { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es7.promise.finally { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } es6.reflect.apply { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.construct { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.define-property { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.delete-property { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.get { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.get-own-property-descriptor { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.get-prototype-of { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.has { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.is-extensible { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.own-keys { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.prevent-extensions { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.set { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.reflect.set-prototype-of { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.regexp.constructor { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.regexp.flags { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot; } es6.regexp.match { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.regexp.replace { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.regexp.split { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.regexp.search { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.regexp.to-string { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.set { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.symbol { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es7.symbol.async-iterator { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;safari&quot;:&quot;10.1&quot; } es6.string.anchor { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.big { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.blink { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.bold { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.code-point-at { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.ends-with { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.fixed { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.fontcolor { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.fontsize { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.from-code-point { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.includes { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.italics { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.iterator { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.link { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es7.string.pad-start { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es7.string.pad-end { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.string.raw { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.repeat { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.small { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.starts-with { &quot;android&quot;:&quot;4.2&quot;, &quot;ie&quot;:&quot;11&quot; } es6.string.strike { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.sub { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.string.sup { &quot;ie&quot;:&quot;11&quot;, &quot;opera&quot;:&quot;56&quot; } es6.typed.array-buffer { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.int8-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.uint8-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.uint8-clamped-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.int16-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.uint16-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.int32-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.uint32-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.float32-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.typed.float64-array { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot; } es6.weak-map { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot; } es6.weak-set { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot; } web.timers { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;opera&quot;:&quot;56&quot;, &quot;safari&quot;:&quot;10.1&quot; } web.immediate { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;opera&quot;:&quot;56&quot;, &quot;safari&quot;:&quot;10.1&quot; } web.dom.iterable { &quot;android&quot;:&quot;4.2&quot;, &quot;chrome&quot;:&quot;41&quot;, &quot;edge&quot;:&quot;17&quot;, &quot;firefox&quot;:&quot;52&quot;, &quot;ie&quot;:&quot;11&quot;, &quot;ios&quot;:&quot;9.3&quot;, &quot;opera&quot;:&quot;56&quot;, &quot;safari&quot;:&quot;10.1&quot; }"><pre class="notranslate"><code class="notranslate">Using targets: { "android": "4.2", "chrome": "41", "edge": "17", "firefox": "52", "ie": "11", "ios": "9.3", "opera": "56", "safari": "10.1" } Using modules transform: auto Using plugins: transform-template-literals { "android":"4.2", "ie":"11" } transform-literals { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11" } transform-function-name { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3" } transform-arrow-functions { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-block-scoped-functions { "android":"4.2", "ios":"9.3" } transform-classes { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-object-super { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-shorthand-properties { "android":"4.2", "chrome":"41", "ie":"11" } transform-duplicate-keys { "android":"4.2", "chrome":"41", "ie":"11" } transform-computed-properties { "android":"4.2", "chrome":"41", "ie":"11" } transform-for-of { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11", "ios":"9.3" } transform-sticky-regex { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-dotall-regex { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } transform-unicode-regex { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3", "safari":"10.1" } transform-spread { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-parameters { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3" } transform-destructuring { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3" } transform-block-scoping { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-typeof-symbol { "android":"4.2", "ie":"11" } transform-new-target { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-regenerator { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11", "ios":"9.3" } transform-exponentiation-operator { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } transform-async-to-generator { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } proposal-async-generator-functions { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } proposal-object-rest-spread { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } proposal-unicode-property-regex { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } proposal-json-strings { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "opera":"56", "safari":"10.1" } proposal-optional-catch-binding { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } Using polyfills with `entry` option: [/Users/filiphalas/Projects/tweb/src/client/index.js] Replaced `@babel/polyfill` with the following polyfills: es6.array.copy-within { "android":"4.2", "chrome":"41", "ie":"11" } es6.array.fill { "android":"4.2", "chrome":"41", "ie":"11" } es6.array.find { "android":"4.2", "chrome":"41", "ie":"11" } es6.array.find-index { "android":"4.2", "chrome":"41", "ie":"11" } es6.array.from { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es7.array.includes { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.array.iterator { "android":"4.2", "ie":"11" } es6.array.of { "android":"4.2", "chrome":"41", "ie":"11" } es6.array.sort { "android":"4.2", "chrome":"41", "ios":"9.3" } es6.array.species { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.date.to-json { "ios":"9.3" } es6.date.to-primitive { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.function.has-instance { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.function.name { "ie":"11" } es6.map { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11", "ios":"9.3" } es6.math.acosh { "android":"4.2", "ie":"11" } es6.math.asinh { "android":"4.2", "ie":"11" } es6.math.atanh { "android":"4.2", "ie":"11" } es6.math.cbrt { "android":"4.2", "ie":"11" } es6.math.clz32 { "android":"4.2", "ie":"11" } es6.math.cosh { "android":"4.2", "ie":"11" } es6.math.expm1 { "android":"4.2", "ie":"11" } es6.math.fround { "android":"4.2", "ie":"11" } es6.math.hypot { "android":"4.2", "ie":"11" } es6.math.imul { "android":"4.2", "ie":"11" } es6.math.log1p { "android":"4.2", "ie":"11" } es6.math.log10 { "android":"4.2", "ie":"11" } es6.math.log2 { "android":"4.2", "ie":"11" } es6.math.sign { "android":"4.2", "ie":"11" } es6.math.sinh { "android":"4.2", "ie":"11" } es6.math.tanh { "android":"4.2", "ie":"11" } es6.math.trunc { "android":"4.2", "ie":"11" } es6.number.constructor { "android":"4.2", "ie":"11" } es6.number.epsilon { "android":"4.2", "ie":"11" } es6.number.is-finite { "ie":"11", "opera":"56" } es6.number.is-integer { "android":"4.2", "ie":"11" } es6.number.is-nan { "ie":"11", "opera":"56" } es6.number.is-safe-integer { "android":"4.2", "ie":"11" } es6.number.max-safe-integer { "android":"4.2", "ie":"11" } es6.number.min-safe-integer { "android":"4.2", "ie":"11" } es6.number.parse-float { "android":"4.2", "ie":"11" } es6.number.parse-int { "android":"4.2", "ie":"11" } es6.object.assign { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es7.object.define-getter { "android":"4.2", "chrome":"41", "ie":"11" } es7.object.define-setter { "android":"4.2", "chrome":"41", "ie":"11" } es7.object.entries { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.object.freeze { "android":"4.2", "chrome":"41", "ie":"11" } es6.object.get-own-property-descriptor { "android":"4.2", "chrome":"41", "ie":"11" } es7.object.get-own-property-descriptors { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.object.get-own-property-names { "android":"4.2", "ie":"11" } es6.object.get-prototype-of { "android":"4.2", "chrome":"41", "ie":"11" } es7.object.lookup-getter { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11" } es7.object.lookup-setter { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11" } es6.object.prevent-extensions { "android":"4.2", "chrome":"41", "ie":"11" } es6.object.is { "ie":"11", "opera":"56" } es6.object.is-frozen { "android":"4.2", "chrome":"41", "ie":"11" } es6.object.is-sealed { "android":"4.2", "chrome":"41", "ie":"11" } es6.object.is-extensible { "android":"4.2", "chrome":"41", "ie":"11" } es6.object.keys { "android":"4.2", "ie":"11" } es6.object.seal { "android":"4.2", "chrome":"41", "ie":"11" } es6.object.set-prototype-of { "android":"4.2" } es7.object.values { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.promise { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es7.promise.finally { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } es6.reflect.apply { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.construct { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.define-property { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.delete-property { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.get { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.get-own-property-descriptor { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.get-prototype-of { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.has { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.is-extensible { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.own-keys { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.prevent-extensions { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.set { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.reflect.set-prototype-of { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.regexp.constructor { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es6.regexp.flags { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11" } es6.regexp.match { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es6.regexp.replace { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es6.regexp.split { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es6.regexp.search { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es6.regexp.to-string { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es6.set { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11", "ios":"9.3" } es6.symbol { "android":"4.2", "chrome":"41", "edge":"17", "ie":"11", "ios":"9.3" } es7.symbol.async-iterator { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "safari":"10.1" } es6.string.anchor { "ie":"11", "opera":"56" } es6.string.big { "ie":"11", "opera":"56" } es6.string.blink { "ie":"11", "opera":"56" } es6.string.bold { "ie":"11", "opera":"56" } es6.string.code-point-at { "android":"4.2", "ie":"11" } es6.string.ends-with { "android":"4.2", "ie":"11" } es6.string.fixed { "ie":"11", "opera":"56" } es6.string.fontcolor { "ie":"11", "opera":"56" } es6.string.fontsize { "ie":"11", "opera":"56" } es6.string.from-code-point { "android":"4.2", "ie":"11" } es6.string.includes { "android":"4.2", "ie":"11" } es6.string.italics { "ie":"11", "opera":"56" } es6.string.iterator { "android":"4.2", "ie":"11" } es6.string.link { "ie":"11", "opera":"56" } es7.string.pad-start { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es7.string.pad-end { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.string.raw { "android":"4.2", "ie":"11" } es6.string.repeat { "android":"4.2", "ie":"11" } es6.string.small { "ie":"11", "opera":"56" } es6.string.starts-with { "android":"4.2", "ie":"11" } es6.string.strike { "ie":"11", "opera":"56" } es6.string.sub { "ie":"11", "opera":"56" } es6.string.sup { "ie":"11", "opera":"56" } es6.typed.array-buffer { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.int8-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.uint8-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.uint8-clamped-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.int16-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.uint16-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.int32-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.uint32-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.float32-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.typed.float64-array { "android":"4.2", "chrome":"41", "ie":"11", "ios":"9.3" } es6.weak-map { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11" } es6.weak-set { "android":"4.2", "chrome":"41", "firefox":"52", "ie":"11" } web.timers { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "opera":"56", "safari":"10.1" } web.immediate { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "opera":"56", "safari":"10.1" } web.dom.iterable { "android":"4.2", "chrome":"41", "edge":"17", "firefox":"52", "ie":"11", "ios":"9.3", "opera":"56", "safari":"10.1" } </code></pre></div> <p dir="auto">Other DEBUG errors:<br> <code class="notranslate">import '@babel/polyfill'</code> was not found.` (I take it this is fine <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="350360685" data-permission-text="Title is private" data-url="https://github.com/babel/babel-loader/issues/657" data-hovercard-type="issue" data-hovercard-url="/babel/babel-loader/issues/657/hovercard" href="https://github.com/babel/babel-loader/issues/657">babel/babel-loader#657</a>)</p> <p dir="auto">will appreciate if there is anything I can try</p>
<p dir="auto">Choose one: is this a bug report or feature request?</p> <p dir="auto"><strong>Bug</strong></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="function f (a, b) { console.log(b); // is legal, will log 1 var b = 3; console.log(b); // will log 3 } f(0, 1) // and this simple transform which renames the &quot;b&quot; binding to &quot;x&quot; export default function (babel) { const { types: t } = babel; return { visitor: { Function(path) { path.scope.rename(&quot;b&quot;, &quot;x&quot;) } } }; }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">f</span> <span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</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">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// is legal, will log 1</span> <span class="pl-k">var</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-c1">3</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">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// will log 3</span> <span class="pl-kos">}</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-c">// and this simple transform which renames the "b" binding to "x"</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">babel</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> <span class="pl-c1">types</span>: <span class="pl-s1">t</span> <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">babel</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">visitor</span>: <span class="pl-kos">{</span> <span class="pl-en">Function</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-c1">scope</span><span class="pl-kos">.</span><span class="pl-en">rename</span><span class="pl-kos">(</span><span class="pl-s">"b"</span><span class="pl-kos">,</span> <span class="pl-s">"x"</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Please see it in action on <a href="https://astexplorer.net/#/gist/83cbc09b0a4d0753f65875c3f85815bf/cbf068d63e9d88e08b1e2bb501e6b3f204f644e4" rel="nofollow">astexplorer</a></p> <h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3> <p dir="auto">No configuration, just running this transform</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">All instances of b should be replaced by x</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function f (a, x) { console.log(x); var x = 3; console.log(x); } f(0, 1)"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">f</span> <span class="pl-kos">(</span><span class="pl-s1">a</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">3</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span></pre></div> <h3 dir="auto">Current Behavior</h3> <p dir="auto">Babel ignores the b identifier in the parameter list</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function f (a, b) { console.log(x); var x = 3; console.log(x); } f(0, 1)"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">f</span> <span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">3</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span></pre></div> <h3 dir="auto">Your Environment</h3> <table role="table"> <thead> <tr> <th>software</th> <th>version(s)</th> </tr> </thead> <tbody> <tr> <td>Babel</td> <td>7.0.0-alpha-9 (code on 7.0 commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/babel/babel/commit/486563152c7b0096df3ecae1abfbaf0d434717db/hovercard" href="https://github.com/babel/babel/commit/486563152c7b0096df3ecae1abfbaf0d434717db"><tt>4865631</tt></a>)</td> </tr> <tr> <td>node</td> <td>6.10.3</td> </tr> <tr> <td>npm</td> <td>3.10.10</td> </tr> <tr> <td>Operating System</td> <td>Ubuntu 16.04 LTS</td> </tr> </tbody> </table>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jconstantine" rel="nofollow">Hal Hildebrand</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1864?redirect=false" rel="nofollow">SPR-1864</a></strong> and commented</p> <p dir="auto">When using an InputStreamResource to create the XmlBeanFactory, an illegal state exception is thrown.</p> <p dir="auto">java.lang.IllegalStateException: InputStream has already been read - do not use InputStreamResource if a stream needs to be read multiple times<br> at org.springframework.core.io.InputStreamResource.getInputStream(InputStreamResource.java:91)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.detectValidationMode(XmlBeanDefinitionReader.java:425)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getValidationModeForResource(XmlBeanDefinitionReader.java:412)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:385)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:352)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:308)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:283)<br> at org.springframework.beans.factory.xml.XmlBeanFactory.&lt;init&gt;(XmlBeanFactory.java:73)<br> at org.springframework.beans.factory.xml.XmlBeanFactory.&lt;init&gt;(XmlBeanFactory.java:61)<br> at ResourceReadErrorTest.testDoubleRead(ResourceReadErrorTest.java:23)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 M3</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/11550/ResourceReadErrorTest.java" rel="nofollow">ResourceReadErrorTest.java</a> (<em>914 bytes</em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=pleira" rel="nofollow">Pablo Pita Leira</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-511?redirect=false" rel="nofollow">SPR-511</a></strong> and commented</p> <p dir="auto">Imagine you have a class with a date field, so we use the CustomEditorConfigurer with the CustomDateEditor in the applicationContext.xml to enter the date property as a plain string. So far, so good.</p> <p dir="auto">Now, we like to export through JMX the bean methods by having a JmxAdapter bean around that bean. Now, the bean does not get initialised: there is a TypeMismatchException when setting the property.</p> <hr> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/10340/testdate.zip" rel="nofollow">testdate.zip</a> (<em>2.56 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398052868" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5207" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5207/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5207">#5207</a> JmxMBeanAdapter: conflict with PropertyPlaceholderConfigurer (<em><strong>"duplicates"</strong></em>)</li> </ul>
0
<p dir="auto">I find it desirable that in <code class="notranslate">map(f, T[])</code>, if <code class="notranslate">f</code> is type stable on <code class="notranslate">T</code>, then <code class="notranslate">map</code> would return an empty array of the correct type. At the moment it returns an empty array of type <code class="notranslate">T</code>.</p> <p dir="auto">I ran into this when trying to do roughly this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function f(x::Vector) y = map(symbol, x) return f(y) end function f(x::Vector{Symbol}) # Do fun. end"><pre class="notranslate"><code class="notranslate">function f(x::Vector) y = map(symbol, x) return f(y) end function f(x::Vector{Symbol}) # Do fun. end </code></pre></div>
<p dir="auto">I've simplified this as much as possible from my use case:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; func1{U&lt;:AbstractArray, V}(arg::Union{AbstractArray{U},V}) = typeof(arg) func1 (generic function with 1 method) julia&gt; func1(Array{Any}[Array{Any}(1, 1)]) Array{Array{Any,N},1} julia&gt; func2{U&lt;:AbstractArray, V}(arg::Union{AbstractArray{U},Set{V}}) = typeof(arg) func2 (generic function with 1 method) julia&gt; func2(Array{Any}[Array{Any}(1, 1)]) ERROR: MethodError: `func2` has no method matching func2(::Array{Array{Any,N},1}) Closest candidates are: func2{U&lt;:AbstractArray{T,N},V}(::Union{AbstractArray{U&lt;:AbstractArray{T,N},N},Set{V}})"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-en">func1</span><span class="pl-c1">{U&lt;:AbstractArray, V}</span>(arg<span class="pl-k">::</span><span class="pl-c1">Union{AbstractArray{U},V}</span>) <span class="pl-k">=</span> <span class="pl-c1">typeof</span>(arg) func1 (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">func1</span>(Array{Any}[<span class="pl-c1">Array</span><span class="pl-c1">{Any}</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>)]) Array{Array{Any,N},<span class="pl-c1">1</span>} julia<span class="pl-k">&gt;</span> <span class="pl-en">func2</span><span class="pl-c1">{U&lt;:AbstractArray, V}</span>(arg<span class="pl-k">::</span><span class="pl-c1">Union{AbstractArray{U},Set{V}}</span>) <span class="pl-k">=</span> <span class="pl-c1">typeof</span>(arg) func2 (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">func2</span>(Array{Any}[<span class="pl-c1">Array</span><span class="pl-c1">{Any}</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>)]) ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> <span class="pl-s"><span class="pl-pds">`</span>func2<span class="pl-pds">`</span></span> has no method matching <span class="pl-c1">func2</span>(<span class="pl-k">::</span><span class="pl-c1">Array{Array{Any,N},1}</span>) Closest candidates are<span class="pl-k">:</span> <span class="pl-c1">func2</span><span class="pl-c1">{U&lt;:AbstractArray{T,N},V}</span>(<span class="pl-k">::</span><span class="pl-c1">Union{AbstractArray{U&lt;:AbstractArray{T,N},N},Set{V}}</span>)</pre></div> <p dir="auto">Surely both of these should work as they're both satisfying one component of the union?</p>
0
<p dir="auto">As of now we create a lot of base images for the GCE VMs that we spin up for node e2e. These images are duplicated in two different GCE projects for the purposes of CI.</p> <p dir="auto">Instead, we can have the node e2e framework spin up VMs from non-local projects. That way, we can avoid duplication and also let the community contribute images that needs to be included in the node e2e CI.</p>
<p dir="auto"><a href="https://storage.googleapis.com/kubernetes-jenkins/logs/kubernetes-e2e-gke/7980/" rel="nofollow">https://storage.googleapis.com/kubernetes-jenkins/logs/kubernetes-e2e-gke/7980/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] Pods should invoke init containers on a RestartNever pod {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820f1ce00&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-pods-57xcg/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820f1ce00&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-pods-57xcg/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156412305" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26131" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26131/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26131">#26131</a></p> <p dir="auto">Failed: [k8s.io] Pods should not start app containers and fail the pod if init containers fail on a RestartNever pod {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8209c5d80&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-pods-ry3jb/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8209c5d80&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-pods-ry3jb/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl logs should be able to retrieve and filter logs [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820de4800&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-kubectl-ekca3/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820de4800&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-kubectl-ekca3/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156428959" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26139" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26139/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26139">#26139</a></p> <p dir="auto">Failed: [k8s.io] ConfigMap should be consumable from pods in volume with mappings as non-root [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/configmap.go:53 May 28 22:02:49.934: unable to delete configMap configmap-test-volume-map-6b120453-255a-11e6-b721-0242ac110004: the server does not allow access to the requested resource (delete configmaps configmap-test-volume-map-6b120453-255a-11e6-b721-0242ac110004)"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/configmap.go:53 May 28 22:02:49.934: unable to delete configMap configmap-test-volume-map-6b120453-255a-11e6-b721-0242ac110004: the server does not allow access to the requested resource (delete configmaps configmap-test-volume-map-6b120453-255a-11e6-b721-0242ac110004) </code></pre></div> <p dir="auto">Failed: [k8s.io] Probing container with readiness probe should not be ready before initial delay and never restart [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:123 May 28 22:02:53.099: Couldn't delete ns &quot;e2e-tests-container-probe-2nmwt&quot;: the server does not allow access to the requested resource (delete namespaces e2e-tests-container-probe-2nmwt)"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:123 May 28 22:02:53.099: Couldn't delete ns "e2e-tests-container-probe-2nmwt": the server does not allow access to the requested resource (delete namespaces e2e-tests-container-probe-2nmwt) </code></pre></div> <p dir="auto">Failed: [k8s.io] ResourceQuota should create a ResourceQuota and capture the life of a service. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resource_quota.go:89 Expected error: &lt;*errors.StatusError | 0xc820ee6080&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (post resourceQuotas)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;resourceQuotas&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/namespaces/e2e-tests-resourcequota-remfk/resourcequotas\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post resourceQuotas) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resource_quota.go:89 Expected error: &lt;*errors.StatusError | 0xc820ee6080&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (post resourceQuotas)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "resourceQuotas", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/namespaces/e2e-tests-resourcequota-remfk/resourcequotas\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post resourceQuotas) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Ubernetes Lite should spread the pods of a replication controller across zones {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820c20800&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-ubernetes-lite-hdts3/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820c20800&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-ubernetes-lite-hdts3/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy to cadvisor using proxy subresource [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/proxy.go:66 Expected error: &lt;*errors.StatusError | 0xc820e8ea80&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/nodes/gke-jenkins-e2e-default-pool-03895e94-mod0:4194/proxy/containers/\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/proxy.go:66 Expected error: &lt;*errors.StatusError | 0xc820e8ea80&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/nodes/gke-jenkins-e2e-default-pool-03895e94-mod0:4194/proxy/containers/\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] ReplicationController should serve a basic image on each replica with a private image {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820deb800&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-replication-controller-pf2vx/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820deb800&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-replication-controller-pf2vx/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Pods should be submitted and removed [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pods.go:407 May 28 22:02:44.369: Failed to set up watch: the server does not allow access to the requested resource (get pods)"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pods.go:407 May 28 22:02:44.369: Failed to set up watch: the server does not allow access to the requested resource (get pods) </code></pre></div> <p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156627871" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26224" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26224/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26224">#26224</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse nodePort when apply to an existing SVC {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820c64400&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-kubectl-8dbun/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820c64400&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-kubectl-8dbun/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Proxy server should support proxy with --port 0 [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820a44c00&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-kubectl-4un9r/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820a44c00&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-kubectl-4un9r/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] V1Job should scale a job up {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820d1a280&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-v1job-52ddx/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820d1a280&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-v1job-52ddx/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] MetricsGrabber should grab all metrics from API server. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820d48600&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-metrics-grabber-4ns20/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820d48600&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-metrics-grabber-4ns20/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Pods should <em>not</em> be restarted with a /healthz http liveness probe [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pods.go:1164 creating pod liveness-http Expected error: &lt;*errors.StatusError | 0xc820b04800&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (post pods)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;pods&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/namespaces/e2e-tests-pods-0e5fp/pods\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post pods) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pods.go:1164 creating pod liveness-http Expected error: &lt;*errors.StatusError | 0xc820b04800&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (post pods)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "pods", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/namespaces/e2e-tests-pods-0e5fp/pods\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post pods) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Pods should <em>not</em> be restarted with a docker exec "cat /tmp/health" liveness probe [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8209c4080&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-pods-g5cz0/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8209c4080&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-pods-g5cz0/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl expose should create services for rc [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820dea300&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-kubectl-zg8th/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820dea300&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-kubectl-zg8th/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156613170" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26209" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26209/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26209">#26209</a></p> <p dir="auto">Failed: [k8s.io] ResourceQuota should create a ResourceQuota and capture the life of a replication controller. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820bca200&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-resourcequota-0lxrg/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820bca200&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-resourcequota-0lxrg/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl patch should add annotations for pods in rc [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820787a80&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-kubectl-ahl9t/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820787a80&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-kubectl-ahl9t/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156404685" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26126" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26126/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26126">#26126</a></p> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy logs on node with explicit kubelet port [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820f1c280&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-proxy-p64qz/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820f1c280&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-proxy-p64qz/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Probing container with readiness probe that fails should never be ready and never restart [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/container_probe.go:111 May 28 22:02:57.402: expecting wait timeout error but got: the server has asked for the client to provide credentials (get pods test-webserver-5f5ffc6b-255a-11e6-824c-0242ac110004)"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/container_probe.go:111 May 28 22:02:57.402: expecting wait timeout error but got: the server has asked for the client to provide credentials (get pods test-webserver-5f5ffc6b-255a-11e6-824c-0242ac110004) </code></pre></div> <p dir="auto">Failed: [k8s.io] Services should release NodePorts on delete {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:905 Expected error: &lt;*errors.StatusError | 0xc820a44180&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (post services)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;services&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/namespaces/e2e-tests-services-f2ajg/services\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post services) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:905 Expected error: &lt;*errors.StatusError | 0xc820a44180&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (post services)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "services", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/namespaces/e2e-tests-services-f2ajg/services\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post services) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (non-root,0644,default) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/empty_dir.go:105 &quot;perms of file \&quot;/test-volume/test-file\&quot;: -rw-r--r--&quot; in container output Expected &lt;string&gt;: to contain substring &lt;string&gt;: perms of file &quot;/test-volume/test-file&quot;: -rw-r--r--"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/empty_dir.go:105 "perms of file \"/test-volume/test-file\": -rw-r--r--" in container output Expected &lt;string&gt;: to contain substring &lt;string&gt;: perms of file "/test-volume/test-file": -rw-r--r-- </code></pre></div> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy logs on node with explicit kubelet port using proxy subresource [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:123 May 28 22:02:36.669: Couldn't delete ns &quot;e2e-tests-proxy-jxbor&quot;: the server does not allow access to the requested resource (delete namespaces e2e-tests-proxy-jxbor)"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:123 May 28 22:02:36.669: Couldn't delete ns "e2e-tests-proxy-jxbor": the server does not allow access to the requested resource (delete namespaces e2e-tests-proxy-jxbor) </code></pre></div> <p dir="auto">Failed: [k8s.io] ResourceQuota should create a ResourceQuota and capture the life of a configMap. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8208da200&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-resourcequota-wosui/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8208da200&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-resourcequota-wosui/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Port forwarding [k8s.io] With a server that expects a client request should support a client that connects, sends data, and disconnects [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820db6600&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-port-forwarding-74vjt/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820db6600&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-port-forwarding-74vjt/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] ReplicationController should serve a basic image on each replica with a public image [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/rc.go:38 Expected error: &lt;*errors.StatusError | 0xc8207aa800&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get pods)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;pods&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-replication-controller-496yy/pods?fieldSelector=metadata.name%3Dmy-hostname-basic-70f28905-255a-11e6-9c3e-0242ac110004-5u8bw\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get pods) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/rc.go:38 Expected error: &lt;*errors.StatusError | 0xc8207aa800&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get pods)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "pods", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-replication-controller-496yy/pods?fieldSelector=metadata.name%3Dmy-hostname-basic-70f28905-255a-11e6-9c3e-0242ac110004-5u8bw\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get pods) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Job should fail a job {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/job.go:198 Expected error: &lt;*errors.StatusError | 0xc820528400&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server has asked for the client to provide credentials (get jobs.extensions foo)&quot;, Reason: &quot;Unauthorized&quot;, Details: { Name: &quot;foo&quot;, Group: &quot;extensions&quot;, Kind: &quot;jobs&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Unauthorized&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 401, }, } the server has asked for the client to provide credentials (get jobs.extensions foo) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/job.go:198 Expected error: &lt;*errors.StatusError | 0xc820528400&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server has asked for the client to provide credentials (get jobs.extensions foo)", Reason: "Unauthorized", Details: { Name: "foo", Group: "extensions", Kind: "jobs", Causes: [ { Type: "UnexpectedServerResponse", Message: "Unauthorized", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 401, }, } the server has asked for the client to provide credentials (get jobs.extensions foo) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Deployment paused deployment should be ignored by the controller {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc82077cf80&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-deployment-82gii/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc82077cf80&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-deployment-82gii/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div>
0
<p dir="auto"><strong>Glide Version</strong>: 4.0.0-RC1<br> <strong>Integration libraries</strong>: okhttp3-4.0.0-RC1<br> <strong>Device/Android Version</strong>: Nexus 5X 7.1.2</p> <p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:</p> <p dir="auto">Loading an Uri pointing to a resource drawable "android.resource://package/drawable/ic_facebook" fails if the drawable is a Vector. Works fine otherwise, so that is definitely the problem.</p> <p dir="auto"><strong>Stack trace / LogCat</strong>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="07-13 13:35:47.132 23478-23478/package W/Glide: Load failed for android.resource://package/drawable/ic_facebook with size [189x189] class com.bumptech.glide.load.engine.GlideException: Failed to load resource Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{AssetInputStream-&gt;Bitmap-&gt;Bitmap}, LOCAL Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{AssetInputStream-&gt;Bitmap-&gt;Bitmap} Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class android.os.ParcelFileDescriptor, LOCAL Cause (1 of 1): class java.io.FileNotFoundException: Resource does not exist: android.resource://package/drawable/ic_facebook 07-13 13:35:47.132 23478-23478/package E/Glide: class com.bumptech.glide.load.engine.GlideException: Failed to load resource 07-13 13:35:47.134 23478-23478/package I/Glide: Root cause (1 of 1) java.io.FileNotFoundException: Resource does not exist: android.resource://package/drawable/ic_facebook at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:976) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:907) at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:21) at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:13) at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:40) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:398) at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:359) at com.bumptech.glide.load.engine.SourceGenerator.onDataReady(SourceGenerator.java:111) at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:48) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:252) at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:347) "><pre class="notranslate"><code class="notranslate">07-13 13:35:47.132 23478-23478/package W/Glide: Load failed for android.resource://package/drawable/ic_facebook with size [189x189] class com.bumptech.glide.load.engine.GlideException: Failed to load resource Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{AssetInputStream-&gt;Bitmap-&gt;Bitmap}, LOCAL Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{AssetInputStream-&gt;Bitmap-&gt;Bitmap} Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class android.os.ParcelFileDescriptor, LOCAL Cause (1 of 1): class java.io.FileNotFoundException: Resource does not exist: android.resource://package/drawable/ic_facebook 07-13 13:35:47.132 23478-23478/package E/Glide: class com.bumptech.glide.load.engine.GlideException: Failed to load resource 07-13 13:35:47.134 23478-23478/package I/Glide: Root cause (1 of 1) java.io.FileNotFoundException: Resource does not exist: android.resource://package/drawable/ic_facebook at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:976) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:907) at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:21) at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:13) at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:40) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:398) at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:359) at com.bumptech.glide.load.engine.SourceGenerator.onDataReady(SourceGenerator.java:111) at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:48) at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61) at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282) at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:252) at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:347) </code></pre></div>
<p dir="auto">We have a placeholder shape drawable (or sometimes shown directly as <code class="notranslate">.load(R.drawable.abc)</code>) which fails to display. The onException listener is called, but e is null.</p> <p dir="auto">The logs contain only:</p> <pre class="notranslate">com.example.app D/skia﹕ --- SkImageDecoder::Factory returned null</pre> <p dir="auto">Glide: 3.5.2<br> Tested on Genymotion v4.4.2</p> <p dir="auto">The drawable:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:shape=&quot;rectangle&quot;&gt; &lt;solid android:color=&quot;#ffabcdef&quot;/&gt; &lt;/shape&gt;"><pre class="notranslate">&lt;<span class="pl-ent">shape</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">shape</span>=<span class="pl-s"><span class="pl-pds">"</span>rectangle<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">solid</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">color</span>=<span class="pl-s"><span class="pl-pds">"</span>#ffabcdef<span class="pl-pds">"</span></span>/&gt; &lt;/<span class="pl-ent">shape</span>&gt;</pre></div>
1
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">redhat_subscription</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 = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides "><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0 config file = /etc/ansible/ansible.cfg 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">RHEL 7.3</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">redhat_subscription manager is overloading the value type of the original subscription manager. This causes confusion and over-consumption of entitlements.</p> <p dir="auto">The official Red Hat Subscription Manager allows attaching subscriptions by Pool ID, NOT by Pool Name.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@rhel7 ~]# subscription-manager attach --help Usage: subscription-manager attach [OPTIONS] Attach a specified subscription to the registered system Options: -h, --help show this help message and exit --proxy=PROXY_URL proxy URL in the form of proxy_hostname:proxy_port --proxyuser=PROXY_USER user for HTTP proxy with basic authentication --proxypassword=PROXY_PASSWORD password for HTTP proxy with basic authentication --pool=POOL the ID of the pool to attach (can be specified more than once) --quantity=QUANTITY number of subscriptions to attach --auto Automatically attach compatible subscriptions to this system. This is the default action. --servicelevel=SERVICE_LEVEL service level to apply to this system --file=FILE A file from which to read pool IDs. If a hyphen is provided, pool IDs will be read from stdin. [root@rhel7 ~]# "><pre class="notranslate"><code class="notranslate">[root@rhel7 ~]# subscription-manager attach --help Usage: subscription-manager attach [OPTIONS] Attach a specified subscription to the registered system Options: -h, --help show this help message and exit --proxy=PROXY_URL proxy URL in the form of proxy_hostname:proxy_port --proxyuser=PROXY_USER user for HTTP proxy with basic authentication --proxypassword=PROXY_PASSWORD password for HTTP proxy with basic authentication --pool=POOL the ID of the pool to attach (can be specified more than once) --quantity=QUANTITY number of subscriptions to attach --auto Automatically attach compatible subscriptions to this system. This is the default action. --servicelevel=SERVICE_LEVEL service level to apply to this system --file=FILE A file from which to read pool IDs. If a hyphen is provided, pool IDs will be read from stdin. [root@rhel7 ~]# </code></pre></div> <p dir="auto">Because this module is allowing a user to specify a name and trying to do its own logic and parsing of available Pool IDs, it is incorrectly attempting to extend the capabilities of the official subscription manager. It also does it poorly, allowing multiple subscriptions to be consumed when they were not desired.</p> <p dir="auto">Large customers will have many duplicate subscriptions of the same name due to growth and purchases made at different times. This could have a very large impact to large customers.</p> <p dir="auto">The feature to enable using the Pool ID is a good start, but we also must remove the capability of adding by Name. This Ansible module should not attempt to do more than the original tool allows.<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="173998468" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/4603" data-hovercard-type="pull_request" data-hovercard-url="/ansible/ansible-modules-core/pull/4603/hovercard" href="https://github.com/ansible/ansible-modules-core/pull/4603">ansible/ansible-modules-core#4603</a></p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- redhat_subscription: state: present username: &quot;{{ rhn_username }}&quot; password: &quot;{{ rhn_password }}&quot; pool: '^Employee SKU$' # pool: &quot;{{ POOL_ID }}&quot; when: ansible_distribution == 'RedHat'"><pre class="notranslate">- <span class="pl-ent">redhat_subscription</span>: <span class="pl-ent">state</span>: <span class="pl-s">present</span> <span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ rhn_username }}<span class="pl-pds">"</span></span> <span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ rhn_password }}<span class="pl-pds">"</span></span> <span class="pl-ent">pool</span>: <span class="pl-s"><span class="pl-pds">'</span>^Employee SKU$<span class="pl-pds">'</span></span> <span class="pl-c"><span class="pl-c">#</span> pool: "{{ POOL_ID }}"</span> <span class="pl-ent">when</span>: <span class="pl-s">ansible_distribution == 'RedHat'</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Only a single Pool ID attached, presumably the first one matched. But certainly not ALL matches.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">I have altered the values below to protect our actual Pool IDs (XXX, YYY, ZZZ). I can provide actual examples privately.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;util7vm&gt; SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt util7vm '/bin/sh -c '&quot;'&quot;'sudo -H -S -n -u root /bin/sh -c '&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'echo BECOME-SUCCESS-pyeuamdvwtzvyzuxvbczhjotjfyacqxn; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1481978149.12-197063747409681/redhat_subscription.py; rm -rf &quot;/root/.ansible/tmp/ansible-tmp-1481978149.12-197063747409681/&quot; &gt; /dev/null 2&gt;&amp;1'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;'&quot;' &amp;&amp; sleep 0'&quot;'&quot;'' changed: [util7vm] =&gt; { &quot;changed&quot;: true, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;activationkey&quot;: null, &quot;autosubscribe&quot;: false, &quot;consumer_id&quot;: null, &quot;consumer_name&quot;: null, &quot;consumer_type&quot;: null, &quot;environment&quot;: null, &quot;force_register&quot;: false, &quot;org_id&quot;: null, &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;, &quot;pool&quot;: &quot;^Employee SKU$&quot;, &quot;rhsm_baseurl&quot;: &quot;https://cdn.redhat.com&quot;, &quot;server_hostname&quot;: &quot;subscription.rhn.redhat.com&quot;, &quot;server_insecure&quot;: &quot;0&quot;, &quot;state&quot;: &quot;present&quot;, &quot;username&quot;: &quot;my-rhn-support-username&quot; }, &quot;module_name&quot;: &quot;redhat_subscription&quot; }, &quot;subscribed_pool_ids&quot;: [ &quot;XXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;, &quot;YYYYYYYYYYYYYYYYYYYYYYYY&quot;, &quot;ZZZZZZZZZZZZZZZZZZZZZZZZZZZ&quot; ], &quot;unsubscribed_serials&quot;: [] } PLAY RECAP ********************************************************************* util7vm : ok=2 changed=1 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">&lt;util7vm&gt; SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt util7vm '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-pyeuamdvwtzvyzuxvbczhjotjfyacqxn; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1481978149.12-197063747409681/redhat_subscription.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1481978149.12-197063747409681/" &gt; /dev/null 2&gt;&amp;1'"'"'"'"'"'"'"'"' &amp;&amp; sleep 0'"'"'' changed: [util7vm] =&gt; { "changed": true, "invocation": { "module_args": { "activationkey": null, "autosubscribe": false, "consumer_id": null, "consumer_name": null, "consumer_type": null, "environment": null, "force_register": false, "org_id": null, "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "pool": "^Employee SKU$", "rhsm_baseurl": "https://cdn.redhat.com", "server_hostname": "subscription.rhn.redhat.com", "server_insecure": "0", "state": "present", "username": "my-rhn-support-username" }, "module_name": "redhat_subscription" }, "subscribed_pool_ids": [ "XXXXXXXXXXXXXXXXXXXXXXXXXXX", "YYYYYYYYYYYYYYYYYYYYYYYY", "ZZZZZZZZZZZZZZZZZZZZZZZZZZZ" ], "unsubscribed_serials": [] } PLAY RECAP ********************************************************************* util7vm : ok=2 changed=1 unreachable=0 failed=0 </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">Module docker_network</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible --version ansible 2.3.0.0 config file = /Users/me/code/test_master/ansible.cfg configured module search path = Default w/o overrides python version = 2.7.13 (default, Dec 18 2016, 07:03:39) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]"><pre class="notranslate"><code class="notranslate">ansible --version ansible 2.3.0.0 config file = /Users/me/code/test_master/ansible.cfg configured module search path = Default w/o overrides python version = 2.7.13 (default, Dec 18 2016, 07:03:39) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults] force_color = 1 ; force_handlers = True host_key_checking = false inventory = inventory retry_files_enabled = false any_errors_fatal = true #roles_path = roles"><pre class="notranslate"><code class="notranslate">[defaults] force_color = 1 ; force_handlers = True host_key_checking = false inventory = inventory retry_files_enabled = false any_errors_fatal = true #roles_path = roles </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Mac OS Sierra 10.1.2.4</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Using the overlay network driver with the docker module fails, however the bridge driver works successfully. Hence I have made a determination that the error is overlay driver specific.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Managing Docker Swarm Networks docker_network: name: test_net_overlay driver: overlay state: present"><pre class="notranslate"><code class="notranslate">- name: Managing Docker Swarm Networks docker_network: name: test_net_overlay driver: overlay state: present </code></pre></div> <p dir="auto">Causes error below</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ok: [10.131.92.197] =&gt; (item={u'state': u'present', u'driver': u'bridge', u'name': u'test_net_bridge'}) =&gt; {&quot;ansible_facts&quot;: {}, &quot;changed&quot;: false, &quot;item&quot;: {&quot;driver&quot;: &quot;bridge&quot;, &quot;name&quot;: &quot;test_net_bridge&quot;, &quot;state&quot;: &quot;present&quot;}} failed: [10.131.92.197] (item={u'state': u'present', u'driver': u'overlay', u'name': u'test_net_overlay'}) =&gt; {&quot;failed&quot;: true, &quot;item&quot;: {&quot;driver&quot;: &quot;overlay&quot;, &quot;name&quot;: &quot;test_net_overlay&quot;, &quot;state&quot;: &quot;present&quot;}, &quot;module_stderr&quot;: &quot;Shared connection to 10.131.92.197 closed.\r\n&quot;, &quot;module_stdout&quot;: &quot;Traceback (most recent call last):\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 393, in &lt;module&gt;\r\n main()\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 386, in main\r\n cm = DockerNetworkManager(client)\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 215, in __init__\r\n self.parameters.connected = container_names_in_network(self.existing_network)\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 197, in container_names_in_network\r\n return [c['Name'] for c in network['Containers'].values()]\r\nAttributeError: 'NoneType' object has no attribute 'values'\r\n&quot;, &quot;msg&quot;: &quot;MODULE FAILURE&quot;, &quot;rc&quot;: 0}"><pre class="notranslate"><code class="notranslate">ok: [10.131.92.197] =&gt; (item={u'state': u'present', u'driver': u'bridge', u'name': u'test_net_bridge'}) =&gt; {"ansible_facts": {}, "changed": false, "item": {"driver": "bridge", "name": "test_net_bridge", "state": "present"}} failed: [10.131.92.197] (item={u'state': u'present', u'driver': u'overlay', u'name': u'test_net_overlay'}) =&gt; {"failed": true, "item": {"driver": "overlay", "name": "test_net_overlay", "state": "present"}, "module_stderr": "Shared connection to 10.131.92.197 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 393, in &lt;module&gt;\r\n main()\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 386, in main\r\n cm = DockerNetworkManager(client)\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 215, in __init__\r\n self.parameters.connected = container_names_in_network(self.existing_network)\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 197, in container_names_in_network\r\n return [c['Name'] for c in network['Containers'].values()]\r\nAttributeError: 'NoneType' object has no attribute 'values'\r\n", "msg": "MODULE FAILURE", "rc": 0} </code></pre></div> <blockquote> <p dir="auto">Note: The bridge driver works correctly, but the overlay driver fails.</p> </blockquote> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Module should not return an error</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Module returned error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="failed: [10.131.92.197] (item={u'state': u'present', u'driver': u'overlay', u'name': u'test_net_overlay'}) =&gt; {&quot;failed&quot;: true, &quot;item&quot;: {&quot;driver&quot;: &quot;overlay&quot;, &quot;name&quot;: &quot;test_net_overlay&quot;, &quot;state&quot;: &quot;present&quot;}, &quot;module_stderr&quot;: &quot;Shared connection to 10.131.92.197 closed.\r\n&quot;, &quot;module_stdout&quot;: &quot;Traceback (most recent call last):\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 393, in &lt;module&gt;\r\n main()\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 386, in main\r\n cm = DockerNetworkManager(client)\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 215, in __init__\r\n self.parameters.connected = container_names_in_network(self.existing_network)\r\n File \&quot;/tmp/ansible_N_OU9h/ansible_module_docker_network.py\&quot;, line 197, in container_names_in_network\r\n return [c['Name'] for c in network['Containers'].values()]\r\nAttributeError: 'NoneType' object has no attribute 'values'\r\n&quot;, &quot;msg&quot;: &quot;MODULE FAILURE&quot;, &quot;rc&quot;: 0}"><pre class="notranslate"><code class="notranslate">failed: [10.131.92.197] (item={u'state': u'present', u'driver': u'overlay', u'name': u'test_net_overlay'}) =&gt; {"failed": true, "item": {"driver": "overlay", "name": "test_net_overlay", "state": "present"}, "module_stderr": "Shared connection to 10.131.92.197 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 393, in &lt;module&gt;\r\n main()\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 386, in main\r\n cm = DockerNetworkManager(client)\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 215, in __init__\r\n self.parameters.connected = container_names_in_network(self.existing_network)\r\n File \"/tmp/ansible_N_OU9h/ansible_module_docker_network.py\", line 197, in container_names_in_network\r\n return [c['Name'] for c in network['Containers'].values()]\r\nAttributeError: 'NoneType' object has no attribute 'values'\r\n", "msg": "MODULE FAILURE", "rc": 0} </code></pre></div>
0
<ul dir="auto"> <li>[ <g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔</g-emoji>] 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>[ <g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔</g-emoji>] 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: 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>open the "<a href="http://dubbo.apache.org/zh-cn/docs/user/demos/consumer-threadpool.html" rel="nofollow">http://dubbo.apache.org/zh-cn/docs/user/demos/consumer-threadpool.html</a>" on the browser.</li> <li>the url of "消费端线程池新.png" is incorrect.</li> </ol> <h3 dir="auto">Steps to repair the issue.</h3> <p dir="auto">1.change the url of "消费端线程池新.png" to "/img/docs/consumer-threadpool1.png"</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 27.0</li> <li>Operating System version: linux</li> <li>Java version: jdk1.8+</li> </ul> <p dir="auto">generic invoker occure:<br> java.lang.NoClassDefFoundError: org/apache/curator/framework/recipes/cache/TreeCacheListener</p>
0
<p dir="auto">Using a ListView with variable size items (expandable) and a TextField input leads to:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building NotificationListener&lt;KeepAliveNotification&gt;: flutter: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2756 pos 14: flutter: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true."><pre class="notranslate"><code class="notranslate">flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building NotificationListener&lt;KeepAliveNotification&gt;: flutter: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2756 pos 14: flutter: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. </code></pre></div> <p dir="auto">I'm using the beta branch v0.4.4 (tested with master as well).</p> <p dir="auto">To reproduce:<br> Follow this <a href="https://gist.github.com/rmarau/baa31a9c4032de388a2b7777c8bae27e">gist</a></p> <ol dir="auto"> <li>Tap an Item to expand.</li> <li>Tap the TextField to get focus</li> <li>Scroll down (3 strong swipes should be enough)</li> <li>Tap a random item to expand.<br> You should be hitting the assertion, in debug mode. Running in release, the assertion is not verified but the list gets clipped at the top.</li> </ol> <p dir="auto">This might be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="328075864" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/18063" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/18063/hovercard" href="https://github.com/flutter/flutter/issues/18063">#18063</a>: Same assertion but a different context.</p>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">I have a PageView that contains the top level widgets for my app, with switching between them controlled by a BottomNavBar. As per <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hixie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hixie">@Hixie</a>'s advice in the chat, I am adding <code class="notranslate">AutomaticKeepAliveClientMixin</code> to these top level widgets so the PageView won't recycle them and will preserve state. After I added this to the main widget that contains a network loaded ListView, on occasion when switching back to this ListView from another tab I get this failed assertion in the framework.</p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following assertion was thrown building NotificationListener&lt;KeepAliveNotification&gt;: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3031 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new When the exception was thrown, this was the stack: #2 RenderSliver&amp;ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart:3031:14) #3 RenderSliver&amp;ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:3065:5) #4 RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:193:17) #5 SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:840:18) #6 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4380:35) #7 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4151:5) #8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4515:16) #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3514:5) #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3509:5) #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3514:5) #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3509:5) #21 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3827:16) #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3514:5) #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3652:22) #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3509:5) #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #31 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:696:34) #32 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:665:7) #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #34 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4250:32) #35 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4631:17) #36 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:150:17) #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #39 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #40 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #44 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #46 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #49 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #50 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #53 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #54 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #56 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #57 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #58 StatelessElement.update (package:flutter/src/widgets/framework.dart:3596:5) #59 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #60 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #61 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #62 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #66 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #68 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4250:32) #69 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4631:17) #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #72 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #73 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #74 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #75 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #76 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #77 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #78 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #79 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #83 StatelessElement.update (package:flutter/src/widgets/framework.dart:3596:5) #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #85 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #86 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #88 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #89 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #90 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #92 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #93 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #94 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #96 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #97 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #98 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #99 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #100 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #101 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #102 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #103 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #104 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #105 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #107 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #108 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #109 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2260:33) #110 BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:503:20) #111 BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189:5) #112 BindingBase&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:695:15) #113 BindingBase&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:643:9) #114 _invoke (file:///b/build/slave/Mac_Engine/build/src/flutter/lib/ui/hooks.dart:86) #115 _drawFrame (file:///b/build/slave/Mac_Engine/build/src/flutter/lib/ui/hooks.dart:75) (elided 2 frames from class _AssertionError) ════════════════════════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3031 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3031 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true."><pre class="notranslate"><code class="notranslate">══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following assertion was thrown building NotificationListener&lt;KeepAliveNotification&gt;: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3031 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new When the exception was thrown, this was the stack: #2 RenderSliver&amp;ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart:3031:14) #3 RenderSliver&amp;ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:3065:5) #4 RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:193:17) #5 SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:840:18) #6 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4380:35) #7 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4151:5) #8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4515:16) #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3514:5) #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3509:5) #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3514:5) #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3509:5) #21 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3827:16) #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3514:5) #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3652:22) #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3509:5) #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2882:14) #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2685:12) #31 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:696:34) #32 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:665:7) #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #34 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4250:32) #35 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4631:17) #36 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:150:17) #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #39 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #40 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #44 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #46 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #49 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #50 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #53 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #54 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #56 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #57 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #58 StatelessElement.update (package:flutter/src/widgets/framework.dart:3596:5) #59 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #60 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #61 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #62 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #66 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #68 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4250:32) #69 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4631:17) #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #72 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #73 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #74 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #75 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #76 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #77 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #78 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #79 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #83 StatelessElement.update (package:flutter/src/widgets/framework.dart:3596:5) #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #85 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4523:14) #86 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #88 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #89 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #90 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #92 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #93 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #94 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #96 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #97 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #98 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #99 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #100 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #101 ProxyElement.update (package:flutter/src/widgets/framework.dart:3781:5) #102 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #103 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #104 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #105 StatefulElement.update (package:flutter/src/widgets/framework.dart:3671:5) #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2674:15) #107 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3546:16) #108 Element.rebuild (package:flutter/src/widgets/framework.dart:3435:5) #109 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2260:33) #110 BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding&amp;WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:503:20) #111 BindingBase&amp;SchedulerBinding&amp;GestureBinding&amp;ServicesBinding&amp;RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189:5) #112 BindingBase&amp;SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:695:15) #113 BindingBase&amp;SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:643:9) #114 _invoke (file:///b/build/slave/Mac_Engine/build/src/flutter/lib/ui/hooks.dart:86) #115 _drawFrame (file:///b/build/slave/Mac_Engine/build/src/flutter/lib/ui/hooks.dart:75) (elided 2 frames from class _AssertionError) ════════════════════════════════════════════════════════════════════════════════════════════════════ Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3031 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3031 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3437 pos 14: 'owner._debugCurrentBuildTarget == this': is not true. </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing /Users/matt/code/flutter/kudos... lint • Don't import implementation files from another package at lib/feed.dart:5:8 • implementation_imports lint • Close instances of `dart.core.Sink` at lib/feed.dart:26:26 • close_sinks lint • Don't explicitly initialize variables to null at lib/loading_list_view.dart:23:5 • avoid_init_to_null lint • Don't import implementation files from another package at lib/post.dart:3:8 • implementation_imports hint • Unused import at lib/application.dart:4:8 • unused_import hint • Unused import at lib/feed.dart:2:8 • unused_import hint • Unused import at lib/feed.dart:5:8 • unused_import hint • Unused import at lib/feed.dart:7:8 • unused_import hint • Unused import at lib/feed.dart:12:8 • unused_import hint • Unused import at lib/feed.dart:13:8 • unused_import hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:29:8 • must_call_super hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:40:8 • must_call_super hint • The type parameter 'widgetAdapter' is annotated with @required but only named parameters without default value can be annotated with it at lib/loading_list_view.dart:23:5 • invalid_required_param hint • Unused import at lib/main.dart:6:8 • unused_import hint • The value of the field '_counter' isn't used at lib/main.dart:56:7 • unused_field hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/main.dart:63:8 • must_call_super hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/main.dart:71:8 • must_call_super hint • The method '_incrementCounter' isn't used at lib/main.dart:76:8 • unused_element hint • Unused import at lib/post.dart:7:8 • unused_import hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:10:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:34:7 • must_be_immutable hint • The value of the local variable 'plainText' isn't used at lib/post.dart:71:10 • unused_local_variable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:112:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:160:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:10:7 • must_be_immutable hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/profile.dart:27:10 • must_call_super hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:145:7 • must_be_immutable hint • The class '_KudosEarned' isn't used at lib/profile.dart:218:7 • unused_element hint • Unused import at lib/send_photo.dart:5:8 • unused_import hint • Unused import at lib/usersearch.dart:6:8 • unused_import hint • Unused import at lib/usersearch.dart:7:8 • unused_import hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/usersearch.dart:25:10 • must_call_super 32 issues found."><pre class="notranslate"><code class="notranslate">Analyzing /Users/matt/code/flutter/kudos... lint • Don't import implementation files from another package at lib/feed.dart:5:8 • implementation_imports lint • Close instances of `dart.core.Sink` at lib/feed.dart:26:26 • close_sinks lint • Don't explicitly initialize variables to null at lib/loading_list_view.dart:23:5 • avoid_init_to_null lint • Don't import implementation files from another package at lib/post.dart:3:8 • implementation_imports hint • Unused import at lib/application.dart:4:8 • unused_import hint • Unused import at lib/feed.dart:2:8 • unused_import hint • Unused import at lib/feed.dart:5:8 • unused_import hint • Unused import at lib/feed.dart:7:8 • unused_import hint • Unused import at lib/feed.dart:12:8 • unused_import hint • Unused import at lib/feed.dart:13:8 • unused_import hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:29:8 • must_call_super hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/feed.dart:40:8 • must_call_super hint • The type parameter 'widgetAdapter' is annotated with @required but only named parameters without default value can be annotated with it at lib/loading_list_view.dart:23:5 • invalid_required_param hint • Unused import at lib/main.dart:6:8 • unused_import hint • The value of the field '_counter' isn't used at lib/main.dart:56:7 • unused_field hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/main.dart:63:8 • must_call_super hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/main.dart:71:8 • must_call_super hint • The method '_incrementCounter' isn't used at lib/main.dart:76:8 • unused_element hint • Unused import at lib/post.dart:7:8 • unused_import hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:10:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:34:7 • must_be_immutable hint • The value of the local variable 'plainText' isn't used at lib/post.dart:71:10 • unused_local_variable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:112:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/post.dart:160:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:10:7 • must_be_immutable hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/profile.dart:27:10 • must_call_super hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at lib/profile.dart:145:7 • must_be_immutable hint • The class '_KudosEarned' isn't used at lib/profile.dart:218:7 • unused_element hint • Unused import at lib/send_photo.dart:5:8 • unused_import hint • Unused import at lib/usersearch.dart:6:8 • unused_import hint • Unused import at lib/usersearch.dart:7:8 • unused_import hint • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method at lib/usersearch.dart:25:10 • must_call_super 32 issues found. </code></pre></div> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha) • Flutter at /Users/matt/code/flutter/flutter • Framework revision b156a0f054 (3 weeks ago), 2017-08-11 22:01:40 -0700 • Engine revision fef7d827d6 • Tools Dart version 1.25.0-dev.9.0 [✓] Android toolchain - develop for Android devices (Android SDK 25.0.3) • Android SDK at /Users/matt/code/android/android • Platform android-25, build-tools 25.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 8.3.3, Build version 8E3004b • ios-deploy 1.9.1 • CocoaPods version 1.3.1 [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Ultimate Edition (version 2017.2.2) • Flutter plugin version 16.0 • Dart plugin version 172.3757.55 [✓] Connected devices • iPhone 6s • 3DF999CB-1CD6-4649-8187-DDEFBDB14DFA • ios • iOS 10.3 (simulator) "><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha) • Flutter at /Users/matt/code/flutter/flutter • Framework revision b156a0f054 (3 weeks ago), 2017-08-11 22:01:40 -0700 • Engine revision fef7d827d6 • Tools Dart version 1.25.0-dev.9.0 [✓] Android toolchain - develop for Android devices (Android SDK 25.0.3) • Android SDK at /Users/matt/code/android/android • Platform android-25, build-tools 25.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 8.3.3, Build version 8E3004b • ios-deploy 1.9.1 • CocoaPods version 1.3.1 [✓] Android Studio (version 2.3) • Android Studio at /Applications/Android Studio.app/Contents • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06) [✓] IntelliJ IDEA Ultimate Edition (version 2017.2.2) • Flutter plugin version 16.0 • Dart plugin version 172.3757.55 [✓] Connected devices • iPhone 6s • 3DF999CB-1CD6-4649-8187-DDEFBDB14DFA • ios • iOS 10.3 (simulator) </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>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-target-the-parent-of-an-element-using-jquery" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-target-the-parent-of-an-element-using-jquery</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">I solved the whole thing and the error is still there saying "Your left-well element should have a red background." when it is red already and the code is correct too, please check it!!</p>
<p dir="auto">Challenge <a href="http://beta.freecodecamp.com/en/challenges/basic-javascript/global-scope-and-functions" rel="nofollow">global-scope-and-functions</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // Declare your variable here var myGlobal = 10; function fun1() { // Assign 5 to oopsGlobal Here oopsGlobal = 5; } // Only change code above this line function fun2() { var output = &quot;&quot;; if (typeof myGlobal != &quot;undefined&quot;) { output += &quot;myGlobal: &quot; + myGlobal; } if (typeof oopsGlobal != &quot;undefined&quot;) { output += &quot; oopsGlobal: &quot; + oopsGlobal; } console.log(output); } "><pre class="notranslate"><span class="pl-c">// Declare your variable here</span> <span class="pl-k">var</span> <span class="pl-s1">myGlobal</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-en">fun1</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// Assign 5 to oopsGlobal Here</span> <span class="pl-s1">oopsGlobal</span> <span class="pl-c1">=</span> <span class="pl-c1">5</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// Only change code above this line</span> <span class="pl-k">function</span> <span class="pl-en">fun2</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">output</span> <span class="pl-c1">=</span> <span class="pl-s">""</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">myGlobal</span> <span class="pl-c1">!=</span> <span class="pl-s">"undefined"</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">output</span> <span class="pl-c1">+=</span> <span class="pl-s">"myGlobal: "</span> <span class="pl-c1">+</span> <span class="pl-s1">myGlobal</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-k">typeof</span> <span class="pl-s1">oopsGlobal</span> <span class="pl-c1">!=</span> <span class="pl-s">"undefined"</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">output</span> <span class="pl-c1">+=</span> <span class="pl-s">" oopsGlobal: "</span> <span class="pl-c1">+</span> <span class="pl-s1">oopsGlobal</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">output</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">The first time I attempted to submit my code it said I had not assigned 5 to oopsGlobal. After a refresh it said that I had used var oopsGlobal =5; Neither of these is the case.</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">Variable expansion/core.</p> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">Tried with both 1.9.x and 2.1.x, but different failures occur (see below for details).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 1.9.6 configured module search path = None"><pre class="notranslate"><code class="notranslate">ansible 1.9.6 configured module search path = None </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.0.0 config file = configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.1.0.0 config file = configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Only the <strong>ANSIBLE_HOSTS</strong> to point to correct inventory.</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Gentoo 64-bit, Ansible installed via virtualenv, local actions only.</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Nested variables from group_vars are not fully expanded when used in handler names.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <ol dir="auto"> <li>Create a simple role (useful to allow duplicates for testing) that has single task which triggers a handler that contains variable expansion in its name, for example <code class="notranslate">Handler {{ myvar }}</code>.</li> <li>Create a group vars file that defines a single variable (not the <code class="notranslate">myvar</code> one).</li> <li>Run a playbook that invokes the role by passing in the variable value. The value should reference the variable defined in group_vars. For example <code class="notranslate">myvar: "this_is_{{ blah }}"</code>.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ./test.yml - hosts: localhost roles: - role: sample myvar: &quot;not_nested&quot; - role: sample myvar: &quot;nested_with_{{ inlinevar }}&quot; - role: sample anothervar: anothervar myvar: &quot;nested_with_{{ anothervar }}&quot; # ./hosts localhost ansible_connection=local # ./group_vars/all.yml --- inlinevar: &quot;inline_variable&quot; # ./roles/sample/meta/main.yml --- allow_duplicates: yes # ./roles/sample/tasks/main.yml --- - debug: msg=&quot;Triggering change with myvar set to {{ myvar }}&quot; changed_when: True notify: - &quot;Notify handler {{ myvar }}&quot; # ./roles/sample/handlers/main.yml --- - name: &quot;Notify handler {{ myvar }}&quot; debug: msg=&quot;Handler got notified with myvar set to {{ myvar }}&quot;"><pre class="notranslate"><code class="notranslate"># ./test.yml - hosts: localhost roles: - role: sample myvar: "not_nested" - role: sample myvar: "nested_with_{{ inlinevar }}" - role: sample anothervar: anothervar myvar: "nested_with_{{ anothervar }}" # ./hosts localhost ansible_connection=local # ./group_vars/all.yml --- inlinevar: "inline_variable" # ./roles/sample/meta/main.yml --- allow_duplicates: yes # ./roles/sample/tasks/main.yml --- - debug: msg="Triggering change with myvar set to {{ myvar }}" changed_when: True notify: - "Notify handler {{ myvar }}" # ./roles/sample/handlers/main.yml --- - name: "Notify handler {{ myvar }}" debug: msg="Handler got notified with myvar set to {{ myvar }}" </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">When handlers are run, all variables, including nested ones, have been fully expanded. Example output would be:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NOTIFIED: [sample | Notify handler nested_with_inline_variable] *************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Handler got notified with myvar set to nested_with_inline_variable&quot; }"><pre class="notranslate"><code class="notranslate">NOTIFIED: [sample | Notify handler nested_with_inline_variable] *************** ok: [localhost] =&gt; { "msg": "Handler got notified with myvar set to nested_with_inline_variable" } </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">With Ansible 1.9.6:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [localhost] ************************************************************** GATHERING FACTS *************************************************************** &lt;localhost&gt; REMOTE_MODULE setup &lt;localhost&gt; EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002 &amp;&amp; chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002 &amp;&amp; echo $HOME/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002'] &lt;localhost&gt; PUT /tmp/tmpSYEsgV TO /home/branko/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002/setup &lt;localhost&gt; EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/branko/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002/setup; rm -rf /home/branko/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002/ &gt;/dev/null 2&gt;&amp;1'] ok: [localhost] TASK: [sample | debug msg=&quot;Triggering change with myvar set to not_nested&quot;] *** changed: [localhost] =&gt; { &quot;changed&quot;: true, &quot;msg&quot;: &quot;Triggering change with myvar set to not_nested&quot; } TASK: [sample | debug msg=&quot;Triggering change with myvar set to nested_with_{{ inlinevar }}&quot;] *** changed: [localhost] =&gt; { &quot;changed&quot;: true, &quot;msg&quot;: &quot;Triggering change with myvar set to nested_with_inline_variable&quot; } TASK: [sample | debug msg=&quot;Triggering change with myvar set to nested_with_anothervar&quot;] *** changed: [localhost] =&gt; { &quot;changed&quot;: true, &quot;msg&quot;: &quot;Triggering change with myvar set to nested_with_anothervar&quot; } NOTIFIED: [sample | Notify handler not_nested] ******************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Handler got notified with myvar set to not_nested&quot; } NOTIFIED: [sample | Notify handler nested_with_{{ inlinevar }}] *************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Handler got notified with myvar set to nested_with_inline_variable&quot; } NOTIFIED: [sample | Notify handler nested_with_anothervar] ******************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Handler got notified with myvar set to nested_with_anothervar&quot; } PLAY RECAP ******************************************************************** localhost : ok=7 changed=3 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [localhost] ************************************************************** GATHERING FACTS *************************************************************** &lt;localhost&gt; REMOTE_MODULE setup &lt;localhost&gt; EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002 &amp;&amp; chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002 &amp;&amp; echo $HOME/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002'] &lt;localhost&gt; PUT /tmp/tmpSYEsgV TO /home/branko/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002/setup &lt;localhost&gt; EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/branko/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002/setup; rm -rf /home/branko/.ansible/tmp/ansible-tmp-1466243767.71-214122205397002/ &gt;/dev/null 2&gt;&amp;1'] ok: [localhost] TASK: [sample | debug msg="Triggering change with myvar set to not_nested"] *** changed: [localhost] =&gt; { "changed": true, "msg": "Triggering change with myvar set to not_nested" } TASK: [sample | debug msg="Triggering change with myvar set to nested_with_{{ inlinevar }}"] *** changed: [localhost] =&gt; { "changed": true, "msg": "Triggering change with myvar set to nested_with_inline_variable" } TASK: [sample | debug msg="Triggering change with myvar set to nested_with_anothervar"] *** changed: [localhost] =&gt; { "changed": true, "msg": "Triggering change with myvar set to nested_with_anothervar" } NOTIFIED: [sample | Notify handler not_nested] ******************************** ok: [localhost] =&gt; { "msg": "Handler got notified with myvar set to not_nested" } NOTIFIED: [sample | Notify handler nested_with_{{ inlinevar }}] *************** ok: [localhost] =&gt; { "msg": "Handler got notified with myvar set to nested_with_inline_variable" } NOTIFIED: [sample | Notify handler nested_with_anothervar] ******************** ok: [localhost] =&gt; { "msg": "Handler got notified with myvar set to nested_with_anothervar" } PLAY RECAP ******************************************************************** localhost : ok=7 changed=3 unreachable=0 failed=0 </code></pre></div> <p dir="auto">With Ansible 2.1.0 (notice that the handler is not executed at all):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="No config file found; using defaults Loaded callback default of type stdout, v2.0 PLAYBOOK: test.yml ************************************************************* 1 plays in test.yml PLAY [localhost] *************************************************************** TASK [setup] ******************************************************************* &lt;localhost&gt; ESTABLISH LOCAL CONNECTION FOR USER: branko &lt;localhost&gt; EXEC /bin/sh -c '( umask 77 &amp;&amp; mkdir -p &quot;` echo $HOME/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470 `&quot; &amp;&amp; echo ansible-tmp-1466243803.88-148745907678470=&quot;` echo $HOME/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470 `&quot; ) &amp;&amp; sleep 0' &lt;localhost&gt; PUT /tmp/tmp_w1mcm TO /home/branko/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470/setup &lt;localhost&gt; EXEC /bin/sh -c 'LANG=en_US.utf8 LC_ALL=en_US.utf8 LC_MESSAGES=en_US.utf8 /usr/bin/python /home/branko/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470/setup; rm -rf &quot;/home/branko/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470/&quot; &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0' ok: [localhost] TASK [sample : debug] ********************************************************** task path: /home/branko/projects/anstest/roles/sample/tasks/main.yml:3 NOTIFIED HANDLER Notify handler not_nested ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Triggering change with myvar set to not_nested&quot; } TASK [sample : debug] ********************************************************** task path: /home/branko/projects/anstest/roles/sample/tasks/main.yml:3 NOTIFIED HANDLER Notify handler nested_with_inline_variable ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Triggering change with myvar set to nested_with_inline_variable&quot; } TASK [sample : debug] ********************************************************** task path: /home/branko/projects/anstest/roles/sample/tasks/main.yml:3 NOTIFIED HANDLER Notify handler nested_with_anothervar ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Triggering change with myvar set to nested_with_anothervar&quot; } RUNNING HANDLER [sample : Notify handler not_nested] *************************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Handler got notified with myvar set to not_nested&quot; } RUNNING HANDLER [sample : Notify handler nested_with_anothervar] *************** ok: [localhost] =&gt; { &quot;msg&quot;: &quot;Handler got notified with myvar set to nested_with_anothervar&quot; } PLAY RECAP ********************************************************************* localhost : ok=6 changed=3 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">No config file found; using defaults Loaded callback default of type stdout, v2.0 PLAYBOOK: test.yml ************************************************************* 1 plays in test.yml PLAY [localhost] *************************************************************** TASK [setup] ******************************************************************* &lt;localhost&gt; ESTABLISH LOCAL CONNECTION FOR USER: branko &lt;localhost&gt; EXEC /bin/sh -c '( umask 77 &amp;&amp; mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470 `" &amp;&amp; echo ansible-tmp-1466243803.88-148745907678470="` echo $HOME/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470 `" ) &amp;&amp; sleep 0' &lt;localhost&gt; PUT /tmp/tmp_w1mcm TO /home/branko/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470/setup &lt;localhost&gt; EXEC /bin/sh -c 'LANG=en_US.utf8 LC_ALL=en_US.utf8 LC_MESSAGES=en_US.utf8 /usr/bin/python /home/branko/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470/setup; rm -rf "/home/branko/.ansible/tmp/ansible-tmp-1466243803.88-148745907678470/" &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0' ok: [localhost] TASK [sample : debug] ********************************************************** task path: /home/branko/projects/anstest/roles/sample/tasks/main.yml:3 NOTIFIED HANDLER Notify handler not_nested ok: [localhost] =&gt; { "msg": "Triggering change with myvar set to not_nested" } TASK [sample : debug] ********************************************************** task path: /home/branko/projects/anstest/roles/sample/tasks/main.yml:3 NOTIFIED HANDLER Notify handler nested_with_inline_variable ok: [localhost] =&gt; { "msg": "Triggering change with myvar set to nested_with_inline_variable" } TASK [sample : debug] ********************************************************** task path: /home/branko/projects/anstest/roles/sample/tasks/main.yml:3 NOTIFIED HANDLER Notify handler nested_with_anothervar ok: [localhost] =&gt; { "msg": "Triggering change with myvar set to nested_with_anothervar" } RUNNING HANDLER [sample : Notify handler not_nested] *************************** ok: [localhost] =&gt; { "msg": "Handler got notified with myvar set to not_nested" } RUNNING HANDLER [sample : Notify handler nested_with_anothervar] *************** ok: [localhost] =&gt; { "msg": "Handler got notified with myvar set to nested_with_anothervar" } PLAY RECAP ********************************************************************* localhost : ok=6 changed=3 unreachable=0 failed=0 </code></pre></div>
<p dir="auto">Split changelog into file per release, it is getting unwieldy, also it would be nice to create ToC and sunset the RELEASES.txt as it is mostly duplicate information.</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Feature Idea</li> <li>Documentation Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">changelog</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.5"><pre class="notranslate"><code class="notranslate">2.5 </code></pre></div>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Expecting <code class="notranslate">fullWidth</code> to make the input take up the full width of its container, even when it has the startAdornment property.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Adornment overwrites the width property.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2535291/32172418-3111560a-bd84-11e7-9f64-77b7e71132e3.png"><img src="https://user-images.githubusercontent.com/2535291/32172418-3111560a-bd84-11e7-9f64-77b7e71132e3.png" alt="screen shot 2017-10-30 at 15 07 51" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;Input fullWidth startAdornment={&lt;InputAdornment position=&quot;start&quot;&gt;&lt;SearchIcon /&gt;&lt;/InputAdornment&gt;} placeholder=&quot;Input&quot; disableUnderline /&gt;"><pre class="notranslate"><code class="notranslate"> &lt;Input fullWidth startAdornment={&lt;InputAdornment position="start"&gt;&lt;SearchIcon /&gt;&lt;/InputAdornment&gt;} placeholder="Input" disableUnderline /&gt; </code></pre></div> <p dir="auto">This component would provide us an input where the <code class="notranslate">width</code> is set to <code class="notranslate">auto</code> by InputAdornment class.</p> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.18</td> </tr> <tr> <td>React</td> <td>16</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> </tbody> </table>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">CircularProgress animation should be smooth and predictable under load</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The animation is okay but the dynamic length of the line only updates once a while under load. Maybe my understanding of Promise is wrong? I thought it would move the load away from the main UI thread?</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3165635/45252949-df553080-b35e-11e8-9d3c-934f2e959019.gif"><img src="https://user-images.githubusercontent.com/3165635/45252949-df553080-b35e-11e8-9d3c-934f2e959019.gif" alt="sept -08-2018 12-00-39" data-animated-image="" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>generate some load inside a promise</li> <li>observe CircularProgress animation, it still runs but the length of the circle stays constant</li> </ol> <p dir="auto">demo: <a href="https://codesandbox.io/s/j4xvnvv8nv" rel="nofollow">https://codesandbox.io/s/j4xvnvv8nv</a> (warning, Chrome pls, firefox crashes under this artificial load)</p> <h2 dir="auto">Context</h2> <p dir="auto">My app uses canvas to resize a bunch of user selected files. I tried CircularProgress but to my surprise the animation is semi broken. My workaround: animated Gif.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>v1.0.0-beta.33</td> </tr> <tr> <td>React</td> <td>16.3</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> </tbody> </table>
0
<p dir="auto">The range query support 'lte/lt/gt/gte', will the range aggregation support too?<br> For price of goods, I want to use range [0,50], [50,100], ...</p>
<h3 dir="auto">Problem</h3> <p dir="auto">Right now to prevent duplicates in index you have two options:</p> <ul dir="auto"> <li>generate id based on document content in your application. Problems: <ul dir="auto"> <li>simple methods (md5 checksum of field or fields for example) work only with 1:1 matches</li> <li>more complex methods require document processing and that forces you to duplicate parts of ES in your app (stemming, stopwords etc) and even then you only detect a duplicate if end result matches 1:1 whatever you have in ES</li> </ul> </li> <li>search for each document in ES before inserting it. Problems: <ul dir="auto"> <li>doesn't work with bulk inserts (and is unusable in many places just because of this)</li> <li>at least doubles item-by-item insert time (2 separate requests)</li> <li>isn't atomic</li> </ul> </li> </ul> <h3 dir="auto">Possible solution</h3> <p dir="auto">Feature similar to Solr de-duplication <a href="https://cwiki.apache.org/confluence/display/solr/De-Duplication" rel="nofollow">https://cwiki.apache.org/confluence/display/solr/De-Duplication</a><br> but instead of simple signatures offered by Solr, something using <a href="https://github.com/larsga/Duke">https://github.com/larsga/Duke</a> (or parts of it)<br> There is already a plugin doing this for search <a href="https://github.com/YannBrrd/elasticsearch-entity-resolution">https://github.com/YannBrrd/elasticsearch-entity-resolution</a></p>
0
<p dir="auto">sklearn 0.18.1<br> numpy 1.12.0rc1,<br> scipy 0.18.1<br> sklearn 0.18.1<br> python 3.5.2</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sklearn.metrics import confusion_matrix"><pre class="notranslate"><code class="notranslate">from sklearn.metrics import confusion_matrix </code></pre></div> <p dir="auto">File "lib\sklearn_<em>init</em>_.py", line 57, in <br> from .base import clone<br> File "lib\sklearn\base.py", line 12, in <br> from .utils.fixes import signature<br> File "lib\sklearn\utils_<em>init</em>_.py", line 11, in <br> from .validation import (as_float_array,<br> File "lib\sklearn\utils\validation.py", line 18, in <br> from ..utils.fixes import signature<br> File "lib\sklearn\utils\fixes.py", line 406, in <br> if np_version &lt; (1, 12, 0):<br> TypeError: unorderable types: str() &lt; int()</p> <p dir="auto">File: sklearn\utils\fixes.py, line 406 if the 'if' statement</p> <p dir="auto">if np_version &lt; (1, 12, 0):<br> class MaskedArray(np.ma.MaskedArray):<br> # Before numpy 1.12, np.ma.MaskedArray object is not picklable<br> # This fix is needed to make our model_selection.GridSearchCV</p>
<p dir="auto">There is a new bug in master brunch, <code class="notranslate">scikit-learn/sklearn/utils/fixes.py</code><br> in line 406: <code class="notranslate">if np_version &lt; (1, 12, 0):</code> , an error occured, <code class="notranslate">TypeError: unorderable types: str() &lt; int()</code>.<br> It's because in the function :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def _parse_version(version_string): version = [] for x in version_string.split('.'): try: version.append(int(x)) except ValueError: # x may be of the form dev-1ea1592 version.append(x) return tuple(version)"><pre class="notranslate"><code class="notranslate">def _parse_version(version_string): version = [] for x in version_string.split('.'): try: version.append(int(x)) except ValueError: # x may be of the form dev-1ea1592 version.append(x) return tuple(version) </code></pre></div> <p dir="auto">However, my numpy version is:<code class="notranslate">1.12.0b1</code>, this funciotn return a tuple(1,12,'0b1') , but in line 406, It is compared with integer type, so the error occured.<br> I just in a simple way to solve it. I change the code to <code class="notranslate">if np_version &lt; (1, 12, '0'):</code> in line 406, just change the third tuple index to string type.<br> Of course, this is not a common method.</p>
1
<p dir="auto">I'm trying to add a new grammar to spell-check, and I see this:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4427/5688950/436f8744-9812-11e4-8169-f81679ffdd6c.png"><img src="https://cloud.githubusercontent.com/assets/4427/5688950/436f8744-9812-11e4-8169-f81679ffdd6c.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">There's no easy way that I know of to append to that list of defaults. Instead I have to track down what the defaults are, paste them in, and append my own grammar. Then I have to hope that the defaults don't change in a future version of Atom, making my copied list of defaults stale.</p>
<p dir="auto">Just installed atom. Being a python developer I wanted to hide *.pyc from tree view, but I also wanted to maintain the default ignored names. The problem is ".git, .hg, .svn, .DS_Store, Thumbs.db" dissapears when the textbox is clicked, and the user has to type it all again</p>
1
<p dir="auto">Requiring a package in bundle e.g. <code class="notranslate">import camelcase from 'camelcase'</code> resolves to <code class="notranslate">&lt;root_dir&gt;/node_modules/next/node_modules/camelcase</code> before <code class="notranslate">&lt;root_dir&gt;/node_modules</code>.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Requiring a package that's a direct dependency resolves project's <code class="notranslate">node_modules</code></p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Webpack looks in next's nested node_modules</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li><code class="notranslate">yarn add [email protected]</code></li> <li>add import to a <code class="notranslate">pages/index.js</code> <code class="notranslate">import camelcase from 'camelcase'</code></li> <li><code class="notranslate">next build</code></li> <li>Build bundles package/chunk using next's <code class="notranslate">camelcase</code> which is version 4 <ol dir="auto"> <li>Which leads to an uglifyJS error because camelcase v4 is published as es2015.</li> </ol> </li> </ol> <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.2</td> </tr> <tr> <td>node</td> <td>8</td> </tr> </tbody> </table> <p dir="auto">Note: I know <code class="notranslate">camelcase</code> is not a browser module, but it's just an example.</p>
<p dir="auto">Hello! I'm just now getting started with next (using version 1.2.3), and I have the following folder structure:</p> <ul dir="auto"> <li>package.json</li> <li>pages <ul dir="auto"> <li>index.js</li> </ul> </li> <li>lib <ul dir="auto"> <li>components <ul dir="auto"> <li>Test.js</li> </ul> </li> </ul> </li> </ul> <p dir="auto">I have a symlink: <code class="notranslate">node_modules/lib -&gt; ../lib</code>.<br> I import my <code class="notranslate">Test</code> component with <code class="notranslate">import Test from 'lib/components/Test'</code>.</p> <p dir="auto">This works fine, but it seems to not be transpiled: if I <code class="notranslate">import</code> anything from my <code class="notranslate">Test</code> component, I get the following error: <code class="notranslate">SyntaxError: Unexpected token import</code>.</p> <p dir="auto">Any guidance here? I'd be fine having my <code class="notranslate">/components</code> under <code class="notranslate">/pages</code> but I don't want them to be able to be served up standalone.</p> <p dir="auto">Thanks!</p>
0
<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p> <p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow):</li> <li>OS Platform and Distribution (e.g., 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):</li> <li>TensorFlow version (use command below):</li> <li>Python version:</li> <li>Bazel version (if compiling from source):</li> <li>GCC/Compiler version (if compiling from source):</li> <li>CUDA/cuDNN version:</li> <li>GPU model and memory:</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></p> <p dir="auto"><strong>Describe the expected behavior</strong></p> <p dir="auto"><strong>Code to reproduce the issue</strong><br> Provide a reproducible test case that is the bare minimum necessary to generate the problem.</p> <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.</p>
<p dir="auto">I got an error message including a request that I report a bug.</p> <p dir="auto">Here's the code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import tensorflow as tf import platform print() print(f&quot;PLATFORM:\n---------\n{platform.platform()}&quot;) print(&quot;\nTENSORFLOW:\n----------&quot;) for a in tf.version.__all__: print(f&quot;{a}: {getattr(tf.version, a)}&quot;) print(f&quot;\nNUMPY:\n-----\n{np.version.version}&quot;) print(f&quot;\nPYTHON:\n-------\n{sys.version}\n&quot;) np.random.seed(0) tf.random.set_seed(0) model = tf.keras.models.Sequential([ tf.keras.layers.Dense(1, activation=&quot;linear&quot;) ]) model.compile(optimizer=&quot;sgd&quot;, loss=&quot;mse&quot;) x = np.random.uniform(size=(1,1)) y = np.random.uniform(size=(1,)) model.fit(x, y, epochs=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">tensorflow</span> <span class="pl-k">as</span> <span class="pl-s1">tf</span> <span class="pl-k">import</span> <span class="pl-s1">platform</span> <span class="pl-en">print</span>() <span class="pl-en">print</span>(<span class="pl-s">f"PLATFORM:<span class="pl-cce">\n</span>---------<span class="pl-cce">\n</span><span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">platform</span>.<span class="pl-en">platform</span>()<span class="pl-kos">}</span></span>"</span>) <span class="pl-en">print</span>(<span class="pl-s">"<span class="pl-cce">\n</span>TENSORFLOW:<span class="pl-cce">\n</span>----------"</span>) <span class="pl-k">for</span> <span class="pl-s1">a</span> <span class="pl-c1">in</span> <span class="pl-s1">tf</span>.<span class="pl-s1">version</span>.<span class="pl-s1">__all__</span>: <span class="pl-en">print</span>(<span class="pl-s">f"<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">a</span><span class="pl-kos">}</span></span>: <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-en">getattr</span>(<span class="pl-s1">tf</span>.<span class="pl-s1">version</span>, <span class="pl-s1">a</span>)<span class="pl-kos">}</span></span>"</span>) <span class="pl-en">print</span>(<span class="pl-s">f"<span class="pl-cce">\n</span>NUMPY:<span class="pl-cce">\n</span>-----<span class="pl-cce">\n</span><span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">np</span>.<span class="pl-s1">version</span>.<span class="pl-s1">version</span><span class="pl-kos">}</span></span>"</span>) <span class="pl-en">print</span>(<span class="pl-s">f"<span class="pl-cce">\n</span>PYTHON:<span class="pl-cce">\n</span>-------<span class="pl-cce">\n</span><span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">sys</span>.<span class="pl-s1">version</span><span class="pl-kos">}</span></span><span class="pl-cce">\n</span>"</span>) <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">seed</span>(<span class="pl-c1">0</span>) <span class="pl-s1">tf</span>.<span class="pl-s1">random</span>.<span class="pl-en">set_seed</span>(<span class="pl-c1">0</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">Sequential</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">activation</span><span class="pl-c1">=</span><span class="pl-s">"linear"</span>) ]) <span class="pl-s1">model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s">"sgd"</span>, <span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">"mse"</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>,<span class="pl-c1">1</span>)) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>,)) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)</pre></div> <p dir="auto">And here's the output, including system info, module versions, etc.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" PLATFORM: --------- Darwin-18.7.0-x86_64-i386-64bit TENSORFLOW: ---------- COMPILER_VERSION: 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5) GIT_VERSION: v2.0.0-beta1-5101-gc75bb66a99 GRAPH_DEF_VERSION: 119 GRAPH_DEF_VERSION_MIN_CONSUMER: 0 GRAPH_DEF_VERSION_MIN_PRODUCER: 0 VERSION: 2.0.0-rc0 NUMPY: ----- 1.17.1 PYTHON: ------- 3.7.4 (default, Jul 9 2019, 18:13:23) [Clang 10.0.1 (clang-1001.0.46.4)] Train on 1 samples WARNING:tensorflow:Entity &lt;function Function._initialize_uninitialized_variables.&lt;locals&gt;.initialize_variables at 0x1492748c0&gt; could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: module 'gast' has no attribute 'Num' WARNING: Entity &lt;function Function._initialize_uninitialized_variables.&lt;locals&gt;.initialize_variables at 0x1492748c0&gt; could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: module 'gast' has no attribute 'Num' 1/1 [==============================] - 0s 157ms/sample - loss: 1.2336 &lt;tensorflow.python.keras.callbacks.History at 0x14927b5d0&gt;"><pre class="notranslate"><code class="notranslate"> PLATFORM: --------- Darwin-18.7.0-x86_64-i386-64bit TENSORFLOW: ---------- COMPILER_VERSION: 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5) GIT_VERSION: v2.0.0-beta1-5101-gc75bb66a99 GRAPH_DEF_VERSION: 119 GRAPH_DEF_VERSION_MIN_CONSUMER: 0 GRAPH_DEF_VERSION_MIN_PRODUCER: 0 VERSION: 2.0.0-rc0 NUMPY: ----- 1.17.1 PYTHON: ------- 3.7.4 (default, Jul 9 2019, 18:13:23) [Clang 10.0.1 (clang-1001.0.46.4)] Train on 1 samples WARNING:tensorflow:Entity &lt;function Function._initialize_uninitialized_variables.&lt;locals&gt;.initialize_variables at 0x1492748c0&gt; could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: module 'gast' has no attribute 'Num' WARNING: Entity &lt;function Function._initialize_uninitialized_variables.&lt;locals&gt;.initialize_variables at 0x1492748c0&gt; could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: module 'gast' has no attribute 'Num' 1/1 [==============================] - 0s 157ms/sample - loss: 1.2336 &lt;tensorflow.python.keras.callbacks.History at 0x14927b5d0&gt; </code></pre></div>
1
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">I am building python-matplotlib RPM for Fedora and I've found out that I cannot execute tests because the file <code class="notranslate">mpl_toolkits/__init__.py</code> is missing.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="MATPLOTLIBDATA=$PWD/lib/matplotlib/mpl-data/ PYTHONPATH=/builddir/build/BUILDROOT/python-matplotlib-2.1.0-1.fc28.2.x86_64/usr/lib64/python2.7/site-packages/ python tests.py "><pre class="notranslate"><code class="notranslate">MATPLOTLIBDATA=$PWD/lib/matplotlib/mpl-data/ PYTHONPATH=/builddir/build/BUILDROOT/python-matplotlib-2.1.0-1.fc28.2.x86_64/usr/lib64/python2.7/site-packages/ python tests.py </code></pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="('Python byte-compilation optimization level:', 0) ========================================== test session starts ========================================== platform linux2 -- Python 2.7.14, pytest-3.2.3, py-1.5.2, pluggy-0.4.0 rootdir: /builddir/build/BUILD/matplotlib-2.1.0, inifile: pytest.ini ===================================== no tests ran in 0.00 seconds ====================================== ERROR: file or package not found: mpl_toolkits.tests (missing __init__.py?)"><pre class="notranslate"><code class="notranslate">('Python byte-compilation optimization level:', 0) ========================================== test session starts ========================================== platform linux2 -- Python 2.7.14, pytest-3.2.3, py-1.5.2, pluggy-0.4.0 rootdir: /builddir/build/BUILD/matplotlib-2.1.0, inifile: pytest.ini ===================================== no tests ran in 0.00 seconds ====================================== ERROR: file or package not found: mpl_toolkits.tests (missing __init__.py?) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat setup.cfg [packages] tests = True toolkits_tests = True [rc_options] backend = TkAgg $ cd /builddir/build/BUILDROOT/python-matplotlib-2.1.0-1.fc28.2.x86_64/usr/lib64/python2.7/site-packages/mpl_toolkits/ $ ll total 92 drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 axes_grid drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 axes_grid1 drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 axisartist -rw-r--r--. 1 mockbuild mock 3966 Oct 3 08:50 exceltools.py -rw-r--r--. 2 mockbuild mock 3966 Nov 21 11:44 exceltools.pyc -rw-r--r--. 2 mockbuild mock 3966 Nov 21 11:44 exceltools.pyo -rw-r--r--. 1 mockbuild mock 19211 Oct 3 08:50 gtktools.py -rw-r--r--. 1 mockbuild mock 19805 Nov 21 11:44 gtktools.pyc -rw-r--r--. 1 mockbuild mock 19766 Nov 21 11:44 gtktools.pyo drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 mplot3d drwxr-xr-x. 3 mockbuild mock 4096 Nov 21 11:44 tests"><pre class="notranslate"><code class="notranslate">$ cat setup.cfg [packages] tests = True toolkits_tests = True [rc_options] backend = TkAgg $ cd /builddir/build/BUILDROOT/python-matplotlib-2.1.0-1.fc28.2.x86_64/usr/lib64/python2.7/site-packages/mpl_toolkits/ $ ll total 92 drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 axes_grid drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 axes_grid1 drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 axisartist -rw-r--r--. 1 mockbuild mock 3966 Oct 3 08:50 exceltools.py -rw-r--r--. 2 mockbuild mock 3966 Nov 21 11:44 exceltools.pyc -rw-r--r--. 2 mockbuild mock 3966 Nov 21 11:44 exceltools.pyo -rw-r--r--. 1 mockbuild mock 19211 Oct 3 08:50 gtktools.py -rw-r--r--. 1 mockbuild mock 19805 Nov 21 11:44 gtktools.pyc -rw-r--r--. 1 mockbuild mock 19766 Nov 21 11:44 gtktools.pyo drwxr-xr-x. 2 mockbuild mock 4096 Nov 21 11:44 mplot3d drwxr-xr-x. 3 mockbuild mock 4096 Nov 21 11:44 tests </code></pre></div> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">Existing <code class="notranslate">__init__.py</code> file in <code class="notranslate">/usr/lib64/python2.7/site-packages/mpl_toolkits/</code> and running tests.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Fedora 28 (rawhide)</li> <li>Matplotlib version: 2.1.0 built from source</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg</li> <li>Python version: 2.7.14 from distribution package</li> </ul>
<h3 dir="auto">Bug summary</h3> <p dir="auto">As of <a href="https://setuptools.pypa.io/en/latest/history.html#v67-3-0" rel="nofollow">setuptools v67.3.0</a> the use of <code class="notranslate">pkg_resources.declare_namespace</code> in <a href="https://github.com/matplotlib/matplotlib/blob/f6e0ee49c598f59c6e6cf4eefe473e4dc634a58a/lib/mpl_toolkits/__init__.py#L2"><code class="notranslate">lib/mpl_toolkits/__init__.py</code></a> raises a <code class="notranslate">DeprecationWarning</code>.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ mamba create -n test python=3.10 matplotlib-base -y $ mamba activate test $ export PYTHONDEVMODE=1 $ python -c &quot;import pkg_resources&quot;"><pre class="notranslate">$ <span class="pl-s1">mamba</span> <span class="pl-s1">create</span> <span class="pl-c1">-</span><span class="pl-s1">n</span> <span class="pl-s1">test</span> <span class="pl-s1">python</span><span class="pl-c1">=</span><span class="pl-c1">3.10</span> <span class="pl-s1">matplotlib</span><span class="pl-c1">-</span><span class="pl-s1">base</span> <span class="pl-c1">-</span><span class="pl-s1">y</span> $ <span class="pl-s1">mamba</span> <span class="pl-s1">activate</span> <span class="pl-s1">test</span> $ <span class="pl-s1">export</span> <span class="pl-v">PYTHONDEVMODE</span><span class="pl-c1">=</span><span class="pl-c1">1</span> $ <span class="pl-s1">python</span> <span class="pl-c1">-</span><span class="pl-s1">c</span> <span class="pl-s">"import pkg_resources"</span></pre></div> <h3 dir="auto">Actual outcome</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/path/to/test/lib/python3.10/site-packages/pkg_resources/__init__.py:2804: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg)"><pre class="notranslate"><code class="notranslate">/path/to/test/lib/python3.10/site-packages/pkg_resources/__init__.py:2804: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) </code></pre></div> <h3 dir="auto">Expected outcome</h3> <p dir="auto">No output</p> <h3 dir="auto">Additional information</h3> <p dir="auto">See also:<br> <a href="https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages" rel="nofollow">https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages</a><br> <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages/" rel="nofollow">https://packaging.python.org/en/latest/guides/packaging-namespace-packages/</a><br> <a href="https://peps.python.org/pep-0420/" rel="nofollow">https://peps.python.org/pep-0420/</a></p> <h3 dir="auto">Operating system</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.7.0</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">TkAgg</p> <h3 dir="auto">Python version</h3> <p dir="auto">Python 3.10.9</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Installation</h3> <p dir="auto">conda</p>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> <em>feature</em></p> <p dir="auto"><strong>What is the current behavior?</strong><br> React is published to NPM only as ES5 code</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Publish react also in es2015, with es2015 entry point in the package.json</p> <p dir="auto">Motivation: Performance. leverage the targeted client native ES features<br> Its part of the angular 4 package format<br> <a href="https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit#heading=h.jt2mvxhyrshv" rel="nofollow">https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit#heading=h.jt2mvxhyrshv</a><br> <a href="http://2ality.com/2017/04/setting-up-multi-platform-packages.html" rel="nofollow">http://2ality.com/2017/04/setting-up-multi-platform-packages.html</a></p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> Request a feature</p> <p dir="auto"><strong>What is the current behavior?</strong><br> React ecosystem was promoting ES6 classes and modules since 2014 and many packages like react-router, redux and so on, have an "es" folder in the npm package with source code in ES2015 modules. Unless I am missing something, it is strange that React itself does not offer that option.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://jsfiddle.net" rel="nofollow">https://jsfiddle.net</a> or similar (template: <a href="https://jsfiddle.net/84v837e9/" rel="nofollow">https://jsfiddle.net/84v837e9/</a>).</strong><br> Install react and try to import it in a browser with native modules enabled.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Have an "es" folder in the npm package with ES2015 modules source code, like most React ecosystem projects do. Allow to import react from ES2015 native modules to make developer workflow more simple.</p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong><br> All versions</p>
1
<h4 dir="auto">Challenge Name : Add a Submit Button to a Form</h4> <p dir="auto"><a href="https://www.freecodecamp.com/challenges/add-a-submit-button-to-a-form#?solution=%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3Cstyle%3E%0A%20%20.red-text%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%20%20%7D%0A%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20p%20%7B%0A%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%0A%20%20.smaller-image%20%7B%0A%20%20%20%20width%3A%20100px%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Ch2%20class%3D%22red-text%22%3ECatPhotoApp%3C%2Fh2%3E%0A%0A%3Cp%3EClick%20here%20for%20%3Ca%20href%3D%22%23%22%3Ecat%20photos%3C%2Fa%3E.%3C%2Fp%3E%0A%0A%3Ca%20href%3D%22%23%22%3E%3Cimg%20class%3D%22smaller-image%20thick-green-border%22%20alt%3D%22A%20cute%20orange%20cat%20lying%20on%20its%20back%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%3E%3C%2Fa%3E%0A%0A%3Cp%3EThings%20cats%20love%3A%3C%2Fp%3E%0A%3Cul%3E%0A%20%20%3Cli%3Ecat%20nip%3C%2Fli%3E%0A%20%20%3Cli%3Elaser%20pointers%3C%2Fli%3E%0A%20%20%3Cli%3Elasagna%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3ETop%203%20things%20cats%20hate%3A%3C%2Fp%3E%0A%3Col%3E%0A%20%20%3Cli%3Eflea%20treatment%3C%2Fli%3E%0A%20%20%3Cli%3Ethunder%3C%2Fli%3E%0A%20%20%3Cli%3Eother%20cats%3C%2Fli%3E%0A%3C%2Fol%3E%0A%3Cform%20fccfaa%3D%22%2Fsubmit-cat-photo%22%3E%0A%20%20%3Cinput%20type%3D%22text%22%20placeholder%3D%22cat%20photo%20URL%22%3E%0A%3C%2Fform%3E%0A" rel="nofollow">https://www.freecodecamp.com/challenges/add-a-submit-button-to-a-form#?solution=%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3Cstyle%3E%0A%20%20.red-text%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%20%20%7D%0A%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20p%20%7B%0A%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%0A%20%20.smaller-image%20%7B%0A%20%20%20%20width%3A%20100px%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Ch2%20class%3D%22red-text%22%3ECatPhotoApp%3C%2Fh2%3E%0A%0A%3Cp%3EClick%20here%20for%20%3Ca%20href%3D%22%23%22%3Ecat%20photos%3C%2Fa%3E.%3C%2Fp%3E%0A%0A%3Ca%20href%3D%22%23%22%3E%3Cimg%20class%3D%22smaller-image%20thick-green-border%22%20alt%3D%22A%20cute%20orange%20cat%20lying%20on%20its%20back%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%3E%3C%2Fa%3E%0A%0A%3Cp%3EThings%20cats%20love%3A%3C%2Fp%3E%0A%3Cul%3E%0A%20%20%3Cli%3Ecat%20nip%3C%2Fli%3E%0A%20%20%3Cli%3Elaser%20pointers%3C%2Fli%3E%0A%20%20%3Cli%3Elasagna%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3ETop%203%20things%20cats%20hate%3A%3C%2Fp%3E%0A%3Col%3E%0A%20%20%3Cli%3Eflea%20treatment%3C%2Fli%3E%0A%20%20%3Cli%3Ethunder%3C%2Fli%3E%0A%20%20%3Cli%3Eother%20cats%3C%2Fli%3E%0A%3C%2Fol%3E%0A%3Cform%20fccfaa%3D%22%2Fsubmit-cat-photo%22%3E%0A%20%20%3Cinput%20type%3D%22text%22%20placeholder%3D%22cat%20photo%20URL%22%3E%0A%3C%2Fform%3E%0A</a></p> <h4 dir="auto">Issue Description</h4> <ol dir="auto"> <li>Load page</li> <li>From line 47 to 49, the caret doesn't appear for text input</li> <li>Arrow keys would not move the caret across the existing text</li> <li>Cannot highlight line 47 and 48</li> </ol> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: Chrome Version 49.0.2623.112 m</li> <li>Operating System: Windows 7</li> <li>Mobile, Desktop, or Tablet: Laptop and Desktop</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="// If relevant, paste all of your challenge code in here "><pre class="notranslate"><span class="pl-c">// If relevant, paste all of your challenge code in here</span></pre></div> <h4 dir="auto">Screenshot</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/9027358/14759336/8692c71e-08d4-11e6-9b4b-dda152a5c647.png"><img src="https://cloud.githubusercontent.com/assets/9027358/14759336/8692c71e-08d4-11e6-9b4b-dda152a5c647.png" alt="text-editor-indent-problem" style="max-width: 100%;"></a></p>
<p dir="auto">In all the exercises, we the users are forced to press the enter key before writing any code.</p> <hr> <h4 dir="auto">Update:</h4> <p dir="auto">We have locked the conversation temporarily on this thread to collaborators only, this has been resolved in staging, and will be live soon.</p> <p dir="auto">The fix can be confirmed on the beta website.</p> <p dir="auto">The workaround currently on production website is:<br> Press the <kbd>Enter</kbd> key on the challenge editor and then proceed with the challenge.</p> <p dir="auto">Apologies for the inconvenience meanwhile.</p> <p dir="auto">Reach us in the chat room if you need any assistance.</p>
1
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Your code here "><pre class="notranslate"><span class="pl-c"># Your code here</span></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">[this should explain <strong>why</strong> the current behaviour is a problem and why the expected output is a better solution.]</p> <p dir="auto"><strong>Note</strong>: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!</p> <p dir="auto"><strong>Note</strong>: Many problems can be resolved by simply upgrading <code class="notranslate">pandas</code> to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if <code class="notranslate">master</code> addresses this issue, but that is not necessary.</p> <p dir="auto">For documentation-related issues, you can check the latest versions of the docs on <code class="notranslate">master</code> here:</p> <p dir="auto"><a href="https://pandas-docs.github.io/pandas-docs-travis/" rel="nofollow">https://pandas-docs.github.io/pandas-docs-travis/</a></p> <p dir="auto">If the issue has not been resolved there, go ahead and file it in the issue tracker.</p> <h4 dir="auto">Expected Output</h4> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <p dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]</p> </details>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <p dir="auto">When localizing a Timestamp vs timeseries/index, the timezones look similar</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [21]: ts = pd.Timestamp('2012-01-01').tz_localize('US/Eastern') In [22]: dtidx = pd.to_datetime(['2012-01-01']).tz_localize('US/Eastern') In [23]: ts Out[23]: Timestamp('2012-01-01 00:00:00-0500', tz='US/Eastern') In [24]: dtidx Out[24]: DatetimeIndex(['2012-01-01 00:00:00-05:00'], dtype='datetime64[ns, US/Eastern]', freq=None) In [25]: dtidx[0] Out[25]: Timestamp('2012-01-01 00:00:00-0500', tz='US/Eastern') "><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">21</span>]: <span class="pl-s1">ts</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Timestamp</span>(<span class="pl-s">'2012-01-01'</span>).<span class="pl-en">tz_localize</span>(<span class="pl-s">'US/Eastern'</span>) <span class="pl-v">In</span> [<span class="pl-c1">22</span>]: <span class="pl-s1">dtidx</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>([<span class="pl-s">'2012-01-01'</span>]).<span class="pl-en">tz_localize</span>(<span class="pl-s">'US/Eastern'</span>) <span class="pl-v">In</span> [<span class="pl-c1">23</span>]: <span class="pl-s1">ts</span> <span class="pl-v">Out</span>[<span class="pl-c1">23</span>]: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2012-01-01 00:00:00-0500'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'US/Eastern'</span>) <span class="pl-v">In</span> [<span class="pl-c1">24</span>]: <span class="pl-s1">dtidx</span> <span class="pl-v">Out</span>[<span class="pl-c1">24</span>]: <span class="pl-v">DatetimeIndex</span>([<span class="pl-s">'2012-01-01 00:00:00-05:00'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'datetime64[ns, US/Eastern]'</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-c1">None</span>) <span class="pl-v">In</span> [<span class="pl-c1">25</span>]: <span class="pl-s1">dtidx</span>[<span class="pl-c1">0</span>] <span class="pl-v">Out</span>[<span class="pl-c1">25</span>]: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2012-01-01 00:00:00-0500'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'US/Eastern'</span>)</pre></div> <p dir="auto">but under the hood the <code class="notranslate">tz</code> attributes of the DatetimeIndex is actually different as the <code class="notranslate">tz</code> attribute of the actual Timestamps (even when accessing a single element of the DatetimeIndex as a Timestamp):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [26]: ts.tz Out[26]: &lt;DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD&gt; In [27]: dtidx.tz Out[27]: &lt;DstTzInfo 'US/Eastern' LMT-1 day, 19:04:00 STD&gt; &lt;-- note the difference here In [28]: dtidx[0].tz Out[28]: &lt;DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD&gt; In [29]: ts.tz == dtidx.tz Out[29]: False In [30]: ts.tz.zone Out[30]: 'US/Eastern' In [31]: dtidx.tz.zone Out[31]: 'US/Eastern'"><pre class="notranslate"><code class="notranslate">In [26]: ts.tz Out[26]: &lt;DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD&gt; In [27]: dtidx.tz Out[27]: &lt;DstTzInfo 'US/Eastern' LMT-1 day, 19:04:00 STD&gt; &lt;-- note the difference here In [28]: dtidx[0].tz Out[28]: &lt;DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD&gt; In [29]: ts.tz == dtidx.tz Out[29]: False In [30]: ts.tz.zone Out[30]: 'US/Eastern' In [31]: dtidx.tz.zone Out[31]: 'US/Eastern' </code></pre></div>
0
<p dir="auto">If a text field is focused by the user when it is disabled via props, the input has its focused visual style retained (label and line under the text remain highlighted in primary color). I tried to work around the issue by calling .blur() on the underlying input element before setting disabled={true}, but it appears that calling .blur() on the input also does not cause the visual styling for TextField to be updated and the input looks like it is still focused. I am not sure if this is the same or a different issue.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">I'd expect an input to blur when disabled is set to true if it is focused. Additionally, I'd expect the visual styling to not appear focused when the input is no longer focused.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Setting disabled=true or calling blur on a focused input does not update the visual styling while the input is focused.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto"><a href="https://codesandbox.io/s/pp0jl9jzq" rel="nofollow">https://codesandbox.io/s/pp0jl9jzq</a></p> <ol dir="auto"> <li>Type two characters in the first input to cause it to be disabled.</li> <li>Click/type in the second input. Notice that both inputs are focused.</li> </ol> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.17</td> </tr> <tr> <td>React</td> <td>15.6.x</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> </tbody> </table>
<p dir="auto">If I download an external component (say, something like <a href="https://github.com/glittershark/reactable">https://github.com/glittershark/reactable</a>) - how can I theme it or give it material styles?</p> <p dir="auto">What if I create my own custom component, how can I pluck mui styles and apply them? (I read the CodeExample section of the docs, but I didn't really follow it. Where does CodeBlock come from? You pass it <code class="notranslate">styles.codeBlock</code> but afaict that's not even defined? There also seems to be a lot of duplication of original styles, which doesn't seem very DRY?)</p> <p dir="auto">With CSS (well, SASS or Less), of course, this was no problem. But now we've got this theme object? I'm confused. Certainly there is a way, right? You wouldn't shut the door on the entire github/npm ecosystem of other react components?</p>
0
<h3 dir="auto">Bug summary</h3> <p dir="auto">Changing the parameter 'levels' when using contourf and a colorbar with norm=colors.LogNorm has no effect on the final figure. '</p> <h3 dir="auto">Code for reproduction</h3> <p dir="auto">This code is inspired from the Colormap Normalizations example from <a href="https://matplotlib.org/stable/gallery/userdemo/colormap_normalizations.html#sphx-glr-gallery-userdemo-colormap-normalizations-py" rel="nofollow">https://matplotlib.org/stable/gallery/userdemo/colormap_normalizations.html#sphx-glr-gallery-userdemo-colormap-normalizations-py</a> adding the norm=colors.LogNorm parameter.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" import numpy as np import matplotlib.pyplot as plt import matplotlib.colors as colors N = 100 X, Y = np.mgrid[-3:3:complex(0, N), -2:2:complex(0, N)] Z1 = np.exp(-X**2 - Y**2) Z2 = np.exp(-(X * 10)**2 - (Y * 10)**2) Z = Z1 + 50 * Z2 fig, ax = plt.subplots(1, 2) pcm = ax[0].contourf(X, Y, Z, levels=10, norm=colors.LogNorm(vmin=Z.min(), vmax=Z.max()), cmap='PuBu_r') fig.colorbar(pcm, ax=ax[0], extend='max') pcm = ax[1].contourf(X, Y, Z, levels=20, norm=colors.LogNorm(vmin=Z.min(), vmax=Z.max()), cmap='PuBu_r') fig.colorbar(pcm, ax=ax[1], extend='max') plt.tight_layout()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">colors</span> <span class="pl-k">as</span> <span class="pl-s1">colors</span> <span class="pl-v">N</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span> <span class="pl-v">X</span>, <span class="pl-v">Y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">mgrid</span>[<span class="pl-c1">-</span><span class="pl-c1">3</span>:<span class="pl-c1">3</span>:<span class="pl-en">complex</span>(<span class="pl-c1">0</span>, <span class="pl-v">N</span>), <span class="pl-c1">-</span><span class="pl-c1">2</span>:<span class="pl-c1">2</span>:<span class="pl-en">complex</span>(<span class="pl-c1">0</span>, <span class="pl-v">N</span>)] <span class="pl-v">Z1</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">exp</span>(<span class="pl-c1">-</span><span class="pl-v">X</span><span class="pl-c1">**</span><span class="pl-c1">2</span> <span class="pl-c1">-</span> <span class="pl-v">Y</span><span class="pl-c1">**</span><span class="pl-c1">2</span>) <span class="pl-v">Z2</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">exp</span>(<span class="pl-c1">-</span>(<span class="pl-v">X</span> <span class="pl-c1">*</span> <span class="pl-c1">10</span>)<span class="pl-c1">**</span><span class="pl-c1">2</span> <span class="pl-c1">-</span> (<span class="pl-v">Y</span> <span class="pl-c1">*</span> <span class="pl-c1">10</span>)<span class="pl-c1">**</span><span class="pl-c1">2</span>) <span class="pl-v">Z</span> <span class="pl-c1">=</span> <span class="pl-v">Z1</span> <span class="pl-c1">+</span> <span class="pl-c1">50</span> <span class="pl-c1">*</span> <span class="pl-v">Z2</span> <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">1</span>, <span class="pl-c1">2</span>) <span class="pl-s1">pcm</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>[<span class="pl-c1">0</span>].<span class="pl-en">contourf</span>(<span class="pl-v">X</span>, <span class="pl-v">Y</span>, <span class="pl-v">Z</span>, <span class="pl-s1">levels</span><span class="pl-c1">=</span><span class="pl-c1">10</span>, <span class="pl-s1">norm</span><span class="pl-c1">=</span><span class="pl-s1">colors</span>.<span class="pl-v">LogNorm</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-v">Z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-v">Z</span>.<span class="pl-en">max</span>()), <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'PuBu_r'</span>) <span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">pcm</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>[<span class="pl-c1">0</span>], <span class="pl-s1">extend</span><span class="pl-c1">=</span><span class="pl-s">'max'</span>) <span class="pl-s1">pcm</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>[<span class="pl-c1">1</span>].<span class="pl-en">contourf</span>(<span class="pl-v">X</span>, <span class="pl-v">Y</span>, <span class="pl-v">Z</span>, <span class="pl-s1">levels</span><span class="pl-c1">=</span><span class="pl-c1">20</span>, <span class="pl-s1">norm</span><span class="pl-c1">=</span><span class="pl-s1">colors</span>.<span class="pl-v">LogNorm</span>(<span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-v">Z</span>.<span class="pl-en">min</span>(), <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-v">Z</span>.<span class="pl-en">max</span>()), <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'PuBu_r'</span>) <span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">pcm</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>[<span class="pl-c1">1</span>], <span class="pl-s1">extend</span><span class="pl-c1">=</span><span class="pl-s">'max'</span>) <span class="pl-s1">plt</span>.<span class="pl-en">tight_layout</span>()</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto">The number of levels do not change even if the parameter 'levels' in contourf is changed.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/40710281/149321276-61f9e0dc-5f26-473e-8462-49ca3f36ee09.png"><img src="https://user-images.githubusercontent.com/40710281/149321276-61f9e0dc-5f26-473e-8462-49ca3f36ee09.png" alt="Figure_1" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">I expected to see that changing the 'levels' parameters in contourf actually change the number of levels in the plot (to obtain the figures below: same code has before but remove the norm=colors.LogNorm(vmin=Z.min(), vmax=Z.max()) parameter and plot X^2+Y^2 rather than Z).</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/40710281/149321312-0b9054d5-95cd-4964-b2fe-a489089fed68.png"><img src="https://user-images.githubusercontent.com/40710281/149321312-0b9054d5-95cd-4964-b2fe-a489089fed68.png" alt="Figure_2" style="max-width: 100%;"></a></p> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto">Windows 10</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.5.0</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">Qt5Agg</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.10.1</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Installation</h3> <p dir="auto"><em>No response</em></p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">It does not seem possible to use LogLocator to generate a specific number of log-spaced tick locations without a live axis.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib as mpl ticker = mpl.ticker.LogLocator(numticks=2) ticker.tick_values(1, 10)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span> <span class="pl-s1">ticker</span> <span class="pl-c1">=</span> <span class="pl-s1">mpl</span>.<span class="pl-s1">ticker</span>.<span class="pl-v">LogLocator</span>(<span class="pl-s1">numticks</span><span class="pl-c1">=</span><span class="pl-c1">2</span>) <span class="pl-s1">ticker</span>.<span class="pl-en">tick_values</span>(<span class="pl-c1">1</span>, <span class="pl-c1">10</span>)</pre></div> <p dir="auto">array([ 0.1, 1. , 10. , 100. ])</p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">array([ 1. , 10. , ])</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Matplotlib version: 2.2.2</li> <li>Python version: 3.6</li> </ul>
1
<p dir="auto">See this <a href="http://stackoverflow.com/a/16613835/1240268" rel="nofollow">SO question</a>:</p> <p dir="auto">Apparently (for a DataFrame with DatetimeIndex) drop requires a Timestamp object (this is different from ix/loc which can cunningly work out you meant a timestamp, if fed a string).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [11]: df1 Out[11]: Price1 Price2 Price3 Date_Time 2012-01-01 00:00:00 63.05 41.40 68.14 2012-01-01 01:00:00 68.20 42.44 59.64 2012-01-01 02:00:00 61.68 43.18 49.81 In [12]: df1.drop(pd.Timestamp('2012-01-01 01:00:00')) Out[12]: Price1 Price2 Price3 Date_Time 2012-01-01 00:00:00 63.05 41.40 68.14 2012-01-01 02:00:00 61.68 43.18 49.81 In [13]: df1.drop('2012-01-01 01:00:00') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-13-334d00239c8b&gt; in &lt;module&gt;() ----&gt; 1 df1.drop('2012-01-01 01:00:00') /Users/234BroadWalk/pandas/pandas/core/generic.pyc in drop(self, labels, axis, level) 373 new_axis = axis.drop(labels, level=level) 374 else: --&gt; 375 new_axis = axis.drop(labels) 376 dropped = self.reindex(**{axis_name: new_axis}) 377 try: /Users/234BroadWalk/pandas/pandas/core/index.pyc in drop(self, labels) 1296 mask = indexer == -1 1297 if mask.any(): -&gt; 1298 raise ValueError('labels %s not contained in axis' % labels[mask]) 1299 return self.delete(indexer) 1300 ValueError: labels ['2012-01-01 01:00:00'] not contained in axis"><pre class="notranslate"><code class="notranslate">In [11]: df1 Out[11]: Price1 Price2 Price3 Date_Time 2012-01-01 00:00:00 63.05 41.40 68.14 2012-01-01 01:00:00 68.20 42.44 59.64 2012-01-01 02:00:00 61.68 43.18 49.81 In [12]: df1.drop(pd.Timestamp('2012-01-01 01:00:00')) Out[12]: Price1 Price2 Price3 Date_Time 2012-01-01 00:00:00 63.05 41.40 68.14 2012-01-01 02:00:00 61.68 43.18 49.81 In [13]: df1.drop('2012-01-01 01:00:00') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-13-334d00239c8b&gt; in &lt;module&gt;() ----&gt; 1 df1.drop('2012-01-01 01:00:00') /Users/234BroadWalk/pandas/pandas/core/generic.pyc in drop(self, labels, axis, level) 373 new_axis = axis.drop(labels, level=level) 374 else: --&gt; 375 new_axis = axis.drop(labels) 376 dropped = self.reindex(**{axis_name: new_axis}) 377 try: /Users/234BroadWalk/pandas/pandas/core/index.pyc in drop(self, labels) 1296 mask = indexer == -1 1297 if mask.any(): -&gt; 1298 raise ValueError('labels %s not contained in axis' % labels[mask]) 1299 return self.delete(indexer) 1300 ValueError: labels ['2012-01-01 01:00:00'] not contained in axis </code></pre></div> <p dir="auto">Compare to ix/iloc which don't care:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [21]: df1.loc['2012-01-01 01:00:00'] Out[21]: Price1 68.20 Price2 42.44 Price3 59.64 Name: 2012-01-01 01:00:00, dtype: float64 In [22]: df1.loc[pd.Timestamp('2012-01-01 01:00:00')] Out[22]: Price1 68.20 Price2 42.44 Price3 59.64 Name: 2012-01-01 01:00:00, dtype: float64"><pre class="notranslate"><code class="notranslate">In [21]: df1.loc['2012-01-01 01:00:00'] Out[21]: Price1 68.20 Price2 42.44 Price3 59.64 Name: 2012-01-01 01:00:00, dtype: float64 In [22]: df1.loc[pd.Timestamp('2012-01-01 01:00:00')] Out[22]: Price1 68.20 Price2 42.44 Price3 59.64 Name: 2012-01-01 01:00:00, dtype: float64 </code></pre></div> <p dir="auto"><em>Perhaps worth investigating where else this could work/not.</em></p>
<p dir="auto">Needs to coerce:</p> <p dir="auto">e.g.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: import pandas.util.testing as tm In [2]: pan = tm.makePanel() In [3]: pan Out[3]: &lt;class 'pandas.core.panel.Panel'&gt; Dimensions: 3 (items) x 30 (major_axis) x 4 (minor_axis) Items axis: ItemA to ItemC Major_axis axis: 2000-01-03 00:00:00 to 2000-02-11 00:00:00 Minor_axis axis: A to D In [4]: pan.drop('2000-01-03', axis=1) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-4-11e47d7c99f1&gt; in &lt;module&gt;() ----&gt; 1 pan.drop('2000-01-03', axis=1) ../pandas/core/generic.pyc in drop(self, labels, axis, level) 1112 new_axis = axis.drop(labels, level=level) 1113 else: -&gt; 1114 new_axis = axis.drop(labels) 1115 dropped = self.reindex(**{ axis_name: new_axis }) 1116 try: ../pandas/core/index.pyc in drop(self, labels) 1614 mask = indexer == -1 1615 if mask.any(): -&gt; 1616 raise ValueError('labels %s not contained in axis' % labels[mask]) 1617 return self.delete(indexer) 1618 ValueError: labels ['2000-01-03'] not contained in axis"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">util</span>.<span class="pl-s1">testing</span> <span class="pl-k">as</span> <span class="pl-s1">tm</span> <span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pan</span> <span class="pl-c1">=</span> <span class="pl-s1">tm</span>.<span class="pl-en">makePanel</span>() <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">pan</span> <span class="pl-v">Out</span>[<span class="pl-c1">3</span>]:<span class="pl-s1"></span> <span class="pl-c1">&lt;</span><span class="pl-s1">class</span> <span class="pl-s">'pandas.core.panel.Panel'</span><span class="pl-c1">&gt;</span> <span class="pl-v">Dimensions</span>: <span class="pl-c1">3</span> (<span class="pl-s1">items</span>) <span class="pl-s1">x</span> <span class="pl-c1">30</span> (<span class="pl-s1">major_axis</span>) <span class="pl-s1">x</span> <span class="pl-c1">4</span> (<span class="pl-s1">minor_axis</span>) <span class="pl-v">Items</span> <span class="pl-s1">axis</span>: <span class="pl-v">ItemA</span> <span class="pl-s1">to</span> <span class="pl-v">ItemC</span> <span class="pl-v">Major_axis</span> <span class="pl-s1">axis</span>: <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">03</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-s1">to</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">11</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-v">Minor_axis</span> <span class="pl-s1">axis</span>: <span class="pl-v">A</span> <span class="pl-s1">to</span> <span class="pl-v">D</span> <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">pan</span>.<span class="pl-en">drop</span>(<span class="pl-s">'2000-01-03'</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</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">4</span><span class="pl-c1">-</span><span class="pl-c1">11e47</span><span class="pl-s1">d7c99f1</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">pan</span>.<span class="pl-en">drop</span>(<span class="pl-s">'2000-01-03'</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) ..<span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">generic</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">drop</span>(<span class="pl-s1">self</span>, <span class="pl-s1">labels</span>, <span class="pl-s1">axis</span>, <span class="pl-s1">level</span>) <span class="pl-c1">1112</span> <span class="pl-s1">new_axis</span> <span class="pl-c1">=</span> <span class="pl-s1">axis</span>.<span class="pl-en">drop</span>(<span class="pl-s1">labels</span>, <span class="pl-s1">level</span><span class="pl-c1">=</span><span class="pl-s1">level</span>) <span class="pl-c1">1113</span> <span class="pl-s1">else</span>: <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1114</span> <span class="pl-s1">new_axis</span> <span class="pl-c1">=</span> <span class="pl-s1">axis</span>.<span class="pl-en">drop</span>(<span class="pl-s1">labels</span>) <span class="pl-c1">1115</span> <span class="pl-s1">dropped</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">reindex</span>(<span class="pl-c1">**</span>{ <span class="pl-s1">axis_name</span>: <span class="pl-s1">new_axis</span> }) <span class="pl-c1">1116</span> <span class="pl-k">try</span>: ..<span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">drop</span>(<span class="pl-s1">self</span>, <span class="pl-s1">labels</span>) <span class="pl-c1">1614</span> <span class="pl-s1">mask</span> <span class="pl-c1">=</span> <span class="pl-s1">indexer</span> <span class="pl-c1">==</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-c1">1615</span> <span class="pl-k">if</span> <span class="pl-s1">mask</span>.<span class="pl-en">any</span>(): <span class="pl-c1">-&gt;</span> <span class="pl-c1">1616</span> <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">'labels %s not contained in axis'</span> <span class="pl-c1">%</span> <span class="pl-s1">labels</span>[<span class="pl-s1">mask</span>]) <span class="pl-c1">1617</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">delete</span>(<span class="pl-s1">indexer</span>) <span class="pl-c1">1618</span> <span class="pl-v">ValueError</span>: <span class="pl-s1">labels</span> [<span class="pl-s">'2000-01-03'</span>] <span class="pl-c1">not</span> <span class="pl-s1">contained</span> <span class="pl-c1">in</span> <span class="pl-s1">axis</span></pre></div>
1
<p dir="auto">I saw the relevant PR, and verified some of the performance improvements, but it has not been merged into this. Can the official support VAO? Or when will it be ready to support VAO?</p>
<p dir="auto">What is the current position of THREE.renderer concerning the usage of VAO's?</p> <p dir="auto"><a href="https://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object" rel="nofollow">OES_vertex_array_object</a> extension is supported on majority of devices and is going to be in core of WebGL 2.0 (According to <a href="http://webglstats.com" rel="nofollow">WebGL Stats</a> and <a href="https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.6" rel="nofollow">WebGL 2.0 Spec</a>).</p> <p dir="auto">I've found <a href="https://github.com/mrdoob/three.js/pull/5849" data-hovercard-type="pull_request" data-hovercard-url="/mrdoob/three.js/pull/5849/hovercard">#5849 issue</a> on that topic, but it seems to have no continuation.</p> <p dir="auto">Could it be something like mentioned in that issue emulation level? (renderer acts like VAO is always available and interacting with it through THREE.VertexArrayObjectSomething which handles cases). Or should it be done by a separate renderer somehow? Or if the case is THREE doesn't need it, why it is so?</p> <p dir="auto">Thanks in advance.</p>
1
<p dir="auto">Hi All,</p> <p dir="auto">i am using celery 3.1.2(ciaper) with kombu 3.0.21. WHen I tried to restart celery as it was in hung state, it printed below output in log, later it stopped responding, Can anyone please advice how to start celery without killing it.</p> <p dir="auto">[2014-08-04 22:48:53,979: WARNING/MainProcess] consumer: Connection to broker lost. Trying to re-establish the connection...<br> Traceback (most recent call last):<br> File "/usr/local/python/lib/python2.7/site-packages/celery/worker/consumer.py", line 278, in start<br> blueprint.start(self)<br> File "/usr/local/python/lib/python2.7/site-packages/celery/bootsteps.py", line 123, in start<br> step.start(parent)<br> File "/usr/local/python/lib/python2.7/site-packages/celery/worker/consumer.py", line 821, in start<br> c.loop(*c.loop_args())<br> File "/usr/local/python/lib/python2.7/site-packages/celery/worker/loops.py", line 70, in asynloop<br> next(loop)<br> File "/usr/local/python/lib/python2.7/site-packages/kombu/async/hub.py", line 267, in create_loop<br> tick_callback()<br> File "/usr/local/python/lib/python2.7/site-packages/kombu/transport/redis.py", line 940, in on_poll_start<br> [add_reader(fd, on_readable, fd) for fd in cycle.fds]<br> File "/usr/local/python/lib/python2.7/site-packages/kombu/async/hub.py", line 201, in add_reader<br> return self.add(fds, callback, READ | ERR, args)<br> File "/usr/local/python/lib/python2.7/site-packages/kombu/async/hub.py", line 152, in add<br> self.poller.register(fd, flags)<br> File "/usr/local/python/lib/python2.7/site-packages/kombu/utils/eventio.py", line 78, in register<br> self._epoll.register(fd, events)<br> IOError: [Errno 9] Bad file descriptor<br> [2014-08-04 22:48:53,997: WARNING/MainProcess] Restoring 45 unacknowledged message(s).</p> <p dir="auto">Srikanth</p>
<p dir="auto">Hello,</p> <p dir="auto">We're using Celery 3.1.6, and one of our queues is using 100% CPU for the master process. ps shows:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root 6960 59.2 0.7 160680 51628 ? Rs Feb01 2319:49 /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 32727 0.3 1.1 266008 82860 ? S Feb02 6:29 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 32729 0.2 1.1 265184 82040 ? S Feb02 5:54 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 32730 0.2 1.4 282868 99788 ? S Feb02 5:29 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 750 0.1 1.5 296584 113100 ? S Feb02 3:03 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 917 0.2 1.1 262044 78888 ? S Feb02 6:00 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 1873 0.0 1.2 269460 86276 ? S Feb02 1:34 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 1875 0.0 1.4 285568 102384 ? S Feb02 0:36 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 2347 0.0 0.8 245448 60984 ? S Feb02 1:47 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 2348 0.0 0.8 247760 63356 ? S Feb02 1:33 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 2362 0.0 1.0 257880 73416 ? S Feb02 1:09 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO"><pre class="notranslate"><code class="notranslate">root 6960 59.2 0.7 160680 51628 ? Rs Feb01 2319:49 /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 32727 0.3 1.1 266008 82860 ? S Feb02 6:29 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 32729 0.2 1.1 265184 82040 ? S Feb02 5:54 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 32730 0.2 1.4 282868 99788 ? S Feb02 5:29 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 750 0.1 1.5 296584 113100 ? S Feb02 3:03 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 917 0.2 1.1 262044 78888 ? S Feb02 6:00 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 1873 0.0 1.2 269460 86276 ? S Feb02 1:34 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 1875 0.0 1.4 285568 102384 ? S Feb02 0:36 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 2347 0.0 0.8 245448 60984 ? S Feb02 1:47 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 2348 0.0 0.8 247760 63356 ? S Feb02 1:33 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO root 2362 0.0 1.0 257880 73416 ? S Feb02 1:09 \_ /$VENV/bin/python /$VENV/manage.py celery worker -Q ads -P prefork --autoscale=10,5 -n $NAME --settings=settings -l INFO </code></pre></div> <p dir="auto">And strace is more interesting. It shows the following loop as the only thing happening in the parent:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gettimeofday({1391450996, 406286}, NULL) = 0 epoll_wait(4, {{EPOLLIN, {u32=6, u64=22205092589469702}}}, 1023, 1000) = 1 epoll_ctl(4, EPOLL_CTL_DEL, 34, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 67, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 68, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 38, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 10, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 53, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 26, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 59, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 30, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 63, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_ADD, 51, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=51, u64=22205092589469747}}) = -1 EEXIST (File exists) epoll_ctl(4, EPOLL_CTL_ADD, 52, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=52, u64=22205092589469748}}) = -1 EEXIST (File exists) epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=6, u64=22205092589469702}}) = -1 EEXIST (File exists)"><pre class="notranslate"><code class="notranslate">gettimeofday({1391450996, 406286}, NULL) = 0 epoll_wait(4, {{EPOLLIN, {u32=6, u64=22205092589469702}}}, 1023, 1000) = 1 epoll_ctl(4, EPOLL_CTL_DEL, 34, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 67, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 68, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 38, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 10, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 53, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 26, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 59, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 30, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_DEL, 63, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRNORM|EPOLLMSG|0x4e9020, {u32=0, u64=22205092589469696}}) = -1 ENOENT (No such file or directory) epoll_ctl(4, EPOLL_CTL_ADD, 51, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=51, u64=22205092589469747}}) = -1 EEXIST (File exists) epoll_ctl(4, EPOLL_CTL_ADD, 52, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=52, u64=22205092589469748}}) = -1 EEXIST (File exists) epoll_ctl(4, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=6, u64=22205092589469702}}) = -1 EEXIST (File exists) </code></pre></div> <p dir="auto">Those FDs are pipes according to <code class="notranslate">/proc/$PID/fd</code>. (strace also shows heartbeat/worker chatter from other processes read via the redis socket).</p> <p dir="auto">Restarting the upstart job caused the worker to begin consuming tasks again. I think this is some corner case that isn't being handled well. Kombu's eventio.py has the following:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class _epoll(Poller): # ... def register(self, fd, events): try: self._epoll.register(fd, events) except Exception as exc: if get_errno(exc) != errno.EEXIST: raise def unregister(self, fd): try: self._epoll.unregister(fd) except (socket.error, ValueError, KeyError): pass except (IOError, OSError) as exc: if get_errno(exc) != errno.ENOENT: raise"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-s1">_epoll</span>(<span class="pl-v">Poller</span>): <span class="pl-c"># ...</span> <span class="pl-k">def</span> <span class="pl-en">register</span>(<span class="pl-s1">self</span>, <span class="pl-s1">fd</span>, <span class="pl-s1">events</span>): <span class="pl-k">try</span>: <span class="pl-s1">self</span>.<span class="pl-s1">_epoll</span>.<span class="pl-en">register</span>(<span class="pl-s1">fd</span>, <span class="pl-s1">events</span>) <span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">exc</span>: <span class="pl-k">if</span> <span class="pl-en">get_errno</span>(<span class="pl-s1">exc</span>) <span class="pl-c1">!=</span> <span class="pl-s1">errno</span>.<span class="pl-v">EEXIST</span>: <span class="pl-k">raise</span> <span class="pl-k">def</span> <span class="pl-en">unregister</span>(<span class="pl-s1">self</span>, <span class="pl-s1">fd</span>): <span class="pl-k">try</span>: <span class="pl-s1">self</span>.<span class="pl-s1">_epoll</span>.<span class="pl-en">unregister</span>(<span class="pl-s1">fd</span>) <span class="pl-k">except</span> (<span class="pl-s1">socket</span>.<span class="pl-s1">error</span>, <span class="pl-v">ValueError</span>, <span class="pl-v">KeyError</span>): <span class="pl-k">pass</span> <span class="pl-k">except</span> (<span class="pl-v">IOError</span>, <span class="pl-v">OSError</span>) <span class="pl-k">as</span> <span class="pl-s1">exc</span>: <span class="pl-k">if</span> <span class="pl-en">get_errno</span>(<span class="pl-s1">exc</span>) <span class="pl-c1">!=</span> <span class="pl-s1">errno</span>.<span class="pl-v">ENOENT</span>: <span class="pl-k">raise</span></pre></div> <p dir="auto">We are specifically checking for ENOENT and EEXIST here and silently dropping the exception - it seems like this might be causing a problem for someone further down the stack, but I'm not familiar with this part of celery.</p> <p dir="auto">Any help/pointers appreciated. Let me know what other info is useful as well.</p>
1
<h1 dir="auto">Summary of the new feature/enhancement</h1> <h1 dir="auto">Proposed technical implementation details (optional)</h1>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide a description of the new feature</h2> <p dir="auto"><em>What is the expected behavior of the proposed feature? What is the scenario this would be used?</em></p> <p dir="auto">--- I'm currently running version 0.15.2 because that is the only one I've gotten to successfully install without admin rights using the provided msi installer. Would it be possible to provide an msi installer along with the regular exe? Or even just instructions to install without admin rights (if one exists).</p> <p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p>
0
<p dir="auto">I am trying to run an LSTM built with the Python API, exported to to protobuf, and evaluated in Java. After I updated my python scripts to use <code class="notranslate">tf.contrib.rnn.LSTMBlockCell</code>, <code class="notranslate">LSTMBlockFusedCell</code>, etc cell implementations, the Java portion stopped working and started throwing:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.tensorflow.TensorFlowException: org.tensorflow.TensorFlowException: Op type not registered 'BlockLSTM' in binary running on xubuntu. Make sure the Op and Kernel are registered in the binary running in this process."><pre class="notranslate"><code class="notranslate">org.tensorflow.TensorFlowException: org.tensorflow.TensorFlowException: Op type not registered 'BlockLSTM' in binary running on xubuntu. Make sure the Op and Kernel are registered in the binary running in this process. </code></pre></div> <p dir="auto">and</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.tensorflow.TensorFlowException: org.tensorflow.TensorFlowException: Op type not registered 'LSTMBlockCell' in binary running on xubuntu. Make sure the Op and Kernel are registered in the binary running in this process."><pre class="notranslate"><code class="notranslate">org.tensorflow.TensorFlowException: org.tensorflow.TensorFlowException: Op type not registered 'LSTMBlockCell' in binary running on xubuntu. Make sure the Op and Kernel are registered in the binary running in this process. </code></pre></div> <p dir="auto">Evaluating the graph in Python works swimmingly. I didn't see anything on stack overflow. There are a couple tickets on github which might be related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="246332766" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/11847" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/11847/hovercard" href="https://github.com/tensorflow/tensorflow/issues/11847">#11847</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="252698139" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/12566" data-hovercard-type="pull_request" data-hovercard-url="/tensorflow/tensorflow/pull/12566/hovercard" href="https://github.com/tensorflow/tensorflow/pull/12566">#12566</a></p> <p dir="auto">TF Version (Java and python): 1.3.0<br> Python Version: 2.7</p>
<hr> <h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Mac OS 10.12</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Binary</li> <li><strong>TensorFlow version (use command below)</strong>: Tried with both 1.1.0 and 1.2.0-rc1</li> <li><strong>CUDA/cuDNN version</strong>: Running on CPU</li> </ul> <p dir="auto">I have SavedModel using TensorForestEstimator (RandomForest) by using export_savedmodel() it was saved successfully and able to load from SavedModel-cli too. But when trying to load using</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="val SAVED_MODEL_PATH = &quot;/Users/Documents/tensordata/1496652787&quot;; val bundle = SavedModelBundle.load(SAVED_MODEL_PATH, &quot;serve&quot;);"><pre class="notranslate"><code class="notranslate">val SAVED_MODEL_PATH = "/Users/Documents/tensordata/1496652787"; val bundle = SavedModelBundle.load(SAVED_MODEL_PATH, "serve"); </code></pre></div> <p dir="auto">It's giving following error -:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread &quot;main&quot; org.tensorflow.TensorFlowException: Op type not registered 'TreePredictions' at org.tensorflow.SavedModelBundle.load(Native Method) at org.tensorflow.SavedModelBundle.load(SavedModelBundle.java:38) at ai.tenten.ml.ClassifyITCase$.main(ClassifyITCase.scala:59)"><pre class="notranslate"><code class="notranslate">Exception in thread "main" org.tensorflow.TensorFlowException: Op type not registered 'TreePredictions' at org.tensorflow.SavedModelBundle.load(Native Method) at org.tensorflow.SavedModelBundle.load(SavedModelBundle.java:38) at ai.tenten.ml.ClassifyITCase$.main(ClassifyITCase.scala:59) </code></pre></div> <p dir="auto">I am able to load Other saved models like HalfPlusTwo Regression and mnist dense Predict model successfully. Only in RandomForest It's giving error I thing some op is missing from build or Java API is not updated.</p>
1
<p dir="auto">We are currently running on superset 0.22.1 with python 2.7 on Ubuntu 16.04 LTS.<br> We are planning to upgrade superset to 0.35.0 version with python 3.6.9 on Ubuntu 18.04.3 LTS.<br> Can you kindly let us know whether we can use old superset 0.22.1 dashboards after upgrading to superset 0.35.0 ?<br> OR<br> Should we build all the superset dashboards from scratch after upgrading to 0.35.0 version ?</p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: Ubuntu 16.04 LTS</li> <li>superset version: 0.22.1</li> <li>python version: 2.7</li> </ul>
<h4 dir="auto">How to reproduce the bug</h4> <ol dir="auto"> <li>Go to explore view of time-series chart,</li> <li>change time range.</li> <li>from browser console you will see when you updated the time picker, new query is triggered.</li> <li>but this trigger won't update chart, there is an overlay on top of chart.</li> <li>user has to click on <code class="notranslate">run query</code> button on overlay to trigger another query.</li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/27990562/103832160-80894a00-5032-11eb-9860-e5d376b2290c.gif"><img src="https://user-images.githubusercontent.com/27990562/103832160-80894a00-5032-11eb-9860-e5d376b2290c.gif" alt="JlAT3bEDfI" data-animated-image="" style="max-width: 100%;"></a></p> <h3 dir="auto">Environment</h3> <p dir="auto">latest master</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/junlincc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/junlincc">@junlincc</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaoyongjie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaoyongjie">@zhaoyongjie</a></p>
0
<p dir="auto">I am getting duplicate <code class="notranslate">debugViews.ts</code> in recently opened. Both point to the same file, however they seem to have a different editors associated with them - eg selections are different.<br> Not sure how I got in this state, but I this is the first time I get duplicate entires. So my suspicion is that at a point of time the workbench created an additional editor for a file that was already open</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1926584/15066920/217ed0e0-136d-11e6-8f8d-490d2051f5dd.png"><img src="https://cloud.githubusercontent.com/assets/1926584/15066920/217ed0e0-136d-11e6-8f8d-490d2051f5dd.png" alt="screen shot 2016-05-06 at 09 29 50" style="max-width: 100%;"></a></p>
<ul dir="auto"> <li>VSCode Version: 1.2.0-alpha</li> <li>OS Version: Windows 10</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Open integrated terminal</li> <li>Type git clone</li> <li>Right click just to the right of the typing cursor</li> <li>Paste <a href="https://github.com/Microsoft/vscode-smoketest-express.git">https://github.com/Microsoft/vscode-smoketest-express.git</a></li> </ol> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12900364/15592020/61d125ba-2355-11e6-9dad-1b8cc1fe6744.png"><img src="https://cloud.githubusercontent.com/assets/12900364/15592020/61d125ba-2355-11e6-9dad-1b8cc1fe6744.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">After scrolling back using the left arrow on the keypad, you cant get all the way back:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12900364/15592051/8a311952-2355-11e6-8c9f-296dc17fb65c.png"><img src="https://cloud.githubusercontent.com/assets/12900364/15592051/8a311952-2355-11e6-8c9f-296dc17fb65c.png" alt="image" style="max-width: 100%;"></a></p>
0
<p dir="auto">It would be interesting to have the ability to define different word wrap values for <em>different languages</em>, specially if you use <strong>Code</strong> for editing normal programming languages like JavaScript, Pascal and <em>non</em> programming languages, like Markdown.</p> <p dir="auto">I tend to respect the word wrap values defined in the main IDE for a particular language (if exists/is used), and turn off word wrap for for Markdown/Log/Text files. But today, in <strong>Code</strong> I only have settings for the <em>Editor</em> (<code class="notranslate">editor.wrappingColumn</code> and <code class="notranslate">editor.wrappingIndent</code>).</p> <p dir="auto">Thanks in advance</p>
<p dir="auto">In our project we have a number of files where tabs are strictly required (a format we do not control). However, we want to normalize tabs to spaces throughout the rest of the project.</p> <p dir="auto">For now, I just ask that people don't edit those files in VSCode. I even considered adding them to the ignore list for VSCode itself. But it's not uncommon to have file-specific settings, so I thought it would be nice if VSCode allowed for more complex patterns - much like <code class="notranslate">files.exclude</code>, perhaps something like:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;editor.insertSpaces&quot;: true, &quot;diffEditor.ignoreTrimWhitespace&quot;: true, &quot;files.settings&quot;: { &quot;**/*.idt&quot;: { &quot;editor.insertSpaces&quot;: false, &quot;diffEditor.ignoreTrimWhitespace&quot;: false } }"><pre class="notranslate"><span class="pl-ent">"editor.insertSpaces"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"diffEditor.ignoreTrimWhitespace"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"files.settings"</span>: { <span class="pl-ent">"**/*.idt"</span>: { <span class="pl-ent">"editor.insertSpaces"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"diffEditor.ignoreTrimWhitespace"</span>: <span class="pl-c1">false</span> } }</pre></div>
1
<h3 dir="auto">Playwright version</h3> <p dir="auto">1.13.0</p> <h3 dir="auto">Operating system</h3> <p dir="auto">Windows</p> <h3 dir="auto">What browsers are you seeing the problem on?</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Other information</h3> <p dir="auto">Playwright inspector</p> <h3 dir="auto">What happened? / Describe the bug</h3> <p dir="auto">When running playwright code generator chromium page was open but playwright inspector was opened but cant able to see in the screen. But when we are using laptop with more screen we can able to view it.<br> For your reference: video url<br> <a href="https://user-images.githubusercontent.com/61179075/126861280-159115f1-3b4d-4d4a-8c9e-4b980b58ad19.mp4" rel="nofollow">https://user-images.githubusercontent.com/61179075/126861280-159115f1-3b4d-4d4a-8c9e-4b980b58ad19.mp4</a></p> <p dir="auto">And expectation was it should support for laptop with small screen also. Thank you in advance</p> <h3 dir="auto">Code snippet to reproduce your bug</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Relevant log output</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.9.0</li> <li>Operating System: Windows10</li> <li>Node.js version: v12.18.2</li> <li>Browser: Chromium</li> <li>Extra: laptop with 13,3" screen, 1920 x 1080 (FullHD) resolution, scaled to 150%, setup with external monitor placed above laptop screen</li> </ul> <p dir="auto">Example script</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const { chromium } = require('playwright'); (async () =&gt; { const browser = await chromium.launch(); const page = await browser.newPage(); })().then(() =&gt; console.log('finished'));"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span> chromium <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'playwright'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'finished'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">When trying to debug script (set PWDEBUG=1) Playwright Inspector window is opened by Playwright outside of visible screen space - it is opened past the right border of the screen.</p> <p dir="auto">in<br> src\server\supplements\recorder\recorderApp.ts RecorderApp.open<br> there is a definitions of arguments for opening the window<br> const args = [<br> '--app=data:text/html,',<br> '--window-size=600,600',<br> '--window-position=1280,10',<br> ];<br> when 1280 is changed to say 700 then Playwright Inspector windows is visible after it is first opened by Playwright.</p>
1
<p dir="auto"><strong>Edit: I'm guessing this is known and just unavoidable without some extra working around using the resolution of the promise returned from <code class="notranslate">dock.show()</code>?</strong></p> <h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <code class="notranslate">7.1.9</code></li> <li><strong>Operating System:</strong> <code class="notranslate">macOS 10.13.6</code></li> <li><strong>Last Known Working Electron version:</strong> `Unk</li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Duplicate app icons shouldn't be possible.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Duplicate icons can accumulate. After quitting the application the extra icons remain and cannot be quit or force quit to get rid of them. Oddly, simply left-clicking them does get them to go away.</p> <h3 dir="auto">To Reproduce</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" remote.app.dock.show(); setTimeout(remote.app.dock.hide, 50); setTimeout(remote.app.dock.show, 100); setTimeout(remote.app.dock.hide, 150); setTimeout(remote.app.dock.show, 200); setTimeout(remote.app.dock.hide, 250);"><pre class="notranslate"> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-c1">dock</span><span class="pl-kos">.</span><span class="pl-en">show</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-c1">dock</span><span class="pl-kos">.</span><span class="pl-c1">hide</span><span class="pl-kos">,</span> <span class="pl-c1">50</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-c1">dock</span><span class="pl-kos">.</span><span class="pl-c1">show</span><span class="pl-kos">,</span> <span class="pl-c1">100</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-c1">dock</span><span class="pl-kos">.</span><span class="pl-c1">hide</span><span class="pl-kos">,</span> <span class="pl-c1">150</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-c1">dock</span><span class="pl-kos">.</span><span class="pl-c1">show</span><span class="pl-kos">,</span> <span class="pl-c1">200</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-c1">dock</span><span class="pl-kos">.</span><span class="pl-c1">hide</span><span class="pl-kos">,</span> <span class="pl-c1">250</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <blockquote> <p dir="auto">Note: <code class="notranslate">remote</code> not required, just easier</p> </blockquote> <h3 dir="auto">Additional Information</h3> <p dir="auto">If a user tries to force quit a zombie icon, macOS will prevent re-opening the app without the user acknowledging that it crashed last time, as it would if you actually force quit the app.</p> <p dir="auto">This should be easy enough for users to workaround, but I assume this isn't the intended behavior.</p> <p dir="auto">Edit: Simply checking for <code class="notranslate">!dock.isVisible()</code> before calling <code class="notranslate">dock.show()</code> is insufficient to prevent this behavior. The bug persists</p> <p dir="auto">The real world situation for this is an application that hides/shows with a global hotkey - a user may hit the hotkey by accident and then again to hide it, but they may end up with duplicated dock icons because of this quick action. I toggle back and forth 3x in the repro code above to ensure reproduction, but it can be reproduced with less.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6835891/72575960-398fcb00-389c-11ea-8a16-9f06309965b3.png"><img src="https://user-images.githubusercontent.com/6835891/72575960-398fcb00-389c-11ea-8a16-9f06309965b3.png" alt="image" style="max-width: 100%;"></a></p>
<ul dir="auto"> <li>Output of <code class="notranslate">node_modules/.bin/electron --version</code>: 3.0.0</li> <li>Operating System (Platform and Version): Debian GNU/Linux 9 (stretch)</li> <li>Output of <code class="notranslate">node_modules/.bin/electron --version</code> on last known working Electron version (if applicable): (will check and update)</li> </ul> <p dir="auto"><strong>Expected Behavior</strong><br> Should load the index.html page as per the documentation for getting started with electron.</p> <p dir="auto"><strong>Actual behavior</strong><br> Shows a transparent application with screenshot of the background.</p> <p dir="auto"><strong>To Reproduce</strong></p> <ul dir="auto"> <li>Follow the exact steps for electron-quick-start<br> You can fork <a href="https://github.com/electron/electron-quick-start">electron-quick-start</a> and include a link to the branch with your changes.</li> </ul> <p dir="auto">If you provide a URL, please list the commands required to clone/setup/run your repo e.g.<br> <strong>Screenshots</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5779016/46390072-968d5f00-c6f3-11e8-8098-5ab19052d2bc.png"><img src="https://user-images.githubusercontent.com/5779016/46390072-968d5f00-c6f3-11e8-8098-5ab19052d2bc.png" alt="electron" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Additional Information</strong><br> On an related or unrelated note, <code class="notranslate">npm install -g electron</code> fails with even <code class="notranslate">sudo</code> during creation of folder '.electron' in the '/usr/lib/node_modules/electron'.</p>
0