text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">I followed the guestbook guide and encountered below problem:</p> <p dir="auto">k8s version: release 0.13</p> <h1 dir="auto">Curl test</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" root@uminion:~# curl &quot;192.168.40.11:8000/index.php?cmd=set&amp;key=messages&amp;value=jay_sais_hi&quot; &lt;br /&gt; &lt;b&gt;Fatal error&lt;/b&gt;: Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis-master:6379]' in /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141 Stack trace: #0 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(96): Predis\Connection\AbstractConnection-&amp;gt;onConnectionError('php_network_get...', 0) #1 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(70): Predis\Connection\StreamConnection-&amp;gt;tcpStreamInitializer(Object(Predis\Connection\ConnectionParameters)) #2 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(96): Predis\Connection\StreamConnection-&amp;gt;createResource() #3 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(144): Predis\Connection\AbstractConnection-&amp;gt;connect() #4 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(181): Predis\Connection\StreamConnection-&amp;gt;connect() #5 /vendor/predis/predis/lib/Predis/Connection/StreamConnecti in &lt;b&gt;/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php&lt;/b&gt; on line &lt;b&gt;141&lt;/b&gt;&lt;br /&gt; "><pre class="notranslate"><code class="notranslate"> root@uminion:~# curl "192.168.40.11:8000/index.php?cmd=set&amp;key=messages&amp;value=jay_sais_hi" &lt;br /&gt; &lt;b&gt;Fatal error&lt;/b&gt;: Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis-master:6379]' in /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141 Stack trace: #0 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(96): Predis\Connection\AbstractConnection-&amp;gt;onConnectionError('php_network_get...', 0) #1 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(70): Predis\Connection\StreamConnection-&amp;gt;tcpStreamInitializer(Object(Predis\Connection\ConnectionParameters)) #2 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(96): Predis\Connection\StreamConnection-&amp;gt;createResource() #3 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(144): Predis\Connection\AbstractConnection-&amp;gt;connect() #4 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(181): Predis\Connection\StreamConnection-&amp;gt;connect() #5 /vendor/predis/predis/lib/Predis/Connection/StreamConnecti in &lt;b&gt;/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php&lt;/b&gt; on line &lt;b&gt;141&lt;/b&gt;&lt;br /&gt; </code></pre></div> <p dir="auto">I don't know why they are there.</p> <h1 dir="auto">Flannel IP</h1> <p dir="auto">Flannel's IP is same in all minions, Is that all right?</p>
<p dir="auto">Something is leaving a PD around and causing <code class="notranslate">kube-up</code> on GCE to block partway up (which is disruptive when you're trying to just create a cluster while grabbing coffee):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Looking for already existing resources Persistent disk kubernetes-kube-system-kube-registry found. Would you like to shut down the old cluster (call kube-down)? [y/N] Starting master and configuring firewalls"><pre class="notranslate"><code class="notranslate">Looking for already existing resources Persistent disk kubernetes-kube-system-kube-registry found. Would you like to shut down the old cluster (call kube-down)? [y/N] Starting master and configuring firewalls </code></pre></div> <p dir="auto">I've had this happen pretty consistently on a clean project, clean build, <code class="notranslate">kube-down</code> / <code class="notranslate">kube-up</code>. Seems like an easy bug to fix.</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">include_role</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.1.0 config file = configured module search path = Default w/o overrides python version = 3.6.1 (default, Jul 6 2017, 10:09:38) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.1.0 config file = configured module search path = Default w/o overrides python version = 3.6.1 (default, Jul 6 2017, 10:09:38) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto"><code class="notranslate">include_role</code> doesn't support changed status, making it impossible to trigger handlers or further activities based on <code class="notranslate">include_role</code> invocation.</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="- include_role: {name: other_role} register: role - debug: msg: '{{role.changed}}'"><pre class="notranslate">- <span class="pl-ent">include_role</span>: <span class="pl-s">{name: other_role}</span> <span class="pl-ent">register</span>: <span class="pl-s">role</span> - <span class="pl-ent">debug</span>: <span class="pl-ent">msg</span>: <span class="pl-s"><span class="pl-pds">'</span>{{role.changed}}<span class="pl-pds">'</span></span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">role.changed would be <code class="notranslate">true</code> if any task within included role was changed</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">role is empty</p>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">1.5.3</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu 13.10</p> <h5 dir="auto">Summary:</h5> <p dir="auto">New EC2 machines cannot be added to EC2 load balancers without producing an error.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">Attempt to add a new EC2 server to an existing LB.</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">The server is added to the Load balancer.</p> <h5 dir="auto">Actual Results:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="failed: [ec2-54-82-200-114.compute-1.amazonaws.com] =&gt; (item=ec2-54-196-51-24.compute-1.amazonaws.com) =&gt; {&quot;failed&quot;: true, &quot;item&quot;: &quot;ec2-54-196-51-24.compute-1.amazonaws.com&quot;} msg: failed to find the initial state of the load balancer failed: [ec2-54-82-200-114.compute-1.amazonaws.com] =&gt; (item=ec2-54-82-200-114.compute-1.amazonaws.com) =&gt; {&quot;failed&quot;: true, &quot;item&quot;: &quot;ec2-54-82-200-114.compute-1.amazonaws.com&quot;} msg: failed to find the initial state of the load balancer"><pre class="notranslate"><code class="notranslate">failed: [ec2-54-82-200-114.compute-1.amazonaws.com] =&gt; (item=ec2-54-196-51-24.compute-1.amazonaws.com) =&gt; {"failed": true, "item": "ec2-54-196-51-24.compute-1.amazonaws.com"} msg: failed to find the initial state of the load balancer failed: [ec2-54-82-200-114.compute-1.amazonaws.com] =&gt; (item=ec2-54-82-200-114.compute-1.amazonaws.com) =&gt; {"failed": true, "item": "ec2-54-82-200-114.compute-1.amazonaws.com"} msg: failed to find the initial state of the load balancer </code></pre></div>
0
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">[email protected]<br> [email protected]</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function isFunction(item: any): item is Function { return typeof item === `function`; } function isString(item: any): item is String { return typeof item === `string`; } const example: string | Function = function () { }; if (isFunction(example)) { ['a', 'b', 'c'].filter(item =&gt; example(item)); } else if (isString(example)) { example.toUpperCase(); }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">isFunction</span><span class="pl-kos">(</span><span class="pl-s1">item</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-s1">item</span> is <span class="pl-smi">Function</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">item</span> <span class="pl-c1">===</span> <span class="pl-s">`function`</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">isString</span><span class="pl-kos">(</span><span class="pl-s1">item</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-s1">item</span> is <span class="pl-smi">String</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">item</span> <span class="pl-c1">===</span> <span class="pl-s">`string`</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-en">example</span>: <span class="pl-smi">string</span> <span class="pl-c1">|</span> <span class="pl-smi">Function</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isFunction</span><span class="pl-kos">(</span><span class="pl-s1">example</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-s">'c'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">item</span> <span class="pl-c1">=&gt;</span> <span class="pl-en">example</span><span class="pl-kos">(</span><span class="pl-s1">item</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isString</span><span class="pl-kos">(</span><span class="pl-s1">example</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">example</span><span class="pl-kos">.</span><span class="pl-en">toUpperCase</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> No errors are thrown.</p> <p dir="auto"><strong>Actual behavior:</strong><br> Works fine in 1.8.9<br> Throws in 1.9.0-dev.20160330</p> <blockquote> <p dir="auto">foo.ts(11,36): error TS2349: Cannot invoke an expression whose type lacks a call signature.</p> </blockquote>
<p dir="auto">This is a place holder for changes to the type narrowing behavior in TypeScript 2.0:</p> <ul dir="auto"> <li>Generic type parameters are now narrowed</li> </ul> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function g&lt;T&gt;(obj: T) { var t: T; if (obj instanceof RegExp) { t = obj; // RegExp is not assignable to T } }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">g</span><span class="pl-c1">&lt;</span><span class="pl-smi">T</span><span class="pl-c1">&gt;</span><span class="pl-kos">(</span><span class="pl-s1">obj</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">t</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">obj</span> <span class="pl-k">instanceof</span> <span class="pl-smi">RegExp</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</span><span class="pl-kos">;</span> <span class="pl-c">// RegExp is not assignable to T</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">See the explanation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Arnavion/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Arnavion">@Arnavion</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="144126851" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/7719" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/7719/hovercard?comment_id=202684512&amp;comment_type=issue_comment" href="https://github.com/microsoft/TypeScript/issues/7719#issuecomment-202684512">#7719 (comment)</a></p> <ul dir="auto"> <li>Type narrowing does not work for catprued variables in functions and class expressions</li> </ul> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export class Class { constructor(public p) { } } var c: Class | string; var x: Class; if (c instanceof Class) { function inner() { x = c; // Error, type of c is not narrowed, c is Class | string } x = c; // OK, c is Class }"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">Class</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-k">public</span> <span class="pl-s1">p</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">c</span>: <span class="pl-smi">Class</span> <span class="pl-c1">|</span> <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">x</span>: <span class="pl-smi">Class</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Class</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">function</span> <span class="pl-en">inner</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">c</span><span class="pl-kos">;</span> <span class="pl-c">// Error, type of c is not narrowed, c is Class | string</span> <span class="pl-kos">}</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">c</span><span class="pl-kos">;</span> <span class="pl-c">// OK, c is Class</span> <span class="pl-kos">}</span></pre></div>
1
<p dir="auto">As I checked the code, there is no possibility to disable react-hot-loader warnings.<br> What Next.js team does? Ignore them? Thank you.</p> <p dir="auto"><a href="https://github.com/gaearon/react-hot-loader#disable-warnings">https://github.com/gaearon/react-hot-loader#disable-warnings</a></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> <h2 dir="auto">Current Behavior</h2> <p dir="auto"><code class="notranslate">Unexpected token function G:\huxinmin.github.io\nextJs\.next\dist\pages\index.js:65 value: async function getInitialProps() { ^^^^^^^^ SyntaxError: Unexpected token function at Object.exports.runInThisContext (vm.js:76:16) at Module._compile (module.js:542:28) at Module._compile (G:\huxinmin.github.io\nextJs\node_modules\[email protected]@source-map-support\source-map-support.js:483:25) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at _callee$ (G:\huxinmin.github.io\nextJs\node_modules\[email protected]@next\dist\server\require.js:33:46)</code></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>clone data-fetch example and npm install and npm run dev</li> <li>see 127.0.0.1:3000 in browser</li> <li>the package.json is <code class="notranslate">{ "name": "nextJs", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" &amp;&amp; exit 1", "dev": "next", "build": "next build", "start": "next start" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "isomorphic-fetch": "^2.2.1", "next": "latest", "react": "^15.4.2", "react-dom": "^15.4.2" } } </code></li> <li></li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I did all same as the example told but can not successful , I was very sad and ask for help</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>3.2.2</td> </tr> <tr> <td>node</td> <td>6.10. 0</td> </tr> <tr> <td>OS</td> <td>windows</td> </tr> <tr> <td>browser</td> <td>chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<p dir="auto">The transform-runtime plugin results in errors when doing catch-all reexporting (<code class="notranslate">export * from 'something';</code>).</p> <h3 dir="auto">Input Code</h3> <p dir="auto">package.json:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;plugins&quot;: [&quot;transform-runtime&quot;]"><pre class="notranslate"><code class="notranslate">"plugins": ["transform-runtime"] </code></pre></div> <p dir="auto">Say you have 3 files:</p> <p dir="auto">a.js:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const a = 1; export { a };"><pre class="notranslate"><code class="notranslate">const a = 1; export { a }; </code></pre></div> <p dir="auto">b.js:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export * from './a.js';"><pre class="notranslate"><code class="notranslate">export * from './a.js'; </code></pre></div> <p dir="auto">c.js:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import a from './b.js';"><pre class="notranslate"><code class="notranslate">import a from './b.js'; </code></pre></div> <p dir="auto">The result from running <code class="notranslate">babel-node</code> is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import _Object$defineProperty from 'babel-runtime/core-js/object/define-property'; ^^^^^^ SyntaxError: Unexpected token import at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:588:28) at loader (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/babel-register/lib/node.js:144:5) at Object.require.extensions.(anonymous function) [as .js] (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/babel-register/lib/node.js:154:7) at Module.load (module.js:545:32) at tryModuleLoad (module.js:508:12) at Function.Module._load (module.js:500:3) at Module.require (module.js:568:17) at require (internal/module.js:11:18)"><pre class="notranslate"><code class="notranslate">import _Object$defineProperty from 'babel-runtime/core-js/object/define-property'; ^^^^^^ SyntaxError: Unexpected token import at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:588:28) at loader (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/babel-register/lib/node.js:144:5) at Object.require.extensions.(anonymous function) [as .js] (/home/cmcdragonkai/Projects/js-virtualfs/node_modules/babel-register/lib/node.js:154:7) at Module.load (module.js:545:32) at tryModuleLoad (module.js:508:12) at Function.Module._load (module.js:500:3) at Module.require (module.js:568:17) at require (internal/module.js:11:18) </code></pre></div> <p dir="auto">I'm using babel-plugin-transfrom-runtime at 6.23.0 and babel-runtime at 6.26.0.</p>
<p dir="auto">I am attempting to use transform-runtime in combination with code that uses the export * from 'x' statement. The code that is generated during transpilation includes an import statement for core-js' define-property. I'm using the es2015 preset, so I would expect that a require statement would be generated, not an import.</p> <p dir="auto">Small sample project at <a href="https://gist.github.com/mdouglass/a6a5c5aae68ac03a92d3">https://gist.github.com/mdouglass/a6a5c5aae68ac03a92d3</a></p>
1
<p dir="auto">I think that we should try to implement an official module like the <a href="https://github.com/b-fuze/deno-dom">Deno DOM third-party module</a> that includes the <code class="notranslate">DOMParser</code>. The whole part about Deno is to mirror the Browser APIs, but we don't even have an official DOM Parser in the std. I think that this should definitely be in the std as it is something that is in every single browser shipped out of the box. I understand that the <code class="notranslate">deno-dom</code> third party module does include a <code class="notranslate">DOMParser</code>, but there are a couple of issues and if a module were created by Deno, it would be worked on as a community. The author of the module did amazing at starting the project, but we must have one included with Deno. Also, it would make Deno viable for scraping which is <strong>very important</strong> for a lot of node users. Thank you for your time!</p>
<p dir="auto">Similar to other browser globals but recognize this is an ambitious request. If web compatibility is a goal then from my perspective this should be too.</p> <p dir="auto">Currently there are only a few options for constructing a DOM on the backend. Some folks are using Chromium/Puppeteer but this is really memory intensive and crummy for places where coldstart performance is important (like AWS Lambda). JSDom has some support for doing this but resolving esmodules mixed with Node require is clunky at best. A first class runtime solution on the backend for Web Components would be extremely useful for those of us that want to render as much of the DOM as possible before sending it to the client.</p> <p dir="auto">I think that's a very large audience and a worthwhile goal. Thanks for considering!</p>
1
<p dir="auto">Currently I am implementing some <code class="notranslate">Dropdown</code> component and I have something like this.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="return ( &lt;div className={classnames(classes)} tabIndex=&quot;-1&quot;&gt; {Children.map(children, this.render_child)} &lt;/div&gt; ) ... @autobind render_child(element, index) { return cloneElement(element, { key: element.key || index, selected: this.props.selected, onClick: this.click_handler }) }"><pre class="notranslate"><span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-en">classnames</span><span class="pl-kos">(</span><span class="pl-s1">classes</span><span class="pl-kos">)</span><span class="pl-kos">}</span> <span class="pl-c1">tabIndex</span><span class="pl-c1">=</span><span class="pl-s">"-1"</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span><span class="pl-v">Children</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">children</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">render_child</span><span class="pl-kos">)</span><span class="pl-kos">}</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-kos">.</span><span class="pl-kos">.</span> @<span class="pl-c1">autobind</span> <span class="pl-en">render_child</span><span class="pl-kos">(</span><span class="pl-s1">element</span><span class="pl-kos">,</span> <span class="pl-s1">index</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-en">cloneElement</span><span class="pl-kos">(</span><span class="pl-s1">element</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">key</span>: <span class="pl-s1">element</span><span class="pl-kos">.</span><span class="pl-c1">key</span> <span class="pl-c1">||</span> <span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-c1">selected</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">selected</span><span class="pl-kos">,</span> <span class="pl-c1">onClick</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">click_handler</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">The business requirement put me in this situation. I created the list of item of the <code class="notranslate">Dropdown</code> component.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// this is using map from some array so I will return an array. render_menu_item(key) { if(!key) { //whatever checking return } return ( &lt;MenuItem value={key}&gt;{text}&lt;/MenuItem&gt; ) }"><pre class="notranslate"><span class="pl-c">// this is using map from some array so I will return an array.</span> <span class="pl-en">render_menu_item</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">//whatever checking</span> <span class="pl-k">return</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">MenuItem</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">key</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span><span class="pl-kos">{</span><span class="pl-s1">text</span><span class="pl-kos">}</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">MenuItem</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Now, because I use <code class="notranslate">element.key</code> in some case <code class="notranslate">element</code> could be <code class="notranslate">null</code> so give me an error. I propose to remove the <code class="notranslate">null</code> or <code class="notranslate">undefined</code> from the <code class="notranslate">Children.map</code> because then I will be filtering all the time the <code class="notranslate">null</code> values whenever I have this situation.</p> <p dir="auto">I understand I can <code class="notranslate">forEach</code> but I think is not the best implementation, in the end you change the <code class="notranslate">map</code> function alright so</p>
<p dir="auto">My use case: wrapping all <strong>non-empty</strong> children into divs.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" render() { return ( &lt;div style={rootStyle} onWheel={this.handleWheel}&gt; {Children.map(this.props.children, this.wrapChild)} &lt;/div&gt; ); }, wrapChild(child, index) { if (!child) { // I know this is probably wrong kind of comparison; don't care return ( &lt;div style={this.getChildStyle(index)}&gt; {child} &lt;/div&gt; ); } },"><pre class="notranslate"> <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">rootStyle</span><span class="pl-kos">}</span> <span class="pl-c1">onWheel</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">handleWheel</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span><span class="pl-v">Children</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">children</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">wrapChild</span><span class="pl-kos">)</span><span class="pl-kos">}</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-en">wrapChild</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">,</span> <span class="pl-s1">index</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">child</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// I know this is probably wrong kind of comparison; don't care</span> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">getChildStyle</span><span class="pl-kos">(</span><span class="pl-s1">index</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-s1">child</span><span class="pl-kos">}</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span></pre></div> <p dir="auto">This is all nice but I also need to know <strong>how many valid children I have wrapped</strong>.<br> <code class="notranslate">Children.count</code> will return the number of children including the “empty” children. I want to strip them out.</p> <p dir="auto">Can we have <code class="notranslate">Children.filter</code>?</p>
1
<p dir="auto">under OSX 10.10.3 atom build 0.199.0 if you close all windows then hit atom-&gt;preferences the preferences windows does not come up. You have to do it twice.</p> <p dir="auto">If using keyboard shortcuts you must hit command+, two times in order to actually get the presences window.</p> <p dir="auto">Expected behavior: hit it once and the preferences window comes up. If no windows are currently open then it should not only open a window, but then automatically open preferences.</p>
<p dir="auto">Atom: 0.198.0<br> OSX: 10.10.3</p> <p dir="auto">Steps to reproduce:</p> <ul dir="auto"> <li>Open atom</li> <li>Close all atom windows (shift+cmd+w)</li> <li>Open preferences (cmd+,)</li> </ul> <p dir="auto">Expected behavior: new window opened with settings view<br> Actual behavior: new window opened with new empty file</p>
1
<p dir="auto">I just moved to using 3.0 version of OpenCV. This error seems to follow me. I have treid cleaning the project, moving to 3.1, but I cant seem to figure out what I'm missing:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cmake . -- OpenCV ARCH: -- OpenCV RUNTIME: -- OpenCV STATIC: ON CMake Warning at /Applications/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message): Found OpenCV Windows Pack but it has no binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library. Call Stack (most recent call first): CMakeLists.txt:10 (find_package) CMake Error at CMakeLists.txt:10 (find_package): Found package configuration file: /Applications/opencv-3.1.0/cmake/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package &quot;OpenCV&quot; is considered to be NOT FOUND. -- Configuring incomplete, errors occurred! "><pre class="notranslate"><code class="notranslate">$ cmake . -- OpenCV ARCH: -- OpenCV RUNTIME: -- OpenCV STATIC: ON CMake Warning at /Applications/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message): Found OpenCV Windows Pack but it has no binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library. Call Stack (most recent call first): CMakeLists.txt:10 (find_package) CMake Error at CMakeLists.txt:10 (find_package): Found package configuration file: /Applications/opencv-3.1.0/cmake/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND. -- Configuring incomplete, errors occurred! </code></pre></div> <p dir="auto">Any tips on tackling this will help. I am building OpenCV on OSX El Capitan. I am not sure if this is a problem with cmake or opencv. Envorinment variables seem to be correct. Thanks!</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4</li> <li>Operating System / Platform =&gt; Windows 64 Bit</li> <li>Compiler =&gt; Visual Studio 2017</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I have a problem while writing a video file whose frame size is huge(3840*2160). VideoWriter did not give any error but output file is missing codec information hence producing corrupted file.</p> <h5 dir="auto">Steps to reproduce</h5> <div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="bool read_write_video(string video_path, string out_video_path) { VideoCapture capture(0); try { capture.open(video_path); double dWidth = capture.get(CV_CAP_PROP_FRAME_WIDTH); double dHeight = capture.get(CV_CAP_PROP_FRAME_HEIGHT); Size frameSize(static_cast&lt;int&gt;(dWidth), static_cast&lt;int&gt;(dHeight)); double fps = capture.get(CV_CAP_PROP_FPS); int four_cc = (int)capture.get(CV_CAP_PROP_FOURCC); if (four_cc &lt;= 0) { return false; } VideoWriter videowriter(out_video_path, four_cc, fps, frameSize, true); while(capture.isOpened()){ Mat frame; capture.read(frame); if (frame.empty()) break; videowriter.write(frame); frame.release(); } videowriter.release(); capture.release(); return true; } catch (exception ex) { return false; } }"><pre class="notranslate"><span class="pl-k">bool</span> <span class="pl-en">read_write_video</span>(string video_path, string out_video_path) { VideoCapture <span class="pl-smi">capture</span>(<span class="pl-c1">0</span>); <span class="pl-k">try</span> { capture.<span class="pl-c1">open</span>(video_path); <span class="pl-k">double</span> dWidth = capture.<span class="pl-c1">get</span>(CV_CAP_PROP_FRAME_WIDTH); <span class="pl-k">double</span> dHeight = capture.<span class="pl-c1">get</span>(CV_CAP_PROP_FRAME_HEIGHT); <span class="pl-c1">Size</span> <span class="pl-smi">frameSize</span>(<span class="pl-k">static_cast</span>&lt;<span class="pl-k">int</span>&gt;(dWidth), <span class="pl-k">static_cast</span>&lt;<span class="pl-k">int</span>&gt;(dHeight)); <span class="pl-k">double</span> fps = capture.<span class="pl-c1">get</span>(CV_CAP_PROP_FPS); <span class="pl-k">int</span> four_cc = (<span class="pl-k">int</span>)capture.<span class="pl-c1">get</span>(CV_CAP_PROP_FOURCC); <span class="pl-k">if</span> (four_cc &lt;= <span class="pl-c1">0</span>) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } VideoWriter <span class="pl-smi">videowriter</span>(out_video_path, four_cc, fps, frameSize, <span class="pl-c1">true</span>); <span class="pl-k">while</span>(capture.<span class="pl-c1">isOpened</span>()){ Mat frame; capture.<span class="pl-c1">read</span>(frame); <span class="pl-k">if</span> (frame.<span class="pl-c1">empty</span>()) <span class="pl-k">break</span>; videowriter.<span class="pl-c1">write</span>(frame); frame.<span class="pl-c1">release</span>(); } videowriter.<span class="pl-c1">release</span>(); capture.<span class="pl-c1">release</span>(); <span class="pl-k">return</span> <span class="pl-c1">true</span>; } <span class="pl-k">catch</span> (<span class="pl-c1">exception</span> ex) { <span class="pl-k">return</span> <span class="pl-c1">false</span>; } }</pre></div>
0
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">vault</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.2.0"><pre class="notranslate"><code class="notranslate">ansible 2.4.2.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Default</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Ubuntu 16.04</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Passing encrypted variables through to_yaml results in variable not being decrypted.<br> ... through to_json results in</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;msg&quot;: &quot;Unexpected templating type error occurred on ({{ encrypted_var | to_json }}): 'decrypted_secret' is not JSON serializable&quot;"><pre class="notranslate"><code class="notranslate">"msg": "Unexpected templating type error occurred on ({{ encrypted_var | to_json }}): 'decrypted_secret' is not JSON serializable" </code></pre></div> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">See tests added here: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/paulbovbel/ansible/commit/25a3ee9a253708bd08d642b39ff6081406a60d37/hovercard" href="https://github.com/paulbovbel/ansible/commit/25a3ee9a253708bd08d642b39ff6081406a60d37">paulbovbel@<tt>25a3ee9</tt></a></p> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Expected tests to pass.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ansible-test integration vault TASK [test_vault_embedded : Assert that a embedded vault of a string with no newline works with to_yaml] ************************************************** fatal: [testhost]: FAILED! =&gt; { &quot;assertion&quot;: &quot;\&quot;!vault |\n $ANSIBLE_VAULT;1.1;AES256\n 33363965326261303234626463623963633531343539616138316433353830356566396130353436\n 3562643163366231316662386565383735653432386435610a306664636137376132643732393835\n 63383038383730306639353234326630666539346233376330303938323639306661313032396437\n 6233623062366136310a633866373936313238333730653739323461656662303864663666653563\n 3138\n\&quot; == \&quot;Setec Astronomy\n...\n\&quot;&quot;, &quot;changed&quot;: false, &quot;evaluated_to&quot;: false } ...ignoring TASK [test_vault_embedded : Assert that a multi line embedded vault works with to_yaml, including new line] *********************************************** fatal: [testhost]: FAILED! =&gt; { &quot;assertion&quot;: &quot;vault_encrypted_var | to_yaml == decrypted_var | to_yaml&quot;, &quot;changed&quot;: false, &quot;evaluated_to&quot;: false } ...ignoring TASK [test_vault_embedded : Assert that a embedded vault of a string with no newline works with to_yaml] ************************************************** fatal: [testhost]: FAILED! =&gt; {&quot;msg&quot;: &quot;Unexpected templating type error occurred on (\&quot;{{ vault_encrypted_one_line_var | to_json }}\&quot; == \&quot;{{ decrypted_one_line_var | to_json }}\&quot;): u'Setec Astronomy' is not JSON serializable&quot;} ...ignoring TASK [test_vault_embedded : Assert that a multi line embedded vault works with to_yaml, including new line] *********************************************** fatal: [testhost]: FAILED! =&gt; { &quot;assertion&quot;: &quot;vault_encrypted_var == decrypted_var | to_json&quot;, &quot;changed&quot;: false, &quot;evaluated_to&quot;: false }"><pre class="notranslate"><code class="notranslate"># ansible-test integration vault TASK [test_vault_embedded : Assert that a embedded vault of a string with no newline works with to_yaml] ************************************************** fatal: [testhost]: FAILED! =&gt; { "assertion": "\"!vault |\n $ANSIBLE_VAULT;1.1;AES256\n 33363965326261303234626463623963633531343539616138316433353830356566396130353436\n 3562643163366231316662386565383735653432386435610a306664636137376132643732393835\n 63383038383730306639353234326630666539346233376330303938323639306661313032396437\n 6233623062366136310a633866373936313238333730653739323461656662303864663666653563\n 3138\n\" == \"Setec Astronomy\n...\n\"", "changed": false, "evaluated_to": false } ...ignoring TASK [test_vault_embedded : Assert that a multi line embedded vault works with to_yaml, including new line] *********************************************** fatal: [testhost]: FAILED! =&gt; { "assertion": "vault_encrypted_var | to_yaml == decrypted_var | to_yaml", "changed": false, "evaluated_to": false } ...ignoring TASK [test_vault_embedded : Assert that a embedded vault of a string with no newline works with to_yaml] ************************************************** fatal: [testhost]: FAILED! =&gt; {"msg": "Unexpected templating type error occurred on (\"{{ vault_encrypted_one_line_var | to_json }}\" == \"{{ decrypted_one_line_var | to_json }}\"): u'Setec Astronomy' is not JSON serializable"} ...ignoring TASK [test_vault_embedded : Assert that a multi line embedded vault works with to_yaml, including new line] *********************************************** fatal: [testhost]: FAILED! =&gt; { "assertion": "vault_encrypted_var == decrypted_var | to_json", "changed": false, "evaluated_to": false } </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">vault</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="devel"><pre class="notranslate"><code class="notranslate">devel </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <h5 dir="auto">SUMMARY</h5> <p dir="auto">A single vault encrypted value does not get decrypted in a jinja2 pipeline.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Don't worry the below vault data is just useless strings.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- - hosts: localhost gather_facts: false vars: the_password: !vault | $ANSIBLE_VAULT;1.1;AES256 66653436353263336535316333313533666563386463623562396234313064643430323066626538 3234393066313964393861613431313832306439383633340a653361636537303033313137613933 33653333633139353736636332333237613761636430356665383839663164363739323337643333 6466313434306462370a663539346162623836626165343830666536646631616165636438646639 6134 tasks: - command: 'echo {{ the_password|string|type_debug }}'"><pre class="notranslate">--- - <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span> <span class="pl-ent">gather_facts</span>: <span class="pl-c1">false</span> <span class="pl-ent">vars</span>: <span class="pl-ent">the_password</span>: <span class="pl-k">!vault</span> <span class="pl-s">|</span> <span class="pl-s"> $ANSIBLE_VAULT;1.1;AES256</span> <span class="pl-s"> 66653436353263336535316333313533666563386463623562396234313064643430323066626538</span> <span class="pl-s"> 3234393066313964393861613431313832306439383633340a653361636537303033313137613933</span> <span class="pl-s"> 33653333633139353736636332333237613761636430356665383839663164363739323337643333</span> <span class="pl-s"> 6466313434306462370a663539346162623836626165343830666536646631616165636438646639</span> <span class="pl-s"> 6134</span> <span class="pl-s"></span> <span class="pl-ent">tasks</span>: - <span class="pl-ent">command</span>: <span class="pl-s"><span class="pl-pds">'</span>echo {{ the_password|string|type_debug }}<span class="pl-pds">'</span></span></pre></div> <p dir="auto">This outputs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;stdout&quot;: &quot;AnsibleVaultEncryptedUnicode&quot;"><pre class="notranslate"><code class="notranslate">"stdout": "AnsibleVaultEncryptedUnicode" </code></pre></div> <p dir="auto">This is a little bit of a contrived example, but what it shows, is that if you want to do something like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- command: &quot;some_command {{ the_password|quote }}&quot;"><pre class="notranslate"><code class="notranslate">- command: "some_command {{ the_password|quote }}" </code></pre></div> <p dir="auto">You will end up with the <code class="notranslate">$ANSIBLE_VAULT;...</code> string instead of the decrypted value</p> <h5 dir="auto">EXPECTED RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"> </code></pre></div>
1
<p dir="auto">Hello!</p> <p dir="auto">I am at the Insider Dev Tour in Stockholm, Watching Simon Wåhlin speak right now, would be cool if you could use the opache function without getting text blurred, so you could read whats on the Visual Studio Code, Atom or browser or something like that, that is under the console to easier see what to type from a StackOverflow post, some kind of guide or code that you are working with</p>
<p dir="auto">Perhaps I overlooked it browsing through the json file but i didn't see another means to achieve transparency and i'm not a fan of the acrylic effects blurring factor or the fact that it turns off when the window is not selected. The traditional console provides for a static opacity just like in most nix envs, i'd hope it's just a matter of time before it's implemented here?</p>
1
<p dir="auto">Perhaps this isn't really a bug but here goes...feel free to move it if needed.</p> <p dir="auto">Maybe It's me being to stupid but I can't for the life of me find out how to remove a single zone from a layout even though I know how to add new ones? Lets say you have three zones vertically distributed as 33%/33%/33% and want to remove one of them to get 66%/33%. I noticed you can make one of the zones overlap another one and get kind of the same result, but not sure if that has any side effects.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">There's no way (at least an intuitive one) to delete a splitter. I tried RMB and MMB with Alt/Ctrl/Shift combinations, Delete button and nothing worked. I think there should be an option to do that.</p>
1
<h2 dir="auto">Environment</h2> <ul dir="auto"> <li>OS: Debian Wheezy (via <a href="https://github.com/puckel/docker-airflow">docker-airflow</a>)</li> <li><a href="https://gist.github.com/boxysean/5b5d73f4fc3541d63c4b#file-airflow-cfg">Configuration</a> (trimmed)</li> <li>python 2.7.9, Airflow 1.6.1 from pypi, <a href="https://gist.github.com/boxysean/5b5d73f4fc3541d63c4b#file-requirements-txt">my project's requirements.txt</a> (trimmed)</li> </ul> <h2 dir="auto">How to replicate and explanation</h2> <p dir="auto"><a href="https://gist.github.com/boxysean/5b5d73f4fc3541d63c4b#file-dag_that_crashes_scheduler-py">This DAG</a> crashes my scheduler very quickly when manually (externally) triggered. I'm going to guess it will crash for everyone running Airflow 1.6.1 and up to master.</p> <p dir="auto">I find my DAGs start to be scheduled only after manually / externally triggering them. (Not sure why.) The manual trigger generates this DagRun:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;DagRun crash_dag @ 2015-12-17 16:28:34: test, externally triggered: True&gt;"><pre class="notranslate"><code class="notranslate">&lt;DagRun crash_dag @ 2015-12-17 16:28:34: test, externally triggered: True&gt; </code></pre></div> <p dir="auto">Then the subsequent scheduler heartbeats generates new scheduled DagRuns one at a time (one for each of the four previous minutes):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;DagRun crash_dag @ 2015-12-17 16:24:34: scheduled__2015-12-17T16:24:34, externally triggered: False&gt; &lt;DagRun crash_dag @ 2015-12-17 16:25:34: scheduled__2015-12-17T16:25:34, externally triggered: False&gt; &lt;DagRun crash_dag @ 2015-12-17 16:26:34: scheduled__2015-12-17T16:26:34, externally triggered: False&gt; &lt;DagRun crash_dag @ 2015-12-17 16:27:34: scheduled__2015-12-17T16:27:34, externally triggered: False&gt;"><pre class="notranslate"><code class="notranslate">&lt;DagRun crash_dag @ 2015-12-17 16:24:34: scheduled__2015-12-17T16:24:34, externally triggered: False&gt; &lt;DagRun crash_dag @ 2015-12-17 16:25:34: scheduled__2015-12-17T16:25:34, externally triggered: False&gt; &lt;DagRun crash_dag @ 2015-12-17 16:26:34: scheduled__2015-12-17T16:26:34, externally triggered: False&gt; &lt;DagRun crash_dag @ 2015-12-17 16:27:34: scheduled__2015-12-17T16:27:34, externally triggered: False&gt; </code></pre></div> <p dir="auto">One minute passes, then it tries to schedule the next DagRun, but it crashes with this exception:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2015-12-17 16:29:35,097 - root - ERROR - (_mysql_exceptions.IntegrityError) (1062, &quot;Duplicate entry 'crash_dag-2015-12-17 16:28:34' for key 'dag_id'&quot;) [SQL: u'INSERT INTO dag_run (dag_id, execution_date, state, run_id, external_trigger, conf) VALUES (%s, %s, %s, %s, %s, %s)'] [parameters: ('crash_dag', datetime.datetime(2015, 12, 17, 16, 28, 34), u'running', u'scheduled__2015-12-17T16:28:34', 0, None)] Traceback (most recent call last): File &quot;/usr/local/lib/python2.7/dist-packages/airflow/jobs.py&quot;, line 608, in _execute self.schedule_dag(dag) File &quot;/usr/local/lib/python2.7/dist-packages/airflow/jobs.py&quot;, line 398, in schedule_dag session.commit() File &quot;/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py&quot;, line 801, in commit self.transaction.commit() &lt;snip&gt;"><pre class="notranslate"><code class="notranslate">2015-12-17 16:29:35,097 - root - ERROR - (_mysql_exceptions.IntegrityError) (1062, "Duplicate entry 'crash_dag-2015-12-17 16:28:34' for key 'dag_id'") [SQL: u'INSERT INTO dag_run (dag_id, execution_date, state, run_id, external_trigger, conf) VALUES (%s, %s, %s, %s, %s, %s)'] [parameters: ('crash_dag', datetime.datetime(2015, 12, 17, 16, 28, 34), u'running', u'scheduled__2015-12-17T16:28:34', 0, None)] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 608, in _execute self.schedule_dag(dag) File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 398, in schedule_dag session.commit() File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 801, in commit self.transaction.commit() &lt;snip&gt; </code></pre></div> <p dir="auto">The reason is my Airflow database (tested on both MySQL and Postgres) has a unique key definition in the <code class="notranslate">dag_run</code> table on <code class="notranslate">(dag_id, execution_date)</code>. Indeed, the DagRun attempting to be scheduled with ID <code class="notranslate">scheduled__2015-12-17T16:28:34</code> is colliding with my DagRun with ID <code class="notranslate">test</code>.</p> <p dir="auto">After this collision and exception, the scheduler remains alive, and for each scheduler heartbeat, I get the following SQLA rollback message, preventing all future scheduling:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2015-12-17 16:29:35,115 - root - ERROR - This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (_mysql_exceptions.IntegrityError) (1062, &quot;Duplicate entry 'crash_dag-2015-12-17 16:28:34' for key 'dag_id'&quot;) [SQL: u'INSERT INTO dag_run (dag_id, execution_date, state, run_id, external_trigger, conf) VALUES (%s, %s, %s, %s, %s, %s)'] [parameters: ('crash_dag', datetime.datetime(2015, 12, 17, 16, 28, 34), u'running', u'scheduled__2015-12-17T16:28:34', 0, None)] Traceback (most recent call last): File &quot;/usr/local/lib/python2.7/dist-packages/airflow/jobs.py&quot;, line 618, in _execute self.import_errors(dagbag) File &quot;/usr/local/lib/python2.7/dist-packages/airflow/jobs.py&quot;, line 340, in import_errors session.query(models.ImportError).delete() File &quot;/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py&quot;, line 2883, in delete delete_op.exec_() &lt;snip&gt;"><pre class="notranslate"><code class="notranslate">2015-12-17 16:29:35,115 - root - ERROR - This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (_mysql_exceptions.IntegrityError) (1062, "Duplicate entry 'crash_dag-2015-12-17 16:28:34' for key 'dag_id'") [SQL: u'INSERT INTO dag_run (dag_id, execution_date, state, run_id, external_trigger, conf) VALUES (%s, %s, %s, %s, %s, %s)'] [parameters: ('crash_dag', datetime.datetime(2015, 12, 17, 16, 28, 34), u'running', u'scheduled__2015-12-17T16:28:34', 0, None)] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 618, in _execute self.import_errors(dagbag) File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 340, in import_errors session.query(models.ImportError).delete() File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2883, in delete delete_op.exec_() &lt;snip&gt; </code></pre></div> <p dir="auto">Looking into the Airflow codebase, I see that <a href="https://github.com/airbnb/airflow/blob/master/airflow/models.py#L2721-L2723">the DagRun model has a single unique index</a> that is <em>not</em> the unique index causing this issue. There is, however, <a href="https://github.com/airbnb/airflow/blob/master/airflow/migrations/versions/1b38cef5b76e_add_dagrun.py#L29">a migration that adds the unique DagRun index</a> causing this issue.</p> <h2 dir="auto">How to fix</h2> <p dir="auto">I'm going to try to work-around by manually deleting the unique constraint on the <code class="notranslate">dag_run.(dag_id, execution_date)</code> index. I'm guessing it will work okay for now.</p> <p dir="auto">I think the root cause is an inconsistency between the DagRun model and the list of migrations that needs to be resolved in such a way there isn't index collisions.</p>
<p dir="auto"><strong>Apache Airflow Version</strong>: 2.1.2</p> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li>OS: Linux</li> </ul> <p dir="auto"><strong>What Happens</strong>:</p> <p dir="auto">When the base_task_runner prepares to execute the task, it opens a temporary error file AND passes the error file name into the task. This temp file is created with default permissions based on the airflow worker, which is usually the <strong>airflow</strong> OS user.</p> <p dir="auto">When the task is then run as another user (via <code class="notranslate">run_as_user='me'</code> ), <em>and the task fails</em>, the task attempts to handle the failure by opening and writing to the error file within the subprocess, which is running as the subordinate user and not as the airflow user. This leads to a permission error on the attempt to open, and before the error email is sent out, which is particularly bad because <strong>when the task fails, no one is notified</strong>.</p> <p dir="auto"><strong>What you expect to happen</strong>:</p> <p dir="auto">Airflow should handle error files without creating its own permission errors.</p> <p dir="auto"><strong>Options to Correct</strong>:</p> <ol dir="auto"> <li>We've temporarily gotten around this by inserting a chmod in line 88. This is a temporary error file that is delete when the task goes out of scope, and so, while ugly and inelegant, this is a simple way to avoid the identified problem and probably not a security risk.</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 87 self._error_file = NamedTemporaryFile(delete=True) + os.chmod(self._error_file.name, 0o666) 88 self._cfg_path = cfg_path"><pre class="notranslate"><code class="notranslate"> 87 self._error_file = NamedTemporaryFile(delete=True) + os.chmod(self._error_file.name, 0o666) 88 self._cfg_path = cfg_path </code></pre></div> <ol start="2" dir="auto"> <li>Alternatively, it looks like the there are few uses of the error file by the worker, and that the worker does not write to it. It is possible that the only use is in airflow.jobs.LocalTaskJob following task failure. An alternative solution would be to generate the temp error filename without actually creating the file, passing it to the subprocess as a parameter, and then opening and reading the file if it exists following task failure.</li> </ol> <p dir="auto"><strong>Reference Line of Code:</strong></p> <p dir="auto"></p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/apache/airflow/blob/e107891e65432bf1ba1200c2ca744892db6622d5/airflow/task/task_runner/base_task_runner.py#L87">airflow/airflow/task/task_runner/base_task_runner.py</a> </p> <p class="mb-0 color-fg-muted"> Line 87 in <a data-pjax="true" class="commit-tease-sha" href="/apache/airflow/commit/e107891e65432bf1ba1200c2ca744892db6622d5">e107891</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L87" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="87"></td> <td id="LC87" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">self</span>.<span class="pl-s1">_error_file</span> <span class="pl-c1">=</span> <span class="pl-v">NamedTemporaryFile</span>(<span class="pl-s1">delete</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) </td> </tr> </tbody></table> </div> </div> <p></p>
0
<p dir="auto">Somewhere between all the convert things to OO and restructure gallery PRs, the <a href="https://matplotlib.org/devdocs/gallery/index.html#pyplot" rel="nofollow">pyplot</a> section of the gallery now has very little pyplot content:</p> <h3 dir="auto">PyPlot</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/pyplot_formatstr.html#sphx-glr-gallery-pyplots-pyplot-formatstr-py" rel="nofollow">plot() format string</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/pyplot_mathtext.html#sphx-glr-gallery-pyplots-pyplot-mathtext-py" rel="nofollow">Pyplot mathtext</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/pyplot_simple.html#sphx-glr-gallery-pyplots-pyplot-simple-py" rel="nofollow">Pyplot simple</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/pyplot_text.html#sphx-glr-gallery-pyplots-pyplot-text-py" rel="nofollow">Pyplot text</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/pyplot_three.html#sphx-glr-gallery-pyplots-pyplot-three-py" rel="nofollow">Pyplot three</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/pyplot_two_subplots.html#sphx-glr-gallery-pyplots-pyplot-two-subplots-py" rel="nofollow">Pyplot two subplots</a></li> </ul> <h3 dir="auto">OO</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/align_ylabels.html#sphx-glr-gallery-pyplots-align-ylabels-py" rel="nofollow">Align y-labels</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/annotate_transform.html#sphx-glr-gallery-pyplots-annotate-transform-py" rel="nofollow">Annotate Transform</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/annotation_basic.html#sphx-glr-gallery-pyplots-annotation-basic-py" rel="nofollow">Annotate a plot</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/annotation_polar.html#sphx-glr-gallery-pyplots-annotation-polar-py" rel="nofollow">Annotate Polar</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/auto_subplots_adjust.html#sphx-glr-gallery-pyplots-auto-subplots-adjust-py" rel="nofollow">Auto Subplots Adjust</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/boxplot_demo_pyplot.html#sphx-glr-gallery-pyplots-boxplot-demo-pyplot-py" rel="nofollow">Boxplot Demo</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/dollar_ticks.html#sphx-glr-gallery-pyplots-dollar-ticks-py" rel="nofollow">Dollar Ticks</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/fig_axes_customize_simple.html#sphx-glr-gallery-pyplots-fig-axes-customize-simple-py" rel="nofollow">Fig Axes Customize Simple</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/fig_axes_labels_simple.html#sphx-glr-gallery-pyplots-fig-axes-labels-simple-py" rel="nofollow">Simple Axes labels</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/fig_x.html#sphx-glr-gallery-pyplots-fig-x-py" rel="nofollow">Adding lines to figures</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/text_commands.html#sphx-glr-gallery-pyplots-text-commands-py" rel="nofollow">Text Commands</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://matplotlib.org/devdocs/gallery/pyplots/text_layout.html#sphx-glr-gallery-pyplots-text-layout-py" rel="nofollow">Text Layout</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> what's new examples in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="537201751" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/15920" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/15920/hovercard" href="https://github.com/matplotlib/matplotlib/issues/15920">#15920</a></li> </ul> <p dir="auto">I think there should be a standalone pyplot only gallery page, but think for this PR a potential resolution would be to sort the OO examples into the correct sections (possibly combining them with existing content) or altogether remove them if they're not adding any information.</p> <p dir="auto">xref: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="500921047" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/15355" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/15355/hovercard" href="https://github.com/matplotlib/matplotlib/issues/15355">#15355</a> because I think this contributes to some of the confusion discussed there.</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">When by mistake the same label is used with fill_between with difference facecolor attributes, matplotlib crash with a very unhelpful message.</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.pylab as plt f, ax = plt.subplots(1, 1, figsize=(1, 4)) p = ax.semilogy(range(10), range(10), label=&quot;label1&quot;) p = ax.semilogy(range(10), range(10), label=&quot;label2&quot;) ax.fill_between(range(1,11), 0, 10, facecolor=p[-1].get_color(), edgecolor=None, alpha=0.25, label=&quot;label4&quot;) p = ax.semilogy(range(10), range(10), label=&quot;label3&quot;) ax.fill_between(range(1,11), 0, 10, facecolor=p[-1].get_color(), edgecolor=None, alpha=0.25, label=&quot;label4&quot;) ax.legend(loc=&quot;lower center&quot;) "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pylab</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">f</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">1</span>, <span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">1</span>, <span class="pl-c1">4</span>)) <span class="pl-s1">p</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">semilogy</span>(<span class="pl-en">range</span>(<span class="pl-c1">10</span>), <span class="pl-en">range</span>(<span class="pl-c1">10</span>), <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"label1"</span>) <span class="pl-s1">p</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">semilogy</span>(<span class="pl-en">range</span>(<span class="pl-c1">10</span>), <span class="pl-en">range</span>(<span class="pl-c1">10</span>), <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"label2"</span>) <span class="pl-s1">ax</span>.<span class="pl-en">fill_between</span>(<span class="pl-en">range</span>(<span class="pl-c1">1</span>,<span class="pl-c1">11</span>), <span class="pl-c1">0</span>, <span class="pl-c1">10</span>, <span class="pl-s1">facecolor</span><span class="pl-c1">=</span><span class="pl-s1">p</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>].<span class="pl-en">get_color</span>(), <span class="pl-s1">edgecolor</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">alpha</span><span class="pl-c1">=</span><span class="pl-c1">0.25</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"label4"</span>) <span class="pl-s1">p</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">semilogy</span>(<span class="pl-en">range</span>(<span class="pl-c1">10</span>), <span class="pl-en">range</span>(<span class="pl-c1">10</span>), <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"label3"</span>) <span class="pl-s1">ax</span>.<span class="pl-en">fill_between</span>(<span class="pl-en">range</span>(<span class="pl-c1">1</span>,<span class="pl-c1">11</span>), <span class="pl-c1">0</span>, <span class="pl-c1">10</span>, <span class="pl-s1">facecolor</span><span class="pl-c1">=</span><span class="pl-s1">p</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>].<span class="pl-en">get_color</span>(), <span class="pl-s1">edgecolor</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">alpha</span><span class="pl-c1">=</span><span class="pl-c1">0.25</span>, <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"label4"</span>) <span class="pl-s1">ax</span>.<span class="pl-en">legend</span>(<span class="pl-s1">loc</span><span class="pl-c1">=</span><span class="pl-s">"lower center"</span>) </pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-1-fca22924ade8&gt; in &lt;module&gt;() 11 edgecolor=None, alpha=0.25, label=&quot;label4&quot;) 12 ---&gt; 13 ax.legend(loc=&quot;lower center&quot;) /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/axes/_axes.py in legend(self, *args, **kwargs) 495 [self], 496 *args, --&gt; 497 **kwargs) 498 if len(extra_args): 499 raise TypeError('legend only accepts two non-keyword arguments') /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/legend.py in _parse_legend_args(axs, *args, **kwargs) 1401 # No arguments - automatically detect labels and handles. 1402 elif len(args) == 0: -&gt; 1403 handles, labels = _get_legend_handles_labels(axs, handlers) 1404 if not handles: 1405 log.warning('No handles with labels found to put in legend.') /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/legend.py in _get_legend_handles_labels(axs, legend_handler_map) 1359 if (label 1360 and not label.startswith('_') -&gt; 1361 and not _in_handles(handle, label)): 1362 handles.append(handle) 1363 labels.append(label) /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/legend.py in _in_handles(h, l) 1343 try: 1344 print(type(f_h.get_facecolor()), f_h.get_facecolor(), h.get_facecolor()) -&gt; 1345 if f_h.get_facecolor() != h.get_facecolor(): 1346 continue 1347 except AttributeError: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-1-fca22924ade8&gt; in &lt;module&gt;() 11 edgecolor=None, alpha=0.25, label="label4") 12 ---&gt; 13 ax.legend(loc="lower center") /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/axes/_axes.py in legend(self, *args, **kwargs) 495 [self], 496 *args, --&gt; 497 **kwargs) 498 if len(extra_args): 499 raise TypeError('legend only accepts two non-keyword arguments') /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/legend.py in _parse_legend_args(axs, *args, **kwargs) 1401 # No arguments - automatically detect labels and handles. 1402 elif len(args) == 0: -&gt; 1403 handles, labels = _get_legend_handles_labels(axs, handlers) 1404 if not handles: 1405 log.warning('No handles with labels found to put in legend.') /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/legend.py in _get_legend_handles_labels(axs, legend_handler_map) 1359 if (label 1360 and not label.startswith('_') -&gt; 1361 and not _in_handles(handle, label)): 1362 handles.append(handle) 1363 labels.append(label) /home/oreilly/python_venv/venv-3.4/lib/python3.5/site-packages/matplotlib/legend.py in _in_handles(h, l) 1343 try: 1344 print(type(f_h.get_facecolor()), f_h.get_facecolor(), h.get_facecolor()) -&gt; 1345 if f_h.get_facecolor() != h.get_facecolor(): 1346 continue 1347 except AttributeError: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() </code></pre></div> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">Either two entries in the legend with the same label, but different colors (if you allow to have two time a same label) or a helpful error message when calling the plotting function reusing an existing label.</p> <p dir="auto">If it might help you speed up your debugging, when executing we get:<br> f_h.get_facecolor() == [[1. 0.49803922 0.05490196 0.25 ]]<br> h.get_facecolor() == [[0.17254902 0.62745098 0.17254902 0.25 ]]<br> type(f_h.get_facecolor() ) == &lt;class 'numpy.ndarray'&gt;<br> So, the error comes from the fact the types of f_h.get_facecolor() becomes a numpy.array in this condition and that, as opposed to list for example, you cannot have "if array1 == array2 : " without the use of the "any()" or "all()", as mentioned by the error message.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Ubuntu 16.04 LTS</li> <li>Matplotlib version: 1.14.0'</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): module://ipykernel.pylab.backend_inline</li> <li>Python version: '3.5.2 (default, Nov 23 2017, 16:37:01) \n[GCC 5.4.0 20160609]'</li> <li>Jupyter version (if applicable): 4.4.0</li> <li>Other libraries:</li> </ul>
0
<p dir="auto">This happens with TensorFlow 1.12 and CUDA 9.0:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ python -c &quot;import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)&quot; v1.12.0-0-ga6d8ffae09 1.12.0"><pre class="notranslate">$ python -c <span class="pl-s"><span class="pl-pds">"</span>import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)<span class="pl-pds">"</span></span> v1.12.0-0-ga6d8ffae09 1.12.0</pre></div> <p dir="auto">Here's a minimal code snippet for reproducing the problem:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/usr/bin/env python3 # -*- coding: utf-8 -*- import tensorflow as tf import tensorflow.contrib.eager as tfe tf.enable_eager_execution() var = tfe.Variable([0.0, 0.0, 0.0], name='tensor') optimizer = tf.train.AdagradOptimizer(learning_rate=0.1) with tf.GradientTape() as tape: fn = tf.nn.embedding_lookup(var, [0])[0] g = tape.gradient(fn, [var])[0] optimizer.apply_gradients(grads_and_vars=[(g, var)])"><pre class="notranslate"><span class="pl-c">#!/usr/bin/env python3</span> <span class="pl-c"># -*- coding: utf-8 -*-</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">tensorflow</span>.<span class="pl-s1">contrib</span>.<span class="pl-s1">eager</span> <span class="pl-k">as</span> <span class="pl-s1">tfe</span> <span class="pl-s1">tf</span>.<span class="pl-en">enable_eager_execution</span>() <span class="pl-s1">var</span> <span class="pl-c1">=</span> <span class="pl-s1">tfe</span>.<span class="pl-v">Variable</span>([<span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>], <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">'tensor'</span>) <span class="pl-s1">optimizer</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">train</span>.<span class="pl-v">AdagradOptimizer</span>(<span class="pl-s1">learning_rate</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>) <span class="pl-k">with</span> <span class="pl-s1">tf</span>.<span class="pl-v">GradientTape</span>() <span class="pl-k">as</span> <span class="pl-s1">tape</span>: <span class="pl-s1">fn</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">nn</span>.<span class="pl-en">embedding_lookup</span>(<span class="pl-s1">var</span>, [<span class="pl-c1">0</span>])[<span class="pl-c1">0</span>] <span class="pl-s1">g</span> <span class="pl-c1">=</span> <span class="pl-s1">tape</span>.<span class="pl-en">gradient</span>(<span class="pl-s1">fn</span>, [<span class="pl-s1">var</span>])[<span class="pl-c1">0</span>] <span class="pl-s1">optimizer</span>.<span class="pl-en">apply_gradients</span>(<span class="pl-s1">grads_and_vars</span><span class="pl-c1">=</span>[(<span class="pl-s1">g</span>, <span class="pl-s1">var</span>)])</pre></div> <p dir="auto">Here's the output, both on CPU and GPU:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ CUDA_VISIBLE_DEVICES=&quot;&quot; ./ada.py 2019-04-23 22:38:06.058069: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-04-23 22:38:06.064824: E tensorflow/stream_executor/cuda/cuda_driver.cc:300] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected 2019-04-23 22:38:06.064853: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] retrieving CUDA diagnostic information for host: hamburg 2019-04-23 22:38:06.064858: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:170] hostname: hamburg 2019-04-23 22:38:06.064879: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:194] libcuda reported version is: 390.116.0 2019-04-23 22:38:06.064897: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:198] kernel reported version is: 390.116.0 2019-04-23 22:38:06.064902: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:305] kernel version seems to match DSO: 390.116.0 $ ./ada.py 2019-04-23 22:38:12.777841: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-04-23 22:38:12.868632: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2019-04-23 22:38:12.868990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties: name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:02:00.0 totalMemory: 11.91GiB freeMemory: 9.38GiB 2019-04-23 22:38:12.869004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0 2019-04-23 22:38:13.675859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-04-23 22:38:13.675884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0 2019-04-23 22:38:13.675889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N 2019-04-23 22:38:13.676041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9063 MB memory) -&gt; physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0, compute capability: 6.1) Traceback (most recent call last): File &quot;./ada.py&quot;, line 17, in &lt;module&gt; optimizer.apply_gradients(grads_and_vars=[(g, var)]) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py&quot;, line 610, in apply_gradients update_ops.append(processor.update_op(self, grad)) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py&quot;, line 166, in update_op g.values, self._v, g.indices) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py&quot;, line 963, in _resource_apply_sparse_duplicate_indices return self._resource_apply_sparse(summed_grad, handle, unique_indices) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/adagrad.py&quot;, line 132, in _resource_apply_sparse use_locking=self._use_locking) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/gen_training_ops.py&quot;, line 2258, in resource_sparse_apply_adagrad _six.raise_from(_core._status_to_exception(e.code, message), None) File &quot;&lt;string&gt;&quot;, line 3, in raise_from tensorflow.python.framework.errors_impl.NotFoundError: No registered 'ResourceSparseApplyAdagrad' OpKernel for GPU devices compatible with node {{node ResourceSparseApplyAdagrad}} = ResourceSparseApplyAdagrad[T=DT_FLOAT, Tindices=DT_INT32, update_slots=true, use_locking=false](dummy_input, dummy_input, dummy_input, dummy_input, dummy_input) . Registered: device='CPU'; T in [DT_DOUBLE]; Tindices in [DT_INT64] device='CPU'; T in [DT_DOUBLE]; Tindices in [DT_INT32] device='CPU'; T in [DT_FLOAT]; Tindices in [DT_INT64] device='CPU'; T in [DT_FLOAT]; Tindices in [DT_INT32] device='CPU'; T in [DT_BFLOAT16]; Tindices in [DT_INT64] device='CPU'; T in [DT_BFLOAT16]; Tindices in [DT_INT32] device='CPU'; T in [DT_HALF]; Tindices in [DT_INT64] device='CPU'; T in [DT_HALF]; Tindices in [DT_INT32] [Op:ResourceSparseApplyAdagrad]"><pre class="notranslate">$ CUDA_VISIBLE_DEVICES=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span> ./ada.py 2019-04-23 22:38:06.058069: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-04-23 22:38:06.064824: E tensorflow/stream_executor/cuda/cuda_driver.cc:300] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected 2019-04-23 22:38:06.064853: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] retrieving CUDA diagnostic information <span class="pl-k">for</span> host: hamburg 2019-04-23 22:38:06.064858: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:170] hostname: hamburg 2019-04-23 22:38:06.064879: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:194] libcuda reported version is: 390.116.0 2019-04-23 22:38:06.064897: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:198] kernel reported version is: 390.116.0 2019-04-23 22:38:06.064902: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:305] kernel version seems to match DSO: 390.116.0 $ ./ada.py 2019-04-23 22:38:12.777841: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-04-23 22:38:12.868632: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node <span class="pl-c1">read</span> from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2019-04-23 22:38:12.868990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties: name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:02:00.0 totalMemory: 11.91GiB freeMemory: 9.38GiB 2019-04-23 22:38:12.869004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0 2019-04-23 22:38:13.675859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-04-23 22:38:13.675884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0 2019-04-23 22:38:13.675889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N 2019-04-23 22:38:13.676041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9063 MB memory) -<span class="pl-k">&gt;</span> physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0, compute capability: 6.1) Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>./ada.py<span class="pl-pds">"</span></span>, line 17, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> optimizer.apply_gradients(grads_and_vars=[(g, var)]) File <span class="pl-s"><span class="pl-pds">"</span>/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py<span class="pl-pds">"</span></span>, line 610, <span class="pl-k">in</span> apply_gradients update_ops.append(processor.update_op(self, grad)) File <span class="pl-s"><span class="pl-pds">"</span>/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py<span class="pl-pds">"</span></span>, line 166, <span class="pl-k">in</span> update_op g.values, self._v, g.indices) File <span class="pl-s"><span class="pl-pds">"</span>/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py<span class="pl-pds">"</span></span>, line 963, <span class="pl-k">in</span> _resource_apply_sparse_duplicate_indices <span class="pl-k">return</span> self._resource_apply_sparse(summed_grad, handle, unique_indices) File <span class="pl-s"><span class="pl-pds">"</span>/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/adagrad.py<span class="pl-pds">"</span></span>, line 132, <span class="pl-k">in</span> _resource_apply_sparse use_locking=self._use_locking) File <span class="pl-s"><span class="pl-pds">"</span>/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/gen_training_ops.py<span class="pl-pds">"</span></span>, line 2258, <span class="pl-k">in</span> resource_sparse_apply_adagrad _six.raise_from(_core._status_to_exception(e.code, message), None) File <span class="pl-s"><span class="pl-pds">"</span>&lt;string&gt;<span class="pl-pds">"</span></span>, line 3, <span class="pl-k">in</span> raise_from tensorflow.python.framework.errors_impl.NotFoundError: No registered <span class="pl-s"><span class="pl-pds">'</span>ResourceSparseApplyAdagrad<span class="pl-pds">'</span></span> OpKernel <span class="pl-k">for</span> GPU devices compatible with node {{node ResourceSparseApplyAdagrad}} = ResourceSparseApplyAdagrad[T<span class="pl-k">=</span>DT_FLOAT, Tindices<span class="pl-k">=</span>DT_INT32, update_slots<span class="pl-k">=</span>true, use_locking<span class="pl-k">=</span>false](dummy_input, dummy_input, dummy_input, dummy_input, dummy_input) <span class="pl-c1">.</span> Registered: device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_DOUBLE]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT64] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_DOUBLE]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT32] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_FLOAT]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT64] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_FLOAT]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT32] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_BFLOAT16]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT64] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_BFLOAT16]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT32] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_HALF]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT64] device=<span class="pl-s"><span class="pl-pds">'</span>CPU<span class="pl-pds">'</span></span><span class="pl-k">;</span> T <span class="pl-k">in</span> [DT_HALF]<span class="pl-k">;</span> Tindices <span class="pl-k">in</span> [DT_INT32] [Op:ResourceSparseApplyAdagrad]</pre></div> <p dir="auto">Environment information:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="== cat /etc/issue =============================================== Linux hamburg 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux VERSION=&quot;18.04.2 LTS (Bionic Beaver)&quot; VERSION_ID=&quot;18.04&quot; VERSION_CODENAME=bionic == are we in docker ============================================= No == compiler ===================================================== c++ (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. == uname -a ===================================================== Linux hamburg 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux == check pips =================================================== msgpack-numpy 0.4.3.2 numpy 1.16.1 numpydoc 0.8.0 protobuf 3.6.1 tensorflow-estimator 1.13.0 13084: trying file=tls/x86_64/libpthread.so.0 13084: trying file=tls/libpthread.so.0 13084: trying file=haswell/x86_64/libpthread.so.0 13084: trying file=haswell/libpthread.so.0 13084: trying file=x86_64/libpthread.so.0 13084: trying file=libpthread.so.0 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: find library=libc.so.6 [0]; searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libc.so.6 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libc.so.6 13084: trying file=tls/haswell/x86_64/libc.so.6 13084: trying file=tls/haswell/libc.so.6 13084: trying file=tls/x86_64/libc.so.6 13084: trying file=tls/libc.so.6 13084: trying file=haswell/x86_64/libc.so.6 13084: trying file=haswell/libc.so.6 13084: trying file=x86_64/libc.so.6 13084: trying file=libc.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libc.so.6 13084: 13084: find library=libdl.so.2 [0]; searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/usr/local/cuda-9.0/lib64/libm.so.6 13084: trying file=tls/haswell/x86_64/libm.so.6 13084: trying file=tls/haswell/libm.so.6 13084: trying file=tls/x86_64/libm.so.6 13084: trying file=tls/libm.so.6 13084: trying file=haswell/x86_64/libm.so.6 13084: trying file=haswell/libm.so.6 13084: trying file=x86_64/libm.so.6 13084: trying file=libm.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libc.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/librt.so.1 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libutil.so.1 13084: 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libopenblasp-r0-382c8f3a.3.5.dev.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/an 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=liblzma.so.5 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libtensorflow_framework.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64:/home/anaconda/anaconda3/ l_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64: ../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/pyth 4/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/p ll/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: find library=libcublas.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (R 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcublas.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: find library=libcusolver.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcusolver.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcusolver.so.9.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudart.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudart.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: find library=libgomp.so.1 [0]; sear 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgomp.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: find library=libstdc++.so.6 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libstdc++.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libstdc++.so.6 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libstdc++.so.6 13084: 13084: find library=libgcc_s.so.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libgcc_s.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgcc_s.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgcc_s.so.1 13084: 13084: find library=libcuda.so.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_p /tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfi 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cu 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcuda.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcuda.so.1 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcuda.so.1 13084: trying file=tls/haswell/x86_64/libcuda.so.1 13084: trying file=tls/haswell/libcuda.so.1 13084: trying file=tls/x86_64/libcuda.so.1 13084: trying file=tls/libcuda.so.1 13084: trying file=haswell/x86_64/libcuda.so.1 13084: trying file=h /lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extr as/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudnn.so.7 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudnn.so.7 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudnn.so.7 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcudnn.so.7 13084: trying file=tls/haswell/x86_64/libcudnn.so.7 13084: trying file=tls/haswell/libcudnn.so.7 13084: trying file=tls/x86_64/libcudnn.so.7 13084: trying file=tls/libcudnn.so.7 13084: trying file=haswell/x86_64/libcudnn.so.7 13084: trying file=haswell/libcudnn.so.7 13084: trying file=x86_64/libcudnn.so.7 13084: trying file=libcudnn.so.7 13084: search cache=/etc/ld.so.cache 13084: trying file=/usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: find library=libcufft.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cu ell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/h aswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcufft.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcufft.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: find library=libcurand.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: tryi nfig_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcurand.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcurand.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcurand.so.9.0 13084: 13084: find library=libnvidia-fatbinaryloader.so.390.116 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_ 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libnvidia-fatbinaryloader.so.390.116 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libnvidia-fatbinaryloader.so.390.116 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fat 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcuda.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcusolver.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so 13084: 13084: find library=libhdfs.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:. 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libhdfs.so 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libhdfs.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file= 13084: search path=/lib/x86_64-linux-gnu/tls/haswell/x86_64:/lib/x86_64-linux-gnu/tls/haswell:/lib/x86_64-linux-gnu/tls/x86_64:/lib/x86_64-linux-gnu/tls:/lib/x86_64-linux-gnu/haswell/x86_64:/lib/x86_64-linux-gnu/haswell:/lib/x86_64-linux-gnu/x86_64:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64:/usr/lib/x86_64-linux-gnu/tls/haswell:/usr/lib/x86_64-linux-gnu/tls/x86_64:/usr/lib/x86_64-linux-gnu/tls:/usr/lib/x86_64-linux-gnu/haswell/x86_64:/usr/lib/x86_64-linux-gnu/haswell:/usr/lib/x86_64-linux-gnu/x86_64:/usr/lib/x86_64-linux-gnu:/lib/tls/haswell/x86_64:/lib/tls/haswell:/lib/tls/x86_64:/lib/tls:/lib/haswell/x86_64:/lib/haswell:/lib/x86_64:/lib:/usr/lib/tls/haswell/x86_64:/usr/lib/tls/haswell:/usr/lib/tls/x86_64:/usr/lib/tls:/usr/lib/haswell/x86_64:/usr/lib/haswell:/usr/lib/x86_64:/usr/lib (system search path) 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/lib/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/tls/haswell/libhdfs.so 13084: trying file=/lib/tls/x86_64/libhdfs.so 13084: trying file=/lib/tls/libhdfs.so 13084: trying file=/lib/haswell/x86_64/libhdfs.so 13084: trying file=/lib/haswell/libhdfs.so 13084 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libssl.so.1.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libhdf5-5773eb11.so.103.0.0 [0]; searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=libhdf5-5773eb11.so.103.0.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/x86_64:/home/anaconda/anaconda3/l 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 13084: 13084: find library=libhdf5_hl-db841637.so.100.1.1 [0]; searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=libhdf5_hl-db841637.so.100.1.1 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs (RUNPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5_hl-db841637.so.100.1.1 13084: 13084: find library=libsz-1c7dd0cf.so.2.0.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./hasw 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5t.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/utils.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5.cpython-36m-x86_64-linux-gnu.so 13084: 13092: find library=libc.so.6 [0]; searching 13092: search path=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64:/usr/local/cuda-9.0/lib64/tls/haswell:/usr/local/cuda-9.0/lib64/tls/x86_64:/usr/local/cuda-9.0/lib64/tls:/usr/local/cuda-9.0/lib64/haswell/x86_64:/usr/local/cuda-9.0/lib64/haswell:/usr/local/cuda-9.0/lib64/x86_64:/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/libc.so.6 13092: trying file=/usr/local/cud 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5g.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5i.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5fd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5o.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5l.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/libuuid.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so 13084: 13084: find library=libffi-bce22613.so.6.0.4 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend (RPATH from file /home/anaconda/anaconda3/l 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libyaml-0.so.2 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64/libyaml-0.so.2 13084: trying file=/ 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: find library=libtiff.so.5 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libmkl_rt.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packag 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libgfortran.so.4 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4 13084: 13084: find library=libquadmath.so.0 [0]; searching 13084: search path=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4) 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64/libquadmath.so.0 13084: try 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/reduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling fini: /home/anaconda 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensor 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/fast_tensor_util.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_conv.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libz-a147dcb0.so.1.2.3 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libsz-1c7dd0cf.so.2.0.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libaec-2147abcd.so.0.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/libuuid.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/_cffi_backend.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/libffi-bce22613.so.6.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryp 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/librt.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m- 13084: calling fini: /lib/x86_64-linux-gnu/libdl.so.2 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpyth 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so [0] 13084: 1308 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/libpthread.so.0 [0] 13084: == env ========================================================== LD_LIBRARY_PATH /usr/local/cuda-9.0/lib64::/usr/local/cuda-9.0/lib64: DYLD_LIBRARY_PATH is unset == nvidia-smi =================================================== Fri Apr 19 15:35:28 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 390.116 Driver Version: 390.116 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 TITAN X (Pascal) Off | 00000000:02:00.0 Off | N/A | | 47% 77C P2 153W / 250W | 7177MiB / 12194MiB | 92% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 2059 G /usr/lib/xorg/Xorg 16MiB | | 0 28211 C python3 2299MiB | | 0 28214 C python3 1275MiB | | 0 28216 C python3 1275MiB | | 0 28217 C python3 2299MiB | +-----------------------------------------------------------------------------+ == cuda libs =================================================== /usr/local/cuda-9.0/lib64/libcudart.so.9.0.176 /usr/local/cuda-9.0/lib64/libcudart_static.a /usr/local/cuda-9.0/doc/man/man7/libcudart.so.7 /usr/local/cuda-9.0/doc/man/man7/libcudart.7"><pre class="notranslate">== cat /etc/issue =============================================== Linux hamburg 4.15.0-47-generic <span class="pl-c"><span class="pl-c">#</span>50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux</span> VERSION=<span class="pl-s"><span class="pl-pds">"</span>18.04.2 LTS (Bionic Beaver)<span class="pl-pds">"</span></span> VERSION_ID=<span class="pl-s"><span class="pl-pds">"</span>18.04<span class="pl-pds">"</span></span> VERSION_CODENAME=bionic == are we <span class="pl-k">in</span> docker ============================================= No == compiler ===================================================== c++ (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026 Copyright (C) 2017 Free Software Foundation, Inc. This is free software<span class="pl-k">;</span> see the <span class="pl-c1">source</span> <span class="pl-k">for</span> copying conditions. There is NO warranty<span class="pl-k">;</span> not even <span class="pl-k">for</span> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. == uname -a ===================================================== Linux hamburg 4.15.0-47-generic <span class="pl-c"><span class="pl-c">#</span>50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux</span> == check pips =================================================== msgpack-numpy 0.4.3.2 numpy 1.16.1 numpydoc 0.8.0 protobuf 3.6.1 tensorflow-estimator 1.13.0 13084: trying file=tls/x86_64/libpthread.so.0 13084: trying file=tls/libpthread.so.0 13084: trying file=haswell/x86_64/libpthread.so.0 13084: trying file=haswell/libpthread.so.0 13084: trying file=x86_64/libpthread.so.0 13084: trying file=libpthread.so.0 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: find library=libc.so.6 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libc.so.6 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libc.so.6 13084: trying file=tls/haswell/x86_64/libc.so.6 13084: trying file=tls/haswell/libc.so.6 13084: trying file=tls/x86_64/libc.so.6 13084: trying file=tls/libc.so.6 13084: trying file=haswell/x86_64/libc.so.6 13084: trying file=haswell/libc.so.6 13084: trying file=x86_64/libc.so.6 13084: trying file=libc.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libc.so.6 13084: 13084: find library=libdl.so.2 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/usr/local/cuda-9.0/lib64/libm.so.6 13084: trying file=tls/haswell/x86_64/libm.so.6 13084: trying file=tls/haswell/libm.so.6 13084: trying file=tls/x86_64/libm.so.6 13084: trying file=tls/libm.so.6 13084: trying file=haswell/x86_64/libm.so.6 13084: trying file=haswell/libm.so.6 13084: trying file=x86_64/libm.so.6 13084: trying file=libm.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libc.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/librt.so.1 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libutil.so.1 13084: 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libopenblasp-r0-382c8f3a.3.5.dev.so [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/an 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=liblzma.so.5 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libtensorflow_framework.so [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64:/home/anaconda/anaconda3/ l_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64: ../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/pyth 4/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/p ll/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: find library=libcublas.so.9.0 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (R 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcublas.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: find library=libcusolver.so.9.0 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcusolver.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcusolver.so.9.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudart.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudart.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: find library=libgomp.so.1 [0]<span class="pl-k">;</span> sear 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgomp.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: find library=libstdc++.so.6 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libstdc++.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libstdc++.so.6 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libstdc++.so.6 13084: 13084: find library=libgcc_s.so.1 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libgcc_s.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgcc_s.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgcc_s.so.1 13084: 13084: find library=libcuda.so.1 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_p /tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfi 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cu 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcuda.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcuda.so.1 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcuda.so.1 13084: trying file=tls/haswell/x86_64/libcuda.so.1 13084: trying file=tls/haswell/libcuda.so.1 13084: trying file=tls/x86_64/libcuda.so.1 13084: trying file=tls/libcuda.so.1 13084: trying file=haswell/x86_64/libcuda.so.1 13084: trying file=h /lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extr as/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudnn.so.7 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudnn.so.7 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudnn.so.7 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcudnn.so.7 13084: trying file=tls/haswell/x86_64/libcudnn.so.7 13084: trying file=tls/haswell/libcudnn.so.7 13084: trying file=tls/x86_64/libcudnn.so.7 13084: trying file=tls/libcudnn.so.7 13084: trying file=haswell/x86_64/libcudnn.so.7 13084: trying file=haswell/libcudnn.so.7 13084: trying file=x86_64/libcudnn.so.7 13084: trying file=libcudnn.so.7 13084: search cache=/etc/ld.so.cache 13084: trying file=/usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: find library=libcufft.so.9.0 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cu ell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/h aswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcufft.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcufft.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: find library=libcurand.so.9.0 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: tryi nfig_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcurand.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcurand.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcurand.so.9.0 13084: 13084: find library=libnvidia-fatbinaryloader.so.390.116 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_ 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libnvidia-fatbinaryloader.so.390.116 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libnvidia-fatbinaryloader.so.390.116 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fat 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcuda.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcusolver.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so 13084: 13084: find library=libhdfs.so [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:. 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libhdfs.so 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libhdfs.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file= 13084: search path=/lib/x86_64-linux-gnu/tls/haswell/x86_64:/lib/x86_64-linux-gnu/tls/haswell:/lib/x86_64-linux-gnu/tls/x86_64:/lib/x86_64-linux-gnu/tls:/lib/x86_64-linux-gnu/haswell/x86_64:/lib/x86_64-linux-gnu/haswell:/lib/x86_64-linux-gnu/x86_64:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64:/usr/lib/x86_64-linux-gnu/tls/haswell:/usr/lib/x86_64-linux-gnu/tls/x86_64:/usr/lib/x86_64-linux-gnu/tls:/usr/lib/x86_64-linux-gnu/haswell/x86_64:/usr/lib/x86_64-linux-gnu/haswell:/usr/lib/x86_64-linux-gnu/x86_64:/usr/lib/x86_64-linux-gnu:/lib/tls/haswell/x86_64:/lib/tls/haswell:/lib/tls/x86_64:/lib/tls:/lib/haswell/x86_64:/lib/haswell:/lib/x86_64:/lib:/usr/lib/tls/haswell/x86_64:/usr/lib/tls/haswell:/usr/lib/tls/x86_64:/usr/lib/tls:/usr/lib/haswell/x86_64:/usr/lib/haswell:/usr/lib/x86_64:/usr/lib (system search path) 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/lib/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/tls/haswell/libhdfs.so 13084: trying file=/lib/tls/x86_64/libhdfs.so 13084: trying file=/lib/tls/libhdfs.so 13084: trying file=/lib/haswell/x86_64/libhdfs.so 13084: trying file=/lib/haswell/libhdfs.so 13084 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libssl.so.1.1 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libhdf5-5773eb11.so.103.0.0 [0]<span class="pl-k">;</span> searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=libhdf5-5773eb11.so.103.0.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/x86_64:/home/anaconda/anaconda3/l 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 13084: 13084: find library=libhdf5_hl-db841637.so.100.1.1 [0]<span class="pl-k">;</span> searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=libhdf5_hl-db841637.so.100.1.1 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs (RUNPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5_hl-db841637.so.100.1.1 13084: 13084: find library=libsz-1c7dd0cf.so.2.0.1 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./hasw 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5t.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/utils.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5.cpython-36m-x86_64-linux-gnu.so 13084: 13092: find library=libc.so.6 [0]<span class="pl-k">;</span> searching 13092: search path=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64:/usr/local/cuda-9.0/lib64/tls/haswell:/usr/local/cuda-9.0/lib64/tls/x86_64:/usr/local/cuda-9.0/lib64/tls:/usr/local/cuda-9.0/lib64/haswell/x86_64:/usr/local/cuda-9.0/lib64/haswell:/usr/local/cuda-9.0/lib64/x86_64:/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/libc.so.6 13092: trying file=/usr/local/cud 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5g.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5i.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5fd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5o.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5l.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/libuuid.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so 13084: 13084: find library=libffi-bce22613.so.6.0.4 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend (RPATH from file /home/anaconda/anaconda3/l 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libyaml-0.so.2 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64/libyaml-0.so.2 13084: trying file=/ 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: find library=libtiff.so.5 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libmkl_rt.so [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packag 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libgfortran.so.4 [0]<span class="pl-k">;</span> searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4 13084: 13084: find library=libquadmath.so.0 [0]<span class="pl-k">;</span> searching 13084: search path=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4) 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64/libquadmath.so.0 13084: try 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/reduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling fini: /home/anaconda 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensor 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/fast_tensor_util.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_conv.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libz-a147dcb0.so.1.2.3 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libsz-1c7dd0cf.so.2.0.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libaec-2147abcd.so.0.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/libuuid.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/_cffi_backend.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/libffi-bce22613.so.6.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryp 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/librt.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m- 13084: calling fini: /lib/x86_64-linux-gnu/libdl.so.2 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpyth 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so [0] 13084: 1308 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/libpthread.so.0 [0] 13084: == env ========================================================== LD_LIBRARY_PATH /usr/local/cuda-9.0/lib64::/usr/local/cuda-9.0/lib64: DYLD_LIBRARY_PATH is <span class="pl-c1">unset</span> == nvidia-smi =================================================== Fri Apr 19 15:35:28 2019 +-----------------------------------------------------------------------------+ <span class="pl-k">|</span> NVIDIA-SMI 390.116 Driver Version: 390.116 <span class="pl-k">|</span> <span class="pl-k">|</span>-------------------------------+----------------------+----------------------+ <span class="pl-k">|</span> GPU Name Persistence-M<span class="pl-k">|</span> Bus-Id Disp.A <span class="pl-k">|</span> Volatile Uncorr. ECC <span class="pl-k">|</span> <span class="pl-k">|</span> Fan Temp Perf Pwr:Usage/Cap<span class="pl-k">|</span> Memory-Usage <span class="pl-k">|</span> GPU-Util Compute M. <span class="pl-k">|</span> <span class="pl-k">|</span>===============================+======================+======================<span class="pl-k">|</span> <span class="pl-k">|</span> 0 TITAN X (Pascal) Off <span class="pl-k">|</span> 00000000:02:00.0 Off <span class="pl-k">|</span> N/A <span class="pl-k">|</span> <span class="pl-k">|</span> 47% 77C P2 153W / 250W <span class="pl-k">|</span> 7177MiB / 12194MiB <span class="pl-k">|</span> 92% Default <span class="pl-k">|</span> +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ <span class="pl-k">|</span> Processes: GPU Memory <span class="pl-k">|</span> <span class="pl-k">|</span> GPU PID Type Process name Usage <span class="pl-k">|</span> <span class="pl-k">|</span>=============================================================================<span class="pl-k">|</span> <span class="pl-k">|</span> 0 2059 G /usr/lib/xorg/Xorg 16MiB <span class="pl-k">|</span> <span class="pl-k">|</span> 0 28211 C python3 2299MiB <span class="pl-k">|</span> <span class="pl-k">|</span> 0 28214 C python3 1275MiB <span class="pl-k">|</span> <span class="pl-k">|</span> 0 28216 C python3 1275MiB <span class="pl-k">|</span> <span class="pl-k">|</span> 0 28217 C python3 2299MiB <span class="pl-k">|</span> +-----------------------------------------------------------------------------+ == cuda libs =================================================== /usr/local/cuda-9.0/lib64/libcudart.so.9.0.176 /usr/local/cuda-9.0/lib64/libcudart_static.a /usr/local/cuda-9.0/doc/man/man7/libcudart.so.7 /usr/local/cuda-9.0/doc/man/man7/libcudart.7</pre></div>
<p dir="auto">This template is for miscellaneous issues not covered by the other issue categories.</p> <p dir="auto">For questions on how to work with TensorFlow, or support for problems that are not verified bugs in TensorFlow, please go to <a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">StackOverflow</a>.</p> <p dir="auto">If you are reporting a vulnerability, please use the <a href="https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md">dedicated reporting process</a>.</p> <p dir="auto">For high-level discussions about TensorFlow, please post to <a href="mailto:[email protected]">[email protected]</a>, for questions about the development or internal workings of TensorFlow, or if you would like to know how to contribute to TensorFlow, please post to <a href="mailto:[email protected]">[email protected]</a>.</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: 1.32.1</li> <li>Operating System: Ubuntu 22.04.2 LTS</li> <li>Browser: Desktop Safari</li> <li>Other info: Only fails in CI (have tried Github Actions and also Azure Devops). This works locally.</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">The webpage loaded is a simple HTML page (served via firebase hosting emulator)</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 // @ts-check const { defineConfig, devices } = require('@playwright/test'); /** * Read environment variables from file. * https://github.com/motdotla/dotenv */ // require('dotenv').config(); /** * @see https://playwright.dev/docs/test-configuration */ module.exports = defineConfig({ testDir: './tests', /* 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, retries: 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: 'line', /* 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', baseURL: &quot;http://localhost:5000&quot;, /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', screenshot: 'only-on-failure', }, /* Configure projects for major browsers */ projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, // README: current apparent bug in Playwright+Firefox when using a service worker and requesting a cross-domain HTTPS url (e.g. the firebase libraries from gstatic.com) // { // name: 'firefox', // use: { ...devices['Desktop Firefox'] }, // }, { name: 'webkit', use: { ...devices['Desktop Safari'] }, }, /* Test against mobile viewports. */ // { // name: 'Mobile Chrome', // use: { ...devices['Pixel 5'] }, // }, // { // name: 'Mobile Safari', // use: { ...devices['iPhone 12'] }, // }, /* Test against branded browsers. */ // { // name: 'Microsoft Edge', // use: { ...devices['Desktop Edge'], channel: 'msedge' }, // }, // { // name: 'Google Chrome', // use: { ..devices['Desktop Chrome'], channel: 'chrome' }, // }, ], /* Run your local dev server before starting the tests */ // webServer: { // command: 'npm run start', // url: 'http://127.0.0.1:3000', // reuseExistingServer: !process.env.CI, // }, }); "><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-c">// <span class="pl-k">@ts</span>-check</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> defineConfig<span class="pl-kos">,</span> devices <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/test'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">/**</span> <span class="pl-c"> * Read environment variables from file.</span> <span class="pl-c"> * https://github.com/motdotla/dotenv</span> <span class="pl-c"> */</span> <span class="pl-c">// require('dotenv').config();</span> <span class="pl-c">/**</span> <span class="pl-c"> * <span class="pl-k">@see</span> https://playwright.dev/docs/test-configuration</span> <span class="pl-c"> */</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'</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-c1">retries</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">'line'</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-c1">baseURL</span>: <span class="pl-s">"http://localhost:5000"</span><span class="pl-kos">,</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-c1">screenshot</span>: <span class="pl-s">'only-on-failure'</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">'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-c">// README: current apparent bug in Playwright+Firefox when using a service worker and requesting a cross-domain HTTPS url (e.g. the firebase libraries from gstatic.com)</span> <span class="pl-c">// {</span> <span class="pl-c">// name: 'firefox',</span> <span class="pl-c">// use: { ...devices['Desktop Firefox'] },</span> <span class="pl-c">// },</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-c">/* Test against mobile viewports. */</span> <span class="pl-c">// {</span> <span class="pl-c">// name: 'Mobile Chrome',</span> <span class="pl-c">// use: { ...devices['Pixel 5'] },</span> <span class="pl-c">// },</span> <span class="pl-c">// {</span> <span class="pl-c">// name: 'Mobile Safari',</span> <span class="pl-c">// use: { ...devices['iPhone 12'] },</span> <span class="pl-c">// },</span> <span class="pl-c">/* Test against branded browsers. */</span> <span class="pl-c">// {</span> <span class="pl-c">// name: 'Microsoft Edge',</span> <span class="pl-c">// use: { ...devices['Desktop Edge'], channel: 'msedge' },</span> <span class="pl-c">// },</span> <span class="pl-c">// {</span> <span class="pl-c">// name: 'Google Chrome',</span> <span class="pl-c">// use: { ..devices['Desktop Chrome'], channel: 'chrome' },</span> <span class="pl-c">// },</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">/* Run your local dev server before starting the tests */</span> <span class="pl-c">// webServer: {</span> <span class="pl-c">// command: 'npm run start',</span> <span class="pl-c">// url: 'http://127.0.0.1:3000',</span> <span class="pl-c">// reuseExistingServer: !process.env.CI,</span> <span class="pl-c">// },</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(&quot;Webkit bug&quot;, async ({ context, page }) =&gt; { await page.goto(&quot;/&quot;); const storageState = await context.storageState(); console.log(storageState); await page.evaluate(() =&gt; localStorage.setItem(&quot;dev-mode&quot;, true)); const storageState2 = await context.storageState(); console.log(storageState2); await page.reload(); });"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"Webkit bug"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> context<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">const</span> <span class="pl-s1">storageState</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">storageState</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">storageState</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">evaluate</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-s1">localStorage</span><span class="pl-kos">.</span><span class="pl-en">setItem</span><span class="pl-kos">(</span><span class="pl-s">"dev-mode"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">storageState2</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">storageState</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">storageState2</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">reload</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>Steps</strong></p> <ul dir="auto"> <li>[Run the test]</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Test passes</p> <p dir="auto"><strong>Actual</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running script: DEBUG=pw:browser* npx playwright test Running 2 tests using 1 worker [1/2] [chromium] › login.spec.js:36:5 › Webkit bug [chromium] › login.spec.js:36:5 › Webkit bug pw:browser &lt;launching&gt; /home/runner/.cache/ms-playwright/chromium-1055/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-2d3gMB --remote-debugging-pipe --no-startup-window +0ms pw:browser &lt;launched&gt; pid=4469 +4ms pw:browser [pid=4469][err] [0406/093140.969637:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable. +2s pw:browser [pid=4469][err] [0406/093141.009862:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process. +40ms i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET / HTTP/1.1&quot; 200 - &quot;-&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET /css/main.css HTTP/1.1&quot; 200 - &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET /js/main.js HTTP/1.1&quot; 200 - &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET /img/PA-with-text-logo.svg HTTP/1.1&quot; 200 - &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET /img/landing.jpg HTTP/1.1&quot; 200 2995[35](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:36) &quot;http://localhost:5000/css/main.css&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET /sw.js HTTP/1.1&quot; 404 492 &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/112.0.5615.29 Safari/537.36&quot; { cookies: [], origins: [] } { cookies: [], origins: [ { origin: 'http://localhost:5000', localStorage: [Array] } ] } i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET / HTTP/1.1&quot; 200 - &quot;-&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] &quot;GET /sw.js HTTP/1.1&quot; 404 492 &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/112.0.5615.29 Safari/537.36&quot; pw:browser [pid=4469] &lt;gracefully close start&gt; +1s pw:browser [pid=4469] &lt;process did exit: exitCode=0, signal=null&gt; +19ms pw:browser [pid=4469] starting temporary directories cleanup +1ms pw:browser [pid=4469] finished temporary directories cleanup +4ms pw:browser [pid=4469] &lt;gracefully close end&gt; +0ms [2/2] [webkit] › login.spec.js:36:5 › Webkit bug [webkit] › login.spec.js:36:5 › Webkit bug pw:browser &lt;launching&gt; /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh --inspector-pipe --headless --no-startup-window +0ms pw:browser &lt;launched&gt; pid=5147 +4ms pw:browser [pid=5147][err] Could not determine the accessibility bus address +2s i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] &quot;GET / HTTP/1.1&quot; 200 - &quot;-&quot; &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] &quot;GET /css/main.css HTTP/1.1&quot; 200 - &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] &quot;GET /js/main.js HTTP/1.1&quot; 200 - &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] &quot;GET /img/PA-with-text-logo.svg HTTP/1.1&quot; 200 - &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] &quot;GET /img/landing.jpg HTTP/1.1&quot; 200 299535 &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15&quot; i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] &quot;GET /sw.js HTTP/1.1&quot; 404 492 &quot;http://localhost:5000/&quot; &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15&quot; { cookies: [], origins: [] } pw:browser [pid=5147][err] EGLDisplay Initialization failed: EGL_NOT_INITIALIZED +7s pw:browser [pid=5147][err] /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh: line 21: 5152 Segmentation fault (core dumped) WEBKIT_FORCE_COMPLEX_TEXT=&quot;1&quot; &quot;$MINIBROWSER&quot; &quot;$@&quot; +0ms pw:browser [pid=5147] &lt;process did exit: exitCode=1[39](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:40), signal=null&gt; +1ms pw:browser [pid=5147] starting temporary directories cleanup +0ms pw:browser [pid=5147] finished temporary directories cleanup +5ms 1) [webkit] › login.spec.js:36:5 › Webkit bug ──────────────────────────────────────────────────── Error: browserContext.storageState: Browser closed. ==================== Browser output: ==================== &lt;launching&gt; /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=5147 [pid=5147][err] Could not determine the accessibility bus address [pid=5147][err] EGLDisplay Initialization failed: EGL_NOT_INITIALIZED [pid=5147][err] /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh: line 21: 5152 Segmentation fault (core dumped) WEBKIT_FORCE_COMPLEX_TEXT=&quot;1&quot; &quot;$MINIBROWSER&quot; &quot;$@&quot; [pid=5147] &lt;process did exit: exitCode=139, signal=null&gt; [pid=5147] starting temporary directories cleanup [pid=5147] finished temporary directories cleanup [40](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:41) | console.log(storageState); [41](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:42) | await page.evaluate(() =&gt; localStorage.setItem(&quot;dev-mode&quot;, true)); &gt; [42](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:43) | const storageState2 = await context.storageState(); | ^ [43](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:44) | console.log(storageState2); [44](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:45) | await page.reload(); [45](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:46) | at /home/runner/work/jackass/jackass/test/e2e/tests/login.spec.js:42:41 1 failed [webkit] › login.spec.js:36:5 › Webkit bug ───────────────────────────────────────────────────── 1 passed (13.3s) ⚠ Script exited unsuccessfully (code 1) i emulators: Shutting down emulators. i functions: Stopping Functions Emulator i hosting: Stopping Hosting Emulator i firestore: Stopping Firestore Emulator i auth: Stopping Authentication Emulator i eventarc: Stopping Eventarc Emulator i hub: Stopping emulator hub i logging: Stopping Logging Emulator Error: Script &quot;DEBUG=pw:browser* npx playwright test&quot; exited with code 1 Error: Process completed with exit code 1."><pre class="notranslate"><code class="notranslate">Running script: DEBUG=pw:browser* npx playwright test Running 2 tests using 1 worker [1/2] [chromium] › login.spec.js:36:5 › Webkit bug [chromium] › login.spec.js:36:5 › Webkit bug pw:browser &lt;launching&gt; /home/runner/.cache/ms-playwright/chromium-1055/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-2d3gMB --remote-debugging-pipe --no-startup-window +0ms pw:browser &lt;launched&gt; pid=4469 +4ms pw:browser [pid=4469][err] [0406/093140.969637:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable. +2s pw:browser [pid=4469][err] [0406/093141.009862:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process. +40ms i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET /css/main.css HTTP/1.1" 200 - "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET /js/main.js HTTP/1.1" 200 - "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET /img/PA-with-text-logo.svg HTTP/1.1" 200 - "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET /img/landing.jpg HTTP/1.1" 200 2995[35](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:36) "http://localhost:5000/css/main.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET /sw.js HTTP/1.1" 404 492 "http://localhost:5000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/112.0.5615.29 Safari/537.36" { cookies: [], origins: [] } { cookies: [], origins: [ { origin: 'http://localhost:5000', localStorage: [Array] } ] } i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.29 Safari/537.36" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:41 +0000] "GET /sw.js HTTP/1.1" 404 492 "http://localhost:5000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/112.0.5615.29 Safari/537.36" pw:browser [pid=4469] &lt;gracefully close start&gt; +1s pw:browser [pid=4469] &lt;process did exit: exitCode=0, signal=null&gt; +19ms pw:browser [pid=4469] starting temporary directories cleanup +1ms pw:browser [pid=4469] finished temporary directories cleanup +4ms pw:browser [pid=4469] &lt;gracefully close end&gt; +0ms [2/2] [webkit] › login.spec.js:36:5 › Webkit bug [webkit] › login.spec.js:36:5 › Webkit bug pw:browser &lt;launching&gt; /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh --inspector-pipe --headless --no-startup-window +0ms pw:browser &lt;launched&gt; pid=5147 +4ms pw:browser [pid=5147][err] Could not determine the accessibility bus address +2s i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] "GET /css/main.css HTTP/1.1" 200 - "http://localhost:5000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] "GET /js/main.js HTTP/1.1" 200 - "http://localhost:5000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] "GET /img/PA-with-text-logo.svg HTTP/1.1" 200 - "http://localhost:5000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] "GET /img/landing.jpg HTTP/1.1" 200 299535 "http://localhost:5000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15" i hosting: 127.0.0.1 - - [06/Apr/2023:09:31:49 +0000] "GET /sw.js HTTP/1.1" 404 492 "http://localhost:5000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15" { cookies: [], origins: [] } pw:browser [pid=5147][err] EGLDisplay Initialization failed: EGL_NOT_INITIALIZED +7s pw:browser [pid=5147][err] /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh: line 21: 5152 Segmentation fault (core dumped) WEBKIT_FORCE_COMPLEX_TEXT="1" "$MINIBROWSER" "$@" +0ms pw:browser [pid=5147] &lt;process did exit: exitCode=1[39](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:40), signal=null&gt; +1ms pw:browser [pid=5147] starting temporary directories cleanup +0ms pw:browser [pid=5147] finished temporary directories cleanup +5ms 1) [webkit] › login.spec.js:36:5 › Webkit bug ──────────────────────────────────────────────────── Error: browserContext.storageState: Browser closed. ==================== Browser output: ==================== &lt;launching&gt; /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=5147 [pid=5147][err] Could not determine the accessibility bus address [pid=5147][err] EGLDisplay Initialization failed: EGL_NOT_INITIALIZED [pid=5147][err] /home/runner/.cache/ms-playwright/webkit-1811/pw_run.sh: line 21: 5152 Segmentation fault (core dumped) WEBKIT_FORCE_COMPLEX_TEXT="1" "$MINIBROWSER" "$@" [pid=5147] &lt;process did exit: exitCode=139, signal=null&gt; [pid=5147] starting temporary directories cleanup [pid=5147] finished temporary directories cleanup [40](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:41) | console.log(storageState); [41](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:42) | await page.evaluate(() =&gt; localStorage.setItem("dev-mode", true)); &gt; [42](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:43) | const storageState2 = await context.storageState(); | ^ [43](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:44) | console.log(storageState2); [44](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:45) | await page.reload(); [45](https://github.com/pocketangler/jackass/actions/runs/4627475169/jobs/8185434488#step:8:46) | at /home/runner/work/jackass/jackass/test/e2e/tests/login.spec.js:42:41 1 failed [webkit] › login.spec.js:36:5 › Webkit bug ───────────────────────────────────────────────────── 1 passed (13.3s) ⚠ Script exited unsuccessfully (code 1) i emulators: Shutting down emulators. i functions: Stopping Functions Emulator i hosting: Stopping Hosting Emulator i firestore: Stopping Firestore Emulator i auth: Stopping Authentication Emulator i eventarc: Stopping Eventarc Emulator i hub: Stopping emulator hub i logging: Stopping Logging Emulator Error: Script "DEBUG=pw:browser* npx playwright test" exited with code 1 Error: Process completed with exit code 1. </code></pre></div>
<p dir="auto">Hello.</p> <p dir="auto">I am trying to deal with saving authentication state between my tests.<br> I am going with approach where I have beforeAll hook where I log in to application, then save the state with context().storageState():</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="BeforeAll(async function () { global.browser = await chromium.launch({ headless: false, }); global.page = await global.browser.newPage(); await page.goto('https://mypage.com'); ***some authentication steps *** await page.context().storageState({ path: 'storageState.json' }); page.close(); });"><pre class="notranslate"><code class="notranslate">BeforeAll(async function () { global.browser = await chromium.launch({ headless: false, }); global.page = await global.browser.newPage(); await page.goto('https://mypage.com'); ***some authentication steps *** await page.context().storageState({ path: 'storageState.json' }); page.close(); }); </code></pre></div> <p dir="auto">after this action storageState.json file has this structure (no auth info that's fine):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;cookies&quot;: [], &quot;origins&quot;: [ { &quot;origin&quot;: &quot;https://mypage.com&quot;, &quot;localStorage&quot;: [ { &quot;name&quot;: &quot;signedOut&quot;, &quot;value&quot;: &quot;false&quot; } ] } ] }"><pre class="notranslate"><code class="notranslate">{ "cookies": [], "origins": [ { "origin": "https://mypage.com", "localStorage": [ { "name": "signedOut", "value": "false" } ] } ] } </code></pre></div> <p dir="auto">next I use "Before" hook to set up each test:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Before(async function (scenario) { global.context = await global.browser.newContext({ storageState: 'storageState.json' }); global.page = await global.context.newPage(); await page.goto('https://mypage.com'); });"><pre class="notranslate"><code class="notranslate">Before(async function (scenario) { global.context = await global.browser.newContext({ storageState: 'storageState.json' }); global.page = await global.context.newPage(); await page.goto('https://mypage.com'); }); </code></pre></div> <p dir="auto">and then I start my test cases.</p> <p dir="auto">The issue is that for each test, there is additional page that open for url in storageState.json file so for the user it looks like this:</p> <ul dir="auto"> <li><strong>one page opens (this is because of using storageState file)</strong></li> <li><strong>redirection to mypage.com (this is because of 'origin' in storageState)</strong></li> <li><strong>page close</strong></li> <li>page open again (this is because of newPage() in Before)</li> <li>redirection to mypage.com (this is from 'Before' goto step)</li> <li>test proceed</li> </ul> <p dir="auto">I think first 3 steps should not happen.</p> <p dir="auto">I did some research and if I remove value from origin parameter then this first page will not open and everything is fine.<br> Also if I remove storageState: 'storageState.json' from 'Before' then this issue is gone but I need this state in context for each test.</p> <p dir="auto">I think the similar issue was here but no answers were given:</p> <p dir="auto"><a href="url">https://stackoverflow.com/questions/70878170/playwright-browsercontext-storagestate-opens-all-visited-tabs</a></p>
0
<p dir="auto">Tested on Windows 10<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3028012/13605001/28748f7c-e54e-11e5-8abb-2354f71ff2c8.png"><img src="https://cloud.githubusercontent.com/assets/3028012/13605001/28748f7c-e54e-11e5-8abb-2354f71ff2c8.png" alt="vscode-js-coloring" style="max-width: 100%;"></a></p>
<p dir="auto">0.10.10 (Feburary build) has a regression is that the following JavaScript keywords are no longer highlighted in the Dark Visual Studio &amp; Light Visual Studio themes:<br> <code class="notranslate">var</code> <code class="notranslate">let</code> <code class="notranslate">const</code> <code class="notranslate">function</code> <code class="notranslate">get</code> <code class="notranslate">set</code> <code class="notranslate">class</code> <code class="notranslate">interface</code> <code class="notranslate">module</code> <code class="notranslate">namespace</code></p> <p dir="auto">This only affects JavaScript (not TypeScript).<br> The workaround if to switch to the Dark+ Default and Light+ theme.</p> <p dir="auto">Note that there are other colorizing issues open, not caused by this regression: e.g. 'import' and 'from'. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="125145725" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript-TmLanguage/issues/37" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript-TmLanguage/issues/37/hovercard" href="https://github.com/microsoft/TypeScript-TmLanguage/issues/37">microsoft/TypeScript-TmLanguage#37</a></p>
1
<p dir="auto"><strong>Describe the bug</strong></p> <p dir="auto">When importing Spotlights from GLB, their target seems to be reset after page reload, resulting in different lighting / broken scene.</p> <p dir="auto"><strong>To Reproduce</strong></p> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Go to <a href="https://threejs.org/editor/" rel="nofollow">https://threejs.org/editor/</a></li> <li>Import <a href="https://github.com/mrdoob/three.js/files/7706719/World.zip">World.zip</a></li> <li>Note spotlights shining from above</li> <li>Refresh page</li> <li>Note spotlights all shining towards (0,0,0)</li> </ol> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">Spotlights still work after page reload</p> <p dir="auto"><strong>Screenshots</strong></p> <p dir="auto"><em>After dropping GLB (and turning physical lighting on)</em><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2693840/145882393-ab238dce-130a-4259-bc88-f1967d3fe55e.png"><img src="https://user-images.githubusercontent.com/2693840/145882393-ab238dce-130a-4259-bc88-f1967d3fe55e.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><em>After page reload</em><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2693840/145882448-fc0edc86-78a4-4294-9027-d0630d899f26.png"><img src="https://user-images.githubusercontent.com/2693840/145882448-fc0edc86-78a4-4294-9027-d0630d899f26.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Note: it seems that generally, when creating a spotlight the target can't be moved in the threejs editor. Is this expected? Should I open a separate issue for this?</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;uuid&quot;: &quot;F7A1537F-0DA9-4FC2-9436-1BCC2A930EDA&quot;, &quot;type&quot;: &quot;SpotLight&quot;, &quot;castShadow&quot;: true, &quot;matrix&quot;: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 215.52757263183594, -383.2663269042969, 587.3773193359375, 1], &quot;color&quot;: 255, &quot;intensity&quot;: 2, &quot;distance&quot;: 1300, &quot;angle&quot;: 0.3490658503988659, &quot;decay&quot;: 1, &quot;penumbra&quot;: 0 }"><pre class="notranslate">{ <span class="pl-ent">"uuid"</span>: <span class="pl-s"><span class="pl-pds">"</span>F7A1537F-0DA9-4FC2-9436-1BCC2A930EDA<span class="pl-pds">"</span></span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>SpotLight<span class="pl-pds">"</span></span>, <span class="pl-ent">"castShadow"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"matrix"</span>: [<span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">215.52757263183594</span>, <span class="pl-c1">-383.2663269042969</span>, <span class="pl-c1">587.3773193359375</span>, <span class="pl-c1">1</span>], <span class="pl-ent">"color"</span>: <span class="pl-c1">255</span>, <span class="pl-ent">"intensity"</span>: <span class="pl-c1">2</span>, <span class="pl-ent">"distance"</span>: <span class="pl-c1">1300</span>, <span class="pl-ent">"angle"</span>: <span class="pl-c1">0.3490658503988659</span>, <span class="pl-ent">"decay"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"penumbra"</span>: <span class="pl-c1">0</span> }</pre></div> <p dir="auto">this is what I get for the spot light. importing it in 3js editor it looks at the origin.</p>
1
<p dir="auto">After token <code class="notranslate">&lt;</code> auto-complete doesn't really work on .tsx files.</p> <p dir="auto">Two examples:</p> <p dir="auto">Here I would like to have <code class="notranslate">boolean</code> in the auto-complete list, but only functions are showed, so It only shows <code class="notranslate">Boolean</code>.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/720953/12858663/c5b60aa6-cc51-11e5-9715-4b967149d497.png"><img src="https://cloud.githubusercontent.com/assets/720953/12858663/c5b60aa6-cc51-11e5-9715-4b967149d497.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Here however I want a React element:</p> <ul dir="auto"> <li>intrinsic types like <code class="notranslate">div</code> work properly <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></li> <li>components defined in this module as well <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></li> <li>but components imported are not shown in the list <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji></li> </ul> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/720953/12858727/30b1da1a-cc52-11e5-80ce-5186c09a0fb3.png"><img src="https://cloud.githubusercontent.com/assets/720953/12858727/30b1da1a-cc52-11e5-80ce-5186c09a0fb3.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Still, thanks for 1.8, is much better!</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2932786/9593657/294e292c-5006-11e5-903d-ad9b659d2f47.gif"><img src="https://cloud.githubusercontent.com/assets/2932786/9593657/294e292c-5006-11e5-903d-ad9b659d2f47.gif" alt="jsxcompletionsomitsimport" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">It looks like it's also missing in any other JSX-expression context.</p>
1
<p dir="auto"><code class="notranslate">IOWebSocketChannel.connect</code> suffers from the problem described here:</p> <p dir="auto"><a href="https://www.dartlang.org/guides/libraries/futures-error-handling#potential-problem-failing-to-register-error-handlers-early" rel="nofollow">https://www.dartlang.org/guides/libraries/futures-error-handling#potential-problem-failing-to-register-error-handlers-early</a></p> <p dir="auto">When I use <code class="notranslate">connect</code> with a URL that can't be resolved (e.g. by having my wifi turned off), then I get an exception that can't be caught by <code class="notranslate">channel.stream.handleError(onError)</code>.</p> <p dir="auto">All exceptions should be handleable by <code class="notranslate">stream.handleError</code>, particularly as this is what the docs promise: "If there's an error connecting, the channel's stream emits a WebSocketChannelException wrapping that error and then closes."</p> <p dir="auto">ref: <a href="https://docs.flutter.io/flutter/web_socket_channel.io/IOWebSocketChannel/IOWebSocketChannel.connect.html" rel="nofollow">https://docs.flutter.io/flutter/web_socket_channel.io/IOWebSocketChannel/IOWebSocketChannel.connect.html</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter: #0 new IOWebSocketChannel._withoutSocket.&lt;anonymous closure&gt; (package:web_socket_channel/io.dart:83:24) #1 _invokeErrorHandler (dart:async/async_error.dart:13:29) #2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:286:9) #3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:168:13) #4 _rootRunBinary (dart:async/zone.dart:1144:38) #5 _CustomZone.runBinary (dart:async/zone.dart:1037:19) #6 _CustomZone.runBinaryGuarded (dart:async/zone.dart:939:7) #7 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355:15) #8 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:373:16) #9 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272:7) #10 _SyncStreamController._sendError (dart:async/stream_controller.dart:767:19) #11 _StreamController._addError (dart:async/stream_controller.dart:647:7) #12 _rootRunBinary (dart:async/zone.dart:1144:38)"><pre class="notranslate"><code class="notranslate">flutter: #0 new IOWebSocketChannel._withoutSocket.&lt;anonymous closure&gt; (package:web_socket_channel/io.dart:83:24) #1 _invokeErrorHandler (dart:async/async_error.dart:13:29) #2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:286:9) #3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:168:13) #4 _rootRunBinary (dart:async/zone.dart:1144:38) #5 _CustomZone.runBinary (dart:async/zone.dart:1037:19) #6 _CustomZone.runBinaryGuarded (dart:async/zone.dart:939:7) #7 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:355:15) #8 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:373:16) #9 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:272:7) #10 _SyncStreamController._sendError (dart:async/stream_controller.dart:767:19) #11 _StreamController._addError (dart:async/stream_controller.dart:647:7) #12 _rootRunBinary (dart:async/zone.dart:1144:38) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v [✓] Flutter (Channel master, v0.7.1-pre.26, on Mac OS X 10.13.6 17G2208, locale en-GB) • Flutter version 0.7.1-pre.26 at /Users/steve/code/flutter • Framework revision 510c0eeaff (3 days ago), 2018-08-24 17:19:30 -0700 • Engine revision 0914926014 • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282 [✓] Android toolchain - develop for Android devices (Android SDK 28.0.1) • Android SDK at /Users/steve/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4.1, Build version 9F2000 • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 26.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.26.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 2.17.1 [✓] Connected devices (1 available) • iPhone X • 1E0393AA-EF50-42AA-A244-3279599BE2C1 • ios • iOS 11.4 (simulator) • No issues found!"><pre class="notranslate"><code class="notranslate">flutter doctor -v [✓] Flutter (Channel master, v0.7.1-pre.26, on Mac OS X 10.13.6 17G2208, locale en-GB) • Flutter version 0.7.1-pre.26 at /Users/steve/code/flutter • Framework revision 510c0eeaff (3 days ago), 2018-08-24 17:19:30 -0700 • Engine revision 0914926014 • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282 [✓] Android toolchain - develop for Android devices (Android SDK 28.0.1) • Android SDK at /Users/steve/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.4.1, Build version 9F2000 • ios-deploy 1.9.2 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 26.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.26.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 2.17.1 [✓] Connected devices (1 available) • iPhone X • 1E0393AA-EF50-42AA-A244-3279599BE2C1 • ios • iOS 11.4 (simulator) • No issues found! </code></pre></div>
<p dir="auto">Flutter crash report; please file at <a href="https://github.com/flutter/flutter/issues">https://github.com/flutter/flutter/issues</a>.</p> <h2 dir="auto">command</h2> <p dir="auto">flutter run</p> <h2 dir="auto">exception</h2> <p dir="auto">FormatException: FormatException: Bad UTF-8 encoding 0xb4 (at offset 96)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#0 _Utf8Decoder.convert (dart:convert/utf.dart:574) #1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:345) #2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:341) #3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:86) #4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120) #5 _rootRunUnary (dart:async/zone.dart:1134) #6 _CustomZone.runUnary (dart:async/zone.dart:1031) #7 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933) #8 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330) #9 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:257) #10 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:762) #11 _StreamController._add (dart:async/stream_controller.dart:638) #12 _StreamController.add (dart:async/stream_controller.dart:584) #13 _Socket._onData (dart:io-patch/socket_patch.dart:1654) #14 _rootRunUnary (dart:async/zone.dart:1138) #15 _CustomZone.runUnary (dart:async/zone.dart:1031) #16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933) #17 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330) #18 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:257) #19 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:762) #20 _StreamController._add (dart:async/stream_controller.dart:638) #21 _StreamController.add (dart:async/stream_controller.dart:584) #22 new _RawSocket.&lt;anonymous closure&gt; (dart:io-patch/socket_patch.dart:1231) #23 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:784) #24 _microtaskLoop (dart:async/schedule_microtask.dart:41) #25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) #26 _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:111) #27 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:164)"><pre class="notranslate"><code class="notranslate">#0 _Utf8Decoder.convert (dart:convert/utf.dart:574) #1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:345) #2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:341) #3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:86) #4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120) #5 _rootRunUnary (dart:async/zone.dart:1134) #6 _CustomZone.runUnary (dart:async/zone.dart:1031) #7 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933) #8 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330) #9 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:257) #10 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:762) #11 _StreamController._add (dart:async/stream_controller.dart:638) #12 _StreamController.add (dart:async/stream_controller.dart:584) #13 _Socket._onData (dart:io-patch/socket_patch.dart:1654) #14 _rootRunUnary (dart:async/zone.dart:1138) #15 _CustomZone.runUnary (dart:async/zone.dart:1031) #16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933) #17 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330) #18 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:257) #19 _StreamController&amp;&amp;_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:762) #20 _StreamController._add (dart:async/stream_controller.dart:638) #21 _StreamController.add (dart:async/stream_controller.dart:584) #22 new _RawSocket.&lt;anonymous closure&gt; (dart:io-patch/socket_patch.dart:1231) #23 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:784) #24 _microtaskLoop (dart:async/schedule_microtask.dart:41) #25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50) #26 _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:111) #27 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:164) </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 Microsoft Windows [Version 10.0.16299.309], locale zh-CN, channel alpha) • Flutter version 0.0.21 at D:\flutter • Framework revision 2e449f06f0 (7 weeks ago), 2018-01-29 14:26:51 -0800 • Engine revision 6921873c71 • Tools Dart version 2.0.0-dev.16.0 • Engine Dart version 2.0.0-edge.da1f52592ef73fe3afa485385cb995b9aec0181a [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk • Android NDK at C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle • Platform android-27, build-tools 27.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] Android Studio (version 3.0) • Android Studio at C:\Program Files\Android\Android Studio • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] IntelliJ IDEA Community Edition (version 2017.3) • Flutter plugin version 22.0.2 • Dart plugin version 173.3942.31 [✓] Connected devices • MI 6 • dcf581ed • android-arm • Android 7.1.1 (API 25) "><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Microsoft Windows [Version 10.0.16299.309], locale zh-CN, channel alpha) • Flutter version 0.0.21 at D:\flutter • Framework revision 2e449f06f0 (7 weeks ago), 2018-01-29 14:26:51 -0800 • Engine revision 6921873c71 • Tools Dart version 2.0.0-dev.16.0 • Engine Dart version 2.0.0-edge.da1f52592ef73fe3afa485385cb995b9aec0181a [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk • Android NDK at C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle • Platform android-27, build-tools 27.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] Android Studio (version 3.0) • Android Studio at C:\Program Files\Android\Android Studio • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] IntelliJ IDEA Community Edition (version 2017.3) • Flutter plugin version 22.0.2 • Dart plugin version 173.3942.31 [✓] Connected devices • MI 6 • dcf581ed • android-arm • Android 7.1.1 (API 25) </code></pre></div>
0
<p dir="auto">Sorry about the bug title, I don’t know exactly the best way to phrase it.</p> <p dir="auto">Given the following code:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface A { (key:'foo'):string; (key:string):void; } interface A1 extends A { (key:'bar'):string; } interface A2 extends A { (key:'baz'):string; } interface B extends A1, A2 { (key:'blah'):string; } var b:B; b('foo').length; // OK b('bar').length; // OK b('baz').length; // Error b('blah').length; // OK"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'foo'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">interface</span> <span class="pl-smi">A1</span> <span class="pl-k">extends</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'bar'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">interface</span> <span class="pl-smi">A2</span> <span class="pl-k">extends</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'baz'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">interface</span> <span class="pl-smi">B</span> <span class="pl-k">extends</span> <span class="pl-smi">A1</span><span class="pl-kos">,</span> <span class="pl-smi">A2</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'blah'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">b</span>:<span class="pl-smi">B</span><span class="pl-kos">;</span> <span class="pl-en">b</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-c">// OK</span> <span class="pl-en">b</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-c">// OK</span> <span class="pl-en">b</span><span class="pl-kos">(</span><span class="pl-s">'baz'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-c">// Error</span> <span class="pl-en">b</span><span class="pl-kos">(</span><span class="pl-s">'blah'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-c">// OK</span></pre></div> <p dir="auto">The resulting list of overloads is:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(key:'blah'):string; (key:'bar'):string; (key:'foo'):string; (key:string):void; (key:'baz'):string; (key:'foo'):string; (key:string):void;"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'blah'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'bar'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'foo'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'baz'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'foo'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span></pre></div> <p dir="auto">As a result, calling <code class="notranslate">b('baz')</code> resolves to <code class="notranslate">void</code> type since the 4th item in the list is the first one that matches, but this does not match the author’s expectation. Section 7.2 of the spec doesn’t really address the case where multiple inheritance creates an inheritance graph that splits and joins.</p> <p dir="auto">The author’s expectation is that the duplicate <code class="notranslate">A</code> superclass overload options would be eliminated so the total overload list would look more like this:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(key:'blah'):string; (key:'baz'):string; (key:'bar'):string; (key:'foo'):string; (key:string):string;"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'blah'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'baz'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'bar'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-s">'foo'</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">key</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The expected list above starts with A2, not A1 as the current compiler seems to do, but that part is somewhat less important than the fact that signatures from <code class="notranslate">A</code> are being duplicated in the calculated overload list. At minimum I’d hope that the compiler could reorder the list so that the non-specialized signature in a list of specialized signatures always goes to the bottom.</p> <p dir="auto">Thoughts?</p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">nightly (1.9.0-dev.20160515)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var a: '_RESULT' = '_RESULT'; var b: '__RESULT' = '__RESULT';"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">a</span>: <span class="pl-s">'_RESULT'</span> <span class="pl-c1">=</span> <span class="pl-s">'_RESULT'</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">b</span>: <span class="pl-s">'__RESULT'</span> <span class="pl-c1">=</span> <span class="pl-s">'__RESULT'</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> Both variables are assigned with no errors.</p> <p dir="auto"><strong>Actual behavior:</strong><br> <code class="notranslate">a</code> is assigned with no errors, but <code class="notranslate">b</code> reports type mismatch. This happens whenever I use strings tagged with <code class="notranslate">__</code> (double-underscore) as a prefix.</p>
0
<h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: Chrome 55</li> <li>Operating System: Mac OS X 10</li> <li>Mac Book Pro</li> </ul> <h4 dir="auto">Video</h4> <p dir="auto"><a href="http://d.pr/v/9Ggi/qaGt102x" rel="nofollow">http://d.pr/v/9Ggi/qaGt102x</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
<p dir="auto">The easiest way to repro this is with a brand new list of ~100 images. Start the activity, stay at the top of the list, see the top images load quickly. Then quickly scroll to the very bottom of the list and wait for the last few images to load. This takes about a minute for the 4 images in view to load. This only reproduces when using OkHttpUrlLoader.</p> <p dir="auto"><strong>Logcat output</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="12-01 18:13:07.454: V/GenericRequest(20821): Got onSizeReady in 0.061036 this: 882211473 12-01 18:13:07.454: V/GenericRequest(20821): finished setup for calling load in 0.183106 this: 882211473 12-01 18:13:07.454: V/GenericRequest(20821): finished onSizeReady in 0.396729 this: 882211473 12-01 18:13:07.454: V/GenericRequest(20821): finished run method in 0.518799 this: 882211473 12-01 18:14:09.285: V/GenericRequest(20821): Resource ready in 61831.054689 size: 2.130157470703125 fromCache: false this: 882211473"><pre class="notranslate"><code class="notranslate">12-01 18:13:07.454: V/GenericRequest(20821): Got onSizeReady in 0.061036 this: 882211473 12-01 18:13:07.454: V/GenericRequest(20821): finished setup for calling load in 0.183106 this: 882211473 12-01 18:13:07.454: V/GenericRequest(20821): finished onSizeReady in 0.396729 this: 882211473 12-01 18:13:07.454: V/GenericRequest(20821): finished run method in 0.518799 this: 882211473 12-01 18:14:09.285: V/GenericRequest(20821): Resource ready in 61831.054689 size: 2.130157470703125 fromCache: false this: 882211473 </code></pre></div> <p dir="auto">Seems like maybe requests are backed up or something? Not being cancelled correctly? If you have any thoughts to what might be going on or some pointers about where to start looking myself that'd be greatly appreciated.</p> <p dir="auto">Thanks.</p>
<p dir="auto">OkHttp and HttpUrlConnection both trigger strict mode violations when cancel is called on the main thread (See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="48424798" data-permission-text="Title is private" data-url="https://github.com/bumptech/glide/issues/257" data-hovercard-type="issue" data-hovercard-url="/bumptech/glide/issues/257/hovercard" href="https://github.com/bumptech/glide/issues/257">#257</a>, and the TODO in HttpUrlFetcher).</p>
1
<p dir="auto">When resizing the following example to XS size 'C' cell text disappears.<br> Text won't disappear when using col-xs-11 .</p> <p dir="auto"><a href="https://gist.github.com/naoro/1b34f7b0b663df7eaf48">https://gist.github.com/naoro/1b34f7b0b663df7eaf48</a></p> <p dir="auto">It happens both in latest firefox &amp; chrome.</p>
<p dir="auto">I'm trying to include input group in navigation bar. It looks fine on large screen. However, when I resize screen to small size it collapses.</p> <p dir="auto">Hre is jsfidle file: <a href="http://jsfiddle.net/petwho/7wcVJ/5/" rel="nofollow">http://jsfiddle.net/petwho/7wcVJ/5/</a><br> (See how it is collapsed when I scale it down)</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/01b7dfc56ebfbf2de097830809b93cb43c808e203a6e2a0d2973e42fd59505d9/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323436303533342f313031343731352f37373836623263632d306263342d313165332d393338642d6634323736353263646338362e706e67"><img src="https://camo.githubusercontent.com/01b7dfc56ebfbf2de097830809b93cb43c808e203a6e2a0d2973e42fd59505d9/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323436303533342f313031343731352f37373836623263632d306263342d313165332d393338642d6634323736353263646338362e706e67" alt="screen shot 2013-08-23 at 2 18 54 pm" data-canonical-src="https://f.cloud.github.com/assets/2460534/1014715/7786b2cc-0bc4-11e3-938d-f427652cdc86.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/95a76c4d0a4abf3d4c517a02f38a319fa07a3813b062ea55eb21ab150bc7aaec/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323436303533342f313031343733322f30353132353637382d306263352d313165332d396561392d3263623233666364313933372e706e67"><img src="https://camo.githubusercontent.com/95a76c4d0a4abf3d4c517a02f38a319fa07a3813b062ea55eb21ab150bc7aaec/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323436303533342f313031343733322f30353132353637382d306263352d313165332d396561392d3263623233666364313933372e706e67" alt="screen shot 2013-08-23 at 2 23 38 pm" data-canonical-src="https://f.cloud.github.com/assets/2460534/1014732/05125678-0bc5-11e3-9ea9-2cb23fcd1937.png" style="max-width: 100%;"></a></p>
0
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong></p> <p dir="auto">babel is confused about a duplicate declaration when a type is imported and a value with the same name is declared locally. See code below.</p> <p dir="auto"><strong>Input Code</strong></p> <p dir="auto">The following code results in a "Duplicate declaration" error, but is accepted by TypeScript (the compiler). It's because the <code class="notranslate">SomeThing</code> import is a type (for example <code class="notranslate">export interface SomeThing{}</code>), whereas the local const declaration is a value, so the two are not actually in any conflict.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { SomeThing } from './module'; const SomeThing = 1;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">SomeThing</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./module'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-v">SomeThing</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior/code</strong></p> <p dir="auto">The babel typescript transform should accept the same code as the typescript compiler.</p> <p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module.exports = { presets: [ &quot;next/babel&quot;, &quot;@zeit/next-typescript/babel&quot; ], plugins: [ [&quot;react-intl&quot;, { messagesDir: &quot;./locale/en/messages/&quot; }], [&quot;emotion&quot;, { inline: true, autoLabel: true }], [&quot;transform-define&quot;, require(&quot;./env.js&quot;)] ] };"><pre class="notranslate"><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">presets</span>: <span class="pl-kos">[</span> <span class="pl-s">"next/babel"</span><span class="pl-kos">,</span> <span class="pl-s">"@zeit/next-typescript/babel"</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span><span class="pl-s">"react-intl"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">messagesDir</span>: <span class="pl-s">"./locale/en/messages/"</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"emotion"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">inline</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">autoLabel</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"transform-define"</span><span class="pl-kos">,</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./env.js"</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>Environment</strong></p> <ul dir="auto"> <li>Babel version(s): @babel/[email protected]</li> </ul>
<p dir="auto">There's a bug where a variable _ref isn't defined when you declare a generator using a spread.</p> <p dir="auto">ES6:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let a = function*(args) { this.runRoute(...args); };"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-c1">*</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">runRoute</span><span class="pl-kos">(</span>...<span class="pl-s1">args</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">Compiled:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var _toArray = function (arr) { return Array.isArray(arr) ? arr : Array.from(arr); }; var a = regeneratorRuntime.mark(function callee$0$0(args) { return regeneratorRuntime.wrap(function callee$0$0$(context$1$0) { while (1) switch (context$1$0.prev = context$1$0.next) { case 0: (_ref = this).runRoute.apply(_ref, _toArray(args)); // _ref is not defined case 1: case &quot;end&quot;: return context$1$0.stop(); } }, callee$0$0, this); });"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-en">_toArray</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">isArray</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</span> ? <span class="pl-s1">arr</span> : <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">regeneratorRuntime</span><span class="pl-kos">.</span><span class="pl-en">mark</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-en">callee$0$0</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">regeneratorRuntime</span><span class="pl-kos">.</span><span class="pl-en">wrap</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-en">callee$0$0$</span><span class="pl-kos">(</span><span class="pl-s1">context$1$0</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-k">switch</span> <span class="pl-kos">(</span><span class="pl-s1">context$1$0</span><span class="pl-kos">.</span><span class="pl-c1">prev</span> <span class="pl-c1">=</span> <span class="pl-s1">context$1$0</span><span class="pl-kos">.</span><span class="pl-c1">next</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">case</span> <span class="pl-c1">0</span>: <span class="pl-kos">(</span><span class="pl-s1">_ref</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">runRoute</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-s1">_ref</span><span class="pl-kos">,</span> <span class="pl-en">_toArray</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// _ref is not defined</span> <span class="pl-k">case</span> <span class="pl-c1">1</span>: <span class="pl-k">case</span> <span class="pl-s">"end"</span>: <span class="pl-k">return</span> <span class="pl-s1">context$1$0</span><span class="pl-kos">.</span><span class="pl-en">stop</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">callee$0$0</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">You can <a href="http://6to5.org/repl/#?experimental=true&amp;playground=true&amp;evaluate=true&amp;code=%0Alet%20a%20%3D%20function*%28args%29%20%7B%0A%20%20this.runRoute%28...args%29%3B%0A%7D%3B%0A" rel="nofollow">check it out</a></p> <p dir="auto">I think the requirements to duplicate this bug are the following:</p> <ul dir="auto"> <li>The function must be a generator.</li> <li>The function must use a spread.</li> <li>The function must be calling another function on <code class="notranslate">this</code>.</li> </ul> <p dir="auto">You really just need to add a <code class="notranslate">let _ref = this;</code> sometime before.</p> <p dir="auto">For now, I'll just have to write the spread manually:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let a = function*(args) { this.runRoute.apply(this, args); };"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-c1">*</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">runRoute</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
0
<p dir="auto">I ran into a scenario yesterday that surprised me a bit. I was using an object literal to store some unique keys that I later extracted with a for-in loop. The keys were all numbers, but I quickly ran into a problem at runtime because i had forgotten that JavaScript coerces number type keys to strings for objects.</p> <p dir="auto">To wit, given the coercion of keys to strings, I was surprised that this type checked:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ids: Array&lt;number&gt; = []; const myCollection = { 0: true, 1: true }; for (var key in myCollection) { ids.push(key); } console.log(ids); // =&gt; [&quot;0&quot;, &quot;1&quot;]"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ids</span>: <span class="pl-smi">Array</span><span class="pl-kos">&lt;</span><span class="pl-smi">number</span><span class="pl-kos">&gt;</span> <span class="pl-c1">=</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">myCollection</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">0</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">1</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">key</span> <span class="pl-k">in</span> <span class="pl-s1">myCollection</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">ids</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">ids</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ["0", "1"]</span></pre></div> <p dir="auto">Is this expected behavior, or should this throw a compile time warning?</p> <p dir="auto">(TSC Version 1.7.5)</p>
<p dir="auto">In the following statement,</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="for (let subscription in this._subscriptions) { // Do something with subscription }"><pre class="notranslate"><code class="notranslate">for (let subscription in this._subscriptions) { // Do something with subscription } </code></pre></div> <p dir="auto">The variable <code class="notranslate">subscription</code> is considered type <code class="notranslate">any</code>. Although I'm compiling with <code class="notranslate">noImplicitAny</code> as true, no error is given. Based on the for spec, it seems as if <code class="notranslate">subscription</code> should implicitly be considered <code class="notranslate">string</code>.</p> <p dir="auto">Because of this, it's possible to compile with typo functions that will cause errors at runtime.</p>
1
<p dir="auto">Please could you expose handlers for <code class="notranslate">/_next/on-demand-entries-ping</code> requests and <code class="notranslate">/_next/webpack-hmr</code> requests so that an outer server can respond properly during development. If the container matches the pattern then it should be able to route these requests down to next for a valid response.</p>
<h2 dir="auto">Describe the solution you'd like</h2> <p dir="auto">with-antd-mobile is working but the example allows no custom css/less.</p> <p dir="auto">Either add custom css in with-antd-mobile or have with-antd-mobile-less like the one we have on with-antd-less</p>
0
<p dir="auto">Issue Id: <b>37805625-bfb3-36ca-de37-e04bbd17e7b9</b><br><br><em>Versions</em> <br>- 0.10.8<br>- <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/149e7a0debf3e32f95978a606e00d3c09bcac3d6/hovercard" href="https://github.com/microsoft/vscode/commit/149e7a0debf3e32f95978a606e00d3c09bcac3d6"><tt>149e7a0</tt></a><br>- <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/45d69357c9eb068dd8e624f5b0fe461cd2078d88/hovercard" href="https://github.com/microsoft/vscode/commit/45d69357c9eb068dd8e624f5b0fe461cd2078d88"><tt>45d6935</tt></a><br><em>Stack</em> <br>TypeError: e.text.substr is not a function<br> at e. (out/vs/workbench/workbench.main.js:40:17379) <br> at e.doElement (out/vs/workbench/workbench.main.js:38:18496) <br> at e.li (out/vs/workbench/workbench.main.js:38:17765) <br> at e.renderMessage (out/vs/workbench/workbench.main.js:40:16633) <br> at out/vs/workbench/workbench.main.js:40:16382 <br> at Array.forEach (native)<br> at e. (out/vs/workbench/workbench.main.js:40:16358) <br> at e.doElement (out/vs/workbench/workbench.main.js:38:18496) <br> at e.ul (out/vs/workbench/workbench.main.js:38:17641) <br> at e.renderMessages (out/vs/workbench/workbench.main.js:40:16223) <br></p>
<p dir="auto">The user should be able to make a permanent decision of associating a file extension to a mode. This could work as follows:</p> <ul dir="auto"> <li>user selects clicks on language picker</li> <li>user clicks on entry to "Permanently associate extension"</li> <li>user gets asked for the language mode to store</li> <li>user gets asked to store it in workspace or global settings</li> <li>change is made and user is informed that settings have been updated and if he wants to review</li> </ul> <p dir="auto">For this we need a couple of things:</p> <ul dir="auto"> <li>being able to write to workspace settings and not only global settings</li> <li>finding out if the settings file is currently dirty (if that is true we either abort or update the buffer).</li> </ul> <p dir="auto">//cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aeschli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aeschli">@aeschli</a></p>
0
<p dir="auto">Describe what you were doing when the bug occurred:</p> <ol dir="auto"> <li>clicked "Ranked" in "Profiler"</li> <li></li> <li></li> </ol> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.2.1-3816ae7c3</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br> at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br> at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br> at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:107381)<br> at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br> at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)<br> at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89544)</p> <p dir="auto">Component stack: in vl<br> in div<br> in div<br> in div<br> in wo<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Li<br> in $e<br> in dn<br> in Ca<br> in Pc</p>
<p dir="auto">PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE</p> <p dir="auto">I got this error when I click 'Ranked'.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.0.4-3c6a219</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441<br> at Map.forEach ()<br> at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)<br> at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)<br> at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)<br> at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br> at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)<br> at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br> at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363</p> <p dir="auto">Component stack: in _i<br> in div<br> in div<br> in div<br> in Or<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in Ha<br> in le<br> in ve<br> in ko<br> in Ul</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=fransflippo" rel="nofollow">Frans Flippo</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9098?redirect=false" rel="nofollow">SPR-9098</a></strong> and commented</p> <p dir="auto">Say I have a Controller with the following request mapping:</p> <p dir="auto"><code class="notranslate">@RequestMapping</code>(value = "/{group}/{identifier}", method = RequestMethod.GET)</p> <p dir="auto"><strong>Current behavior:</strong></p> <p dir="auto">If one of the PathVariable components (e.g. "identifier" in the above example) contains a URL encoded slash (%2F), the handler is NOT invoked for that request, e.g.<br> <a href="http://myhost/myservlet/group/a%2Fb" rel="nofollow">http://myhost/myservlet/group/a%2Fb</a></p> <p dir="auto"><strong>Expected behavior:</strong></p> <p dir="auto">If one of the PathVariable comonents (e.g. "identifier" in the above example) contains a URL encoded slash (%2F), the handler is invoked for that request and the URL decoded value is assigned to the path variable, e.g.<br> <a href="http://myhost/myservlet/group/a%2Fb" rel="nofollow">http://myhost/myservlet/group/a%2Fb</a></p> <p dir="auto">calls the handler method above with group="group" and identifier="a/b"</p> <p dir="auto">This is supported by the RFC which assigns special meaning to the slash character and states a slash and a URL encoded slash are NOT the same character:</p> <p dir="auto">RFC 3986 says (section 2.2) :<br> The purpose of reserved characters is to provide a set of delimiting<br> characters that are distinguishable from other data within a URI.<br> URIs that differ in the replacement of a reserved character with its<br> corresponding percent-encoded octet are not equivalent. Percent-<br> encoding a reserved character, or decoding a percent-encoded octet<br> that corresponds to a reserved character, will change how the URI is<br> interpreted by most applications. Thus, characters in the reserved<br> set are protected from normalization and are therefore safe to be<br> used by scheme-specific and producer-specific algorithms for<br> delimiting data subcomponents within a URI.</p> <p dir="auto">The actual URL decoding happens in UrlPathHelper.getLookupPathForRequest which eventually calls getRequestUri which calls decodeAndCleanUriString. This is basically too early. First the handler should be chosen and the PathVariables assigned. Then URL decoding should happen on each of the path variables' values.</p> <p dir="auto">If desired I can write a unit test or include a sample Controller to reproduce the above.</p> <p dir="auto"><strong>Note:</strong> Tomcat MUST be started with the -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true option or the request will never even land at the Spring DispatcherServlet.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.1 GA</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="398103609" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11616" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11616/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11616">#11616</a> Decode URI template variables if the AbstractHandlerMethodMapping.setUrlDecode() property is set to false (<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/57307a0b2e5bce8f70d5deddf8df11d034dc8c5a/hovercard" href="https://github.com/spring-projects/spring-framework/commit/57307a0b2e5bce8f70d5deddf8df11d034dc8c5a"><tt>57307a0</tt></a></p> <p dir="auto">1 votes, 3 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=romezz" rel="nofollow">Roman Borisov</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4250?redirect=false" rel="nofollow">SPR-4250</a></strong> and commented</p> <p dir="auto">If I create abstract beans with similar IDs in different context files, the framework uses abstract bean from last loaded file.<br> I thought, the framework will throw the exception at startup.</p> <p dir="auto">Example:</p> <p dir="auto">file beans1.xml</p> <p dir="auto">&lt;beans&gt;<br> &lt;bean id="abstractNamedBean" abstract="true"&gt;<br> &lt;property name="name" value="Pol"/&gt;<br> &lt;/bean&gt;<br> &lt;/beans&gt;</p> <p dir="auto">file beans2.xml</p> <p dir="auto">&lt;beans&gt;<br> &lt;bean id="abstractNamedBean" abstract="true"&gt;<br> &lt;property name="name" value="Scott"/&gt;<br> &lt;/bean&gt;<br> &lt;/beans&gt;</p> <p dir="auto">file beans3.xml</p> <p dir="auto">&lt;beans&gt;<br> &lt;import resource="beans1.xml"/&gt;<br> &lt;import resource="beans2.xml"/&gt;<br> &lt;!---- this bean wiil be the child of "abstractNamedBean" from beans2.xml<br> and no error would be reported --&gt;<br> &lt;bean id="concreteNamedBean" class="Class1" parent="abstractNamedBean"&gt;<br> &lt;/bean&gt;<br> &lt;/beans&gt;</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.7</p>
0
<p dir="auto">This code fails to compile:<br> fn rereborrow(v: &amp;r/int) -&gt; &amp;r/int { &amp;_&amp;_v }</p> <p dir="auto">fn main() {}</p> <p dir="auto">With error:<br> test.rs:1:38: 1:42 error: illegal borrow: borrowed value does not live long enough<br> test.rs:1 fn rereborrow(v: &amp;r/int) -&gt; &amp;r/int { &amp;_&amp;<em>v }<br> ^~~~<br> test.rs:1:35: 1:44 note: borrowed pointer must be valid for the lifetime &amp;r as defined on the block at 1:35...<br> test.rs:1 fn rereborrow(v: &amp;r/int) -&gt; &amp;r/int { &amp;</em>&amp;<em>v }<br> ^~~~~~~~~<br> test.rs:1:35: 1:44 note: ...but borrowed value is only valid for the block at 1:35<br> test.rs:1 fn rereborrow(v: &amp;r/int) -&gt; &amp;r/int { &amp;</em>&amp;_v }<br> ^~~~~~~~~<br> error: aborting due to previous error</p> <p dir="auto">shell returned 101</p>
<p dir="auto">In this test case (<code class="notranslate">src/test/run-pass/region-return-interior-of-option-in-self.rs</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// xfail-test struct cell&lt;T&gt; { value: T; } struct cells&lt;T&gt; { vals: ~[option&lt;cell&lt;T&gt;&gt;]; } impl&lt;T&gt; &amp;cells&lt;T&gt; { fn get(idx: uint) -&gt; &amp;self/T { match self.vals[idx] { some(ref v) =&gt; &amp;v.value, none =&gt; fail } } } fn main() {}"><pre class="notranslate"><code class="notranslate">// xfail-test struct cell&lt;T&gt; { value: T; } struct cells&lt;T&gt; { vals: ~[option&lt;cell&lt;T&gt;&gt;]; } impl&lt;T&gt; &amp;cells&lt;T&gt; { fn get(idx: uint) -&gt; &amp;self/T { match self.vals[idx] { some(ref v) =&gt; &amp;v.value, none =&gt; fail } } } fn main() {} </code></pre></div> <p dir="auto">an error is reported. The reason is that the region <code class="notranslate">R</code> for <code class="notranslate">v</code> is inferred to be too narrow, because it doesn't realize <code class="notranslate">R</code> must be as wide as the region for <code class="notranslate">&amp;v.value</code>.</p>
1
<p dir="auto">The README dynamic's graph gif ( e.g <a href="https://github.com/pytorch/pytorch/blob/master/docs/source/_static/img/dynamic_graph.gif">dynamic graph</a> ) is still in 0.3 mode and has Variable all over. Considering the recent release, would make sense to update it.</p>
<p dir="auto">This GIF (see below) needs to be tweaked a bit:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/pytorch/pytorch/master/docs/source/_static/img/dynamic_graph.gif"><img src="https://raw.githubusercontent.com/pytorch/pytorch/master/docs/source/_static/img/dynamic_graph.gif" alt="GIF" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">When I run this code, the first error is:</p> <blockquote> <p dir="auto">RuntimeError: element 0 of variables does not require grad and does not have a grad_fn</p> </blockquote> <p dir="auto">Looking at the direction of arrows and assuming that we need to calculate the gradient with respect to three variables (prev_h, W_h, W_x), setting <code class="notranslate">requires_grad=True</code> for all four variables raises another error:</p> <blockquote> <p dir="auto">RuntimeError: output and gradOutput shapes do not match: output [20 x 1], gradOutput [1 x 20]</p> </blockquote> <p dir="auto">So I changed the <code class="notranslate">next_h.backward</code> to <code class="notranslate">next_h.backward(torch.ones(20, 1))</code>. So now the code is:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch from torch.autograd import Variable x = Variable(torch.randn(1, 10)) prev_h = Variable(torch.randn(1, 20), requires_grad=True) W_h = Variable(torch.randn(20, 20), requires_grad=True) W_x = Variable(torch.randn(20, 10), requires_grad=True) i2h = torch.mm(W_x, x.t()) h2h = torch.mm(W_h, prev_h.t()) next_h = i2h + h2h next_h = next_h.tanh() next_h.backward(torch.ones(20, 1))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-k">from</span> <span class="pl-s1">torch</span>.<span class="pl-s1">autograd</span> <span class="pl-k">import</span> <span class="pl-v">Variable</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">randn</span>(<span class="pl-c1">1</span>, <span class="pl-c1">10</span>)) <span class="pl-s1">prev_h</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">randn</span>(<span class="pl-c1">1</span>, <span class="pl-c1">20</span>), <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-v">W_h</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">randn</span>(<span class="pl-c1">20</span>, <span class="pl-c1">20</span>), <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-v">W_x</span> <span class="pl-c1">=</span> <span class="pl-v">Variable</span>(<span class="pl-s1">torch</span>.<span class="pl-en">randn</span>(<span class="pl-c1">20</span>, <span class="pl-c1">10</span>), <span class="pl-s1">requires_grad</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">i2h</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">mm</span>(<span class="pl-v">W_x</span>, <span class="pl-s1">x</span>.<span class="pl-en">t</span>()) <span class="pl-s1">h2h</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">mm</span>(<span class="pl-v">W_h</span>, <span class="pl-s1">prev_h</span>.<span class="pl-en">t</span>()) <span class="pl-s1">next_h</span> <span class="pl-c1">=</span> <span class="pl-s1">i2h</span> <span class="pl-c1">+</span> <span class="pl-s1">h2h</span> <span class="pl-s1">next_h</span> <span class="pl-c1">=</span> <span class="pl-s1">next_h</span>.<span class="pl-en">tanh</span>() <span class="pl-s1">next_h</span>.<span class="pl-en">backward</span>(<span class="pl-s1">torch</span>.<span class="pl-en">ones</span>(<span class="pl-c1">20</span>, <span class="pl-c1">1</span>))</pre></div> <p dir="auto">I am submitting this issue because I don't want this GIF to mislead beginners when learning PyTorch.</p>
1
<p dir="auto"><strong>URL(s) with the issue:</strong>.</p> <p dir="auto"><a href="https://keras.io/api/applications/" rel="nofollow">https://keras.io/api/applications/</a></p> <p dir="auto"><strong>Description of issue (what needs to be changed):</strong>.</p> <p dir="auto">Models starting from EfficientNetV2B0 and ending at EfficientNetV2L are duplicated in the table.</p> <p dir="auto"><strong>Are you planning to also submit a pull request to fix the issue? See the <a href="https://github.com/keras-team/keras/blob/master/CONTRIBUTING.md">docs contributor guide</a>:</strong></p> <p dir="auto">I could but I don't know how to update docs.</p>
<p dir="auto">If you open a GitHub issue, here is our policy:</p> <p dir="auto">It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).<br> The form below must be filled out.</p> <p dir="auto"><strong>Here's why we have that policy:</strong>.</p> <p dir="auto">Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p> <p dir="auto"><strong>System information</strong>.</p> <p dir="auto">TensorFlow version (you are using): 2.6.0<br> Are you willing to contribute it (Yes/No): Yes</p> <p dir="auto"><strong>Describe the feature and the current behavior/state</strong>. Addition of a new pre-trained model: Resnet18 in the application section.</p> <p dir="auto">Describe the feature clearly here. Be sure to convey here why the requested feature is needed. Any brief description of the use-case would help.</p> <p dir="auto"><strong>Will this change the current API? How?</strong> Yes. Addition of a new Resnet18 pre-trained model in the application section.</p> <p dir="auto"><strong>Who will benefit from this feature?</strong> Researchers as well as individuals who want to fine-tune or train Resnet18 in Tensorflow without switching to PyTorch</p> <p dir="auto"><strong><a href="https://github.com/keras-team/keras/blob/master/CONTRIBUTING.md">Contributing</a></strong></p> <ul dir="auto"> <li>Do you want to contribute a PR? (yes/no): Yes</li> <li>If yes, please read <a href="https://github.com/keras-team/keras/blob/master/CONTRIBUTING.md">this page</a> for instructions</li> <li>Briefly describe your candidate solution(if contributing):<br> Addition of following code to the api:</li> </ul> <p dir="auto"><code class="notranslate">tf.keras.applications.ResNet18( include_top=True, weights='imagenet', input_tensor=None, input_shape=None, pooling=None, classes=1000, classifier_activation='softmax', **kwargs )</code></p> <p dir="auto">Use Case: This would allow individuals to fine-tune the ResNet18 model pre-trained on the imagenet dataset to be fine-tuned on their custom dataset. As the implementation of ResNet18 is already available in PyTorch and not in Tensorflow, sometimes it becomes difficult for developers with knowledge of Tensorflow and no prior knowledge of Pytorch to implement the following. Hopefully, this will allow better transfer learning for developers and reduce time in writing the ResNet18 model from scratch, then training it on the imagenet dataset and then fine-tuning it on their custom dataset. Let me know if this resolves the doubt or I need to provide more explanation.<br> <a href="https://arxiv.org/pdf/1512.03385.pdf" rel="nofollow">Paper for ResNet18 introduction and architecture</a></p>
0
<h1 dir="auto">What / Why</h1> <blockquote> <p dir="auto">NPM failed to install some package dependencies<br> It failed during installation of <code class="notranslate">fsevents</code> package</p> </blockquote> <h2 dir="auto">When</h2> <ul dir="auto"> <li>today?</li> </ul> <h2 dir="auto">Where</h2> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">How</h2> <h3 dir="auto">Current Behavior</h3> <ul dir="auto"> <li>Fails in middle of <code class="notranslate">npm install</code></li> </ul> <h3 dir="auto">Steps to Reproduce</h3> <ul dir="auto"> <li>try installing a package that depends on fsevents</li> </ul> <h3 dir="auto">Expected Behavior</h3> <ul dir="auto"> <li>should install just fine</li> </ul> <h2 dir="auto">Who</h2> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">References</h2> <ul dir="auto"> <li>n/a</li> </ul> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ananta@debian:~/PROJECTS/unit3d-test$ npm install --verbose --no-optional npm info it worked if it ends with ok npm verb cli [ npm verb cli '/home/ananta/.nvm/versions/node/v13.11.0/bin/node', npm verb cli '/home/ananta/.nvm/versions/node/v13.11.0/bin/npm', npm verb cli 'install', npm verb cli '--verbose', npm verb cli '--no-optional' npm verb cli ] npm info using [email protected] npm info using [email protected] npm verb npm-session 98f4aa45dbec2486 npm info lifecycle @~preinstall: @ npm timing stage:loadCurrentTree Completed in 16ms npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1061ms npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1609ms npm timing stage:loadIdealTree Completed in 3122ms npm timing stage:generateActionsToTake Completed in 846ms npm verb correctMkdir /home/ananta/.npm/_locks correctMkdir not in flight; initializing npm verb lock using /home/ananta/.npm/_locks/staging-f8b184b98acc8f8d.lock for /home/ananta/PROJECTS/unit3d-test/node_modules/.staging npm http fetch GET 304 http://registry.npmjs.org/emojione-assets 1976ms (from cache) npm timing npm Completed in 562914ms npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR! &lt;https://npm.community&gt; npm ERR! A complete log of this run can be found in: npm ERR! /home/ananta/.npm/_logs/2020-04-10T08_01_52_782Z-debug.log ananta@debian:~/PROJECTS/unit3d-test$ "><pre class="notranslate"><code class="notranslate">ananta@debian:~/PROJECTS/unit3d-test$ npm install --verbose --no-optional npm info it worked if it ends with ok npm verb cli [ npm verb cli '/home/ananta/.nvm/versions/node/v13.11.0/bin/node', npm verb cli '/home/ananta/.nvm/versions/node/v13.11.0/bin/npm', npm verb cli 'install', npm verb cli '--verbose', npm verb cli '--no-optional' npm verb cli ] npm info using [email protected] npm info using [email protected] npm verb npm-session 98f4aa45dbec2486 npm info lifecycle @~preinstall: @ npm timing stage:loadCurrentTree Completed in 16ms npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1061ms npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1609ms npm timing stage:loadIdealTree Completed in 3122ms npm timing stage:generateActionsToTake Completed in 846ms npm verb correctMkdir /home/ananta/.npm/_locks correctMkdir not in flight; initializing npm verb lock using /home/ananta/.npm/_locks/staging-f8b184b98acc8f8d.lock for /home/ananta/PROJECTS/unit3d-test/node_modules/.staging npm http fetch GET 304 http://registry.npmjs.org/emojione-assets 1976ms (from cache) npm timing npm Completed in 562914ms npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR! &lt;https://npm.community&gt; npm ERR! A complete log of this run can be found in: npm ERR! /home/ananta/.npm/_logs/2020-04-10T08_01_52_782Z-debug.log ananta@debian:~/PROJECTS/unit3d-test$ </code></pre></div> <h3 dir="auto">Last few lines of debug.log</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="16995 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es-abstract-fadff1e1 (5857ms) 16996 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/collect.js-584c6c61 (1565ms) 16997 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es5-ext-7071914d (7239ms) 16998 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/lodash-f9e1c64d (3434ms) 16999 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/caniuse-lite-5af91014 (1916ms) 17000 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/fsevents-c428c5f0 (2638ms) 17001 timing npm Completed in 562914ms 17002 error cb() never called! 17003 error This is an error with npm itself. Please report this error at: 17004 error &lt;https://npm.community&gt;"><pre class="notranslate"><code class="notranslate">16995 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es-abstract-fadff1e1 (5857ms) 16996 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/collect.js-584c6c61 (1565ms) 16997 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es5-ext-7071914d (7239ms) 16998 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/lodash-f9e1c64d (3434ms) 16999 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/caniuse-lite-5af91014 (1916ms) 17000 silly extract [email protected] extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/fsevents-c428c5f0 (2638ms) 17001 timing npm Completed in 562914ms 17002 error cb() never called! 17003 error This is an error with npm itself. Please report this error at: 17004 error &lt;https://npm.community&gt; </code></pre></div>
<h3 dir="auto">*Updated* as of 01/15/2021</h3> <p dir="auto"><strong>Note: Please read <a href="https://github.com/npm/cli/wiki/%22cb()-never-called%3F-Exit-handler-never-called%3F-I'm-having-the-same-problem!%22">this doc</a> before filing a new issue.</strong></p>
1
<p dir="auto">There should be a way to safely rename / revoke / reindex / manipulate an index.</p> <p dir="auto">Currently, I have to do the following:</p> <ol dir="auto"> <li>Create NEW index</li> <li>Copy (aka reindex) data from OLD to NEW</li> <li>Delete OLD index</li> <li>Make an alias/link from OLD index name to NEW index</li> <li>Do my stuff</li> <li>Delete OLD index alias</li> <li>Create OLD index</li> <li>Copy (aka reindex) data from NEW to OLD index.</li> <li>Delete OLD index.</li> </ol> <p dir="auto">3-4 transition is a race cond. If app is heavily writing to index, you're out of luck. Your index will be constantly created, you won't be able to even make an alias.<br> 6-7 is a potential race condition.</p> <p dir="auto">To work around the problem, we need aliases to work with existing indexes.<br> Also, an index rename functionality should be implemented, so that entire 4-7 would not be needed.</p>
<p dir="auto">The packaging tests try to download watcher/latests in the master/2.0 branches and fail to install watcher. If you manually build watcher for 2.0 from source and dump it into the current working directory then they work but this is a pain for some and impossible for others because the watcher repository is private to the elastic organization.</p>
0
<p dir="auto"><strong>Symfony version(s) affected</strong>: 4.2.x</p> <p dir="auto"><strong>Description</strong><br> When using the Validator component with a Comparison constraint, the AbstractComparisonValidator only looks at the ExecutionContext object to compare values, not the root, see these lines: <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/AbstractComparisonValidator.php#L51-L53">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/AbstractComparisonValidator.php#L51-L53</a></p> <p dir="auto"><strong>How to reproduce</strong><br> Validate an array of data with a comparison constraint:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$validator = Validation::createValidator(); $constraint = new Assert\Collection([ 'password' =&gt; [ new Constraints\NotBlank(), ], 'repeat-password' =&gt; [ new Constraints\IdenticalTo(['propertyPath' =&gt; 'password']) ], ]); $violations = $validator-&gt;validate(['password' =&gt; 'foo', 'repeat-password' =&gt; 'bar', $constraint);"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>validator</span> = <span class="pl-v">Validation</span>::<span class="pl-en">createValidator</span>(); <span class="pl-s1"><span class="pl-c1">$</span>constraint</span> = <span class="pl-k">new</span> <span class="pl-v">Assert</span>\<span class="pl-v">Collection</span>([ <span class="pl-s">'password'</span> =&gt; [ <span class="pl-k">new</span> <span class="pl-v">Constraints</span>\<span class="pl-v">NotBlank</span>(), ], <span class="pl-s">'repeat-password'</span> =&gt; [ <span class="pl-k">new</span> <span class="pl-v">Constraints</span>\<span class="pl-v">IdenticalTo</span>([<span class="pl-s">'propertyPath'</span> =&gt; <span class="pl-s">'password'</span>]) ], ]); <span class="pl-s1"><span class="pl-c1">$</span>violations</span> = <span class="pl-s1"><span class="pl-c1">$</span>validator</span>-&gt;<span class="pl-en">validate</span>([<span class="pl-s">'password'</span> =&gt; <span class="pl-s">'foo'</span>, <span class="pl-s">'repeat-password'</span> =&gt; <span class="pl-s">'bar'</span>, <span class="pl-s1"><span class="pl-c1">$</span>constraint</span>);</pre></div> <p dir="auto"><strong>Possible Solution</strong><br> If the ExecutionContext object is null, use the root of the ExecutionContext to get the compared value.</p>
<p dir="auto"><strong>Symfony version(s) affected</strong>: 4.1.x</p> <p dir="auto"><strong>Description</strong><br> When I attach to an object of mine through Yaml or annotation one of the <code class="notranslate">EqualsTo/NotEqualsTo/IdenticalTo/NotIdenticalTo</code> constraints then <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/AbstractComparisonValidator.php#L56">this line</a> returns the object that the constraint is attached to.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="App\Form\Transfer: properties: from: - NotIdenticalTo: propertyPath: 'to'"><pre class="notranslate"><span class="pl-ent">App\Form\Transfer</span>: <span class="pl-ent">properties</span>: <span class="pl-ent">from</span>: - <span class="pl-ent">NotIdenticalTo</span>: <span class="pl-ent">propertyPath</span>: <span class="pl-s"><span class="pl-pds">'</span>to<span class="pl-pds">'</span></span></pre></div> <p dir="auto">So the line above will return the object <code class="notranslate">App\Form\Transfer</code></p> <p dir="auto">If I add the constraint on a form type like this:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" $builder -&gt;add('from', ChoiceType::class, [ 'constraints' =&gt; [ new NotIdenticalTo(['propertyPath' =&gt; 'to']), ], ])"><pre class="notranslate"> <span class="pl-s1"><span class="pl-c1">$</span>builder</span> -&gt;<span class="pl-en">add</span>(<span class="pl-s">'from'</span>, <span class="pl-v">ChoiceType</span>::class, [ <span class="pl-s">'constraints'</span> =&gt; [ <span class="pl-k">new</span> <span class="pl-v">NotIdenticalTo</span>([<span class="pl-s">'propertyPath'</span> =&gt; <span class="pl-s">'to'</span>]), ], ])</pre></div> <p dir="auto">The line above will bring back a form object.</p> <p dir="auto">This causes the constraint to throw an exception because it reaches on <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/AbstractComparisonValidator.php#L58">this line</a> and in the Form object the path of the property it does not exist.</p> <p dir="auto"><strong>How to reproduce</strong></p> <p dir="auto">Build a form in the way described above and submit it.</p>
1
<p dir="auto">node:12.0.0<br> electron: 7.1.1<br> Silent print settings margins flashback,Flashback occurs if margins are added</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" margins: { marginType: 'custom', left: 0 }"><pre class="notranslate"><code class="notranslate"> margins: { marginType: 'custom', left: 0 } </code></pre></div> <p dir="auto">complete</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" webview.print( { silent: true, printBackground: true, deviceName: this.printDeviceName, landscape: true, margins: { marginType: 'custom', left: 0 } } )"><pre class="notranslate"><code class="notranslate"> webview.print( { silent: true, printBackground: true, deviceName: this.printDeviceName, landscape: true, margins: { marginType: 'custom', left: 0 } } ) </code></pre></div>
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">13.1.2</p> <h3 dir="auto">What operating system are you using?</h3> <p dir="auto">Windows</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">Windows 10 Version 10.0.19043.1055</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">x64</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto">11.0.0</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Opening a PDF file in a BrowserWindow should <strong>display</strong> the PDF file using Chromium's built-in PDF Viewer.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Opening a PDF file in a BrowserWindow just shows a broken and seemingly half-loaded PDF Viewer with no PDF content in it whatsoever.</p> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">This project needs some serious regression testing for crying out loud. How is it possible that things that were already working fine keep breaking all the time and none of the developers care or even notice?</p>
0
<h4 dir="auto">Problem</h4> <p dir="auto">Say you have a component template:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div class=&quot;autocomplete&quot;&gt; &lt;input role=&quot;combobox&quot; class=&quot;autocomplete-trigger&quot; aria-autocomplete=&quot;list&quot; aria-active-decendant=&quot;&quot; &lt;!-- = Whichever option ID is focused --&gt; aria-owns=&quot;autocomplete-menu&quot;&gt; &lt;ul id=&quot;autocomplete-menu&quot; tabindex=&quot;-1&quot;&gt; &lt;li *foreach=&quot;#opt in options&quot; role=&quot;option&quot; [id]=&quot;opt.id&quot;&gt;Alpha&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">autocomplete</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">role</span>="<span class="pl-s">combobox</span>" <span class="pl-c1">class</span>="<span class="pl-s">autocomplete-trigger</span>" <span class="pl-c1">aria-autocomplete</span>="<span class="pl-s">list</span>" <span class="pl-c1">aria-active-decendant</span>="" <span class="pl-c">&lt;!-- = Whichever option ID is focused --&gt;</span> <span class="pl-c1">aria-owns</span>="<span class="pl-s">autocomplete-menu</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">ul</span> <span class="pl-c1">id</span>="<span class="pl-s">autocomplete-menu</span>" <span class="pl-c1">tabindex</span>="<span class="pl-s">-1</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span> <span class="pl-c1">*foreach</span>="<span class="pl-s">#opt in options</span>" <span class="pl-c1">role</span>="<span class="pl-s">option</span>" <span class="pl-c1">[id]</span>="<span class="pl-s">opt.id</span>"<span class="pl-kos">&gt;</span>Alpha<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">div</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">In this example, use of an ID is necessary for the <code class="notranslate">aria-owns</code> attribute. With the current shadow DOM emulation, it will not work to have multiple instances of this component on the page at the same time because the IDs would be duplicated.</p> <p dir="auto">Other use cases include <code class="notranslate">&lt;label&gt;</code>, <code class="notranslate">aria-labelledby</code>, <code class="notranslate">aria-controls</code>, <code class="notranslate">aria-described-by</code>, <code class="notranslate">aria-flowto</code></p> <h4 dir="auto">Possible solutions</h4> <p dir="auto">There are a few different ways we could handle this.</p> <h5 dir="auto">Put the burden on the user</h5> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;input [id]=&quot;myGeneratedUniqueInputId&quot;&gt; &lt;label [for]=&quot;myGeneratedUniqueInputId&quot;&gt;"><pre class="notranslate"> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">[id]</span>="<span class="pl-s">myGeneratedUniqueInputId</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">label</span> <span class="pl-c1">[for]</span>="<span class="pl-s">myGeneratedUniqueInputId</span>"<span class="pl-kos">&gt;</span></pre></div> <p dir="auto">This is what people would have done in Angular 1. Adopting this should just be a matter of documentation.</p> <h5 dir="auto">Automatically recognize ID attributes and shim ID isolation</h5> <p dir="auto">If the user writes:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;input id=&quot;name&quot;&gt; &lt;label for=&quot;name&quot;&gt;"><pre class="notranslate"> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">id</span>="<span class="pl-s">name</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">label</span> <span class="pl-c1">for</span>="<span class="pl-s">name</span>"<span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Angular will recognize any standard attributes that use an ID reference (or list of ID references) and automatically convert them into document-unique IDs them.</p> <h5 dir="auto">Add some syntax to identify IDs for unique conversion</h5> <p dir="auto">Specific syntax aside, something like:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;input ##id=&quot;name&quot;&gt; &lt;label ##for=&quot;name&quot;&gt;"><pre class="notranslate"> <span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">##id</span>="<span class="pl-s">name</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">label</span> <span class="pl-c1">##for</span>="<span class="pl-s">name</span>"<span class="pl-kos">&gt;</span></pre></div> <p dir="auto">This has the benefit of not having to hard-code the list of ID-reference attributes, but still incurs the same performance cost as the previous solution.</p>
<p dir="auto"><strong>I'm submitting a ...</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report =&gt; search github for a similar issue or PR before submitting [x ] feature request [ ] support request =&gt; Please do not submit support request here, instead see "><pre class="notranslate"><code class="notranslate">[ ] bug report =&gt; search github for a similar issue or PR before submitting [x ] feature request [ ] support request =&gt; Please do not submit support request here, instead see </code></pre></div> <p dir="auto">I'm trying to extend a RouterLink directive to append a prefix to each link. <code class="notranslate">&lt;a myLink="/photos"&gt;</code> -&gt; <code class="notranslate">/myregion/photos</code>, where <code class="notranslate">myregion</code> is a state value, shared by service. Right now the only simple way I see is to copy-paste existing code and change it for my needs, because I tried several obvious solutions and they didn't work</p> <p dir="auto">It would be great to have an official way to reuse a code.</p>
0
<h4 dir="auto">Sample code</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd from pandas.api.types import CategoricalDtype import numpy as np # Load data df = pd.read_excel('http://pbpython.com/extras/sales-funnel.xlsx') # Make categories df[&quot;Status&quot;] = pd.Categorical(df[&quot;Status&quot;], categories=[&quot;won&quot;,&quot;pending&quot;,&quot;presented&quot;,&quot;declined&quot;], ordered=False) # Create pivot table - WORKS FINE pd.pivot_table(df, index=['Manager', 'Status'], values=['Quantity', 'Price'], aggfunc={'Quantity': len, 'Price': [np.sum, np.mean]}, fill_value=0, margins=False) # Here we make the only change: set parameter margins=True # Create pivot table - FAILS on KeyError: 'Level None not found' pd.pivot_table(df, index=['Manager', 'Status'], values=['Quantity', 'Price'], aggfunc={'Quantity': len, 'Price': [np.sum, np.mean]}, fill_value=0, margins=True)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-k">from</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">api</span>.<span class="pl-s1">types</span> <span class="pl-k">import</span> <span class="pl-v">CategoricalDtype</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-c"># Load data</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_excel</span>(<span class="pl-s">'http://pbpython.com/extras/sales-funnel.xlsx'</span>) <span class="pl-c"># Make categories</span> <span class="pl-s1">df</span>[<span class="pl-s">"Status"</span>] <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Categorical</span>(<span class="pl-s1">df</span>[<span class="pl-s">"Status"</span>], <span class="pl-s1">categories</span><span class="pl-c1">=</span>[<span class="pl-s">"won"</span>,<span class="pl-s">"pending"</span>,<span class="pl-s">"presented"</span>,<span class="pl-s">"declined"</span>], <span class="pl-s1">ordered</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-c"># Create pivot table - WORKS FINE</span> <span class="pl-s1">pd</span>.<span class="pl-en">pivot_table</span>(<span class="pl-s1">df</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span>[<span class="pl-s">'Manager'</span>, <span class="pl-s">'Status'</span>], <span class="pl-s1">values</span><span class="pl-c1">=</span>[<span class="pl-s">'Quantity'</span>, <span class="pl-s">'Price'</span>], <span class="pl-s1">aggfunc</span><span class="pl-c1">=</span>{<span class="pl-s">'Quantity'</span>: <span class="pl-s1">len</span>, <span class="pl-s">'Price'</span>: [<span class="pl-s1">np</span>.<span class="pl-s1">sum</span>, <span class="pl-s1">np</span>.<span class="pl-s1">mean</span>]}, <span class="pl-s1">fill_value</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">margins</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-c"># Here we make the only change: set parameter margins=True</span> <span class="pl-c"># Create pivot table - FAILS on KeyError: 'Level None not found'</span> <span class="pl-s1">pd</span>.<span class="pl-en">pivot_table</span>(<span class="pl-s1">df</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span>[<span class="pl-s">'Manager'</span>, <span class="pl-s">'Status'</span>], <span class="pl-s1">values</span><span class="pl-c1">=</span>[<span class="pl-s">'Quantity'</span>, <span class="pl-s">'Price'</span>], <span class="pl-s1">aggfunc</span><span class="pl-c1">=</span>{<span class="pl-s">'Quantity'</span>: <span class="pl-s1">len</span>, <span class="pl-s">'Price'</span>: [<span class="pl-s1">np</span>.<span class="pl-s1">sum</span>, <span class="pl-s1">np</span>.<span class="pl-s1">mean</span>]}, <span class="pl-s1">fill_value</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">margins</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">Pivot table fails on exception, when margins are set True on previous example.</p> <p dir="auto">Thrown exception is:<br> <code class="notranslate">KeyError: 'Level None not found'</code></p> <h4 dir="auto">Expected Output</h4> <p dir="auto">pivot_table with margins=True should work correctly<br> OR<br> report intuitive error<br> OR<br> documentation should be clearly updated to avoid such a problem</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.3.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None <p dir="auto">pandas: 0.21.0<br> pytest: 3.3.0<br> pip: 9.0.1<br> setuptools: 36.5.0.post20170921<br> Cython: 0.27.3<br> numpy: 1.13.3<br> scipy: 1.0.0<br> pyarrow: None<br> xarray: None<br> IPython: 6.2.1<br> sphinx: 1.6.3<br> patsy: 0.4.1<br> dateutil: 2.6.1<br> pytz: 2017.3<br> blosc: None<br> bottleneck: 1.2.1<br> tables: 3.4.2<br> numexpr: 2.6.4<br> feather: None<br> matplotlib: 2.1.0<br> openpyxl: 2.4.9<br> xlrd: 1.1.0<br> xlwt: 1.3.0<br> xlsxwriter: 1.0.2<br> lxml: 4.1.1<br> bs4: 4.6.0<br> html5lib: 0.999999999<br> sqlalchemy: 1.1.13<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.10<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">When applying multiple aggregations to columns and setting margins=True I receive a KeyError. I believe that because multiple aggregations are applied the columns become a MultiIndex, which is unexpected when computing margins.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import pandas as pd &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; import random &gt;&gt;&gt; df = pd.DataFrame({'random1': [random.random() for i in range(10)], 'random2': [random.random() for i in range(10)], 'type': ['duck', 'bird']*5}, index=range(10,20)) &gt;&gt;&gt; df.pivot_table(index='type', aggfunc={'random1': [np.median, np.mean], 'random2': np.sum}, margins=True) KeyError Traceback (most recent call last) &lt;ipython-input&gt; in &lt;module&gt;() 3 aggfunc={'random1': [np.median, np.mean], 4 'random2': np.sum}, ----&gt; 5 margins=True) /pandas/util/decorators.pyc in wrapper(*args, **kwargs) 86 else: 87 kwargs[new_arg_name] = new_arg_value ---&gt; 88 return func(*args, **kwargs) 89 return wrapper 90 return _deprecate_kwarg /pandas/util/decorators.pyc in wrapper(*args, **kwargs) 86 else: 87 kwargs[new_arg_name] = new_arg_value ---&gt; 88 return func(*args, **kwargs) 89 return wrapper 90 return _deprecate_kwarg /pandas/tools/pivot.pyc in pivot_table(data, values, index, columns, aggfunc, fill_value, margins, dropna) 145 if margins: 146 table = _add_margins(table, data, values, rows=index, --&gt; 147 cols=columns, aggfunc=aggfunc) 148 149 # discard the top level /pandas/tools/pivot.pyc in _add_margins(table, data, values, rows, cols, aggfunc) 189 row_margin[k] = grand_margin[k] 190 else: --&gt; 191 row_margin[k] = grand_margin[k[0]] 192 193 margin_dummy = DataFrame(row_margin, columns=[key]).T KeyError: 'random1' "><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">import</span> <span class="pl-s1">random</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">'random1'</span>: [<span class="pl-s1">random</span>.<span class="pl-en">random</span>() <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>)], <span class="pl-s">'random2'</span>: [<span class="pl-s1">random</span>.<span class="pl-en">random</span>() <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>)], <span class="pl-s">'type'</span>: [<span class="pl-s">'duck'</span>, <span class="pl-s">'bird'</span>]<span class="pl-c1">*</span><span class="pl-c1">5</span>}, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-en">range</span>(<span class="pl-c1">10</span>,<span class="pl-c1">20</span>)) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-en">pivot_table</span>(<span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s">'type'</span>, <span class="pl-s1">aggfunc</span><span class="pl-c1">=</span>{<span class="pl-s">'random1'</span>: [<span class="pl-s1">np</span>.<span class="pl-s1">median</span>, <span class="pl-s1">np</span>.<span class="pl-s1">mean</span>], <span class="pl-s">'random2'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">sum</span>}, <span class="pl-s1">margins</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-v">KeyError</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">&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">3</span> <span class="pl-s1">aggfunc</span><span class="pl-c1">=</span>{<span class="pl-s">'random1'</span>: [<span class="pl-s1">np</span>.<span class="pl-s1">median</span>, <span class="pl-s1">np</span>.<span class="pl-s1">mean</span>], <span class="pl-c1">4</span> <span class="pl-s">'random2'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">sum</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">5</span> <span class="pl-s1">margins</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">util</span><span class="pl-c1">/</span><span class="pl-s1">decorators</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">wrapper</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">86</span> <span class="pl-s1">else</span>: <span class="pl-c1">87</span> <span class="pl-s1">kwargs</span>[<span class="pl-s1">new_arg_name</span>] <span class="pl-c1">=</span> <span class="pl-s1">new_arg_value</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">88</span> <span class="pl-s1">return</span> <span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">89</span> <span class="pl-k">return</span> <span class="pl-s1">wrapper</span> <span class="pl-c1">90</span> <span class="pl-s1">return</span> <span class="pl-s1">_deprecate_kwarg</span> <span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">util</span><span class="pl-c1">/</span><span class="pl-s1">decorators</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">wrapper</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">86</span> <span class="pl-s1">else</span>: <span class="pl-c1">87</span> <span class="pl-s1">kwargs</span>[<span class="pl-s1">new_arg_name</span>] <span class="pl-c1">=</span> <span class="pl-s1">new_arg_value</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">88</span> <span class="pl-s1">return</span> <span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">89</span> <span class="pl-k">return</span> <span class="pl-s1">wrapper</span> <span class="pl-c1">90</span> <span class="pl-s1">return</span> <span class="pl-s1">_deprecate_kwarg</span> <span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tools</span><span class="pl-c1">/</span><span class="pl-s1">pivot</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">pivot_table</span>(<span class="pl-s1">data</span>, <span class="pl-s1">values</span>, <span class="pl-s1">index</span>, <span class="pl-s1">columns</span>, <span class="pl-s1">aggfunc</span>, <span class="pl-s1">fill_value</span>, <span class="pl-s1">margins</span>, <span class="pl-s1">dropna</span>) <span class="pl-c1">145</span> <span class="pl-k">if</span> <span class="pl-s1">margins</span>: <span class="pl-c1">146</span> <span class="pl-s1">table</span> <span class="pl-c1">=</span> <span class="pl-en">_add_margins</span>(<span class="pl-s1">table</span>, <span class="pl-s1">data</span>, <span class="pl-s1">values</span>, <span class="pl-s1">rows</span><span class="pl-c1">=</span><span class="pl-s1">index</span>, <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">147</span> <span class="pl-s1">cols</span><span class="pl-c1">=</span><span class="pl-s1">columns</span>, <span class="pl-s1">aggfunc</span><span class="pl-c1">=</span><span class="pl-s1">aggfunc</span>) <span class="pl-c1">148</span> <span class="pl-c1">149</span> <span class="pl-c"># discard the top level</span> <span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tools</span><span class="pl-c1">/</span><span class="pl-s1">pivot</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_add_margins</span>(<span class="pl-s1">table</span>, <span class="pl-s1">data</span>, <span class="pl-s1">values</span>, <span class="pl-s1">rows</span>, <span class="pl-s1">cols</span>, <span class="pl-s1">aggfunc</span>) <span class="pl-c1">189</span> <span class="pl-s1">row_margin</span>[<span class="pl-s1">k</span>] <span class="pl-c1">=</span> <span class="pl-s1">grand_margin</span>[<span class="pl-s1">k</span>] <span class="pl-c1">190</span> <span class="pl-k">else</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">191</span> <span class="pl-s1">row_margin</span>[<span class="pl-s1">k</span>] <span class="pl-c1">=</span> <span class="pl-s1">grand_margin</span>[<span class="pl-s1">k</span>[<span class="pl-c1">0</span>]] <span class="pl-c1">192</span> <span class="pl-c1">193</span> <span class="pl-s1">margin_dummy</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>(<span class="pl-s1">row_margin</span>, <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s1">key</span>]).<span class="pl-v">T</span> <span class="pl-v">KeyError</span>: <span class="pl-s">'random1'</span></pre></div> <p dir="auto">The <em>exact</em> same error occurs with</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="aggfunc={'random1': {'median': np.median, 'mean': np.mean}, 'random2': np.sum}"><pre class="notranslate"><span class="pl-s1">aggfunc</span><span class="pl-c1">=</span>{<span class="pl-s">'random1'</span>: {<span class="pl-s">'median'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">median</span>, <span class="pl-s">'mean'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">mean</span>}, <span class="pl-s">'random2'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">sum</span>}</pre></div> <p dir="auto">These errors do not occur when margins=False<br> This is using pandas version 0.15.2. I have not seen any changes which would lead me to believe it is be fixed in master.</p> <p dir="auto">Happy to create a PR, although I haven't done one before.</p>
1
<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">A programmatic means (property) to disambiguate when a <code class="notranslate">_LRScheduler</code> should be stepped.</p> <h2 dir="auto">Motivation</h2> <p dir="auto">Currently, there are a variety of <code class="notranslate">_LRScheduler</code>s found in <code class="notranslate">torch.optim.lr_scheduler</code>. While the majority should be stepped per epoch (e.g., <code class="notranslate">LambdaLR</code>, <code class="notranslate">MultiplicativeLR</code>, <code class="notranslate">StepLR</code>, etc), some are designed to be stepped per training batch (<code class="notranslate">CyclicLR</code>, <code class="notranslate">OneCycleLR</code>, etc). Unfortunately, there is no way (programmatically) to identify which category an arbitrary <code class="notranslate">_LRScheduler</code> falls into without either maintaining a hard-coded list (<g-emoji class="g-emoji" alias="cry" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f622.png">😢</g-emoji>) or parsing the docstring (<g-emoji class="g-emoji" alias="cry" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f622.png">😢</g-emoji> <g-emoji class="g-emoji" alias="cry" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f622.png">😢</g-emoji>). This makes correctly injecting arbitrary <code class="notranslate">_LRScheduler</code>s difficult to do in an extensible fashion.</p> <h2 dir="auto">Pitch</h2> <p dir="auto">Add two boolean properties to every <code class="notranslate">_LRScheduler</code>:</p> <ul dir="auto"> <li>steps_on_batch</li> <li>steps_on_epoch</li> </ul> <p dir="auto">Currently, neither symbol is used in <a href="https://pytorch.org/docs/stable/_modules/torch/optim/lr_scheduler.html" rel="nofollow"><code class="notranslate">torch.optim.lr_scheduler</code></a>, so this should be a strictly additive change as far as I'm aware.</p> <h2 dir="auto">Alternatives</h2> <p dir="auto">Every scheduler that exists in PyTorch today exclusively steps per batch or per epoch. Therefore, either of the two properties alone would currently satisfy the aforementioned motivation. However, should a scheduler be created that is stepped at both stages, this option would fail. Later adding the second property would be a pseudo-backwards incompatible change as significant amounts of code would likely include <code class="notranslate">if not sched.step_epoch: ...</code> to determine if the scheduler should be stepped per batch (or vice versa).</p> <p dir="auto">Given the minimal cost of adding both, the flexibility it enables, and the potential to mitigate future challenges, I have opted to propose both properties.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincentqb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincentqb">@vincentqb</a></p>
<p dir="auto">I'm not very sure that what is the parameter "tgt" means.<br> The document says it is the sequence of decoder. However, I have a question that since I have the sequence to decoder, thus I have the result of decoder, why do I have to use transformer for inferencing?<br> For example, I have a seq2seq task that translate "I love you" from English to Franch "Je t'aime", what is the parameter of "tgt"?<br> Looking forward answering. Thanks!</p>
0
<h3 dir="auto">System Information</h3> <div class="highlight highlight-text-adblock notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="opencv-python==4.7.0.68 Python 3.10.9 Arch Linux"><pre class="notranslate">opencv-python==4.7.0.68 Python 3.10.9 Arch Linux</pre></div> <h3 dir="auto">Detailed description</h3> <p dir="auto"><code class="notranslate">VideoWriter</code> fails silently when the size of the frame passed to <code class="notranslate">VideoWriter().write()</code> differs from the <code class="notranslate">frameSize</code> specified in the constructor.</p> <p dir="auto">I would expect an error, but instead, the written video will not play, which is hard to trace back to a frame size issue.</p> <p dir="auto">Related:<br> <a href="https://stackoverflow.com/questions/75000164/cant-play-video-created-with-opencv-videowriter" rel="nofollow">https://stackoverflow.com/questions/75000164/cant-play-video-created-with-opencv-videowriter</a></p> <h3 dir="auto">Steps to reproduce</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2 FPS = 30 KEY_ESC = 27 OUTPUT_FILE = &quot;vid.mp4&quot; cam = cv2.VideoCapture(0) codec = cv2.VideoWriter.fourcc(*&quot;mp4v&quot;) # MPEG-4 http://mp4ra.org/#/codecs frame_size = cam.read()[1].shape[:2] # wrong (see SO link) video_writer = cv2.VideoWriter(OUTPUT_FILE, codec, FPS, frame_size) # record until user exits with ESC while True: success, image = cam.read() cv2.imshow(&quot;window&quot;, image) video_writer.write(image) if cv2.waitKey(5) == KEY_ESC: break"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span> <span class="pl-v">FPS</span> <span class="pl-c1">=</span> <span class="pl-c1">30</span> <span class="pl-v">KEY_ESC</span> <span class="pl-c1">=</span> <span class="pl-c1">27</span> <span class="pl-v">OUTPUT_FILE</span> <span class="pl-c1">=</span> <span class="pl-s">"vid.mp4"</span> <span class="pl-s1">cam</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoCapture</span>(<span class="pl-c1">0</span>) <span class="pl-s1">codec</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoWriter</span>.<span class="pl-en">fourcc</span>(<span class="pl-c1">*</span><span class="pl-s">"mp4v"</span>) <span class="pl-c"># MPEG-4 http://mp4ra.org/#/codecs</span> <span class="pl-s1">frame_size</span> <span class="pl-c1">=</span> <span class="pl-s1">cam</span>.<span class="pl-en">read</span>()[<span class="pl-c1">1</span>].<span class="pl-s1">shape</span>[:<span class="pl-c1">2</span>] <span class="pl-c"># wrong (see SO link)</span> <span class="pl-s1">video_writer</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoWriter</span>(<span class="pl-v">OUTPUT_FILE</span>, <span class="pl-s1">codec</span>, <span class="pl-v">FPS</span>, <span class="pl-s1">frame_size</span>) <span class="pl-c"># record until user exits with ESC</span> <span class="pl-k">while</span> <span class="pl-c1">True</span>: <span class="pl-s1">success</span>, <span class="pl-s1">image</span> <span class="pl-c1">=</span> <span class="pl-s1">cam</span>.<span class="pl-en">read</span>() <span class="pl-s1">cv2</span>.<span class="pl-en">imshow</span>(<span class="pl-s">"window"</span>, <span class="pl-s1">image</span>) <span class="pl-s1">video_writer</span>.<span class="pl-en">write</span>(<span class="pl-s1">image</span>) <span class="pl-k">if</span> <span class="pl-s1">cv2</span>.<span class="pl-en">waitKey</span>(<span class="pl-c1">5</span>) <span class="pl-c1">==</span> <span class="pl-v">KEY_ESC</span>: <span class="pl-k">break</span></pre></div> <h3 dir="auto">Issue submission checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to the latest OpenCV version and the issue is still there</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> There is reproducer code and related data files (videos, images, onnx, etc)</li> </ul>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> <li>Operating System / Platform =&gt; ❔</li> <li>Compiler =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> </ul> <h5 dir="auto">Detailed description</h5> <h5 dir="auto">Steps to reproduce</h5>
0
<p dir="auto">Please go to Stack Overflow for help and support:</p> <p dir="auto"><a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">https://stackoverflow.com/questions/tagged/tensorflow</a></p> <p dir="auto">If you open a GitHub issue, here is our policy:</p> <ol dir="auto"> <li>It must be a bug or a feature request.</li> <li>The form below must be filled out.</li> <li>It shouldn't be a TensorBoard issue. Those go <a href="https://github.com/tensorflow/tensorboard/issues">here</a>.</li> </ol> <p dir="auto"><strong>Here's why we have that policy</strong>: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p> <hr> <h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:</li> <li><strong>TensorFlow installed from (source or binary)</strong>:</li> <li><strong>TensorFlow version (use command below)</strong>:</li> <li><strong>Python version</strong>:</li> <li><strong>Bazel version (if compiling from source)</strong>:</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>:</li> <li><strong>CUDA/cuDNN version</strong>:</li> <li><strong>GPU model and memory</strong>:</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <p dir="auto">You can collect some of this information using our environment capture script:</p> <p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p> <p dir="auto">You can obtain the TensorFlow version with</p> <p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p>
<p dir="auto">I encountered an issue with tf.image.encode_jpeg. I got a lot of images to preprocess. The code that caused the problem is like this:</p> <p dir="auto">for imagefile in image_list:<br> im = cv2.imread(imagefile)<br> image_data = tf.image.encode_jpeg(im, format='rgb')</p> <p dir="auto">The memory usage kept increasing as image.encode_jpeg was called. Eventually the 256G mem server ran out of memory.</p>
1
<ol dir="auto"> <li>Loads of operations in the embedding example are not supported on GPU. Some documentation detailing this would be good.</li> <li>I tried to get around the problem by using 'tf.ConfigProto(allow_soft_placement=True)'. However now I get 'Executor failed to create kernel. Invalid argument: AttrValue must not have reference type value of float_ref for attr 'tensor_type'</li> </ol> <p dir="auto">Thanks<br> Abhishek</p>
<p dir="auto">Please go to Stack Overflow for help and support:</p> <p dir="auto"><a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">https://stackoverflow.com/questions/tagged/tensorflow</a></p> <p dir="auto">If you open a GitHub issue, here is our policy:</p> <ol dir="auto"> <li>It must be a bug or a feature request.</li> <li>The form below must be filled out.</li> <li>It shouldn't be a TensorBoard issue. Those go <a href="https://github.com/tensorflow/tensorboard/issues">here</a>.</li> </ol> <p dir="auto"><strong>Here's why we have that policy</strong>: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p> <hr> <h3 dir="auto">System information</h3> <ul dir="auto"> <li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: Custom code! You can find it here: <a href="https://github.com/NERSC/CosmoFlow/tree/master/SegFault">https://github.com/NERSC/CosmoFlow/tree/master/SegFault</a></li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: SUSE Linux 12.2</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Source</li> <li><strong>TensorFlow version (use command below)</strong>: ('v1.3.0-rc1-3112-g65b6a75', '1.4.0-rc0') Note this is NOT compiled with the Intel MKL options.</li> <li><strong>Python version</strong>: 2.7.13</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.6.0</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: 4.8.5</li> <li><strong>CUDA/cuDNN version</strong>: N/A</li> <li><strong>GPU model and memory</strong>: N/A, Running on x86_64 Intel Haswell node</li> <li><strong>Exact command to reproduce</strong>: See README in <a href="https://github.com/NERSC/CosmoFlow/tree/master/SegFault">https://github.com/NERSC/CosmoFlow/tree/master/SegFault</a></li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">A seg fault when training a tf.nn.conv3d with minibatch size more than 2 on a single Intel Haswell. The seg fault occurs at <a href="https://github.com/NERSC/CosmoFlow/blob/master/SegFault/CosmoNet.py#L187">line 187</a>.</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">GDB log: <a href="https://github.com/NERSC/CosmoFlow/blob/master/SegFault/gdbTrace.log">https://github.com/NERSC/CosmoFlow/blob/master/SegFault/gdbTrace.log</a><br> It looks like some kind of cyclic dependency in Eigen::TensorEvaluator.</p>
0
<p dir="auto">Material-UI<br> v1.0.0-beta.25<br> document -&gt; 'component demos'<br> <a href="https://material-ui.com/demos/tables/" rel="nofollow">https://material-ui.com/demos/tables/</a><br> 'Sorting &amp; Selecting' section ,condsandbox stop working(HTTP Error 414)</p>
<p dir="auto">Hello, i have created a simple Create React App + Material-UI application with some of the examples from the docs, like checkboxes, grid spacing, checkboxes, modals, etc, packaged it using Cordova and ran it on my IPAD.</p> <p dir="auto">I am experiencing (especialy when clicking a checkbox or a toggle) the 300 ms delay.</p> <p dir="auto">With modals instead i am seeing a double click problem, the first it fires on touch tap, opens the modal then after the delay it fires a click that triggers the closing of the modal.</p> <p dir="auto">I was curious if on the official website it would behave in the same manner, so, using the browser of the IPAD i went to <a href="https://material-ui-next.com/demos/selection-controls/" rel="nofollow">https://material-ui.com/demos/selection-controls/</a> and everything works just fine.</p> <p dir="auto">By looking at the code on github i wasnt able to find no special configuration that you do for making this work, so i dont know if its a problem of Cordova , React, Webpack,</p> <p dir="auto">or ME :)</p> <p dir="auto">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 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> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.29</td> </tr> <tr> <td>React</td> <td>16.2.0</td> </tr> <tr> <td>browser</td> <td></td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<p dir="auto">Push all <code class="notranslate">hold</code> logic up to the pyplot layer.</p> <p dir="auto">Assume that if client code wants to clear the axes, they will call it them selves.</p> <p dir="auto">Tagged an v2.0 as I see no way to do this in a reverse compatible way.</p>
<h3 dir="auto">Problem</h3> <p dir="auto">One serious problem is how to deal with text having both latex and html-like tags. <a href="https://matplotlib.org/stable/devel/MEP/MEP29.html" rel="nofollow">MEP29</a></p> <h3 dir="auto">Proposed Solution</h3> <p dir="auto">This MEP proposes to add lightweight markup to the text artist.</p> <h3 dir="auto">Additional context and prior art</h3> <p dir="auto">Using different size/color/family in a text annotation is difficult because the text method accepts argument for size/color/family/weight/etc. that are used for the whole text. But, if one wants, for example, to have different colors, one has to look at the gallery where one such example is provided: <a href="http://matplotlib.org/examples/text_labels_and_annotations/rainbow_text.html" rel="nofollow">http://matplotlib.org/examples/text_labels_and_annotations/rainbow_text.html</a></p> <p dir="auto">This example takes a list of strings as well as a list of colors which makes it cumbersome to use. An alternative would be to use a restricted set of pango-like markup and to interpret this markup.</p>
0
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:</li> <li>TensorFlow installed from (source or binary): binary</li> <li>TensorFlow version (use command below): v1.14.0-rc1-22-gaf24dc91b5 1.14.0</li> <li>Python version: 3.6.7</li> <li>GCC/Compiler version (if compiling from source): 8.2.0</li> <li>CUDA/cuDNN version: cuda-10.0</li> <li>GPU model and memory:</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong><br> tf.matmul on tensorflow-gpu gave wrong results. Here is a simplified version of the code.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf import numpy as np import matplotlib.pyplot as plt r = [[ 1.0, 0.0], [0.0, 1.0]] x, y = np.meshgrid(list(range(400)), list(range(400))) coords = np.stack([x,y],-1).reshape((400,400,2,1)) coords = tf.convert_to_tensor(coords,dtype=tf.float32) r1 = tf.constant(r) newCoords = tf.matmul(r1, coords) sess = tf.Session() ret = sess.run(newCoords,feed_dict={r1:r}) plt.matshow(ret[:,:,0,0]) plt.show()"><pre class="notranslate"><code class="notranslate">import tensorflow as tf import numpy as np import matplotlib.pyplot as plt r = [[ 1.0, 0.0], [0.0, 1.0]] x, y = np.meshgrid(list(range(400)), list(range(400))) coords = np.stack([x,y],-1).reshape((400,400,2,1)) coords = tf.convert_to_tensor(coords,dtype=tf.float32) r1 = tf.constant(r) newCoords = tf.matmul(r1, coords) sess = tf.Session() ret = sess.run(newCoords,feed_dict={r1:r}) plt.matshow(ret[:,:,0,0]) plt.show() </code></pre></div> <p dir="auto">When I ran it on my tensorflow-gpu, here is the result:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://gist.githubusercontent.com/sWizad/3a25d6559ea3308e5cc2731519635c32/raw/2479341ed43fb8e69c94eda3a1362d5cbde7d2d7/Figure_1.png"><img src="https://gist.githubusercontent.com/sWizad/3a25d6559ea3308e5cc2731519635c32/raw/2479341ed43fb8e69c94eda3a1362d5cbde7d2d7/Figure_1.png" alt="bug" style="max-width: 100%;"></a><br> Looks like it stops computing halfway through and gave the rest 0 as a result.</p> <p dir="auto"><strong>Describe the expected behavior</strong><br> Here is the result with CPU:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/45821224/62137176-08631480-b2d5-11e9-8b8e-6348e8b206e7.png"><img src="https://user-images.githubusercontent.com/45821224/62137176-08631480-b2d5-11e9-8b8e-6348e8b206e7.png" alt="CPU" style="max-width: 100%;"></a></p> <hr> <p dir="auto">Below is my old post. Initially, I thought the problem was related to TFRecord, but seems like this problem occurs without even using tfrecord too. For completeness, I keep the old example code with tfrecord.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf import numpy as np import matplotlib.pyplot as plt def parser(serialized_example): fs = tf.io.parse_single_example( serialized_example, features={ &quot;r&quot;: tf.FixedLenFeature([4], tf.float32) }) fs[&quot;r&quot;] = tf.reshape(fs[&quot;r&quot;], [2, 2]) return fs r = [[ 1.0, 0.0],[0.0, 1.0]] with tf.io.TFRecordWriter(&quot;cc.test&quot;) as tfrecord_writer: feature = {&quot;r&quot;: tf.train.Feature(float_list=tf.train.FloatList(value=np.array(r).flatten() ))} example = tf.train.Example(features=tf.train.Features(feature=feature)) tfrecord_writer.write(example.SerializeToString()) dataset = tf.data.TFRecordDataset([&quot;cc.test&quot;]) dataset = dataset.map(parser).repeat().make_one_shot_iterator() features = dataset.get_next() x, y = tf.meshgrid(list(range(400)), list(range(400))) coords = tf.stack([x, y], -1) #(h,w,2) coords = tf.expand_dims(tf.cast(coords,tf.float32),-1) #(h,w,2,1) r1 = features[&quot;r&quot;] r2 = tf.constant(r) newCoords = tf.matmul(r1, coords) sess = tf.Session() ret = sess.run(newCoords[:,:,0,0]) plt.matshow(ret) plt.show()"><pre class="notranslate"><code class="notranslate">import tensorflow as tf import numpy as np import matplotlib.pyplot as plt def parser(serialized_example): fs = tf.io.parse_single_example( serialized_example, features={ "r": tf.FixedLenFeature([4], tf.float32) }) fs["r"] = tf.reshape(fs["r"], [2, 2]) return fs r = [[ 1.0, 0.0],[0.0, 1.0]] with tf.io.TFRecordWriter("cc.test") as tfrecord_writer: feature = {"r": tf.train.Feature(float_list=tf.train.FloatList(value=np.array(r).flatten() ))} example = tf.train.Example(features=tf.train.Features(feature=feature)) tfrecord_writer.write(example.SerializeToString()) dataset = tf.data.TFRecordDataset(["cc.test"]) dataset = dataset.map(parser).repeat().make_one_shot_iterator() features = dataset.get_next() x, y = tf.meshgrid(list(range(400)), list(range(400))) coords = tf.stack([x, y], -1) #(h,w,2) coords = tf.expand_dims(tf.cast(coords,tf.float32),-1) #(h,w,2,1) r1 = features["r"] r2 = tf.constant(r) newCoords = tf.matmul(r1, coords) sess = tf.Session() ret = sess.run(newCoords[:,:,0,0]) plt.matshow(ret) plt.show() </code></pre></div> <p dir="auto">The code will create "cc.test" file to save the variable <code class="notranslate">r</code> and load it as <code class="notranslate">r1</code>. Then matmul <code class="notranslate">r1</code> with some big varibles.</p>
<p dir="auto">Can't compile tensorflow on Ubuntu with Skylake CPU (i7-7820X). I get the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /home/Dmitry/Private/Kaggle/tensorflow/tensorflow/core/kernels/BUILD:1369:1: C++ compilation of rule '//tensorflow/core/kernels:range_sampler' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (cd /home/Dmitry/.cache/bazel/_bazel_Dmitry/a3a733ca304216612b7ed32f720401f1/execroot/org_tensorflow &amp;&amp; \ exec env - \ CUDA_TOOLKIT_PATH=/usr/local/cuda \ CUDNN_INSTALL_PATH=/usr/local/cuda-8.0 \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc-4.9 \ PWD=/proc/self/cwd \ PYTHON_BIN_PATH=/usr/bin/python \ PYTHON_LIB_PATH=/usr/local/lib/python2.7/dist-packages \ TF_CUDA_CLANG=0 \ TF_CUDA_COMPUTE_CAPABILITIES=6.1 \ TF_CUDA_VERSION=8.0 \ TF_CUDNN_VERSION=6 \ TF_NEED_CUDA=1 \ TF_NEED_OPENCL=0 \ external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-march=native' '-std=c++11' '-march=native' '-fabi-version=0' '-D_GLIBCXX_USE_CXX11_ABI=0' -MD -MF bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.d '-frandom-seed=bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.o' -fPIC -DEIGEN_MPL2_ONLY -DTENSORFLOW_USE_JEMALLOC -DSNAPPY -iquote . -iquote bazel-out/local_linux-opt/genfiles -iquote external/nsync -iquote bazel-out/local_linux-opt/genfiles/external/nsync -iquote external/bazel_tools -iquote bazel-out/local_linux-opt/genfiles/external/bazel_tools -iquote external/jemalloc -iquote bazel-out/local_linux-opt/genfiles/external/jemalloc -iquote external/protobuf_archive -iquote bazel-out/local_linux-opt/genfiles/external/protobuf_archive -iquote external/eigen_archive -iquote bazel-out/local_linux-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local_linux-opt/genfiles/external/local_config_sycl -iquote external/gif_archive -iquote bazel-out/local_linux-opt/genfiles/external/gif_archive -iquote external/jpeg -iquote bazel-out/local_linux-opt/genfiles/external/jpeg -iquote external/com_googlesource_code_re2 -iquote bazel-out/local_linux-opt/genfiles/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/local_linux-opt/genfiles/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/local_linux-opt/genfiles/external/fft2d -iquote external/highwayhash -iquote bazel-out/local_linux-opt/genfiles/external/highwayhash -iquote external/png_archive -iquote bazel-out/local_linux-opt/genfiles/external/png_archive -iquote external/zlib_archive -iquote bazel-out/local_linux-opt/genfiles/external/zlib_archive -iquote external/snappy -iquote bazel-out/local_linux-opt/genfiles/external/snappy -isystem external/nsync/public -isystem bazel-out/local_linux-opt/genfiles/external/nsync/public -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/jemalloc/include -isystem bazel-out/local_linux-opt/genfiles/external/jemalloc/include -isystem external/protobuf_archive/src -isystem bazel-out/local_linux-opt/genfiles/external/protobuf_archive/src -isystem external/eigen_archive -isystem bazel-out/local_linux-opt/genfiles/external/eigen_archive -isystem external/gif_archive/lib -isystem bazel-out/local_linux-opt/genfiles/external/gif_archive/lib -isystem external/farmhash_archive/src -isystem bazel-out/local_linux-opt/genfiles/external/farmhash_archive/src -isystem external/png_archive -isystem bazel-out/local_linux-opt/genfiles/external/png_archive -isystem external/zlib_archive -isystem bazel-out/local_linux-opt/genfiles/external/zlib_archive -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=&quot;redacted&quot;' '-D__TIMESTAMP__=&quot;redacted&quot;' '-D__TIME__=&quot;redacted&quot;' -fno-canonical-system-headers -c tensorflow/core/kernels/range_sampler.cc -o bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.o) In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:378:0, from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1, from ./tensorflow/core/lib/random/random_distributions.h:27, from ./tensorflow/core/lib/random/simple_philox.h:24, from ./tensorflow/core/lib/random/distribution_sampler.h:38, from ./tensorflow/core/kernels/range_sampler.h:23, from tensorflow/core/kernels/range_sampler.cc:16: external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(16) float; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = float]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:469:77: error: '_mm512_castsi512_ps' was not declared in this scope __m512 even_elements = _mm512_castsi512_ps(_mm512_cvtepu32_epi64(low_half)); ^ external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(8) double; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = double]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:478:56: error: '_mm512_insertf64x2' was not declared in this scope x = _mm512_insertf64x2(x, _mm_loaddup_pd(&amp;from[0]), 0); ^ In file included from ./tensorflow/core/platform/default/logging.h:24:0, from ./tensorflow/core/platform/logging.h:25, from ./tensorflow/core/lib/core/status.h:25, from ./tensorflow/core/kernels/range_sampler.h:21, from tensorflow/core/kernels/range_sampler.cc:16: ./tensorflow/core/platform/default/logging.h: In instantiation of 'std::string* tensorflow::internal::Check_LEImpl(const T1&amp;, const T2&amp;, const char*) [with T1 = long unsigned int; T2 = long long int; std::string = std::basic_string&lt;char&gt;]': tensorflow/core/kernels/range_sampler.cc:86:5: required from here ./tensorflow/core/platform/default/logging.h:230:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] TF_DEFINE_CHECK_OP_IMPL(Check_LE, &lt;= ) ^ ./tensorflow/core/platform/macros.h:79:29: note: in definition of macro 'TF_PREDICT_TRUE' #define TF_PREDICT_TRUE(x) (x) ^ ./tensorflow/core/platform/default/logging.h:230:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL' TF_DEFINE_CHECK_OP_IMPL(Check_LE, &lt;= ) ^ ./tensorflow/core/platform/default/logging.h: In instantiation of 'std::string* tensorflow::internal::Check_EQImpl(const T1&amp;, const T2&amp;, const char*) [with T1 = long long int; T2 = long unsigned int; std::string = std::basic_string&lt;char&gt;]': tensorflow/core/kernels/range_sampler.cc:244:3: required from here ./tensorflow/core/platform/default/logging.h:228:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] == ) // Compilation error with CHECK_EQ(NULL, x)? ^ ./tensorflow/core/platform/macros.h:79:29: note: in definition of macro 'TF_PREDICT_TRUE' #define TF_PREDICT_TRUE(x) (x) ^ ./tensorflow/core/platform/default/logging.h:227:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL' TF_DEFINE_CHECK_OP_IMPL(Check_EQ, ^ Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 1.894s, Critical Path: 1.15s FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">ERROR: /home/Dmitry/Private/Kaggle/tensorflow/tensorflow/core/kernels/BUILD:1369:1: C++ compilation of rule '//tensorflow/core/kernels:range_sampler' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (cd /home/Dmitry/.cache/bazel/_bazel_Dmitry/a3a733ca304216612b7ed32f720401f1/execroot/org_tensorflow &amp;&amp; \ exec env - \ CUDA_TOOLKIT_PATH=/usr/local/cuda \ CUDNN_INSTALL_PATH=/usr/local/cuda-8.0 \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc-4.9 \ PWD=/proc/self/cwd \ PYTHON_BIN_PATH=/usr/bin/python \ PYTHON_LIB_PATH=/usr/local/lib/python2.7/dist-packages \ TF_CUDA_CLANG=0 \ TF_CUDA_COMPUTE_CAPABILITIES=6.1 \ TF_CUDA_VERSION=8.0 \ TF_CUDNN_VERSION=6 \ TF_NEED_CUDA=1 \ TF_NEED_OPENCL=0 \ external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-march=native' '-std=c++11' '-march=native' '-fabi-version=0' '-D_GLIBCXX_USE_CXX11_ABI=0' -MD -MF bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.d '-frandom-seed=bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.o' -fPIC -DEIGEN_MPL2_ONLY -DTENSORFLOW_USE_JEMALLOC -DSNAPPY -iquote . -iquote bazel-out/local_linux-opt/genfiles -iquote external/nsync -iquote bazel-out/local_linux-opt/genfiles/external/nsync -iquote external/bazel_tools -iquote bazel-out/local_linux-opt/genfiles/external/bazel_tools -iquote external/jemalloc -iquote bazel-out/local_linux-opt/genfiles/external/jemalloc -iquote external/protobuf_archive -iquote bazel-out/local_linux-opt/genfiles/external/protobuf_archive -iquote external/eigen_archive -iquote bazel-out/local_linux-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local_linux-opt/genfiles/external/local_config_sycl -iquote external/gif_archive -iquote bazel-out/local_linux-opt/genfiles/external/gif_archive -iquote external/jpeg -iquote bazel-out/local_linux-opt/genfiles/external/jpeg -iquote external/com_googlesource_code_re2 -iquote bazel-out/local_linux-opt/genfiles/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/local_linux-opt/genfiles/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/local_linux-opt/genfiles/external/fft2d -iquote external/highwayhash -iquote bazel-out/local_linux-opt/genfiles/external/highwayhash -iquote external/png_archive -iquote bazel-out/local_linux-opt/genfiles/external/png_archive -iquote external/zlib_archive -iquote bazel-out/local_linux-opt/genfiles/external/zlib_archive -iquote external/snappy -iquote bazel-out/local_linux-opt/genfiles/external/snappy -isystem external/nsync/public -isystem bazel-out/local_linux-opt/genfiles/external/nsync/public -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/jemalloc/include -isystem bazel-out/local_linux-opt/genfiles/external/jemalloc/include -isystem external/protobuf_archive/src -isystem bazel-out/local_linux-opt/genfiles/external/protobuf_archive/src -isystem external/eigen_archive -isystem bazel-out/local_linux-opt/genfiles/external/eigen_archive -isystem external/gif_archive/lib -isystem bazel-out/local_linux-opt/genfiles/external/gif_archive/lib -isystem external/farmhash_archive/src -isystem bazel-out/local_linux-opt/genfiles/external/farmhash_archive/src -isystem external/png_archive -isystem bazel-out/local_linux-opt/genfiles/external/png_archive -isystem external/zlib_archive -isystem bazel-out/local_linux-opt/genfiles/external/zlib_archive -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fno-canonical-system-headers -c tensorflow/core/kernels/range_sampler.cc -o bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.o) In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:378:0, from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1, from ./tensorflow/core/lib/random/random_distributions.h:27, from ./tensorflow/core/lib/random/simple_philox.h:24, from ./tensorflow/core/lib/random/distribution_sampler.h:38, from ./tensorflow/core/kernels/range_sampler.h:23, from tensorflow/core/kernels/range_sampler.cc:16: external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(16) float; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = float]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:469:77: error: '_mm512_castsi512_ps' was not declared in this scope __m512 even_elements = _mm512_castsi512_ps(_mm512_cvtepu32_epi64(low_half)); ^ external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(8) double; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = double]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:478:56: error: '_mm512_insertf64x2' was not declared in this scope x = _mm512_insertf64x2(x, _mm_loaddup_pd(&amp;from[0]), 0); ^ In file included from ./tensorflow/core/platform/default/logging.h:24:0, from ./tensorflow/core/platform/logging.h:25, from ./tensorflow/core/lib/core/status.h:25, from ./tensorflow/core/kernels/range_sampler.h:21, from tensorflow/core/kernels/range_sampler.cc:16: ./tensorflow/core/platform/default/logging.h: In instantiation of 'std::string* tensorflow::internal::Check_LEImpl(const T1&amp;, const T2&amp;, const char*) [with T1 = long unsigned int; T2 = long long int; std::string = std::basic_string&lt;char&gt;]': tensorflow/core/kernels/range_sampler.cc:86:5: required from here ./tensorflow/core/platform/default/logging.h:230:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] TF_DEFINE_CHECK_OP_IMPL(Check_LE, &lt;= ) ^ ./tensorflow/core/platform/macros.h:79:29: note: in definition of macro 'TF_PREDICT_TRUE' #define TF_PREDICT_TRUE(x) (x) ^ ./tensorflow/core/platform/default/logging.h:230:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL' TF_DEFINE_CHECK_OP_IMPL(Check_LE, &lt;= ) ^ ./tensorflow/core/platform/default/logging.h: In instantiation of 'std::string* tensorflow::internal::Check_EQImpl(const T1&amp;, const T2&amp;, const char*) [with T1 = long long int; T2 = long unsigned int; std::string = std::basic_string&lt;char&gt;]': tensorflow/core/kernels/range_sampler.cc:244:3: required from here ./tensorflow/core/platform/default/logging.h:228:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] == ) // Compilation error with CHECK_EQ(NULL, x)? ^ ./tensorflow/core/platform/macros.h:79:29: note: in definition of macro 'TF_PREDICT_TRUE' #define TF_PREDICT_TRUE(x) (x) ^ ./tensorflow/core/platform/default/logging.h:227:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL' TF_DEFINE_CHECK_OP_IMPL(Check_EQ, ^ Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 1.894s, Critical Path: 1.15s FAILED: Build did NOT complete successfully </code></pre></div> <p dir="auto">OR the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /home/Dmitry/Private/Kaggle/tensorflow/tensorflow/core/BUILD:1299:1: C++ compilation of rule '//tensorflow/core:lib_internal' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (cd /home/Dmitry/.cache/bazel/_bazel_Dmitry/a3a733ca304216612b7ed32f720401f1/execroot/org_tensorflow &amp;&amp; \ exec env - \ CUDA_TOOLKIT_PATH=/usr/local/cuda \ CUDNN_INSTALL_PATH=/usr/local/cuda-8.0 \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc-4.9 \ PWD=/proc/self/cwd \ PYTHON_BIN_PATH=/usr/bin/python3 \ PYTHON_LIB_PATH=/usr/local/lib/python3.5/dist-packages \ TF_CUDA_CLANG=0 \ TF_CUDA_COMPUTE_CAPABILITIES=6.1 \ TF_CUDA_VERSION=8.0 \ TF_CUDNN_VERSION=6 \ TF_NEED_CUDA=1 \ TF_NEED_OPENCL=0 \ external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-march=native' '-std=c++11' '-march=native' '-fabi-version=0' '-D_GLIBCXX_USE_CXX11_ABI=0' -MD -MF bazel-out/local_linux-py3-opt/bin/tensorflow/core/_objs/lib_internal/tensorflow/core/lib/random/distribution_sampler.pic.d '-frandom-seed=bazel-out/local_linux-py3-opt/bin/tensorflow/core/_objs/lib_internal/tensorflow/core/lib/random/distribution_sampler.pic.o' -fPIC -DEIGEN_MPL2_ONLY -DTENSORFLOW_USE_JEMALLOC -DSNAPPY -iquote . -iquote bazel-out/local_linux-py3-opt/genfiles -iquote external/nsync -iquote bazel-out/local_linux-py3-opt/genfiles/external/nsync -iquote external/bazel_tools -iquote bazel-out/local_linux-py3-opt/genfiles/external/bazel_tools -iquote external/jemalloc -iquote bazel-out/local_linux-py3-opt/genfiles/external/jemalloc -iquote external/protobuf_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/protobuf_archive -iquote external/eigen_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local_linux-py3-opt/genfiles/external/local_config_sycl -iquote external/gif_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/gif_archive -iquote external/jpeg -iquote bazel-out/local_linux-py3-opt/genfiles/external/jpeg -iquote external/com_googlesource_code_re2 -iquote bazel-out/local_linux-py3-opt/genfiles/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/local_linux-py3-opt/genfiles/external/fft2d -iquote external/highwayhash -iquote bazel-out/local_linux-py3-opt/genfiles/external/highwayhash -iquote external/png_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/png_archive -iquote external/zlib_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/zlib_archive -iquote external/snappy -iquote bazel-out/local_linux-py3-opt/genfiles/external/snappy -isystem external/nsync/public -isystem bazel-out/local_linux-py3-opt/genfiles/external/nsync/public -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/jemalloc/include -isystem bazel-out/local_linux-py3-opt/genfiles/external/jemalloc/include -isystem external/protobuf_archive/src -isystem bazel-out/local_linux-py3-opt/genfiles/external/protobuf_archive/src -isystem external/eigen_archive -isystem bazel-out/local_linux-py3-opt/genfiles/external/eigen_archive -isystem external/gif_archive/lib -isystem bazel-out/local_linux-py3-opt/genfiles/external/gif_archive/lib -isystem external/farmhash_archive/src -isystem bazel-out/local_linux-py3-opt/genfiles/external/farmhash_archive/src -isystem external/png_archive -isystem bazel-out/local_linux-py3-opt/genfiles/external/png_archive -isystem external/zlib_archive -isystem bazel-out/local_linux-py3-opt/genfiles/external/zlib_archive -DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare -fno-exceptions '-ftemplate-depth=900' '-DGOOGLE_CUDA=1' -msse3 -pthread -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=&quot;redacted&quot;' '-D__TIMESTAMP__=&quot;redacted&quot;' '-D__TIME__=&quot;redacted&quot;' -fno-canonical-system-headers -c tensorflow/core/lib/random/distribution_sampler.cc -o bazel-out/local_linux-py3-opt/bin/tensorflow/core/_objs/lib_internal/tensorflow/core/lib/random/distribution_sampler.pic.o) In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:378:0, from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1, from ./tensorflow/core/lib/random/random_distributions.h:27, from ./tensorflow/core/lib/random/simple_philox.h:24, from ./tensorflow/core/lib/random/distribution_sampler.h:38, from tensorflow/core/lib/random/distribution_sampler.cc:16: external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(16) float; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = float]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:469:77: error: '_mm512_castsi512_ps' was not declared in this scope __m512 even_elements = _mm512_castsi512_ps(_mm512_cvtepu32_epi64(low_half)); ^ external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(8) double; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = double]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:478:56: error: '_mm512_insertf64x2' was not declared in this scope x = _mm512_insertf64x2(x, _mm_loaddup_pd(&amp;from[0]), 0); ^ Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 183.759s, Critical Path: 16.18s FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">ERROR: /home/Dmitry/Private/Kaggle/tensorflow/tensorflow/core/BUILD:1299:1: C++ compilation of rule '//tensorflow/core:lib_internal' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (cd /home/Dmitry/.cache/bazel/_bazel_Dmitry/a3a733ca304216612b7ed32f720401f1/execroot/org_tensorflow &amp;&amp; \ exec env - \ CUDA_TOOLKIT_PATH=/usr/local/cuda \ CUDNN_INSTALL_PATH=/usr/local/cuda-8.0 \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc-4.9 \ PWD=/proc/self/cwd \ PYTHON_BIN_PATH=/usr/bin/python3 \ PYTHON_LIB_PATH=/usr/local/lib/python3.5/dist-packages \ TF_CUDA_CLANG=0 \ TF_CUDA_COMPUTE_CAPABILITIES=6.1 \ TF_CUDA_VERSION=8.0 \ TF_CUDNN_VERSION=6 \ TF_NEED_CUDA=1 \ TF_NEED_OPENCL=0 \ external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-march=native' '-std=c++11' '-march=native' '-fabi-version=0' '-D_GLIBCXX_USE_CXX11_ABI=0' -MD -MF bazel-out/local_linux-py3-opt/bin/tensorflow/core/_objs/lib_internal/tensorflow/core/lib/random/distribution_sampler.pic.d '-frandom-seed=bazel-out/local_linux-py3-opt/bin/tensorflow/core/_objs/lib_internal/tensorflow/core/lib/random/distribution_sampler.pic.o' -fPIC -DEIGEN_MPL2_ONLY -DTENSORFLOW_USE_JEMALLOC -DSNAPPY -iquote . -iquote bazel-out/local_linux-py3-opt/genfiles -iquote external/nsync -iquote bazel-out/local_linux-py3-opt/genfiles/external/nsync -iquote external/bazel_tools -iquote bazel-out/local_linux-py3-opt/genfiles/external/bazel_tools -iquote external/jemalloc -iquote bazel-out/local_linux-py3-opt/genfiles/external/jemalloc -iquote external/protobuf_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/protobuf_archive -iquote external/eigen_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local_linux-py3-opt/genfiles/external/local_config_sycl -iquote external/gif_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/gif_archive -iquote external/jpeg -iquote bazel-out/local_linux-py3-opt/genfiles/external/jpeg -iquote external/com_googlesource_code_re2 -iquote bazel-out/local_linux-py3-opt/genfiles/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/local_linux-py3-opt/genfiles/external/fft2d -iquote external/highwayhash -iquote bazel-out/local_linux-py3-opt/genfiles/external/highwayhash -iquote external/png_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/png_archive -iquote external/zlib_archive -iquote bazel-out/local_linux-py3-opt/genfiles/external/zlib_archive -iquote external/snappy -iquote bazel-out/local_linux-py3-opt/genfiles/external/snappy -isystem external/nsync/public -isystem bazel-out/local_linux-py3-opt/genfiles/external/nsync/public -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/jemalloc/include -isystem bazel-out/local_linux-py3-opt/genfiles/external/jemalloc/include -isystem external/protobuf_archive/src -isystem bazel-out/local_linux-py3-opt/genfiles/external/protobuf_archive/src -isystem external/eigen_archive -isystem bazel-out/local_linux-py3-opt/genfiles/external/eigen_archive -isystem external/gif_archive/lib -isystem bazel-out/local_linux-py3-opt/genfiles/external/gif_archive/lib -isystem external/farmhash_archive/src -isystem bazel-out/local_linux-py3-opt/genfiles/external/farmhash_archive/src -isystem external/png_archive -isystem bazel-out/local_linux-py3-opt/genfiles/external/png_archive -isystem external/zlib_archive -isystem bazel-out/local_linux-py3-opt/genfiles/external/zlib_archive -DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare -fno-exceptions '-ftemplate-depth=900' '-DGOOGLE_CUDA=1' -msse3 -pthread -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fno-canonical-system-headers -c tensorflow/core/lib/random/distribution_sampler.cc -o bazel-out/local_linux-py3-opt/bin/tensorflow/core/_objs/lib_internal/tensorflow/core/lib/random/distribution_sampler.pic.o) In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:378:0, from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1, from ./tensorflow/core/lib/random/random_distributions.h:27, from ./tensorflow/core/lib/random/simple_philox.h:24, from ./tensorflow/core/lib/random/distribution_sampler.h:38, from tensorflow/core/lib/random/distribution_sampler.cc:16: external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(16) float; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = float]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:469:77: error: '_mm512_castsi512_ps' was not declared in this scope __m512 even_elements = _mm512_castsi512_ps(_mm512_cvtepu32_epi64(low_half)); ^ external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type*) [with Packet = __vector(8) double; typename Eigen::internal::unpacket_traits&lt;Packet&gt;::type = double]': external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:478:56: error: '_mm512_insertf64x2' was not declared in this scope x = _mm512_insertf64x2(x, _mm_loaddup_pd(&amp;from[0]), 0); ^ Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 183.759s, Critical Path: 16.18s FAILED: Build did NOT complete successfully </code></pre></div> <p dir="auto">Compilation command:</p> <p dir="auto"><code class="notranslate">bazel build --config=opt --config=cuda --cxxopt="-fabi-version=0" //tensorflow/tools/pip_package:build_pip_package --verbose_failures</code></p> <p dir="auto">Is it possible to disable AVX512 but leave all other native optimization parameters?</p>
0
<p dir="auto">This may be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="49176912" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/19058" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/19058/hovercard" href="https://github.com/rust-lang/rust/issues/19058">#19058</a>, but the code looks somewhat different - there is only one associated type. Here, the idea is to blanket impl a trait with an associated type based on another.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#![feature(associated_types)] trait Base {} trait AssocA { type X: Base; } trait AssocB { type Y: Base; } impl&lt;T: AssocA&gt; AssocB for T { type Y = &lt;T as AssocA&gt;::X; } fn main() {}"><pre class="notranslate"><code class="notranslate">#![feature(associated_types)] trait Base {} trait AssocA { type X: Base; } trait AssocB { type Y: Base; } impl&lt;T: AssocA&gt; AssocB for T { type Y = &lt;T as AssocA&gt;::X; } fn main() {} </code></pre></div> <p dir="auto">produces</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="asty.rs:9:1: 11:2 error: the trait `Base` is not implemented for the type `X` asty.rs:9 impl&lt;T: AssocA&gt; AssocB for T { asty.rs:10 type Y = &lt;T as AssocA&gt;::X; asty.rs:11 } asty.rs:9:1: 11:2 note: the trait `Base` must be implemented because it is required by `AssocB` asty.rs:9 impl&lt;T: AssocA&gt; AssocB for T { asty.rs:10 type Y = &lt;T as AssocA&gt;::X; asty.rs:11 }"><pre class="notranslate"><code class="notranslate">asty.rs:9:1: 11:2 error: the trait `Base` is not implemented for the type `X` asty.rs:9 impl&lt;T: AssocA&gt; AssocB for T { asty.rs:10 type Y = &lt;T as AssocA&gt;::X; asty.rs:11 } asty.rs:9:1: 11:2 note: the trait `Base` must be implemented because it is required by `AssocB` asty.rs:9 impl&lt;T: AssocA&gt; AssocB for T { asty.rs:10 type Y = &lt;T as AssocA&gt;::X; asty.rs:11 } </code></pre></div> <p dir="auto">which is clearly wrong, since AssocA::X is required to implement Base.</p>
<p dir="auto">I am attempting to build Rust version 1.0 on FreeBSD 10.1 for the first time. I've never tried to build Rust before and am somewhat new to FreeBSD (typically I use Linux and OSX).</p> <p dir="auto">Please let me know if there's any additional information I can provide.</p> <p dir="auto">Here is my system information:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# uname -a FreeBSD vultr 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr 7 01:09:46 UTC 2015 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64"><pre class="notranslate"><code class="notranslate"># uname -a FreeBSD vultr 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr 7 01:09:46 UTC 2015 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 </code></pre></div> <p dir="auto">Here is the output of <code class="notranslate">./configure</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="configure: looking for configure programs configure: found program cmp configure: found program mkdir configure: found program printf configure: found program cut configure: found program head configure: found program grep configure: found program xargs configure: found program cp configure: found program find configure: found program uname configure: found program date configure: found program tr configure: found program sed configure: found program file configure: found program make configure: inspecting environment configure: recreating config.tmp configure: configure: processing ./configure args configure: configure: CFG_LOCALSTATEDIR := /var/lib configure: CFG_SYSCONFDIR := /etc configure: CFG_DATADIR := /share configure: CFG_INFODIR := /share/info configure: CFG_LLVM_ROOT := configure: CFG_JEMALLOC_ROOT := configure: CFG_BUILD := x86_64-unknown-freebsd configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone configure: CFG_RELEASE_CHANNEL := dev configure: CFG_BUILD := x86_64-unknown-freebsd configure: CFG_LIBDIR := /usr/local/lib configure: configure: validating ./configure args configure: configure: CFG_BOOTSTRAP_KEY := 23:52:54 configure: configure: looking for build programs configure: configure: CFG_CURLORWGET := /usr/local/bin/curl (curl 7.42.1 (amd64-portbld-freebsd10.1) libcurl/7.42.1 OpenSSL/1.0.1l zlib/1.2.8) configure: CFG_PYTHON := /usr/local/bin/python2.7 configure: CFG_GIT := /usr/local/bin/git (git version 2.4.2) configure: git: no git directory. disabling submodules configure: CFG_CLANG := /usr/bin/clang++ (FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512) configure: CFG_CCACHE := configure: CFG_GCC := configure: CFG_LD := /usr/bin/ld (GNU ld 2.17.50 [FreeBSD] 2007-07-03) configure: CFG_VALGRIND := configure: CFG_PERF := configure: CFG_ISCC := configure: CFG_ANTLR4 := configure: CFG_GRUN := configure: CFG_FLEX := /usr/bin/flex (flex 2.5.37) configure: CFG_BISON := configure: CFG_PANDOC := configure: CFG_XELATEX := configure: CFG_GDB := /usr/bin/gdb (GNU gdb 6.1.1 [FreeBSD]) configure: CFG_LLDB := configure: CFG_GDB_VERSION := GNU gdb 6.1.1 [FreeBSD] configure: configure: looking for target specific programs configure: configure: CFG_ADB := configure: configure: on FreeBSD, forcing use of clang configure: configure: CFG_ENABLE_CLANG := 1 configure: CFG_USING_CLANG := 1 configure: configure: found ok version of CLANG: 3.4.1 configure: configure: CFG_CC := clang configure: CFG_CXX := clang++ configure: configure: making directories configure: configure: configure: configuring submodules configure: configure: configure: looking at LLVM configure: configure: configuring LLVM for x86_64-unknown-freebsd configure: configuring LLVM with: configure: --enable-targets=x86,x86_64,arm,aarch64,mips,powerpc --enable-optimized --disable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --enable-libcpp --build=x86_64-unknown-freebsd --host=x86_64-unknown-freebsd --target=x86_64-unknown-freebsd --with-python=/usr/local/bin/python2.7 checking for x86_64-unknown-freebsd-clang... clang -Qunused-arguments checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -Qunused-arguments accepts -g... yes checking for clang -Qunused-arguments option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether clang++ -Qunused-arguments accepts -g... yes checking how to run the C preprocessor... clang -Qunused-arguments -E checking whether GCC or Clang is our host compiler... clang checking build system type... x86_64-unknown-freebsd checking host system type... x86_64-unknown-freebsd checking target system type... x86_64-unknown-freebsd checking type of operating system we're going to host on... FreeBSD checking type of operating system we're going to target... FreeBSD checking target architecture... x86_64 checking whether Clang is new enough... yes checking optimization flags... -O2 checking for GNU make... gmake checking whether ln -s works... yes checking for nm... /usr/bin/nm checking for cmp... /usr/bin/cmp checking for cp... /bin/cp checking for date... /bin/date checking for find... /usr/bin/find checking for grep... /usr/bin/grep checking for mkdir... /bin/mkdir checking for mv... /bin/mv checking for x86_64-unknown-freebsd-ranlib... no checking for ranlib... ranlib checking for x86_64-unknown-freebsd-ar... no checking for ar... ar checking for rm... /bin/rm checking for sed... /usr/bin/sed checking for tar... /usr/bin/tar checking for pwd... /bin/pwd checking for dot... echo dot checking for a BSD-compatible install... /usr/bin/install -c checking for bzip2... /usr/bin/bzip2 checking for cat... /bin/cat checking for doxygen... no checking for groff... /usr/bin/groff checking for gzip... /usr/bin/gzip checking for pdfroff... no checking for zip... no checking for go... no checking for ocamlfind... no checking for gas... no checking for as... /usr/bin/as checking for linker version... 2.17.50 checking for compiler -Wl,-R&lt;path&gt; option... yes checking for compiler -rdynamic option... yes checking for compiler -Wl,--version-script option... no checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking tool compatibility... ok checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wcovered-switch-default -Wno-uninitialized -Wno-comment checking for python... user defined: /usr/local/bin/python2.7 checking for python &gt;= 2.7... /usr/local/bin/python2.7 (2.7.9) checking for sin in -lm... yes checking for library containing dlopen... none required checking for library containing clock_gettime... none required checking for library containing el_init... -ledit checking for library containing mallinfo... no checking for pthread_mutex_init in -lpthread... yes checking for library containing pthread_mutex_lock... none required checking for library containing pthread_rwlock_init... none required checking for library containing pthread_getspecific... none required checking for xml2-config... no checking for libxml2 includes... xml2-config not found checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for MAP_ANONYMOUS vs. MAP_ANON... yes checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for cxxabi.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking whether FE_ALL_EXCEPT is declared... yes checking whether FE_INEXACT is declared... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking CrashReporterClient.h usability... no checking CrashReporterClient.h presence... no checking for CrashReporterClient.h... no checking __crashreporter_info__... no checking for HUGE_VAL sanity... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int64_t... yes checking for uint64_t... yes checking for backtrace... no checking for ceilf... yes checking for floorf... yes checking for roundf... yes checking for rintf... yes checking for nearbyintf... yes checking for getcwd... yes checking for powf... yes checking for fmodf... yes checking for strtof... yes checking for round... yes checking for log... yes checking for log2... yes checking for log10... yes checking for exp... yes checking for exp2... yes checking for getpagesize... yes checking for getrusage... yes checking for getrlimit... yes checking for setrlimit... yes checking for gettimeofday... yes checking for isatty... yes checking for mkdtemp... yes checking for mkstemp... yes checking for mktemp... yes checking for posix_spawn... yes checking for pread... yes checking for realpath... yes checking for sbrk... yes checking for setrlimit... (cached) yes checking for strerror... yes checking for strerror_r... yes checking for setenv... yes checking for strtoll... yes checking for strtoq... yes checking for sysconf... yes checking for malloc_zone_statistics... no checking for setjmp... yes checking for longjmp... yes checking for sigsetjmp... yes checking for siglongjmp... yes checking for writev... yes checking for futimes... yes checking for futimens... no checking if printf has the %a format character... yes checking for srand48/lrand48/drand48 in &lt;stdlib.h&gt;... yes checking whether arc4random is declared... yes checking whether strerror_s is declared... no checking for isnan in &lt;math.h&gt;... yes checking for isnan in &lt;cmath&gt;... yes checking for std::isnan in &lt;cmath&gt;... yes checking for isinf in &lt;math.h&gt;... yes checking for isinf in &lt;cmath&gt;... yes checking for std::isinf in &lt;cmath&gt;... yes checking for finite in &lt;ieeefp.h&gt;... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for mmap of files... yes checking if /dev/zero is needed for mmap... no checking for GCC atomic builtins... yes checking for __dso_handle... yes checking for compiler -fvisibility-inlines-hidden option... yes configure: creating ./config.status config.status: creating include/llvm/Config/Targets.def config.status: creating include/llvm/Config/AsmPrinters.def config.status: creating include/llvm/Config/AsmParsers.def config.status: creating include/llvm/Config/Disassemblers.def config.status: creating Makefile.config config.status: creating llvm.spec config.status: creating docs/doxygen.cfg config.status: creating bindings/ocaml/llvm/META.llvm config.status: creating include/llvm/Config/config.h config.status: creating include/llvm/Config/llvm-config.h config.status: creating include/llvm/Support/DataTypes.h config.status: include/llvm/Support/DataTypes.h is unchanged config.status: executing setup commands config.status: executing Makefile commands config.status: executing Makefile.common commands config.status: executing examples/Makefile commands config.status: executing lib/Makefile commands config.status: executing test/Makefile commands config.status: executing test/Makefile.tests commands config.status: executing unittests/Makefile commands config.status: executing tools/Makefile commands config.status: executing utils/Makefile commands config.status: executing projects/Makefile commands config.status: executing bindings/Makefile commands config.status: executing bindings/ocaml/Makefile.ocaml commands configure: configure: writing configuration configure: configure: CFG_SRC_DIR := /root/rustc-1.0.0/ configure: CFG_BUILD_DIR := /root/rustc-1.0.0/ configure: CFG_OSTYPE := unknown-freebsd configure: CFG_CPUTYPE := x86_64 configure: CFG_CONFIGURE_ARGS := configure: CFG_PREFIX := /usr/local configure: CFG_HOST := x86_64-unknown-freebsd configure: CFG_TARGET := x86_64-unknown-freebsd configure: CFG_LIBDIR_RELATIVE := lib configure: CFG_DISABLE_MANAGE_SUBMODULES := 1 configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone configure: CFG_MANDIR := /usr/local/share/man configure: CFG_LLVM_SRC_DIR := /root/rustc-1.0.0/src/llvm/ configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_freebsd := /root/rustc-1.0.0/x86_64-unknown-fr ... configure: CFG_LLVM_INST_DIR_x86_64_unknown_freebsd := /root/rustc-1.0.0/x86_64-unknown-fr ... configure: configure: leaving ./Makefile unchanged configure: mv config.tmp config.mk configure: configure: configured in release mode. for development consider --enable-debug configure: configure: run `make help` configure: "><pre class="notranslate"><code class="notranslate">configure: looking for configure programs configure: found program cmp configure: found program mkdir configure: found program printf configure: found program cut configure: found program head configure: found program grep configure: found program xargs configure: found program cp configure: found program find configure: found program uname configure: found program date configure: found program tr configure: found program sed configure: found program file configure: found program make configure: inspecting environment configure: recreating config.tmp configure: configure: processing ./configure args configure: configure: CFG_LOCALSTATEDIR := /var/lib configure: CFG_SYSCONFDIR := /etc configure: CFG_DATADIR := /share configure: CFG_INFODIR := /share/info configure: CFG_LLVM_ROOT := configure: CFG_JEMALLOC_ROOT := configure: CFG_BUILD := x86_64-unknown-freebsd configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone configure: CFG_RELEASE_CHANNEL := dev configure: CFG_BUILD := x86_64-unknown-freebsd configure: CFG_LIBDIR := /usr/local/lib configure: configure: validating ./configure args configure: configure: CFG_BOOTSTRAP_KEY := 23:52:54 configure: configure: looking for build programs configure: configure: CFG_CURLORWGET := /usr/local/bin/curl (curl 7.42.1 (amd64-portbld-freebsd10.1) libcurl/7.42.1 OpenSSL/1.0.1l zlib/1.2.8) configure: CFG_PYTHON := /usr/local/bin/python2.7 configure: CFG_GIT := /usr/local/bin/git (git version 2.4.2) configure: git: no git directory. disabling submodules configure: CFG_CLANG := /usr/bin/clang++ (FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512) configure: CFG_CCACHE := configure: CFG_GCC := configure: CFG_LD := /usr/bin/ld (GNU ld 2.17.50 [FreeBSD] 2007-07-03) configure: CFG_VALGRIND := configure: CFG_PERF := configure: CFG_ISCC := configure: CFG_ANTLR4 := configure: CFG_GRUN := configure: CFG_FLEX := /usr/bin/flex (flex 2.5.37) configure: CFG_BISON := configure: CFG_PANDOC := configure: CFG_XELATEX := configure: CFG_GDB := /usr/bin/gdb (GNU gdb 6.1.1 [FreeBSD]) configure: CFG_LLDB := configure: CFG_GDB_VERSION := GNU gdb 6.1.1 [FreeBSD] configure: configure: looking for target specific programs configure: configure: CFG_ADB := configure: configure: on FreeBSD, forcing use of clang configure: configure: CFG_ENABLE_CLANG := 1 configure: CFG_USING_CLANG := 1 configure: configure: found ok version of CLANG: 3.4.1 configure: configure: CFG_CC := clang configure: CFG_CXX := clang++ configure: configure: making directories configure: configure: configure: configuring submodules configure: configure: configure: looking at LLVM configure: configure: configuring LLVM for x86_64-unknown-freebsd configure: configuring LLVM with: configure: --enable-targets=x86,x86_64,arm,aarch64,mips,powerpc --enable-optimized --disable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --enable-libcpp --build=x86_64-unknown-freebsd --host=x86_64-unknown-freebsd --target=x86_64-unknown-freebsd --with-python=/usr/local/bin/python2.7 checking for x86_64-unknown-freebsd-clang... clang -Qunused-arguments checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang -Qunused-arguments accepts -g... yes checking for clang -Qunused-arguments option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether clang++ -Qunused-arguments accepts -g... yes checking how to run the C preprocessor... clang -Qunused-arguments -E checking whether GCC or Clang is our host compiler... clang checking build system type... x86_64-unknown-freebsd checking host system type... x86_64-unknown-freebsd checking target system type... x86_64-unknown-freebsd checking type of operating system we're going to host on... FreeBSD checking type of operating system we're going to target... FreeBSD checking target architecture... x86_64 checking whether Clang is new enough... yes checking optimization flags... -O2 checking for GNU make... gmake checking whether ln -s works... yes checking for nm... /usr/bin/nm checking for cmp... /usr/bin/cmp checking for cp... /bin/cp checking for date... /bin/date checking for find... /usr/bin/find checking for grep... /usr/bin/grep checking for mkdir... /bin/mkdir checking for mv... /bin/mv checking for x86_64-unknown-freebsd-ranlib... no checking for ranlib... ranlib checking for x86_64-unknown-freebsd-ar... no checking for ar... ar checking for rm... /bin/rm checking for sed... /usr/bin/sed checking for tar... /usr/bin/tar checking for pwd... /bin/pwd checking for dot... echo dot checking for a BSD-compatible install... /usr/bin/install -c checking for bzip2... /usr/bin/bzip2 checking for cat... /bin/cat checking for doxygen... no checking for groff... /usr/bin/groff checking for gzip... /usr/bin/gzip checking for pdfroff... no checking for zip... no checking for go... no checking for ocamlfind... no checking for gas... no checking for as... /usr/bin/as checking for linker version... 2.17.50 checking for compiler -Wl,-R&lt;path&gt; option... yes checking for compiler -rdynamic option... yes checking for compiler -Wl,--version-script option... no checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking tool compatibility... ok checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wcovered-switch-default -Wno-uninitialized -Wno-comment checking for python... user defined: /usr/local/bin/python2.7 checking for python &gt;= 2.7... /usr/local/bin/python2.7 (2.7.9) checking for sin in -lm... yes checking for library containing dlopen... none required checking for library containing clock_gettime... none required checking for library containing el_init... -ledit checking for library containing mallinfo... no checking for pthread_mutex_init in -lpthread... yes checking for library containing pthread_mutex_lock... none required checking for library containing pthread_rwlock_init... none required checking for library containing pthread_getspecific... none required checking for xml2-config... no checking for libxml2 includes... xml2-config not found checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for MAP_ANONYMOUS vs. MAP_ANON... yes checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for cxxabi.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking link.h usability... yes checking link.h presence... yes checking for link.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking whether FE_ALL_EXCEPT is declared... yes checking whether FE_INEXACT is declared... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking CrashReporterClient.h usability... no checking CrashReporterClient.h presence... no checking for CrashReporterClient.h... no checking __crashreporter_info__... no checking for HUGE_VAL sanity... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int64_t... yes checking for uint64_t... yes checking for backtrace... no checking for ceilf... yes checking for floorf... yes checking for roundf... yes checking for rintf... yes checking for nearbyintf... yes checking for getcwd... yes checking for powf... yes checking for fmodf... yes checking for strtof... yes checking for round... yes checking for log... yes checking for log2... yes checking for log10... yes checking for exp... yes checking for exp2... yes checking for getpagesize... yes checking for getrusage... yes checking for getrlimit... yes checking for setrlimit... yes checking for gettimeofday... yes checking for isatty... yes checking for mkdtemp... yes checking for mkstemp... yes checking for mktemp... yes checking for posix_spawn... yes checking for pread... yes checking for realpath... yes checking for sbrk... yes checking for setrlimit... (cached) yes checking for strerror... yes checking for strerror_r... yes checking for setenv... yes checking for strtoll... yes checking for strtoq... yes checking for sysconf... yes checking for malloc_zone_statistics... no checking for setjmp... yes checking for longjmp... yes checking for sigsetjmp... yes checking for siglongjmp... yes checking for writev... yes checking for futimes... yes checking for futimens... no checking if printf has the %a format character... yes checking for srand48/lrand48/drand48 in &lt;stdlib.h&gt;... yes checking whether arc4random is declared... yes checking whether strerror_s is declared... no checking for isnan in &lt;math.h&gt;... yes checking for isnan in &lt;cmath&gt;... yes checking for std::isnan in &lt;cmath&gt;... yes checking for isinf in &lt;math.h&gt;... yes checking for isinf in &lt;cmath&gt;... yes checking for std::isinf in &lt;cmath&gt;... yes checking for finite in &lt;ieeefp.h&gt;... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for mmap of files... yes checking if /dev/zero is needed for mmap... no checking for GCC atomic builtins... yes checking for __dso_handle... yes checking for compiler -fvisibility-inlines-hidden option... yes configure: creating ./config.status config.status: creating include/llvm/Config/Targets.def config.status: creating include/llvm/Config/AsmPrinters.def config.status: creating include/llvm/Config/AsmParsers.def config.status: creating include/llvm/Config/Disassemblers.def config.status: creating Makefile.config config.status: creating llvm.spec config.status: creating docs/doxygen.cfg config.status: creating bindings/ocaml/llvm/META.llvm config.status: creating include/llvm/Config/config.h config.status: creating include/llvm/Config/llvm-config.h config.status: creating include/llvm/Support/DataTypes.h config.status: include/llvm/Support/DataTypes.h is unchanged config.status: executing setup commands config.status: executing Makefile commands config.status: executing Makefile.common commands config.status: executing examples/Makefile commands config.status: executing lib/Makefile commands config.status: executing test/Makefile commands config.status: executing test/Makefile.tests commands config.status: executing unittests/Makefile commands config.status: executing tools/Makefile commands config.status: executing utils/Makefile commands config.status: executing projects/Makefile commands config.status: executing bindings/Makefile commands config.status: executing bindings/ocaml/Makefile.ocaml commands configure: configure: writing configuration configure: configure: CFG_SRC_DIR := /root/rustc-1.0.0/ configure: CFG_BUILD_DIR := /root/rustc-1.0.0/ configure: CFG_OSTYPE := unknown-freebsd configure: CFG_CPUTYPE := x86_64 configure: CFG_CONFIGURE_ARGS := configure: CFG_PREFIX := /usr/local configure: CFG_HOST := x86_64-unknown-freebsd configure: CFG_TARGET := x86_64-unknown-freebsd configure: CFG_LIBDIR_RELATIVE := lib configure: CFG_DISABLE_MANAGE_SUBMODULES := 1 configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone configure: CFG_MANDIR := /usr/local/share/man configure: CFG_LLVM_SRC_DIR := /root/rustc-1.0.0/src/llvm/ configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_freebsd := /root/rustc-1.0.0/x86_64-unknown-fr ... configure: CFG_LLVM_INST_DIR_x86_64_unknown_freebsd := /root/rustc-1.0.0/x86_64-unknown-fr ... configure: configure: leaving ./Makefile unchanged configure: mv config.tmp config.mk configure: configure: configured in release mode. for development consider --enable-debug configure: configure: run `make help` configure: </code></pre></div> <p dir="auto">Here is the output of <code class="notranslate">make</code> which <strong>fails</strong>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="make: &quot;/root/rustc-1.0.0/mk/util.mk&quot; line 11: Need an operator make: &quot;/root/rustc-1.0.0/mk/util.mk&quot; line 14: Need an operator make: &quot;/root/rustc-1.0.0/mk/util.mk&quot; line 17: Need an operator make: &quot;/root/rustc-1.0.0/mk/reconfig.mk&quot; line 16: Need an operator make: &quot;/root/rustc-1.0.0/mk/reconfig.mk&quot; line 23: Need an operator make: &quot;/root/rustc-1.0.0/mk/reconfig.mk&quot; line 25: Need an operator make: &quot;/root/rustc-1.0.0/mk/reconfig.mk&quot; line 27: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/reconfig.mk&quot; line 28: Need an operator make: &quot;/root/rustc-1.0.0/mk/reconfig.mk&quot; line 31: Need an operator make: &quot;/root/rustc-1.0.0/mk/crates.mk&quot; line 132: Need an operator make: &quot;/root/rustc-1.0.0/mk/crates.mk&quot; line 137: Need an operator make: &quot;/root/rustc-1.0.0/mk/crates.mk&quot; line 139: Need an operator make: &quot;/root/rustc-1.0.0/mk/crates.mk&quot; line 144: Need an operator make: &quot;/root/rustc-1.0.0/mk/crates.mk&quot; line 146: Need an operator make: &quot;/root/rustc-1.0.0/mk/crates.mk&quot; line 148: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 25: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 31: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 32: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 36: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 37: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 44: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 45: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 48: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 62: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 63: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 68: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 69: Need an operator make: Unknown modifier ' ' make: Unknown modifier ''' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 90: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 92: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 96: Missing dependency operator make: Unknown modifier ' ' make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 98: Need an operator make: Unknown modifier ' ' make: Unknown modifier ' ' make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 104: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 106: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 107: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 109: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 118: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 119: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 122: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 125: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 129: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 130: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 132: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 134: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 136: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 137: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 139: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 141: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 143: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 144: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 146: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 147: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 149: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 150: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 152: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 153: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 155: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 156: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 158: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 16: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 18: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 19: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 20: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 23: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 25: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 26: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 27: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 38: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 39: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 41: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 43: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 47: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 53: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 55: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 58: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 59: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 62: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 63: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 65: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 66: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 67: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 69: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 70: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 71: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 72: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 73: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 75: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 76: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 77: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 79: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 81: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 82: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 83: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 86: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 88: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 89: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 90: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 98: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 99: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 100: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 101: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 103: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 104: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 105: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 107: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 108: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 109: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 112: Need an operator make: &quot;/root/rustc-1.0.0/mk/&quot; line 1: warning: Zero byte read from file, skipping rest of line. make: &quot;/root/rustc-1.0.0/mk/&quot; line 1: Need an operator make: &quot;/root/rustc-1.0.0/mk/&quot; line 3: warning: Zero byte read from file, skipping rest of line. make: &quot;/root/rustc-1.0.0/mk/&quot; line 3: Need an operator make: &quot;/root/rustc-1.0.0/mk/&quot; line 5: warning: Zero byte read from file, skipping rest of line. make: &quot;/root/rustc-1.0.0/mk/&quot; line 5: Need an operator make: &quot;/root/rustc-1.0.0/mk/&quot; line 7: Need an operator make: &quot;/root/rustc-1.0.0/mk/&quot; line 8: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 119: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 120: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 121: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 124: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 125: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 126: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 129: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 132: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 134: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 135: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 137: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 139: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 140: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 144: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 146: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 155: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 180: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 183: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 185: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 187: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 198: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 205: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 207: Need an operator make: &quot;/root/rustc-1.0.0/mk/platform.mk&quot; line 210: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 182: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 184: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 186: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 189: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 190: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 191: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 193: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 195: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 198: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 199: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 200: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 202: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 208: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 210: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 212: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 213: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 215: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 239: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 241: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 244: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 245: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 247: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 248: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 249: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 251: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 252: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 260: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 261: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 263: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 264: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 265: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 266: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 267: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 268: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 281: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 284: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 287: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 289: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 309: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 312: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 321: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 322: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 323: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 324: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 325: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 326: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 327: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 328: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 329: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 330: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 331: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 332: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 333: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 334: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 335: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 336: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 337: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 338: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 339: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 340: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 341: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 344: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 347: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 348: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 362: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 370: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 372: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 373: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 375: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 377: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 378: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 386: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 388: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 393: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 416: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 419: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 421: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 428: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 446: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 448: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 450: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 451: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 453: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 455: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 456: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 481: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 482: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 486: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 487: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 506: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 511: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 516: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 524: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 531: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 535: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 541: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 545: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 548: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 563: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 564: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 567: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 570: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 571: Need an operator make: &quot;/root/rustc-1.0.0/mk/main.mk&quot; line 575: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 42: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 80: warning: duplicate script for target &quot;$(RT_OUTPUT_DIR_)/%.o&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 77: warning: using previous script for &quot;$(RT_OUTPUT_DIR_)/%.o&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 81: warning: duplicate script for target &quot;$(RT_OUTPUT_DIR_)/%.o&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 77: warning: using previous script for &quot;$(RT_OUTPUT_DIR_)/%.o&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 85: warning: duplicate script for target &quot;$(RT_OUTPUT_DIR_)/%.o&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 77: warning: using previous script for &quot;$(RT_OUTPUT_DIR_)/%.o&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 89: warning: duplicate script for target &quot;$(RT_OUTPUT_DIR_)/%.o&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 77: warning: using previous script for &quot;$(RT_OUTPUT_DIR_)/%.o&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 90: warning: duplicate script for target &quot;$(RT_OUTPUT_DIR_)/%.o&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 77: warning: using previous script for &quot;$(RT_OUTPUT_DIR_)/%.o&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 91: warning: duplicate script for target &quot;$(RT_OUTPUT_DIR_)/%.o&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 77: warning: using previous script for &quot;$(RT_OUTPUT_DIR_)/%.o&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 92: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 94: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 101: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 113: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 116: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 119: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 130: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 134: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 140: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 142: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 144: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 146: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 148: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 154: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 156: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 162: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 169: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 171: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 173: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 190: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 192: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 193: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 197: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 199: warning: duplicate script for target &quot;$(JEMALLOC_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 196: warning: using previous script for &quot;$(JEMALLOC_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 200: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 201: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 203: warning: duplicate script for target &quot;$(JEMALLOC_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 196: warning: using previous script for &quot;$(JEMALLOC_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 204: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 205: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 207: warning: duplicate script for target &quot;$(JEMALLOC_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 196: warning: using previous script for &quot;$(JEMALLOC_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 208: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 214: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 216: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 222: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 255: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 260: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 261: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 264: warning: duplicate script for target &quot;$(BACKTRACE_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 258: warning: using previous script for &quot;$(BACKTRACE_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 265: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 267: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 270: warning: duplicate script for target &quot;$(BACKTRACE_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 258: warning: using previous script for &quot;$(BACKTRACE_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 271: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 273: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 275: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 277: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 306: warning: duplicate script for target &quot;$(BACKTRACE_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 258: warning: using previous script for &quot;$(BACKTRACE_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 308: warning: duplicate script for target &quot;$(BACKTRACE_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 258: warning: using previous script for &quot;$(BACKTRACE_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 309: warning: duplicate script for target &quot;$(BACKTRACE_LIB_)&quot; ignored make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 258: warning: using previous script for &quot;$(BACKTRACE_LIB_)&quot; defined here make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 311: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 312: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 313: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 315: Need an operator make: &quot;/root/rustc-1.0.0/mk/rt.mk&quot; line 319: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 14: Variable/Value missing from &quot;export&quot; make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 31: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 39: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 45: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 69: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 100: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 114: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 126: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 138: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 157: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 164: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 173: Need an operator make: &quot;/root/rustc-1.0.0/mk/target.mk&quot; line 179: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 19: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 21: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 34: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 36: warning: duplicate script for target &quot;$(HLIB_H_)/stamp.&quot; ignored make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 33: warning: using previous script for &quot;$(HLIB_H_)/stamp.&quot; defined here make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 37: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 39: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 42: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 51: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 60: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 62: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 65: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 67: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 72: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 78: Need an operator make: &quot;/root/rustc-1.0.0/mk/host.mk&quot; line 84: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 7: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 9: warning: duplicate script for target &quot;/&quot; ignored make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 4: warning: using previous script for &quot;/&quot; defined here make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 10: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 20: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 22: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 24: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 29: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 35: warning: duplicate script for target &quot;/&quot; ignored make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 4: warning: using previous script for &quot;/&quot; defined here make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 38: warning: duplicate script for target &quot;/&quot; ignored make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 4: warning: using previous script for &quot;/&quot; defined here make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 46: Need an operator make: &quot;/root/rustc-1.0.0/mk/stage0.mk&quot; line 51: Need an operator make: &quot;/root/rustc-1.0.0/mk/rustllvm.mk&quot; line 15: Need an operator make: &quot;/root/rustc-1.0.0/mk/rustllvm.mk&quot; line 20: Need an operator make: &quot;/root/rustc-1.0.0/mk/rustllvm.mk&quot; line 23: Need an operator make: &quot;/root/rustc-1.0.0/mk/rustllvm.mk&quot; line 44: Need an operator make: &quot;/root/rustc-1.0.0/mk/rustllvm.mk&quot; line 48: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 82: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 84: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 86: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 90: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 93: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 94: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 96: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 98: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 99: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 101: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 150: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 152: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 153: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 169: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 177: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 191: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 192: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 194: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 201: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 206: warning: duplicate script for target &quot;doc/.pdf&quot; ignored make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 200: warning: using previous script for &quot;doc/.pdf&quot; defined here make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 210: warning: duplicate script for target &quot;doc/.pdf&quot; ignored make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 200: warning: using previous script for &quot;doc/.pdf&quot; defined here make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 211: warning: duplicate script for target &quot;doc/.pdf&quot; ignored make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 200: warning: using previous script for &quot;doc/.pdf&quot; defined here make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 212: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 213: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 214: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 216: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 218: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 220: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 233: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 237: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 246: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 248: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 258: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 260: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 263: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 265: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 267: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 269: Need an operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 270: Need an operator make: &quot;/root/rustc-1.0.0/mk/docs.mk&quot; line 273: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 12: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 14: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 20: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 22: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 25: Missing dependency operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 33: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 46: Error in archive specification: &quot;&quot; make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 49: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 51: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 59: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 62: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 65: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 68: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 70: Need an operator make: &quot;/root/rustc-1.0.0/mk/llvm.mk&quot; line 77: Need an operator make: &quot;/root/rustc-1.0.0/mk/debuggers.mk&quot; line 54: Need an operator make: &quot;/root/rustc-1.0.0/mk/debuggers.mk&quot; line 89: Need an operator make: &quot;/root/rustc-1.0.0/mk/debuggers.mk&quot; line 94: Need an operator make: &quot;/root/rustc-1.0.0/mk/debuggers.mk&quot; line 99: Need an operator make: &quot;/root/rustc-1.0.0/mk/debuggers.mk&quot; line 134: Need an operator make: &quot;/root/rustc-1.0.0/mk/debuggers.mk&quot; line 140: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 214: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 216: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 217: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 223: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 225: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 226: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 227: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 230: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 232: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 233: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 238: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 240: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 241: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 246: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 248: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 249: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 252: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 254: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 255: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 258: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 260: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 261: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 265: Missing dependency operator make: Unknown modifier ' ' make: &quot;/root/rustc-1.0.0/Makefile&quot; line 267: Need an operator make: &quot;/root/rustc-1.0.0/Makefile&quot; line 268: Need an operator make: Fatal errors encountered -- cannot continue make: stopped in /root/rustc-1.0.0"><pre class="notranslate"><code class="notranslate">make: "/root/rustc-1.0.0/mk/util.mk" line 11: Need an operator make: "/root/rustc-1.0.0/mk/util.mk" line 14: Need an operator make: "/root/rustc-1.0.0/mk/util.mk" line 17: Need an operator make: "/root/rustc-1.0.0/mk/reconfig.mk" line 16: Need an operator make: "/root/rustc-1.0.0/mk/reconfig.mk" line 23: Need an operator make: "/root/rustc-1.0.0/mk/reconfig.mk" line 25: Need an operator make: "/root/rustc-1.0.0/mk/reconfig.mk" line 27: Missing dependency operator make: "/root/rustc-1.0.0/mk/reconfig.mk" line 28: Need an operator make: "/root/rustc-1.0.0/mk/reconfig.mk" line 31: Need an operator make: "/root/rustc-1.0.0/mk/crates.mk" line 132: Need an operator make: "/root/rustc-1.0.0/mk/crates.mk" line 137: Need an operator make: "/root/rustc-1.0.0/mk/crates.mk" line 139: Need an operator make: "/root/rustc-1.0.0/mk/crates.mk" line 144: Need an operator make: "/root/rustc-1.0.0/mk/crates.mk" line 146: Need an operator make: "/root/rustc-1.0.0/mk/crates.mk" line 148: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 25: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 31: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 32: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 36: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 37: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 44: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 45: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 48: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 62: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 63: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 68: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 69: Need an operator make: Unknown modifier ' ' make: Unknown modifier ''' make: "/root/rustc-1.0.0/mk/main.mk" line 90: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 92: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 96: Missing dependency operator make: Unknown modifier ' ' make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 98: Need an operator make: Unknown modifier ' ' make: Unknown modifier ' ' make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 104: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 106: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 107: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 109: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 118: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 119: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 122: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 125: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 129: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 130: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 132: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 134: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 136: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 137: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 139: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 141: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 143: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 144: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 146: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 147: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 149: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 150: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 152: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 153: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 155: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 156: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 158: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 16: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 18: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 19: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/platform.mk" line 20: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 23: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 25: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 26: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/platform.mk" line 27: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 38: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/platform.mk" line 39: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 41: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 43: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 47: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 53: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 55: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 58: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 59: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 62: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 63: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 65: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 66: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 67: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 69: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 70: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 71: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 72: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/platform.mk" line 73: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 75: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 76: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 77: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 79: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 81: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 82: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 83: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 86: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 88: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 89: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 90: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 98: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 99: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 100: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 101: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 103: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 104: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 105: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 107: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 108: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 109: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 112: Need an operator make: "/root/rustc-1.0.0/mk/" line 1: warning: Zero byte read from file, skipping rest of line. make: "/root/rustc-1.0.0/mk/" line 1: Need an operator make: "/root/rustc-1.0.0/mk/" line 3: warning: Zero byte read from file, skipping rest of line. make: "/root/rustc-1.0.0/mk/" line 3: Need an operator make: "/root/rustc-1.0.0/mk/" line 5: warning: Zero byte read from file, skipping rest of line. make: "/root/rustc-1.0.0/mk/" line 5: Need an operator make: "/root/rustc-1.0.0/mk/" line 7: Need an operator make: "/root/rustc-1.0.0/mk/" line 8: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 119: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 120: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 121: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 124: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 125: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 126: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 129: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 132: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 134: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 135: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 137: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 139: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 140: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 144: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 146: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 155: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 180: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/platform.mk" line 183: Missing dependency operator make: "/root/rustc-1.0.0/mk/platform.mk" line 185: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 187: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 198: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 205: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 207: Need an operator make: "/root/rustc-1.0.0/mk/platform.mk" line 210: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 182: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 184: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 186: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 189: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 190: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 191: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 193: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 195: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 198: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 199: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 200: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 202: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 208: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 210: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 212: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 213: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 215: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 239: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 241: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 244: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 245: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 247: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 248: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 249: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 251: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 252: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 260: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 261: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 263: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 264: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 265: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 266: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 267: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 268: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 281: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 284: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 287: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 289: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 309: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 312: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 321: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 322: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 323: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 324: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 325: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 326: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 327: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 328: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 329: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 330: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 331: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 332: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 333: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 334: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 335: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 336: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 337: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 338: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 339: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 340: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 341: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/main.mk" line 344: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 347: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 348: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/main.mk" line 362: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 370: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/main.mk" line 372: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 373: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 375: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 377: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 378: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 386: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 388: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 393: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 416: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 419: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 421: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 428: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 446: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 448: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 450: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 451: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/main.mk" line 453: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 455: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 456: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 481: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 482: Missing dependency operator make: "/root/rustc-1.0.0/mk/main.mk" line 486: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 487: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 506: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 511: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 516: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 524: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 531: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 535: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 541: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 545: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 548: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 563: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 564: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/main.mk" line 567: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 570: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 571: Need an operator make: "/root/rustc-1.0.0/mk/main.mk" line 575: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 42: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 80: warning: duplicate script for target "$(RT_OUTPUT_DIR_)/%.o" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 77: warning: using previous script for "$(RT_OUTPUT_DIR_)/%.o" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 81: warning: duplicate script for target "$(RT_OUTPUT_DIR_)/%.o" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 77: warning: using previous script for "$(RT_OUTPUT_DIR_)/%.o" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 85: warning: duplicate script for target "$(RT_OUTPUT_DIR_)/%.o" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 77: warning: using previous script for "$(RT_OUTPUT_DIR_)/%.o" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 89: warning: duplicate script for target "$(RT_OUTPUT_DIR_)/%.o" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 77: warning: using previous script for "$(RT_OUTPUT_DIR_)/%.o" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 90: warning: duplicate script for target "$(RT_OUTPUT_DIR_)/%.o" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 77: warning: using previous script for "$(RT_OUTPUT_DIR_)/%.o" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 91: warning: duplicate script for target "$(RT_OUTPUT_DIR_)/%.o" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 77: warning: using previous script for "$(RT_OUTPUT_DIR_)/%.o" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 92: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 94: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 101: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 113: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 116: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 119: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 130: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 134: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/rt.mk" line 140: Missing dependency operator make: "/root/rustc-1.0.0/mk/rt.mk" line 142: Missing dependency operator make: "/root/rustc-1.0.0/mk/rt.mk" line 144: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 146: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 148: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 154: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 156: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 162: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 169: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/rt.mk" line 171: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 173: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 190: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/rt.mk" line 192: Missing dependency operator make: "/root/rustc-1.0.0/mk/rt.mk" line 193: Missing dependency operator make: "/root/rustc-1.0.0/mk/rt.mk" line 197: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 199: warning: duplicate script for target "$(JEMALLOC_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 196: warning: using previous script for "$(JEMALLOC_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 200: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 201: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 203: warning: duplicate script for target "$(JEMALLOC_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 196: warning: using previous script for "$(JEMALLOC_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 204: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 205: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 207: warning: duplicate script for target "$(JEMALLOC_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 196: warning: using previous script for "$(JEMALLOC_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 208: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 214: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 216: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 222: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 255: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/rt.mk" line 260: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 261: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/rt.mk" line 264: warning: duplicate script for target "$(BACKTRACE_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 258: warning: using previous script for "$(BACKTRACE_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 265: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 267: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/rt.mk" line 270: warning: duplicate script for target "$(BACKTRACE_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 258: warning: using previous script for "$(BACKTRACE_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 271: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 273: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 275: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 277: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 306: warning: duplicate script for target "$(BACKTRACE_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 258: warning: using previous script for "$(BACKTRACE_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 308: warning: duplicate script for target "$(BACKTRACE_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 258: warning: using previous script for "$(BACKTRACE_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 309: warning: duplicate script for target "$(BACKTRACE_LIB_)" ignored make: "/root/rustc-1.0.0/mk/rt.mk" line 258: warning: using previous script for "$(BACKTRACE_LIB_)" defined here make: "/root/rustc-1.0.0/mk/rt.mk" line 311: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 312: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 313: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 315: Need an operator make: "/root/rustc-1.0.0/mk/rt.mk" line 319: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 14: Variable/Value missing from "export" make: "/root/rustc-1.0.0/mk/target.mk" line 31: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 39: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 45: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 69: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 100: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 114: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 126: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 138: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 157: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 164: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 173: Need an operator make: "/root/rustc-1.0.0/mk/target.mk" line 179: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 19: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 21: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/host.mk" line 34: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 36: warning: duplicate script for target "$(HLIB_H_)/stamp." ignored make: "/root/rustc-1.0.0/mk/host.mk" line 33: warning: using previous script for "$(HLIB_H_)/stamp." defined here make: "/root/rustc-1.0.0/mk/host.mk" line 37: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 39: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 42: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 51: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 60: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 62: Missing dependency operator make: "/root/rustc-1.0.0/mk/host.mk" line 65: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 67: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 72: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 78: Need an operator make: "/root/rustc-1.0.0/mk/host.mk" line 84: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 7: Missing dependency operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 9: warning: duplicate script for target "/" ignored make: "/root/rustc-1.0.0/mk/stage0.mk" line 4: warning: using previous script for "/" defined here make: "/root/rustc-1.0.0/mk/stage0.mk" line 10: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 20: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 22: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 24: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 29: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 35: warning: duplicate script for target "/" ignored make: "/root/rustc-1.0.0/mk/stage0.mk" line 4: warning: using previous script for "/" defined here make: "/root/rustc-1.0.0/mk/stage0.mk" line 38: warning: duplicate script for target "/" ignored make: "/root/rustc-1.0.0/mk/stage0.mk" line 4: warning: using previous script for "/" defined here make: "/root/rustc-1.0.0/mk/stage0.mk" line 46: Need an operator make: "/root/rustc-1.0.0/mk/stage0.mk" line 51: Need an operator make: "/root/rustc-1.0.0/mk/rustllvm.mk" line 15: Need an operator make: "/root/rustc-1.0.0/mk/rustllvm.mk" line 20: Need an operator make: "/root/rustc-1.0.0/mk/rustllvm.mk" line 23: Need an operator make: "/root/rustc-1.0.0/mk/rustllvm.mk" line 44: Need an operator make: "/root/rustc-1.0.0/mk/rustllvm.mk" line 48: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 82: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 84: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 86: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 90: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 93: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/docs.mk" line 94: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 96: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 98: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/docs.mk" line 99: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 101: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 150: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 152: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 153: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 169: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 177: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 191: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 192: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 194: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 201: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 206: warning: duplicate script for target "doc/.pdf" ignored make: "/root/rustc-1.0.0/mk/docs.mk" line 200: warning: using previous script for "doc/.pdf" defined here make: "/root/rustc-1.0.0/mk/docs.mk" line 210: warning: duplicate script for target "doc/.pdf" ignored make: "/root/rustc-1.0.0/mk/docs.mk" line 200: warning: using previous script for "doc/.pdf" defined here make: "/root/rustc-1.0.0/mk/docs.mk" line 211: warning: duplicate script for target "doc/.pdf" ignored make: "/root/rustc-1.0.0/mk/docs.mk" line 200: warning: using previous script for "doc/.pdf" defined here make: "/root/rustc-1.0.0/mk/docs.mk" line 212: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 213: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 214: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 216: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 218: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 220: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 233: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 237: Missing dependency operator make: "/root/rustc-1.0.0/mk/docs.mk" line 246: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 248: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 258: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 260: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 263: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 265: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 267: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 269: Need an operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/mk/docs.mk" line 270: Need an operator make: "/root/rustc-1.0.0/mk/docs.mk" line 273: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 12: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 14: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 20: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 22: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 25: Missing dependency operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 33: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 46: Error in archive specification: "" make: "/root/rustc-1.0.0/mk/llvm.mk" line 49: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 51: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 59: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 62: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 65: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 68: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 70: Need an operator make: "/root/rustc-1.0.0/mk/llvm.mk" line 77: Need an operator make: "/root/rustc-1.0.0/mk/debuggers.mk" line 54: Need an operator make: "/root/rustc-1.0.0/mk/debuggers.mk" line 89: Need an operator make: "/root/rustc-1.0.0/mk/debuggers.mk" line 94: Need an operator make: "/root/rustc-1.0.0/mk/debuggers.mk" line 99: Need an operator make: "/root/rustc-1.0.0/mk/debuggers.mk" line 134: Need an operator make: "/root/rustc-1.0.0/mk/debuggers.mk" line 140: Need an operator make: "/root/rustc-1.0.0/Makefile" line 214: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 216: Need an operator make: "/root/rustc-1.0.0/Makefile" line 217: Need an operator make: "/root/rustc-1.0.0/Makefile" line 223: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 225: Need an operator make: "/root/rustc-1.0.0/Makefile" line 226: Need an operator make: "/root/rustc-1.0.0/Makefile" line 227: Need an operator make: "/root/rustc-1.0.0/Makefile" line 230: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 232: Need an operator make: "/root/rustc-1.0.0/Makefile" line 233: Need an operator make: "/root/rustc-1.0.0/Makefile" line 238: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 240: Need an operator make: "/root/rustc-1.0.0/Makefile" line 241: Need an operator make: "/root/rustc-1.0.0/Makefile" line 246: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 248: Need an operator make: "/root/rustc-1.0.0/Makefile" line 249: Need an operator make: "/root/rustc-1.0.0/Makefile" line 252: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 254: Need an operator make: "/root/rustc-1.0.0/Makefile" line 255: Need an operator make: "/root/rustc-1.0.0/Makefile" line 258: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 260: Need an operator make: "/root/rustc-1.0.0/Makefile" line 261: Need an operator make: "/root/rustc-1.0.0/Makefile" line 265: Missing dependency operator make: Unknown modifier ' ' make: "/root/rustc-1.0.0/Makefile" line 267: Need an operator make: "/root/rustc-1.0.0/Makefile" line 268: Need an operator make: Fatal errors encountered -- cannot continue make: stopped in /root/rustc-1.0.0 </code></pre></div>
0
<p dir="auto">I'm currently building type definitions for this library as I use it, so I'll eventually finish the whole thing.</p> <p dir="auto">However, if anyone has already written some, please contribute (or just link to a repo) to cut down on duplicate work. I can help with test coverage.</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/webappsec-credential-management</code> package and had problems.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> [Mention] <ul dir="auto"> <li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/iainmcgin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/iainmcgin">@iainmcgin</a></li> </ul> </li> </ul> <p dir="auto">I got lots of errors with [email protected]</p> <p dir="auto">ERROR in [at-loader] node_modules@types\webappsec-credential-management\index.d.ts:82:15<br> TS2300: Duplicate identifier 'URLSearchParams'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:11:13<br> TS2451: Cannot redeclare block-scoped variable 'fetch'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:13:14<br> TS2300: Duplicate identifier 'HeadersInit'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:14:15<br> TS2300: Duplicate identifier 'Headers'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:31:14<br> TS2300: Duplicate identifier 'BodyInit'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:43:14<br> TS2300: Duplicate identifier 'RequestInfo'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:44:15<br> TS2300: Duplicate identifier 'Request'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:64:11<br> TS2300: Duplicate identifier 'Request'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:88:15<br> TS2300: Duplicate identifier 'Response'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-fetch\index.d.ts:107:11<br> TS2300: Duplicate identifier 'Response'.</p> <p dir="auto">ERROR in [at-loader] node_modules@types\whatwg-streams\index.d.ts:32:15<br> TS2300: Duplicate identifier 'ReadableStream'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:6945:11<br> TS2300: Duplicate identifier 'Headers'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:6954:13<br> TS2300: Duplicate identifier 'Headers'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:9321:11<br> TS2300: Duplicate identifier 'ReadableStream'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:9327:13<br> TS2300: Duplicate identifier 'ReadableStream'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:9343:11<br> TS2300: Duplicate identifier 'Request'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:9360:13<br> TS2300: Duplicate identifier 'Request'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:9365:11<br> TS2300: Duplicate identifier 'Response'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:9376:13<br> TS2300: Duplicate identifier 'Response'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:13858:11<br> TS2300: Duplicate identifier 'URLSearchParams'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:13885:13<br> TS2300: Duplicate identifier 'URLSearchParams'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:14893:18<br> TS2451: Cannot redeclare block-scoped variable 'fetch'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:14898:6<br> TS2300: Duplicate identifier 'BodyInit'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:14919:6<br> TS2300: Duplicate identifier 'HeadersInit'.</p> <p dir="auto">ERROR in [at-loader] node_modules\typescript\lib\lib.dom.d.ts:14929:6<br> TS2300: Duplicate identifier 'RequestInfo'.</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.2</li> <li>Operating System / Platform =&gt; Ubuntu 16.04</li> <li>Compiler =&gt; CMAKE</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Hello I tried to reinstalling my opencv with TBB support, but when I tried to install it, there is error in the video_stab when I tried to run -make j8 in the command. The reason why I re install because I need TBB support in my code. Is there anyone has same problem with me and solved this problem? Thank you</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">cmake -D CMAKE_BUILD_TYPE=RELEASE <br> -D CMAKE_INSTALL_PREFIX=/usr/local <br> -D INSTALL_PYTHON_EXAMPLES=ON <br> -D INSTALL_C_EXAMPLES=OFF <br> -D WITH_CUDA=ON <br> -D ENABLE_FAST_MATH=1 <br> -D CUDA_FAST_MATH=1 <br> -D WITH_CUBLAS=1 <br> -D OPENCV_EXTRA_MODULES_PATH="/home/ee401_2/opencv_install/opencv_contrib-3.4.2/modules" <br> -D BUILD_EXAMPLES=ON <br> -D WITH_TBB=ON <br> -D BUILD_opencv_xfeatures2d=ON ..</p> <p dir="auto">make -j8</p> <h4 dir="auto">Error</h4> <p dir="auto">[ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_generalized_hough.dir/generalized_hough.cpp.o<br> [ 89%] Built target opencv_perf_superres<br> [ 89%] Linking CXX executable ../../bin/example_gpu_hog<br> Scanning dependencies of target example_gpu_cascadeclassifier<br> [ 89%] Built target example_gpu_stereo_match<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_cascadeclassifier.dir/cascadeclassifier.cpp.o<br> Scanning dependencies of target example_gpu_super_resolution<br> [ 89%] Built target opencv_test_superres<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_super_resolution.dir/super_resolution.cpp.o<br> Scanning dependencies of target example_gpu_multi<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_multi.dir/multi.cpp.o<br> [ 89%] Linking CXX executable ../../bin/example_gpu_opticalflow_nvidia_api<br> [ 89%] Linking CXX executable ../../bin/example_gpu_generalized_hough<br> [ 89%] Built target example_gpu_hog<br> [ 89%] Linking CXX executable ../../bin/example_gpu_stereo_multi<br> Scanning dependencies of target example_gpu_video_writer<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_video_writer.dir/video_writer.cpp.o<br> [ 89%] Built target example_gpu_opticalflow_nvidia_api<br> Scanning dependencies of target example_gpu_morphology<br> [ 89%] Linking CXX executable ../../bin/example_gpu_video_writer<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_morphology.dir/morphology.cpp.o<br> [ 89%] Linking CXX executable ../../bin/example_gpu_super_resolution<br> [ 89%] Built target example_gpu_generalized_hough<br> Scanning dependencies of target example_gpu_bgfg_segm<br> [ 89%] Built target example_gpu_stereo_multi<br> [ 89%] Built target example_gpu_video_writer<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_bgfg_segm.dir/bgfg_segm.cpp.o<br> Scanning dependencies of target example_gpu_pyrlk_optical_flow<br> [ 89%] Linking CXX executable ../../bin/example_gpu_multi<br> [ 89%] Building CXX object samples/gpu/CMakeFiles/example_gpu_pyrlk_optical_flow.dir/pyrlk_optical_flow.cpp.o<br> /usr/bin/ld: CMakeFiles/example_gpu_multi.dir/multi.cpp.o: undefined reference to symbol '_ZN3tbb18task_group_contextD1Ev'<br> //usr/lib/x86_64-linux-gnu/libtbb.so.2: error adding symbols: DSO missing from command line<br> collect2: error: ld returned 1 exit status<br> samples/gpu/CMakeFiles/example_gpu_multi.dir/build.make:122: recipe for target 'bin/example_gpu_multi' failed<br> make[2]: *** [bin/example_gpu_multi] Error 1<br> CMakeFiles/Makefile2:48496: recipe for target 'samples/gpu/CMakeFiles/example_gpu_multi.dir/all' failed<br> make[1]: *** [samples/gpu/CMakeFiles/example_gpu_multi.dir/all] Error 2<br> make[1]: *** Waiting for unfinished jobs....<br> [ 89%] Linking CXX executable ../../bin/example_gpu_cascadeclassifier<br> [ 89%] Built target example_gpu_super_resolution<br> [ 89%] Linking CXX executable ../../bin/example_gpu_morphology<br> [ 89%] Built target example_gpu_cascadeclassifier<br> [ 89%] Linking CXX executable ../../bin/example_gpu_bgfg_segm<br> [ 89%] Built target example_gpu_morphology<br> [ 89%] Linking CXX executable ../../bin/example_gpu_pyrlk_optical_flow<br> [ 89%] Built target example_gpu_bgfg_segm<br> [ 89%] Built target example_gpu_pyrlk_optical_flow<br> Scanning dependencies of target opencv_videostab<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/deblurring.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/frame_source.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/fast_marching.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/global_motion.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/wobble_suppression.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/motion_stabilizing.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/outlier_rejection.cpp.o<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/optical_flow.cpp.o<br> cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because <code class="notranslate">OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch] cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because </code>OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]<br> cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because <code class="notranslate">OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch] cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because </code>OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]<br> cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because <code class="notranslate">OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch] cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because </code>OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]<br> cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because <code class="notranslate">OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch] cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because </code>OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/stabilizer.cpp.o<br> cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because <code class="notranslate">OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch] [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/log.cpp.o cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because </code>OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]<br> [ 89%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/inpainting.cpp.o<br> cc1plus: warning: /home/ee401_2/opencv_install/opencv-3.4.2/build2/modules/videostab/precomp.hpp.gch/opencv_videostab_RELEASE.gch: not used because `OPENCV_TRAITS_ENABLE_DEPRECATED' is defined [-Winvalid-pch]<br> [ 89%] Linking CXX shared library ../../lib/libopencv_videostab.so<br> [ 89%] Built target opencv_videostab<br> Makefile:160: recipe for target 'all' failed<br> make: *** [all] Error 2</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4</li> <li>Operating System / Platform =&gt; Linux Ubuntu 16.04 64 bit</li> <li>Compiler =&gt; GCC version 5.4.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">While installing OpenCV 3.4 (using GCC 5.4.0, cuda 8, nvidia driver 378.1), the make command fails fails with the following errors:</p> <p dir="auto">[ 87%] Linking CXX executable ../../bin/example_gpu_multi<br> /usr/bin/ld: CMakeFiles/example_gpu_multi.dir/multi.cpp.o: undefined reference to symbol '_ZN3tbb18task_group_contextD1Ev'<br> //usr/lib/x86_64-linux-gnu/libtbb.so.2: error adding symbols: DSO missing from command line<br> collect2: error: ld returned 1 exit status<br> samples/gpu/CMakeFiles/example_gpu_multi.dir/build.make:124: recipe for target 'bin/example_gpu_multi' failed<br> make[2]: *** [bin/example_gpu_multi] Error 1<br> CMakeFiles/Makefile2:48855: recipe for target 'samples/gpu/CMakeFiles/example_gpu_multi.dir/all' failed<br> make[1]: *** [samples/gpu/CMakeFiles/example_gpu_multi.dir/all] Error 2<br> make[1]: *** Waiting for unfinished jobs....<br> [ 87%] Linking CXX executable ../../bin/opencv_perf_superres</p> <p dir="auto">I am using cuda8 because that is what is required for the application I am installing</p> <h5 dir="auto">Steps to reproduce</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev cd ~/&lt;my_working_directory&gt; sudo apt-get update git clone https://github.com/opencv/opencv.git git clone https://github.com/opencv/opencv_contrib.git cd ~/opencv mkdir build cd build cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local/opencv3 -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_EXTRA_MODULES_PATH=$HOME/opencv_contrib/modules -D BUILD_EXAMPLES=ON -D BUILD_opencv_python2=OFF -D WITH_FFMPEG=1 -D WITH_CUDA=1 -D WITH_QT=ON -D WITH_OPENGL=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D WITH_IPP=ON -D PYTHON3_EXECUTABLE=/home/taylor/anaconda3/bin/python -D PYTHON3_INCLUDE_PATH=/home/taylor/anaconda3/include/python3.6m -D PYTHON3_LIBRARY=/home/taylor/anaconda3/lib/python3.6/site-packages -D CMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs .. make -j8 -l8"><pre class="notranslate"><code class="notranslate">sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev cd ~/&lt;my_working_directory&gt; sudo apt-get update git clone https://github.com/opencv/opencv.git git clone https://github.com/opencv/opencv_contrib.git cd ~/opencv mkdir build cd build cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local/opencv3 -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_EXTRA_MODULES_PATH=$HOME/opencv_contrib/modules -D BUILD_EXAMPLES=ON -D BUILD_opencv_python2=OFF -D WITH_FFMPEG=1 -D WITH_CUDA=1 -D WITH_QT=ON -D WITH_OPENGL=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D WITH_IPP=ON -D PYTHON3_EXECUTABLE=/home/taylor/anaconda3/bin/python -D PYTHON3_INCLUDE_PATH=/home/taylor/anaconda3/include/python3.6m -D PYTHON3_LIBRARY=/home/taylor/anaconda3/lib/python3.6/site-packages -D CMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs .. make -j8 -l8 </code></pre></div>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/bonfire-friendly-date-ranges" rel="nofollow">Bonfire: Friendly Date Ranges</a></p> <p dir="auto">Strange test cases. I think they is expired:<br> friendly(["2015-07-01", "2015-07-04"]) should return ["July 1st","4th"]<br> friendly(["2016-03-01", "2016-05-05"]) should return ["March 1st","May 5th"]</p> <p dir="auto">"July 1st","4th"<br> "March 1st","May 5th"</p> <p dir="auto">User can't understand that it is 2015 and 2016 years.</p>
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/bonfire-friendly-date-ranges" rel="nofollow">http://freecodecamp.com/challenges/bonfire-friendly-date-ranges</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">I know this has been debated before, and I understand that if the dates are within 11 months it can be inferred that it is the following year, but test 4 (below) should require a year given that this is a requirement: "Secondly, if the starting year is the current year, and the ending year can be inferred by the reader, the year should be omitted."</p> <p dir="auto">As the 4th test is 2016/2016, it can't be inferred the year is 2016 unless there is assumed all dates are in the future, it could have been in 2015.</p> <p dir="auto">Could either the test condition, or the task description be changed to reflect this?</p>
1
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> <li>Documentation Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">vmware_guest</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.2.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides python version = 2.7.5 (default, Jun 17 2014, 18:11:42) [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)]"><pre class="notranslate"><code class="notranslate">$ansible 2.3.2.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides python version = 2.7.5 (default, Jun 17 2014, 18:11:42) [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults] host_key_checking = false callback_plugins = callback inventory = ../inventory/infra roles_path = ../roles retry_files_enabled = False"><pre class="notranslate"><code class="notranslate">[defaults] host_key_checking = false callback_plugins = callback inventory = ../inventory/infra roles_path = ../roles retry_files_enabled = False </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Linux mymachine 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux"><pre class="notranslate"><code class="notranslate">Linux mymachine 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux </code></pre></div> <h5 dir="auto">SUMMARY</h5> <p dir="auto">The VM is created every time I launch the playbook. So finally we have a duplication of the VM.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Fill the following task for a play as "connection:local" and play it to connect to a vCenter in 5.5.0</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" - name: Create VMs for templates vmware_guest: hostname: &quot;{{ vsphere_server }}&quot; #vmware username: &quot;{{ user }}&quot; #vmware password: &quot;{{password }}&quot; #vmware validate_certs: no cluster: &quot;{{ machine.cluster }}&quot; datacenter: &quot;{{ machine.datacenter }}&quot; name: &quot;{{ machine.name }}&quot; #seen in the vsphere hostname name_match: first # supposed to prevent duplicated vm template: &quot;{{ template_windows if machine.os == 'windows' else template_linux }}&quot; hardware: memory_mb: &quot;{{ machine.memory }}&quot; num_cpus: &quot;{{ machine.vcpu }}&quot; networks : &quot;{{machine.iplist}}&quot; disk: &quot;{{machine.vdisks}}&quot; state: poweredon"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Create VMs for templates</span> <span class="pl-ent">vmware_guest</span>: <span class="pl-ent">hostname</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vsphere_server }}<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span>vmware</span> <span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ user }}<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span>vmware</span> <span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{password }}<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span>vmware</span> <span class="pl-ent">validate_certs</span>: <span class="pl-s">no</span> <span class="pl-ent">cluster</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ machine.cluster }}<span class="pl-pds">"</span></span> <span class="pl-ent">datacenter</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ machine.datacenter }}<span class="pl-pds">"</span></span> <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ machine.name }}<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span>seen in the vsphere hostname</span> <span class="pl-ent">name_match</span>: <span class="pl-s">first </span><span class="pl-c"><span class="pl-c">#</span> supposed to prevent duplicated vm</span> <span class="pl-ent">template</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ template_windows if machine.os == 'windows' else template_linux }}<span class="pl-pds">"</span></span> <span class="pl-ent">hardware</span>: <span class="pl-ent">memory_mb</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ machine.memory }}<span class="pl-pds">"</span></span> <span class="pl-ent">num_cpus</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ machine.vcpu }}<span class="pl-pds">"</span></span> <span class="pl-ent">networks </span>: <span class="pl-s"><span class="pl-pds">"</span>{{machine.iplist}}<span class="pl-pds">"</span></span> <span class="pl-ent">disk</span>: <span class="pl-s"><span class="pl-pds">"</span>{{machine.vdisks}}<span class="pl-pds">"</span></span> <span class="pl-ent">state</span>: <span class="pl-s">poweredon</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">When you play it several times, a new VM is created each time instead of using the one previously created, finally you get a duplicated VM</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Duplicated VM</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [generateMachine : Create VMs for templates] *************************************************************************************************************** task path: /root/3-quickVm_management/roles/generateMachine/tasks/linux.yml:3 Using module file /usr/lib/python2.7/site-packages/ansible/modules/cloud/vmware/vmware_guest.py &lt;127.0.0.1&gt; ESTABLISH LOCAL CONNECTION FOR USER: root &lt;127.0.0.1&gt; EXEC /bin/sh -c 'echo ~ &amp;&amp; sleep 0' &lt;127.0.0.1&gt; EXEC /bin/sh -c '( umask 77 &amp;&amp; mkdir -p &quot;` echo /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258 `&quot; &amp;&amp; echo ansible-tmp-1510160462.81-92627317344258=&quot;` echo /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258 `&quot; ) &amp;&amp; sleep 0' &lt;127.0.0.1&gt; PUT /tmp/tmpgQsSZr TO /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/vmware_guest.py &lt;127.0.0.1&gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/ /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/vmware_guest.py &amp;&amp; sleep 0' &lt;127.0.0.1&gt; EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/vmware_guest.py; rm -rf &quot;/root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/&quot; &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0' changed: [127.0.0.1] =&gt; { &quot;changed&quot;: true, &quot;failed&quot;: false, &quot;instance&quot;: { &quot;annotation&quot;: &quot;&quot;, &quot;current_snapshot&quot;: null, &quot;customvalues&quot;: {}, &quot;guest_tools_status&quot;: &quot;guestToolsNotRunning&quot;, &quot;guest_tools_version&quot;: &quot;10249&quot;, &quot;hw_eth0&quot;: { &quot;addresstype&quot;: &quot;assigned&quot;, &quot;ipaddresses&quot;: null, &quot;label&quot;: &quot;Network adaptor 1&quot;, &quot;macaddress&quot;: &quot;00:50:56:94:07:93&quot;, &quot;macaddress_dash&quot;: &quot;00-50-56-94-07-93&quot;, &quot;summary&quot;: &quot;DVSwitch : 91 3f 14 50 7d 79 85 56-59 4d 79 63 62 a3 3f 23&quot; }, &quot;hw_guest_full_name&quot;: null, &quot;hw_guest_id&quot;: null, &quot;hw_interfaces&quot;: [ &quot;eth0&quot; ], &quot;hw_memtotal_mb&quot;: 8192, &quot;hw_name&quot;: &quot;myVm&quot;, &quot;hw_power_status&quot;: &quot;poweredOn&quot;, &quot;hw_processor_count&quot;: 2, &quot;hw_product_uuid&quot;: &quot;4214102c-be1d-4d67-04ee-8b9d116343ef&quot;, &quot;ipv4&quot;: null, &quot;ipv6&quot;: null, &quot;module_hw&quot;: true, &quot;snapshots&quot;: [] }, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;annotation&quot;: null, &quot;cluster&quot;: &quot;myCluster&quot;, &quot;customization&quot;: {}, &quot;customvalues&quot;: [], &quot;datacenter&quot;: &quot;myDatacenter&quot;, &quot;disk&quot;: [ { &quot;datastore&quot;: &quot;MyDatastore&quot;, &quot;size_gb&quot;: 40, &quot;type&quot;: &quot;thin&quot; }, { &quot;datastore&quot;: &quot;MyDatastore&quot;, &quot;size_gb&quot;: 10, &quot;type&quot;: &quot;thin&quot; } ], &quot;esxi_hostname&quot;: null, &quot;folder&quot;: &quot;/vm&quot;, &quot;force&quot;: false, &quot;guest_id&quot;: null, &quot;hardware&quot;: { &quot;memory_mb&quot;: &quot;8192&quot;, &quot;num_cpus&quot;: &quot;2&quot; }, &quot;hostname&quot;: &quot;192.168.204.40&quot;, &quot;is_template&quot;: false, &quot;name&quot;: &quot;myVm&quot;, &quot;name_match&quot;: &quot;first&quot;, &quot;networks&quot;: [ { &quot;gateway&quot;: &quot;192.168.204.1&quot;, &quot;ip&quot;: &quot;192.168.204.148&quot;, &quot;name&quot;: &quot;myNetwork&quot;, &quot;netmask&quot;: &quot;255.255.255.0&quot; } ], &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;, &quot;resource_pool&quot;: null, &quot;state&quot;: &quot;poweredon&quot;, &quot;template&quot;: &quot;myTemplate&quot;, &quot;template_src&quot;: &quot;myTemplate&quot;, &quot;username&quot;: &quot;XXXXXXXXX&quot;, &quot;uuid&quot;: null, &quot;validate_certs&quot;: false, &quot;wait_for_ip_address&quot;: false } } } "><pre class="notranslate"><code class="notranslate">TASK [generateMachine : Create VMs for templates] *************************************************************************************************************** task path: /root/3-quickVm_management/roles/generateMachine/tasks/linux.yml:3 Using module file /usr/lib/python2.7/site-packages/ansible/modules/cloud/vmware/vmware_guest.py &lt;127.0.0.1&gt; ESTABLISH LOCAL CONNECTION FOR USER: root &lt;127.0.0.1&gt; EXEC /bin/sh -c 'echo ~ &amp;&amp; sleep 0' &lt;127.0.0.1&gt; EXEC /bin/sh -c '( umask 77 &amp;&amp; mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258 `" &amp;&amp; echo ansible-tmp-1510160462.81-92627317344258="` echo /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258 `" ) &amp;&amp; sleep 0' &lt;127.0.0.1&gt; PUT /tmp/tmpgQsSZr TO /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/vmware_guest.py &lt;127.0.0.1&gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/ /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/vmware_guest.py &amp;&amp; sleep 0' &lt;127.0.0.1&gt; EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/vmware_guest.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1510160462.81-92627317344258/" &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0' changed: [127.0.0.1] =&gt; { "changed": true, "failed": false, "instance": { "annotation": "", "current_snapshot": null, "customvalues": {}, "guest_tools_status": "guestToolsNotRunning", "guest_tools_version": "10249", "hw_eth0": { "addresstype": "assigned", "ipaddresses": null, "label": "Network adaptor 1", "macaddress": "00:50:56:94:07:93", "macaddress_dash": "00-50-56-94-07-93", "summary": "DVSwitch : 91 3f 14 50 7d 79 85 56-59 4d 79 63 62 a3 3f 23" }, "hw_guest_full_name": null, "hw_guest_id": null, "hw_interfaces": [ "eth0" ], "hw_memtotal_mb": 8192, "hw_name": "myVm", "hw_power_status": "poweredOn", "hw_processor_count": 2, "hw_product_uuid": "4214102c-be1d-4d67-04ee-8b9d116343ef", "ipv4": null, "ipv6": null, "module_hw": true, "snapshots": [] }, "invocation": { "module_args": { "annotation": null, "cluster": "myCluster", "customization": {}, "customvalues": [], "datacenter": "myDatacenter", "disk": [ { "datastore": "MyDatastore", "size_gb": 40, "type": "thin" }, { "datastore": "MyDatastore", "size_gb": 10, "type": "thin" } ], "esxi_hostname": null, "folder": "/vm", "force": false, "guest_id": null, "hardware": { "memory_mb": "8192", "num_cpus": "2" }, "hostname": "192.168.204.40", "is_template": false, "name": "myVm", "name_match": "first", "networks": [ { "gateway": "192.168.204.1", "ip": "192.168.204.148", "name": "myNetwork", "netmask": "255.255.255.0" } ], "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "resource_pool": null, "state": "poweredon", "template": "myTemplate", "template_src": "myTemplate", "username": "XXXXXXXXX", "uuid": null, "validate_certs": false, "wait_for_ip_address": false } } } </code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.1.0 config file = configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.1.1.0 config file = configured module search path = Default w/o overrides </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto"><strong>hosts file:</strong></p> <p dir="auto">[localhost]<br> 127.0.0.1</p> <p dir="auto">[localhost:vars]<br> ansible_connection=local</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">UBUNTU 16.04 LTS</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Running a playbook with inventory file which have group of 127.0.0.1 and also with localhost as a host cause the playbook to be executed as if we have 2 hosts, but the commands actually runs on the same host, and can be faulty depends on the tasks.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="command: ansible-playbook -i inventory/hosts playbook.yml playbook: - hosts: localhost connection: local tasks: - foo"><pre class="notranslate"><code class="notranslate">command: ansible-playbook -i inventory/hosts playbook.yml playbook: - hosts: localhost connection: local tasks: - foo </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">==&gt; default: TASK [setup] *******************************************************************<br> ==&gt; default: ok: [127.0.0.1]<br> ==&gt; default:<br> ==&gt; default: TASK [foo] *****************************************************<br> ==&gt; default: ok: [127.0.0.1 -&gt; localhost]</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">==&gt; default: TASK [setup] *******************************************************************<br> ==&gt; default: ok: [127.0.0.1]<br> ==&gt; default: ok: [localhost]<br> ==&gt; default:<br> ==&gt; default: TASK [foo] *****************************************************<br> ==&gt; default: ok: [localhost -&gt; localhost]<br> ==&gt; default: ok: [127.0.0.1 -&gt; localhost]</p> <p dir="auto">I could bypass this issue by changing my command to:<br> <strong>ansible-playbook -i localhost, playbook.yml</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"> </code></pre></div>
0
<h1 dir="auto">Rust version:</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.0.0-nightly (3ef8ff1f8 2015-02-12 00:38:24 +0000) binary: rustc commit-hash: 3ef8ff1f81107b42840a695725e1a0869c163355 commit-date: 2015-02-12 00:38:24 +0000 host: x86_64-apple-darwin release: 1.0.0-nightly"><pre class="notranslate"><code class="notranslate">rustc 1.0.0-nightly (3ef8ff1f8 2015-02-12 00:38:24 +0000) binary: rustc commit-hash: 3ef8ff1f81107b42840a695725e1a0869c163355 commit-date: 2015-02-12 00:38:24 +0000 host: x86_64-apple-darwin release: 1.0.0-nightly </code></pre></div> <h1 dir="auto">Error:</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="➜ rust-crdt git:(master) ✗ env RUST_BACKTRACE=1 cargo build --verbose Compiling rust-crdt v0.0.1 (file:///Users/graham/Developer/rust-crdt) Running `rustc src/lib.rs --crate-name rust-crdt --crate-type lib -g -C metadata=8dcd9444cd87d8ff -C extra-filename=-8dcd9444cd87d8ff --out-dir /Users/graham/Developer/rust-crdt/target --emit=dep-info,link -L dependency=/Users/graham/Developer/rust-crdt/target -L dependency=/Users/graham/Developer/rust-crdt/target/deps` error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'assertion failed: did.krate != ast::LOCAL_CRATE', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/librustc/middle/ty.rs:5383 stack backtrace: 1: 0x10f2f30a7 - sys::backtrace::write::h1864de2e29cfcfa3jWA 2: 0x10f31aa02 - failure::on_fail::hb779450ca026c246YwJ 3: 0x10f265708 - rt::unwind::begin_unwind_inner::h252a44c757d4dd84eeJ 4: 0x10c0f1555 - rt::unwind::begin_unwind::h9848272882995846808 5: 0x10c454881 - middle::ty::lookup_trait_def::h8e358ea41ffb8ee8kv9 6: 0x10c49c2f7 - middle::ty::predicates_for_trait_ref::hac77857a3eb8aa54qw9 7: 0x10c473a74 - middle::traits::util::Elaborator&lt;'cx, 'tcx&gt;.Iterator::next::h6c40d87b882069f31DU 8: 0x10c478e71 - middle::traits::util::Supertraits&lt;'cx, 'tcx&gt;.Iterator::next::h992e5ba45c909e1bCGU 9: 0x10bdab44d - astconv::ast_ty_to_ty::closure.34168 10: 0x10bd49efd - astconv::ast_ty_to_ty::hfc281cfabc6cd159VHv 11: 0x10bda1ed8 - vec::Vec&lt;T&gt;.FromIterator&lt;T&gt;::from_iter::h5118803716913674361 12: 0x10bd9ff1b - astconv::convert_angle_bracketed_parameters::hec3579c8a4af0b23sPu 13: 0x10bda3c84 - astconv::ast_path_to_trait_ref::h6fdf175b9a3f0841w2u 14: 0x10bd5509b - astconv::instantiate_trait_ref::ha8d70047126381c3dZu 15: 0x10bda30ca - astconv::instantiate_poly_trait_ref::he6516e6713c959acCXu 16: 0x10bdd2b89 - collect::compute_bounds::h41181afabd0333f8b9x 17: 0x10bdbab0a - collect::trait_def_of_item::h4ebf2ffacbbee292Esx 18: 0x10bdb918f - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::h983a5bf4695c0168PCw 19: 0x10bdf860f - check_crate::closure.35183 20: 0x10bdf6625 - check_crate::h6350381f56a0ec2akrB 21: 0x10b79a2f5 - driver::phase_3_run_analysis_passes::h875436d46bd4a86dSGa 22: 0x10b780261 - driver::compile_input::h95c8a48d55aa4f35Eba 23: 0x10b8530a0 - run_compiler::h94216d35105add495bc 24: 0x10b850572 - thunk::F.Invoke&lt;A, R&gt;::invoke::h12503301436629523007 25: 0x10b84f240 - rt::unwind::try::try_fn::h15374797505029523364 26: 0x10f3921a9 - rust_try_inner 27: 0x10f392196 - rust_try 28: 0x10b84f939 - thunk::F.Invoke&lt;A, R&gt;::invoke::h5615031943461454492 29: 0x10f304733 - sys::thread::thread_start::ha3ace5b5b28cf521mOE 30: 0x7fff93d6f268 - _pthread_body 31: 0x7fff93d6f1e5 - _pthread_body Could not compile `rust-crdt`. Caused by: Process didn't exit successfully: `rustc src/lib.rs --crate-name rust-crdt --crate-type lib -g -C metadata=8dcd9444cd87d8ff -C extra-filename=-8dcd9444cd87d8ff --out-dir /Users/graham/Developer/rust-crdt/target --emit=dep-info,link -L dependency=/Users/graham/Developer/rust-crdt/target -L dependency=/Users/graham/Developer/rust-crdt/target/deps` (status=101)"><pre class="notranslate"><code class="notranslate">➜ rust-crdt git:(master) ✗ env RUST_BACKTRACE=1 cargo build --verbose Compiling rust-crdt v0.0.1 (file:///Users/graham/Developer/rust-crdt) Running `rustc src/lib.rs --crate-name rust-crdt --crate-type lib -g -C metadata=8dcd9444cd87d8ff -C extra-filename=-8dcd9444cd87d8ff --out-dir /Users/graham/Developer/rust-crdt/target --emit=dep-info,link -L dependency=/Users/graham/Developer/rust-crdt/target -L dependency=/Users/graham/Developer/rust-crdt/target/deps` error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'assertion failed: did.krate != ast::LOCAL_CRATE', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/librustc/middle/ty.rs:5383 stack backtrace: 1: 0x10f2f30a7 - sys::backtrace::write::h1864de2e29cfcfa3jWA 2: 0x10f31aa02 - failure::on_fail::hb779450ca026c246YwJ 3: 0x10f265708 - rt::unwind::begin_unwind_inner::h252a44c757d4dd84eeJ 4: 0x10c0f1555 - rt::unwind::begin_unwind::h9848272882995846808 5: 0x10c454881 - middle::ty::lookup_trait_def::h8e358ea41ffb8ee8kv9 6: 0x10c49c2f7 - middle::ty::predicates_for_trait_ref::hac77857a3eb8aa54qw9 7: 0x10c473a74 - middle::traits::util::Elaborator&lt;'cx, 'tcx&gt;.Iterator::next::h6c40d87b882069f31DU 8: 0x10c478e71 - middle::traits::util::Supertraits&lt;'cx, 'tcx&gt;.Iterator::next::h992e5ba45c909e1bCGU 9: 0x10bdab44d - astconv::ast_ty_to_ty::closure.34168 10: 0x10bd49efd - astconv::ast_ty_to_ty::hfc281cfabc6cd159VHv 11: 0x10bda1ed8 - vec::Vec&lt;T&gt;.FromIterator&lt;T&gt;::from_iter::h5118803716913674361 12: 0x10bd9ff1b - astconv::convert_angle_bracketed_parameters::hec3579c8a4af0b23sPu 13: 0x10bda3c84 - astconv::ast_path_to_trait_ref::h6fdf175b9a3f0841w2u 14: 0x10bd5509b - astconv::instantiate_trait_ref::ha8d70047126381c3dZu 15: 0x10bda30ca - astconv::instantiate_poly_trait_ref::he6516e6713c959acCXu 16: 0x10bdd2b89 - collect::compute_bounds::h41181afabd0333f8b9x 17: 0x10bdbab0a - collect::trait_def_of_item::h4ebf2ffacbbee292Esx 18: 0x10bdb918f - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::h983a5bf4695c0168PCw 19: 0x10bdf860f - check_crate::closure.35183 20: 0x10bdf6625 - check_crate::h6350381f56a0ec2akrB 21: 0x10b79a2f5 - driver::phase_3_run_analysis_passes::h875436d46bd4a86dSGa 22: 0x10b780261 - driver::compile_input::h95c8a48d55aa4f35Eba 23: 0x10b8530a0 - run_compiler::h94216d35105add495bc 24: 0x10b850572 - thunk::F.Invoke&lt;A, R&gt;::invoke::h12503301436629523007 25: 0x10b84f240 - rt::unwind::try::try_fn::h15374797505029523364 26: 0x10f3921a9 - rust_try_inner 27: 0x10f392196 - rust_try 28: 0x10b84f939 - thunk::F.Invoke&lt;A, R&gt;::invoke::h5615031943461454492 29: 0x10f304733 - sys::thread::thread_start::ha3ace5b5b28cf521mOE 30: 0x7fff93d6f268 - _pthread_body 31: 0x7fff93d6f1e5 - _pthread_body Could not compile `rust-crdt`. Caused by: Process didn't exit successfully: `rustc src/lib.rs --crate-name rust-crdt --crate-type lib -g -C metadata=8dcd9444cd87d8ff -C extra-filename=-8dcd9444cd87d8ff --out-dir /Users/graham/Developer/rust-crdt/target --emit=dep-info,link -L dependency=/Users/graham/Developer/rust-crdt/target -L dependency=/Users/graham/Developer/rust-crdt/target/deps` (status=101) </code></pre></div> <h1 dir="auto">Source code:</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std::sync::Arc; enum CRDTOperation&lt;T : CRDTSnapshot&gt; { Initialise, Local(T::Operation, T), Merge(T, T), } trait CRDTLocalOperation&lt;State&gt; { fn apply(&amp;self, state: &amp;State) -&gt; &amp;State; } trait CRDTSnapshot { type State; type Operation : CRDTLocalOperation&lt;Self::State&gt;; fn current_state(&amp;self) -&gt; &amp;Self::State; fn last_operation(&amp;self) -&gt; &amp;CRDTOperation&lt;Self::Operation&gt;; } enum CounterOperation { Increment(i64), } impl CRDTLocalOperation&lt;i64&gt; for CounterOperation { fn apply(&amp;self, state: &amp;i64) -&gt; &amp;i64 { match *self { CounterOperation::Increment(increment) =&gt; increment + state } } } struct CounterSnapshot { current_state: i64, last_operation: CRDTOperation&lt;CounterSnapshot&gt; } impl CounterSnapshot { fn new() -&gt; CounterSnapshot { CounterSnapshot { current_state: 0, last_operation: CRDTOperation::Initialise } } } impl CRDTSnapshot for CounterSnapshot { type State = i64; type Operation = CounterOperation; fn current_state(&amp;self) -&gt; &amp;i64 { &amp;self.current_state } fn last_operation(&amp;self) -&gt; &amp;CounterOperation { &amp;self.last_operation } } #[test] fn it_works() { let counter = CounterSnapshot::new(); } "><pre class="notranslate"><code class="notranslate">use std::sync::Arc; enum CRDTOperation&lt;T : CRDTSnapshot&gt; { Initialise, Local(T::Operation, T), Merge(T, T), } trait CRDTLocalOperation&lt;State&gt; { fn apply(&amp;self, state: &amp;State) -&gt; &amp;State; } trait CRDTSnapshot { type State; type Operation : CRDTLocalOperation&lt;Self::State&gt;; fn current_state(&amp;self) -&gt; &amp;Self::State; fn last_operation(&amp;self) -&gt; &amp;CRDTOperation&lt;Self::Operation&gt;; } enum CounterOperation { Increment(i64), } impl CRDTLocalOperation&lt;i64&gt; for CounterOperation { fn apply(&amp;self, state: &amp;i64) -&gt; &amp;i64 { match *self { CounterOperation::Increment(increment) =&gt; increment + state } } } struct CounterSnapshot { current_state: i64, last_operation: CRDTOperation&lt;CounterSnapshot&gt; } impl CounterSnapshot { fn new() -&gt; CounterSnapshot { CounterSnapshot { current_state: 0, last_operation: CRDTOperation::Initialise } } } impl CRDTSnapshot for CounterSnapshot { type State = i64; type Operation = CounterOperation; fn current_state(&amp;self) -&gt; &amp;i64 { &amp;self.current_state } fn last_operation(&amp;self) -&gt; &amp;CounterOperation { &amp;self.last_operation } } #[test] fn it_works() { let counter = CounterSnapshot::new(); } </code></pre></div>
<p dir="auto">The code below triggers an internal compiler error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'rustc' panicked at 'assertion failed: did.krate != ast::LOCAL_CRATE', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/librustc/middle/ty.rs:5341"><pre class="notranslate"><code class="notranslate">thread 'rustc' panicked at 'assertion failed: did.krate != ast::LOCAL_CRATE', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/librustc/middle/ty.rs:5341 </code></pre></div> <p dir="auto">Smallest input file that tickles the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="trait A&lt;X&gt; { } trait B { type X; type Y : A&lt;Self::X&gt;; } fn main () { }"><pre class="notranslate"><code class="notranslate">trait A&lt;X&gt; { } trait B { type X; type Y : A&lt;Self::X&gt;; } fn main () { } </code></pre></div> <p dir="auto">When the bounds on <code class="notranslate">Y</code> are lifted, the bug goes away for me. That is, the following code compiles without an error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="trait A&lt;X&gt; { } trait B { type X; type Y; } fn main () { }"><pre class="notranslate"><code class="notranslate">trait A&lt;X&gt; { } trait B { type X; type Y; } fn main () { } </code></pre></div> <ul dir="auto"> <li>Version info:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.0.0-nightly (f1398d273 2015-01-31 20:21:02 +0000) binary: rustc commit-hash: f1398d2736f132dd4af828b3d9134691f924b7e1 commit-date: 2015-01-31 20:21:02 +0000 host: x86_64-apple-darwin release: 1.0.0-nightly"><pre class="notranslate"><code class="notranslate">rustc 1.0.0-nightly (f1398d273 2015-01-31 20:21:02 +0000) binary: rustc commit-hash: f1398d2736f132dd4af828b3d9134691f924b7e1 commit-date: 2015-01-31 20:21:02 +0000 host: x86_64-apple-darwin release: 1.0.0-nightly </code></pre></div> <ul dir="auto"> <li>Backtrace:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stack backtrace: 1: 0x10d966b27 - sys::backtrace::write::h1e2c8d6454da8cd1Xsu 2: 0x10d98ccac - failure::on_fail::hc34cc2536b843a6dlwB 3: 0x10d8ed878 - rt::unwind::begin_unwind_inner::hc1db7917310b1e46PdB 4: 0x10a931c55 - rt::unwind::begin_unwind::h10851544081918456271 5: 0x10ac96d80 - middle::ty::lookup_trait_def::h2256fffe21aabd99WH7 6: 0x10acdbc17 - middle::ty::predicates_for_trait_ref::h5f31438d5452493c2I7 7: 0x10acb3dcb - middle::traits::util::Elaborator&lt;'cx, 'tcx&gt;.Iterator::next::h8fa8483eadd3bbe7IgT 8: 0x10acb9d94 - middle::traits::util::Supertraits&lt;'cx, 'tcx&gt;.Iterator::next::h55572798b69df69ajjT 9: 0x10a5face7 - astconv::ast_ty_to_ty::closure.32964 10: 0x10a594dc0 - astconv::ast_ty_to_ty::h28c37a0bcd64f3d22ru 11: 0x10a5f0eed - vec::Vec&lt;T&gt;.FromIterator&lt;T&gt;::from_iter::h8194170135992664305 12: 0x10a5ee9fe - astconv::convert_angle_bracketed_parameters::h14e1151854724c322zt 13: 0x10a5f2d2b - astconv::ast_path_to_trait_ref::h8901deac3602014bVMt 14: 0x10a5a081b - astconv::instantiate_trait_ref::haaed26dc31d8d3a8CJt 15: 0x10a5f20ea - astconv::instantiate_poly_trait_ref::h5e153a7725bdcb786Ht 16: 0x10a622fcb - collect::compute_bounds::hbff2a6aea3e3160byRw 17: 0x10a60a5fd - collect::trait_def_of_item::hc2a893dcfe8940b96bw 18: 0x10a608bdf - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::haff1fcbfc2eb31abLmv 19: 0x10a648c6f - check_crate::closure.34094 20: 0x10a646c75 - check_crate::he1eddd9d21d7c627g8z 21: 0x109ff6725 - driver::phase_3_run_analysis_passes::h5ea5b4fae09df7e4tGa 22: 0x109fdcb9c - driver::compile_input::hfeebf01fd34be13bBba 23: 0x10a0aa27e - run_compiler::h47834abf04acfba99ac 24: 0x10a0a729f - thunk::F.Invoke&lt;A, R&gt;::invoke::h2084430363117493962 25: 0x10a0a5f30 - rt::unwind::try::try_fn::h12547055720005252601 26: 0x10da03b69 - rust_try_inner 27: 0x10da03b56 - rust_try 28: 0x10a0a65f4 - thunk::F.Invoke&lt;A, R&gt;::invoke::h838828363178605749 29: 0x10d977333 - sys::thread::thread_start::h502153f3460908456lx 30: 0x7fff951c02fc - _pthread_body 31: 0x7fff951c0279 - _pthread_body"><pre class="notranslate"><code class="notranslate">stack backtrace: 1: 0x10d966b27 - sys::backtrace::write::h1e2c8d6454da8cd1Xsu 2: 0x10d98ccac - failure::on_fail::hc34cc2536b843a6dlwB 3: 0x10d8ed878 - rt::unwind::begin_unwind_inner::hc1db7917310b1e46PdB 4: 0x10a931c55 - rt::unwind::begin_unwind::h10851544081918456271 5: 0x10ac96d80 - middle::ty::lookup_trait_def::h2256fffe21aabd99WH7 6: 0x10acdbc17 - middle::ty::predicates_for_trait_ref::h5f31438d5452493c2I7 7: 0x10acb3dcb - middle::traits::util::Elaborator&lt;'cx, 'tcx&gt;.Iterator::next::h8fa8483eadd3bbe7IgT 8: 0x10acb9d94 - middle::traits::util::Supertraits&lt;'cx, 'tcx&gt;.Iterator::next::h55572798b69df69ajjT 9: 0x10a5face7 - astconv::ast_ty_to_ty::closure.32964 10: 0x10a594dc0 - astconv::ast_ty_to_ty::h28c37a0bcd64f3d22ru 11: 0x10a5f0eed - vec::Vec&lt;T&gt;.FromIterator&lt;T&gt;::from_iter::h8194170135992664305 12: 0x10a5ee9fe - astconv::convert_angle_bracketed_parameters::h14e1151854724c322zt 13: 0x10a5f2d2b - astconv::ast_path_to_trait_ref::h8901deac3602014bVMt 14: 0x10a5a081b - astconv::instantiate_trait_ref::haaed26dc31d8d3a8CJt 15: 0x10a5f20ea - astconv::instantiate_poly_trait_ref::h5e153a7725bdcb786Ht 16: 0x10a622fcb - collect::compute_bounds::hbff2a6aea3e3160byRw 17: 0x10a60a5fd - collect::trait_def_of_item::hc2a893dcfe8940b96bw 18: 0x10a608bdf - collect::CollectTraitDefVisitor&lt;'a, 'tcx&gt;.visit..Visitor&lt;'v&gt;::visit_item::haff1fcbfc2eb31abLmv 19: 0x10a648c6f - check_crate::closure.34094 20: 0x10a646c75 - check_crate::he1eddd9d21d7c627g8z 21: 0x109ff6725 - driver::phase_3_run_analysis_passes::h5ea5b4fae09df7e4tGa 22: 0x109fdcb9c - driver::compile_input::hfeebf01fd34be13bBba 23: 0x10a0aa27e - run_compiler::h47834abf04acfba99ac 24: 0x10a0a729f - thunk::F.Invoke&lt;A, R&gt;::invoke::h2084430363117493962 25: 0x10a0a5f30 - rt::unwind::try::try_fn::h12547055720005252601 26: 0x10da03b69 - rust_try_inner 27: 0x10da03b56 - rust_try 28: 0x10a0a65f4 - thunk::F.Invoke&lt;A, R&gt;::invoke::h838828363178605749 29: 0x10d977333 - sys::thread::thread_start::h502153f3460908456lx 30: 0x7fff951c02fc - _pthread_body 31: 0x7fff951c0279 - _pthread_body </code></pre></div>
1
<p dir="auto">Previously if you were at the terminal and typed "atom" it opened the current directory in atom. As of a recent release, it now opens an empty window. To achieve the same result as before one must now type "atom .". I understand making changes and that relearning will be required, but it does seem like consistency across github CLI's should be important. GitHub for Mac opens the current directory if you simply type "github". This means one github product requires "." for the current directory and another does not. Now I'm left in a state of never getting it right for either of them. :)</p>
<p dir="auto">Recently atom has changed to require <code class="notranslate">atom .</code> instead of just <code class="notranslate">atom</code> to open the working directory. This has been a really frustrating change. How do I make atom open the working directory without the <code class="notranslate">.</code> argument?</p>
1
<p dir="auto">Congrats on the release of Flask 2.2.0<g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji></p> <p dir="auto">I noticed some weird behavior.</p> <h2 dir="auto">Environment:</h2> <ul dir="auto"> <li>Python version: 3.8.6</li> <li>Flask version: 2.2.0</li> <li>nose 1.3.7</li> </ul> <h2 dir="auto">Procedure:</h2> <ol dir="auto"> <li>Create the following file as <code class="notranslate">example.py</code></li> </ol> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import request def awesome_function(): return &quot;spam&quot;"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-s1">request</span> <span class="pl-k">def</span> <span class="pl-en">awesome_function</span>(): <span class="pl-k">return</span> <span class="pl-s">"spam"</span></pre></div> <ol start="2" dir="auto"> <li>Run <code class="notranslate">nosetests</code> with doctests</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ nosetests --with-doctest -v"><pre class="notranslate"><code class="notranslate">$ nosetests --with-doctest -v </code></pre></div> <h2 dir="auto">AS IS: <code class="notranslate">nosetests</code> fail</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Failure: RuntimeError (Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem.) ... ERROR ====================================================================== ERROR: Failure: RuntimeError (Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem.) ---------------------------------------------------------------------- Traceback (most recent call last): File &quot;/Users/.../venv/lib/python3.8/site-packages/nose/failure.py&quot;, line 39, in runTest raise self.exc_val.with_traceback(self.tb) File &quot;/Users/.../venv/lib/python3.8/site-packages/nose/plugins/manager.py&quot;, line 154, in generate for r in result: File &quot;/Users/.../venv/lib/python3.8/site-packages/nose/plugins/doctests.py&quot;, line 228, in loadTestsFromModule tests = self.finder.find(module) File &quot;/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/doctest.py&quot;, line 939, in find self._find(tests, obj, name, module, source_lines, globs, {}) File &quot;/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/doctest.py&quot;, line 998, in _find if ((inspect.isroutine(inspect.unwrap(val)) File &quot;/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py&quot;, line 520, in unwrap while _is_wrapper(func): File &quot;/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py&quot;, line 511, in _is_wrapper return hasattr(f, '__wrapped__') File &quot;/Users/.../venv/lib/python3.8/site-packages/werkzeug/local.py&quot;, line 316, in __get__ obj = instance._get_current_object() # type: ignore[misc] File &quot;/Users/.../venv/lib/python3.8/site-packages/werkzeug/local.py&quot;, line 509, in _get_current_object raise RuntimeError(unbound_message) from None RuntimeError: Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem. ---------------------------------------------------------------------- Ran 1 test in 0.107s FAILED (errors=1)"><pre class="notranslate"><code class="notranslate">Failure: RuntimeError (Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem.) ... ERROR ====================================================================== ERROR: Failure: RuntimeError (Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/.../venv/lib/python3.8/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/Users/.../venv/lib/python3.8/site-packages/nose/plugins/manager.py", line 154, in generate for r in result: File "/Users/.../venv/lib/python3.8/site-packages/nose/plugins/doctests.py", line 228, in loadTestsFromModule tests = self.finder.find(module) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/doctest.py", line 939, in find self._find(tests, obj, name, module, source_lines, globs, {}) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/doctest.py", line 998, in _find if ((inspect.isroutine(inspect.unwrap(val)) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py", line 520, in unwrap while _is_wrapper(func): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py", line 511, in _is_wrapper return hasattr(f, '__wrapped__') File "/Users/.../venv/lib/python3.8/site-packages/werkzeug/local.py", line 316, in __get__ obj = instance._get_current_object() # type: ignore[misc] File "/Users/.../venv/lib/python3.8/site-packages/werkzeug/local.py", line 509, in _get_current_object raise RuntimeError(unbound_message) from None RuntimeError: Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem. ---------------------------------------------------------------------- Ran 1 test in 0.107s FAILED (errors=1) </code></pre></div> <h2 dir="auto">TO BE: <code class="notranslate">nosetests</code> do NOT fail (0 tests run)</h2> <ul dir="auto"> <li>In procedure 1, implementing some doctests do not change the result.</li> </ul> <h2 dir="auto">Workaround: <code class="notranslate">pip install -U 'flask&lt;2.2'</code> (installed flask 2.1.3)</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ nosetests --with-doctest -v ---------------------------------------------------------------------- Ran 0 tests in 0.096s OK"><pre class="notranslate"><code class="notranslate">$ nosetests --with-doctest -v ---------------------------------------------------------------------- Ran 0 tests in 0.096s OK </code></pre></div> <hr> <p dir="auto">Flask 2.1.3 does not raise the error.<br> <strong>Is this a bug embedded in the upgrade to 2.2.0?</strong></p> <p dir="auto">I was wondering if it would be better to write it in the nose repository,<br> but I think <code class="notranslate">from frask import request</code> is the cause, so I'll share it here.</p>
<p dir="auto">Migrating from Flask 2.1 to 2.2 failed a few unit tests of mine. It looks like we can no longer import <code class="notranslate">flask.request</code> top level in a test file (reproduced across Python 3.7, 3.8, 3.9, 3.10):</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import Flask from flask import request def test_something(): assert True"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span> <span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-s1">request</span> <span class="pl-k">def</span> <span class="pl-en">test_something</span>(): <span class="pl-k">assert</span> <span class="pl-c1">True</span></pre></div> <p dir="auto">This gives a <code class="notranslate">RuntimeError</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="E RuntimeError: Working outside of request context. E E This typically means that you attempted to use functionality that needed E an active HTTP request. Consult the documentation on testing for E information about how to avoid this problem."><pre class="notranslate"><code class="notranslate">E RuntimeError: Working outside of request context. E E This typically means that you attempted to use functionality that needed E an active HTTP request. Consult the documentation on testing for E information about how to avoid this problem. </code></pre></div> <p dir="auto">On my side the fix was simple: importing <code class="notranslate">flask.request</code> outside of the global scope, just when I actually need it (my actual tests create small Flask apps to test a client).</p> <p dir="auto">Edit: forgot to mention that this only occurs when pytest is run with <code class="notranslate">--doctest-modules</code></p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; last(CartesianIndex(1, 1, 2)) ERROR: MethodError: no method matching lastindex(::CartesianIndex{3}) Closest candidates are: lastindex(::Markdown.MD) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Markdown/src/parse/parse.jl:26 lastindex(::Base64.Buffer) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Base64/src/buffer.jl:19 lastindex(::Cmd) at process.jl:639 ... Stacktrace: [1] last(::CartesianIndex{3}) at ./abstractarray.jl:362 [2] top-level scope at REPL[30]:1 julia&gt; first(CartesianIndex(1, 1, 2)) ERROR: iteration is deliberately unsupported for CartesianIndex. Use `I` rather than `I...`, or use `Tuple(I)...` Stacktrace: [1] error(::String) at ./error.jl:33 [2] iterate(::CartesianIndex{3}) at ./multidimensional.jl:164 [3] first(::CartesianIndex{3}) at ./abstractarray.jl:341 [4] top-level scope at REPL[35]:1"><pre class="notranslate"><code class="notranslate">julia&gt; last(CartesianIndex(1, 1, 2)) ERROR: MethodError: no method matching lastindex(::CartesianIndex{3}) Closest candidates are: lastindex(::Markdown.MD) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Markdown/src/parse/parse.jl:26 lastindex(::Base64.Buffer) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Base64/src/buffer.jl:19 lastindex(::Cmd) at process.jl:639 ... Stacktrace: [1] last(::CartesianIndex{3}) at ./abstractarray.jl:362 [2] top-level scope at REPL[30]:1 julia&gt; first(CartesianIndex(1, 1, 2)) ERROR: iteration is deliberately unsupported for CartesianIndex. Use `I` rather than `I...`, or use `Tuple(I)...` Stacktrace: [1] error(::String) at ./error.jl:33 [2] iterate(::CartesianIndex{3}) at ./multidimensional.jl:164 [3] first(::CartesianIndex{3}) at ./abstractarray.jl:341 [4] top-level scope at REPL[35]:1 </code></pre></div> <p dir="auto">Is there some reason why</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="lastindex(::CartesianIndex{N}) where {N} = N first(i::CartesianIndex) = i[1]"><pre class="notranslate"><span class="pl-en">lastindex</span>(<span class="pl-k">::</span><span class="pl-c1">CartesianIndex{N}</span>) <span class="pl-k">where</span> {N} <span class="pl-k">=</span> N <span class="pl-en">first</span>(i<span class="pl-k">::</span><span class="pl-c1">CartesianIndex</span>) <span class="pl-k">=</span> i[<span class="pl-c1">1</span>]</pre></div> <p dir="auto">are not defined?</p>
<p dir="auto">I have this type:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="## Amino Acid encoded as Integer, like in MATLAB's aminolookup (1:25) and Amino Acid Index Database (1:20) immutable AminoAcidInteger &lt;: AbstractAminoAcid byte::Uint8 end"><pre class="notranslate"><code class="notranslate">## Amino Acid encoded as Integer, like in MATLAB's aminolookup (1:25) and Amino Acid Index Database (1:20) immutable AminoAcidInteger &lt;: AbstractAminoAcid byte::Uint8 end </code></pre></div> <p dir="auto">With this <code class="notranslate">show</code> and <code class="notranslate">write</code> definitions:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="## Printing and Writing BioUnit as Char write(io::IO,x::BioUnit) = write(io,uint8(x)) show(io::IO,x::BioUnit) = (write(io,x); nothing)"><pre class="notranslate"><code class="notranslate">## Printing and Writing BioUnit as Char write(io::IO,x::BioUnit) = write(io,uint8(x)) show(io::IO,x::BioUnit) = (write(io,x); nothing) </code></pre></div> <p dir="auto">When I write it to a file, I get garbage instead of the values showed on REPL:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; seq = [ convert(NucleotideApe,i) for i in b&quot;ACTG&quot; ] 4-element NucleotideApe Array: A C T G julia&gt; fh = open(&quot;example.txt&quot;,&quot;w&quot;) IOStream(&lt;file example.txt&gt;) julia&gt; write(fh,seq) 4 julia&gt; close(fh) julia&gt; run(`cat example.txt`) �(�H julia&gt; fh = open(&quot;example.txt&quot;,&quot;w&quot;) IOStream(&lt;file example.txt&gt;) julia&gt; write(fh,seq[1]) 1 julia&gt; close(fh) julia&gt; run(`cat example.txt`) A julia&gt; @which write(fh,seq) write{T}(s::IOStream,a::Array{T,N}) at io.jl:311 julia&gt; @which write(fh,seq[1]) write{T&lt;:BioUnit}(io::IO,x::T&lt;:BioUnit) at /home/dzea/NewSeqII/Compound.jl:178"><pre class="notranslate"><code class="notranslate">julia&gt; seq = [ convert(NucleotideApe,i) for i in b"ACTG" ] 4-element NucleotideApe Array: A C T G julia&gt; fh = open("example.txt","w") IOStream(&lt;file example.txt&gt;) julia&gt; write(fh,seq) 4 julia&gt; close(fh) julia&gt; run(`cat example.txt`) �(�H julia&gt; fh = open("example.txt","w") IOStream(&lt;file example.txt&gt;) julia&gt; write(fh,seq[1]) 1 julia&gt; close(fh) julia&gt; run(`cat example.txt`) A julia&gt; @which write(fh,seq) write{T}(s::IOStream,a::Array{T,N}) at io.jl:311 julia&gt; @which write(fh,seq[1]) write{T&lt;:BioUnit}(io::IO,x::T&lt;:BioUnit) at /home/dzea/NewSeqII/Compound.jl:178 </code></pre></div> <p dir="auto"><code class="notranslate">write</code> is defined. <code class="notranslate">show</code> is defined using <code class="notranslate">write</code> and works fine. On REPL and for single objects are fine... Why printing a vector gives garbage?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; isbits(Nucleotide) true"><pre class="notranslate"><code class="notranslate">julia&gt; isbits(Nucleotide) true </code></pre></div>
0
<p dir="auto">Hi,</p> <p dir="auto">First I must say thanks for the awesome effort that has been put into v1 rewrite</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">Consider a SSR scenario with async component loading using ReactDOM.hydrate, with a component hierarchy a bit like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Layout -Header --ItemTitle (async) -Main --ListFilterControls --List (async) ---ListItem ---ListItem ---ListItem --ListLoadMoreControls -Footer"><pre class="notranslate"><code class="notranslate">Layout -Header --ItemTitle (async) -Main --ListFilterControls --List (async) ---ListItem ---ListItem ---ListItem --ListLoadMoreControls -Footer </code></pre></div> <p dir="auto">As the async component load time is variable (database vs cache vs network), the order that React encounters the components can differ between the browser vs server</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Initial render of the raw HTML/CSS from SSR is okay, components have the correct styles sheets applied.</p> <p dir="auto">However after removing the SSR injected styles sheets, some of the later order (ie lower down the page) component styles get corrupted/go missing.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const jssStyles = document.getElementById(&quot;jss-server-side&quot;); jssStyles.parentNode.removeChild(jssStyles);"><pre class="notranslate"><code class="notranslate">const jssStyles = document.getElementById("jss-server-side"); jssStyles.parentNode.removeChild(jssStyles); </code></pre></div> <p dir="auto">If the component with corrupted styles is remounted (eg by a page transition/click action) then the component styles are rebound and corrected</p> <h2 dir="auto">Diagnostic</h2> <p dir="auto">Comparing the raw HTML/CSS from the SSR, I can see that the CSS style sheet name matches the reference used by the HTML, how it should be, and this works.</p> <p dir="auto">When comparing what happens in the hydrated HTML/CSS, I can see that the HTML css classname remains the same as the server, however the [head.style.css] name has changed, it has got a new ruleCounter. This causes the component to lose its styles. (until a remount/state change)</p> <p dir="auto">If i inject a custom createGenerateClassName for the purpose of tracing the ruleCounter i can see:</p> <ul dir="auto"> <li>The style sheet ruleCounter for most of the outer components (Layout,Header,Main,Footer) are always the same on both server and client</li> <li>The style sheet ruleCounter for some of the later components (List,ListItem,ListLoadMoreControls) are different between server and client</li> <li>The amount of rules are the same, its just the order that they are processed is different.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ItemsControls-layout_controls-147 NewContent-layout_container-148 NewContent-layout_cell-149 LoadMore-layout_container-150 LoadMore-layout_cell-151 MuiDialog-root-152 MuiDialog-paper-153 MuiDialog-paperWidthXs-154 MuiDialog-paperWidthSm-155 MuiDialog-paperWidthMd-156 MuiDialog-fullWidth-157 MuiDialog-fullScreen-158 MuiSnackbar-root-159 MuiSnackbar-anchorTopCenter-160 MuiSnackbar-anchorBottomCenter-161 MuiSnackbar-anchorTopRight-162 MuiSnackbar-anchorBottomRight-163 MuiSnackbar-anchorTopLeft-164 MuiSnackbar-anchorBottomLeft-165 Tile-animation_expand-166 Tile-animation_expandopen-167 Tile-layout_avatar-168 Tile-layout_age-169 Tile-layout_age2-170 Tile-layout_age2_passed-171 Tile-layout_summary-172 Tile-layout_summary2-173 Tile-layout_summary_row-174 Tile-layout_summary_cell-175 Avatar-avatar_root-176 Summary-layout_summary-177 Summary-layout_summary2-178 Summary-layout_summary_row-179 Summary-layout_summary_cell-180"><pre class="notranslate"><code class="notranslate">ItemsControls-layout_controls-147 NewContent-layout_container-148 NewContent-layout_cell-149 LoadMore-layout_container-150 LoadMore-layout_cell-151 MuiDialog-root-152 MuiDialog-paper-153 MuiDialog-paperWidthXs-154 MuiDialog-paperWidthSm-155 MuiDialog-paperWidthMd-156 MuiDialog-fullWidth-157 MuiDialog-fullScreen-158 MuiSnackbar-root-159 MuiSnackbar-anchorTopCenter-160 MuiSnackbar-anchorBottomCenter-161 MuiSnackbar-anchorTopRight-162 MuiSnackbar-anchorBottomRight-163 MuiSnackbar-anchorTopLeft-164 MuiSnackbar-anchorBottomLeft-165 Tile-animation_expand-166 Tile-animation_expandopen-167 Tile-layout_avatar-168 Tile-layout_age-169 Tile-layout_age2-170 Tile-layout_age2_passed-171 Tile-layout_summary-172 Tile-layout_summary2-173 Tile-layout_summary_row-174 Tile-layout_summary_cell-175 Avatar-avatar_root-176 Summary-layout_summary-177 Summary-layout_summary2-178 Summary-layout_summary_row-179 Summary-layout_summary_cell-180 </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ItemsControls-layout_controls-147 NewContent-layout_container-148 NewContent-layout_cell-149 Tile-animation_expand-150 Tile-animation_expandopen-151 Tile-layout_avatar-152 Tile-layout_age-153 Tile-layout_age2-154 Tile-layout_age2_passed-155 Tile-layout_summary-156 Tile-layout_summary2-157 Tile-layout_summary_row-158 Tile-layout_summary_cell-159 Avatar-avatar_root-160 Summary-layout_summary-161 Summary-layout_summary2-162 Summary-layout_summary_row-163 Summary-layout_summary_cell-164 LoadMore-layout_container-165 LoadMore-layout_cell-166 MuiDialog-root-167 MuiDialog-paper-168 MuiDialog-paperWidthXs-169 MuiDialog-paperWidthSm-170 MuiDialog-paperWidthMd-171 MuiDialog-fullWidth-172 MuiDialog-fullScreen-173 MuiSnackbar-root-174 MuiSnackbar-anchorTopCenter-175 MuiSnackbar-anchorBottomCenter-176 MuiSnackbar-anchorTopRight-177 MuiSnackbar-anchorBottomRight-178 MuiSnackbar-anchorTopLeft-179 MuiSnackbar-anchorBottomLeft-180"><pre class="notranslate"><code class="notranslate">ItemsControls-layout_controls-147 NewContent-layout_container-148 NewContent-layout_cell-149 Tile-animation_expand-150 Tile-animation_expandopen-151 Tile-layout_avatar-152 Tile-layout_age-153 Tile-layout_age2-154 Tile-layout_age2_passed-155 Tile-layout_summary-156 Tile-layout_summary2-157 Tile-layout_summary_row-158 Tile-layout_summary_cell-159 Avatar-avatar_root-160 Summary-layout_summary-161 Summary-layout_summary2-162 Summary-layout_summary_row-163 Summary-layout_summary_cell-164 LoadMore-layout_container-165 LoadMore-layout_cell-166 MuiDialog-root-167 MuiDialog-paper-168 MuiDialog-paperWidthXs-169 MuiDialog-paperWidthSm-170 MuiDialog-paperWidthMd-171 MuiDialog-fullWidth-172 MuiDialog-fullScreen-173 MuiSnackbar-root-174 MuiSnackbar-anchorTopCenter-175 MuiSnackbar-anchorBottomCenter-176 MuiSnackbar-anchorTopRight-177 MuiSnackbar-anchorBottomRight-178 MuiSnackbar-anchorTopLeft-179 MuiSnackbar-anchorBottomLeft-180 </code></pre></div> <h2 dir="auto">Ideas</h2> <p dir="auto">Some attempts to workaround this problem:</p> <ol dir="auto"> <li>Disabling SSR, the component tree and styles generate completely on the client, so all ruleCounters match, not ideal as i lose SSR</li> <li>Force consistent component rendering order, hard as async loading time is variable, also need to consider how fiber would work</li> <li>Force re-render of whole component tree after ReactDOM.hydrate, not ideal, as perf hit</li> <li>Custom createGenerateClassName which removes non-deterministic ruleCounter</li> </ol> <p dir="auto">I am leaning towards no4<br> This works in development-mode, however [sheet.options.meta] is not calculated in production-mode<br> Could there be a way to allow [sheet.options.meta] in production mode?<br> <a href="https://github.com/callemall/material-ui/blob/v1-beta/src/styles/withStyles.js#L188-L193">https://github.com/callemall/material-ui/blob/v1-beta/src/styles/withStyles.js#L188-L193</a><br> (note: all my calls to withStyles already use [options.name] so there shouldnt be any clashes)</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.14</td> </tr> <tr> <td>React</td> <td>16.0.0</td> </tr> <tr> <td>browser</td> <td>IE11/Chrome/Firefox</td> </tr> </tbody> </table>
<ul dir="auto"> <li>[x ] 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">Expected classnames to be unique pr generator returned.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The generator function returned by createGenerateClassName is based on a counter. This causes two functions returned by this function to generate the same colliding classnames. We have a rather large app consisting of several webpack bundles. Each small part of the application is suppose to be isolated and not pollute the global environement. Each part is defined as a separate module with its own dependencies, hence its very difficult to keep a consistent and shared version of material-ui. When several versions of material-ui exist on a page this causes style tags with colliding class definitions to be inserted.</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.17</td> </tr> <tr> <td>React</td> <td>all</td> </tr> <tr> <td>browser</td> <td>all</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table> <p dir="auto">This issue could be solved by generating a id pr generator so that the chance of getting colliding classes is minimized. Instead of having a hardcoded 'c' prefix the createGenerateClassName can be changed to something like this; (Changed lines prefixed with a +)</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" import warning from 'warning'; import type StyleSheet from 'jss/lib/StyleSheet'; import type { Rule, generateClassName } from 'jss/lib/types'; let generatorCounter = 0; // Returns a function which generates unique class names based on counters. // When new generator function is created, rule counter is reset. // We need to reset the rule counter for SSR for each request. // // It's an improved version of // https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js +const getLetter = () =&gt; &quot;abcdefghijklmnopqrstuvwxyz&quot;.charAt(Math.floor(Math.random()* 26)); export default function createGenerateClassName(): generateClassName { let ruleCounter = 0; + const generatorPrefix = [getLetter(), getLetter(), getLetter()].join(&quot;&quot;) if (process.env.NODE_ENV === 'production' &amp;&amp; typeof window !== 'undefined') { generatorCounter += 1; if (generatorCounter &gt; 2) { // eslint-disable-next-line no-console console.error( [ 'Material-UI: we have detected more than needed creation of the class name generator.', 'You should only use one class name generator on the client side.', 'If you do otherwise, you take the risk to have conflicting class names in production.', ].join('\n'), ); } } return (rule: Rule, sheet?: StyleSheet): string =&gt; { ruleCounter += 1; warning( ruleCounter &lt; 1e10, [ 'Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.', ].join(''), ); if (process.env.NODE_ENV === 'production') { + return `${generatorPrefix}${ruleCounter}`; } if (sheet &amp;&amp; sheet.options.meta) { let meta = sheet.options.meta; // Sanitize the string as will be used in development to prefix the generated // class name. meta = meta.replace(new RegExp(/[!&quot;#$%&amp;'()*+,./:; &lt;=&gt;?@[\\\]^`{|}~]/g), '-'); return `${meta}-${rule.key}-${ruleCounter}`; } return `${rule.key}-${ruleCounter}`; };"><pre class="notranslate">import warning from 'warning'; import type StyleSheet from 'jss/lib/StyleSheet'; import type { Rule, generateClassName } from 'jss/lib/types'; let generatorCounter = 0; // Returns a function which generates unique class names based on counters. // When new generator function is created, rule counter is reset. // We need to reset the rule counter for SSR for each request. // // It's an improved version of // https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js <span class="pl-mi1"><span class="pl-mi1">+</span>const getLetter = () =&gt; "abcdefghijklmnopqrstuvwxyz".charAt(Math.floor(Math.random()* 26));</span> export default function createGenerateClassName(): generateClassName { let ruleCounter = 0; <span class="pl-mi1"><span class="pl-mi1">+</span> const generatorPrefix = [getLetter(), getLetter(), getLetter()].join("")</span> if (process.env.NODE_ENV === 'production' &amp;&amp; typeof window !== 'undefined') { generatorCounter += 1; if (generatorCounter &gt; 2) { // eslint-disable-next-line no-console console.error( [ 'Material-UI: we have detected more than needed creation of the class name generator.', 'You should only use one class name generator on the client side.', 'If you do otherwise, you take the risk to have conflicting class names in production.', ].join('\n'), ); } } return (rule: Rule, sheet?: StyleSheet): string =&gt; { ruleCounter += 1; warning( ruleCounter &lt; 1e10, [ 'Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.', ].join(''), ); if (process.env.NODE_ENV === 'production') { <span class="pl-mi1"><span class="pl-mi1">+</span> return `${generatorPrefix}${ruleCounter}`;</span> } if (sheet &amp;&amp; sheet.options.meta) { let meta = sheet.options.meta; // Sanitize the string as will be used in development to prefix the generated // class name. meta = meta.replace(new RegExp(/[!"#$%&amp;'()*+,./:; &lt;=&gt;?@[\\\]^`{|}~]/g), '-'); return `${meta}-${rule.key}-${ruleCounter}`; } return `${rule.key}-${ruleCounter}`; };</pre></div> <p dir="auto">As stated this does absolutely not guarantee that you will not have colliding classnames, but makes it less likely. If we also include initial timestamp in the generator prefix it will be better, but the production classnames will also be longer;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" const generatorPrefix = [new Date().geTime(), getLetter(), getLetter(), getLetter()].join(&quot;&quot;)"><pre class="notranslate"><code class="notranslate"> const generatorPrefix = [new Date().geTime(), getLetter(), getLetter(), getLetter()].join("") </code></pre></div> <p dir="auto">If this is something you would consider taking into the codebase advice me on how you would like it solved and I can create a PR</p>
0
<p dir="auto">Hi there,<br> I am evaluating an upgrade to 1.7.1 for our 1.4.4 production cluster. We seem to be having some data that has geo shapes that 1.4.4 accepted and indexed but 1.7.1 is choking on. The message below is only a warning but it seems to be rejecting the whole shard to be moved to the newer versioned machine, right? Can I reduce the level of validation checking for geo locations?</p> <p dir="auto">Do we have a breaking change in geo shape validator between these versions?<br> [2015-08-04 11:41:19,543][WARN ][cluster.action.shard ] [hostname] [indexname][5] received shard failed for [indexname][5], node[lxvTTQWSRDiBA9Se21hjHw], relocating [BRUHrGoBQnO9MzyssyMCoQ], [P], s[RELOCATING], indexUUID [d2E1eeDHRB6FOs57k0IxaA], reason [Failed to perform [indices:data/write/bulk[s]] on replica, message [RemoteTransportException[[hostname][inet[/10.10.10.220:9302]][indices:data/write/bulk[s][r]]]; nested: MapperParsingException[failed to parse [message.location.geo]]; nested: InvalidShapeException[Provided shape has duplicate consecutive coordinates at: (-88.097892, 37.771743, NaN)]; ]]</p>
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gabriel-tessier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gabriel-tessier">@gabriel-tessier</a> on July 17, 2015 2:56</em></p> <p dir="auto">Hi,<br> I need to update the user dictionary and I usually open close the index to make the change apply.<br> One question: Is it the only way to update the dict cause in case of typo (missing a , or one bad space) in the file the index don't open at all and on production server it's not an option.<br> first question (for confirmation): is it the good way to do? open close the index to reload the dict.<br> second one: is there a way to have an option like check config for apache [apachectl configtest]? so we can open close the index without fear!!</p> <p dir="auto">Thanks.</p> <p dir="auto"><em>Copied from original issue: elastic/elasticsearch-analysis-kuromoji#65</em></p>
0
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong><br> Server should get start without any error with <strong>webpackPrefetch</strong> in dynamic import. But it is failed to start if the webpack version is &gt;= 5.25.0 and it is working fine if webpack version &lt;= 5.24.0.</p> <p dir="auto">Got below error while starting server</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/Users/Documents/dev/product/build/server.js:21367 /******/ webpack_require.O(0, [&quot;server&quot;], () =&gt; (), 5); ^ SyntaxError: Unexpected token ')' at wrapSafe (internal/modules/cjs/loader.js:1053:16) at Module._compile (internal/modules/cjs/loader.js:1101:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47"><pre class="notranslate"><span class="pl-pds"><span class="pl-c1">/</span>Users<span class="pl-c1">/</span></span><span class="pl-v">Documents</span><span class="pl-c1">/</span><span class="pl-s1">dev</span><span class="pl-c1">/</span><span class="pl-s1">product</span><span class="pl-c1">/</span><span class="pl-s1">build</span><span class="pl-c1">/</span><span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">21367</span> <span class="pl-c">/******/</span> <span class="pl-s1">webpack_require</span><span class="pl-kos">.</span><span class="pl-en">O</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">"server"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c1">^</span> SyntaxError: <span class="pl-v">Unexpected</span> <span class="pl-s1">token</span> <span class="pl-s">')'</span> <span class="pl-en">at</span> <span class="pl-s1">wrapSafe</span> <span class="pl-kos">(</span><span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-s1">cjs</span><span class="pl-c1">/</span><span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">1053</span>:<span class="pl-c1">16</span><span class="pl-kos">)</span> <span class="pl-s1">at</span> <span class="pl-v">Module</span><span class="pl-kos">.</span><span class="pl-en">_compile</span> <span class="pl-kos">(</span><span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-s1">cjs</span><span class="pl-c1">/</span><span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">1101</span>:<span class="pl-c1">27</span><span class="pl-kos">)</span> <span class="pl-s1">at</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-c1">Module</span><span class="pl-kos">.</span><span class="pl-c1">_extensions</span><span class="pl-kos">.</span><span class="pl-kos">.</span><span class="pl-en">js</span> <span class="pl-kos">(</span><span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-s1">cjs</span><span class="pl-c1">/</span><span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">1157</span>:<span class="pl-c1">10</span><span class="pl-kos">)</span> <span class="pl-s1">at</span> <span class="pl-v">Module</span><span class="pl-kos">.</span><span class="pl-en">load</span> <span class="pl-kos">(</span><span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-s1">cjs</span><span class="pl-c1">/</span><span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">985</span>:<span class="pl-c1">32</span><span class="pl-kos">)</span> <span class="pl-s1">at</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-c1">Module</span><span class="pl-kos">.</span><span class="pl-en">_load</span> <span class="pl-kos">(</span><span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-s1">cjs</span><span class="pl-c1">/</span><span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">878</span>:<span class="pl-c1">14</span><span class="pl-kos">)</span> <span class="pl-s1">at</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-c1">executeUserEntryPoint</span> <span class="pl-kos">[</span><span class="pl-s1">as</span> <span class="pl-s1">runMain</span><span class="pl-kos">]</span> <span class="pl-kos">(</span><span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">modules</span><span class="pl-c1">/</span><span class="pl-s1">run_main</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">71</span>:<span class="pl-c1">12</span><span class="pl-kos">)</span> <span class="pl-s1">at</span><span class="pl-kos"></span> <span class="pl-s1">internal</span><span class="pl-c1">/</span><span class="pl-s1">main</span><span class="pl-c1">/</span><span class="pl-s1">run_main_module</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">17</span>:<span class="pl-c1">47</span></pre></div> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto">Issue is because of adding webpackPrefetch in below import</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import loadable from '@loadable/component'; const Component = loadable( () =&gt; import( /* webpackPrefetch: true */ /* webpackChunkName: &quot;compChunk&quot; */ '../component' ), { ssr: false } );"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">loadable</span> <span class="pl-k">from</span> <span class="pl-s">'@loadable/component'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-v">Component</span> <span class="pl-c1">=</span> <span class="pl-en">loadable</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-k">import</span><span class="pl-kos">(</span> <span class="pl-c">/* webpackPrefetch: true */</span> <span class="pl-c">/* webpackChunkName: "compChunk" */</span> <span class="pl-s">'../component'</span> <span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">ssr</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">Server should get start without any error with <strong>webpackPrefetch</strong> in dynamic import</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 5.38.0<br> Node.js version: 12.18.4<br> Operating System: Mac 10.14.6</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> It's either a bug or the <a href="https://webpack.js.org/plugins/commons-chunk-plugin/" rel="nofollow">documentation</a> is not clear.</p> <p dir="auto"><strong>What is the current behavior?</strong><br> Trying to solve this <a href="http://stackoverflow.com/questions/43210152/webpack-2-splitting-libraries-vendor-and-app-into-different-files?noredirect=1#comment73503668_43210152" rel="nofollow">stackoverflow question</a>.<br> I use <code class="notranslate">webpack.optimize.CommonsChunkPlugin</code> twice, but only first <code class="notranslate">minChunks</code> function is applied.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br> Here is the example repo:<br> <a href="https://github.com/PavelPolyakov/webpack-react-bundles/tree/feature/advanced-CommonsChunkPlugin">https://github.com/PavelPolyakov/webpack-react-bundles/tree/feature/advanced-CommonsChunkPlugin</a></p> <p dir="auto"><strong>What is the expected behavior?</strong><br> With <a href="https://github.com/PavelPolyakov/webpack-react-bundles/blob/feature/advanced-CommonsChunkPlugin/conf/webpack.production.config.js">this code</a>:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="plugins: [ // put lodash and moment in one file new webpack.optimize.CommonsChunkPlugin({ name: 'lodash+moment', minChunks: function (module) { let result = module.context &amp;&amp; _.reduce(['lodash', 'moment'], (result, record) =&gt; result || _(module.context).includes(`node_modules/${record}`), false); if (result) { console.log('+++', module.context); } return result; } }), // put everything else in the other file new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', minChunks: function (module) { let result = module.context &amp;&amp; _(module.context).includes(`node_modules`) &amp;&amp; !_.reduce(['lodash', 'moment'], (result, record) =&gt; result || _(module.context).includes(`node_modules/${record}`), false); console.log('attempt', module.context); if (result) { console.log('---', module.context); } return result; } }) ]"><pre class="notranslate">plugins: <span class="pl-kos">[</span> <span class="pl-c">// put lodash and moment in one file</span> <span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">optimize</span><span class="pl-kos">.</span><span class="pl-c1">CommonsChunkPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'lodash+moment'</span><span class="pl-kos">,</span> <span class="pl-en">minChunks</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">reduce</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'lodash'</span><span class="pl-kos">,</span> <span class="pl-s">'moment'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">,</span> <span class="pl-s1">record</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">result</span> <span class="pl-c1">||</span> <span class="pl-en">_</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-s">`node_modules/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">record</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</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">if</span> <span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'+++'</span><span class="pl-kos">,</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-s1">result</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c">// put everything else in the other file</span> <span class="pl-k">new</span> <span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">optimize</span><span class="pl-kos">.</span><span class="pl-c1">CommonsChunkPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'vendor'</span><span class="pl-kos">,</span> <span class="pl-en">minChunks</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-en">_</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-s">`node_modules`</span><span class="pl-kos">)</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-c1">!</span><span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">reduce</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'lodash'</span><span class="pl-kos">,</span> <span class="pl-s">'moment'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">,</span> <span class="pl-s1">record</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">result</span> <span class="pl-c1">||</span> <span class="pl-en">_</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-s">`node_modules/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">record</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'attempt'</span><span class="pl-kos">,</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'---'</span><span class="pl-kos">,</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">context</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-s1">result</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">I want to filter <code class="notranslate">lodash</code> and <code class="notranslate">moment</code> to one file and the other <code class="notranslate">node_modules</code> to the other.</p> <p dir="auto">I also did another attempt, like the one from the documentation:<br> <a href="https://github.com/webpack/webpack/tree/master/examples/multiple-commons-chunks">https://github.com/webpack/webpack/tree/master/examples/multiple-commons-chunks</a></p> <p dir="auto">Here is the attempt, it doesn't work:<br> <a href="https://github.com/PavelPolyakov/webpack-react-bundles/blob/feature/separate-entries/conf/webpack.production.config.js">https://github.com/PavelPolyakov/webpack-react-bundles/blob/feature/separate-entries/conf/webpack.production.config.js</a></p> <p dir="auto">I would appreciate any suggestion how to solve my issue. PR into the example repository is appreciated the most :)</p> <p dir="auto">Webpack version 2.2.1.</p> <p dir="auto">Regards,</p>
0
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#Using pandas 0.19.2 import pandas as pd, pickle arr= np.ones((5,5)) col= [ r'統合商C', r'統合商名', r'区分', r'H区分名' , r'H区' ] df= pd.DataFrame(arr, columns=col) with open( 'df_pandas_192.pkl', 'wb') as f: pickle.dump(df, f, pickle.HIGHEST_PROTOCOL) # Using pandas 0.20.1 import pickle with open('df_pandas_192.pkl', 'rb') as f: df= pickle.load(f) "><pre class="notranslate"><code class="notranslate">#Using pandas 0.19.2 import pandas as pd, pickle arr= np.ones((5,5)) col= [ r'統合商C', r'統合商名', r'区分', r'H区分名' , r'H区' ] df= pd.DataFrame(arr, columns=col) with open( 'df_pandas_192.pkl', 'wb') as f: pickle.dump(df, f, pickle.HIGHEST_PROTOCOL) # Using pandas 0.20.1 import pickle with open('df_pandas_192.pkl', 'rb') as f: df= pickle.load(f) </code></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">We have an issue due to module breaks<br> (probably dataframe class has been changed in 0.20.1)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/ubuntu/project27//aapackage/util_min.py in py_load_obj(folder, isabsolutpath, encoding1) 485 dir1= folder 486 --&gt; 487 with open(dir1, 'rb') as f: 488 return pickle.load(f) 489 ModuleNotFoundError: No module named 'pandas.indexes' "><pre class="notranslate"><code class="notranslate">/home/ubuntu/project27//aapackage/util_min.py in py_load_obj(folder, isabsolutpath, encoding1) 485 dir1= folder 486 --&gt; 487 with open(dir1, 'rb') as f: 488 return pickle.load(f) 489 ModuleNotFoundError: No module named 'pandas.indexes' </code></pre></div> <h4 dir="auto">Expected Output</h4> <h4 dir="auto">Pickle serialized with this version <code class="notranslate">pd.show_versions()</code></h4> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 2.7.12.final.0<br> python-bits: 64<br> OS: Windows<br> OS-release: 7<br> machine: AMD64<br> processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US<br> LOCALE: None.None<br> pandas: 0.19.2<br> nose: 1.3.7<br> pip: 8.1.2<br> setuptools: 23.0.0<br> Cython: 0.24<br> numpy: 1.11.1<br> scipy: 0.18.0<br> statsmodels: 0.8.0<br> xarray: None<br> IPython: 4.2.0<br> sphinx: 1.4.1<br> patsy: 0.4.1<br> dateutil: 2.5.3<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.1.0<br> tables: 3.4.2<br> numexpr: 2.6.0<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.0<br> bs4: 4.4.1<br> html5lib: None<br> httplib2: 0.10.3<br> apiclient: 1.6.2<br> sqlalchemy: 1.0.13<br> pymysql: 0.7.9.None<br> psycopg2: 2.6.2 (dt dec pq3 ext lo64)<br> jinja2: 2.8<br> boto: 2.40.0<br> pandas_datareader: None</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.1.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-1031-aws machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 <p dir="auto">pandas: 0.20.1<br> pytest: 3.0.7<br> pip: 9.0.1<br> setuptools: 27.2.0<br> Cython: 0.25.2<br> numpy: 1.12.1<br> scipy: 0.19.0<br> xarray: None<br> IPython: 5.3.0<br> sphinx: 1.5.6<br> patsy: 0.4.1<br> dateutil: 2.6.0<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.2.1<br> tables: 3.3.0<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: 2.4.7<br> xlrd: 1.0.0<br> xlwt: 1.2.0<br> xlsxwriter: 0.9.6<br> lxml: 3.7.3<br> bs4: 4.6.0<br> html5lib: 0.9999999<br> sqlalchemy: 1.1.9<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.9.6<br> s3fs: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">An example from<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="321402615" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/20986" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/20986/hovercard?comment_id=436065299&amp;comment_type=issue_comment" href="https://github.com/pandas-dev/pandas/issues/20986#issuecomment-436065299">#20986 (comment)</a></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from io import StringIO from pandas import concat, DataFrame, read_table buffer = StringIO(&quot;&quot;&quot;\ study SRP052491 SRP052491 run SRR1762738 SRR1762739 gene_id ENSG00000000003.14 16641 11561\ &quot;&quot;&quot;) expressions = read_table(buffer, header=[0, 1], index_col=[0]) third_index = DataFrame({'third_index': ['Disease X', 'Disease Y']}).T concat([expressions, third_index], ignore_index=True)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">io</span> <span class="pl-k">import</span> <span class="pl-v">StringIO</span> <span class="pl-k">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-s1">concat</span>, <span class="pl-v">DataFrame</span>, <span class="pl-s1">read_table</span> <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-v">StringIO</span>(<span class="pl-s">"""<span class="pl-cce">\</span></span> <span class="pl-s"><span class="pl-cce"></span>study SRP052491 SRP052491</span> <span class="pl-s">run SRR1762738 SRR1762739</span> <span class="pl-s">gene_id </span> <span class="pl-s">ENSG00000000003.14 16641 11561<span class="pl-cce">\</span></span> <span class="pl-s"><span class="pl-cce"></span>"""</span>) <span class="pl-s1">expressions</span> <span class="pl-c1">=</span> <span class="pl-en">read_table</span>(<span class="pl-s1">buffer</span>, <span class="pl-s1">header</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>, <span class="pl-c1">1</span>], <span class="pl-s1">index_col</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>]) <span class="pl-s1">third_index</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>({<span class="pl-s">'third_index'</span>: [<span class="pl-s">'Disease X'</span>, <span class="pl-s">'Disease Y'</span>]}).<span class="pl-v">T</span> <span class="pl-en">concat</span>([<span class="pl-s1">expressions</span>, <span class="pl-s1">third_index</span>], <span class="pl-s1">ignore_index</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</pre></div> <hr> <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 a=raw_data.groupby(['Year','Month'])['Event_Count','Holiday_Count'].sum() --&gt;shape=81,2 intermediate=raw_data[['Year','Month']].drop_duplicates() --&gt; shape=81,2 raw_data=pd.concat([a,intermediate],ignore_index=True,axis=1) Pandas version : '0.20.3' python version : 3.6.3"><pre class="notranslate"><span class="pl-c"># Your code here</span> <span class="pl-s1">a</span><span class="pl-c1">=</span><span class="pl-s1">raw_data</span>.<span class="pl-en">groupby</span>([<span class="pl-s">'Year'</span>,<span class="pl-s">'Month'</span>])[<span class="pl-s">'Event_Count'</span>,<span class="pl-s">'Holiday_Count'</span>].<span class="pl-en">sum</span>() <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span><span class="pl-s1">shape</span><span class="pl-c1">=</span><span class="pl-c1">81</span>,<span class="pl-c1">2</span> <span class="pl-s1">intermediate</span><span class="pl-c1">=</span><span class="pl-s1">raw_data</span>[[<span class="pl-s">'Year'</span>,<span class="pl-s">'Month'</span>]].<span class="pl-en">drop_duplicates</span>() <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-s1">shape</span><span class="pl-c1">=</span><span class="pl-c1">81</span>,<span class="pl-c1">2</span> <span class="pl-s1">raw_data</span><span class="pl-c1">=</span><span class="pl-s1">pd</span>.<span class="pl-en">concat</span>([<span class="pl-s1">a</span>,<span class="pl-s1">intermediate</span>],<span class="pl-s1">ignore_index</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,<span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-v">Pandas</span> <span class="pl-s1">version</span> : <span class="pl-s">'0.20.3'</span> <span class="pl-s1">python</span> <span class="pl-s1">version</span> : <span class="pl-c1">3.6</span>.<span class="pl-c1">3</span></pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">when i am truing to concat two dataframe with same dimension i am getting below error<br> Buffer dtype mismatch, expected 'Python object' but got 'long long'<br> [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>
0
<p dir="auto">It would be useful to have an API to set the linestyle cycle for an axes object, just like there is one for the color cycle. It would allow one to change linestyles independently of the color, which is useful for publications that need both color and black-and-white distinguishability.</p>
<p dir="auto">There seems to be some code duplication between tests and examples (e.g. <code class="notranslate">test_triangulation.test_tri_smooth_contouring</code> and <code class="notranslate">pylab_examples/tricontour_smooth_user.py</code>). Perhaps it would make sense for the tests to simply import the relevant example file instead (which should trigger the plotting), in a context where <code class="notranslate">plt.show()</code> is patched to do nothing.</p>
0
<p dir="auto">I am getting the 'Importing the multiarray numpy extension module failed' error message when I create a new python environment and install the python package SatPy. I have uninstalled and reinstalled numpy multiple times and created new environements as well as clone working environments. I am not sure if this issue is caused by SatPy or numpy but when I install SatPy everything breaks.</p> <p dir="auto">The full error message I am getting is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ImportError Traceback (most recent call last) ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\__init__.py in &lt;module&gt; 39 try: ---&gt; 40 from . import multiarray 41 except ImportError as exc: ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\multiarray.py in &lt;module&gt; 11 ---&gt; 12 from . import overrides 13 from . import _multiarray_umath ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\overrides.py in &lt;module&gt; 5 ----&gt; 6 from numpy.core._multiarray_umath import ( 7 add_docstring, implement_array_function, _get_implementing_args) ImportError: DLL load failed: The specified module could not be found. During handling of the above exception, another exception occurred: ImportError Traceback (most recent call last) &lt;ipython-input-1-9619fcfabd12&gt; in &lt;module&gt; ----&gt; 1 from satpy import Scene 2 import cartopy.crs as ccrs 3 import cartopy.feature as cfeature 4 from metpy.plots import USCOUNTIES 5 from glob import glob ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\satpy\__init__.py in &lt;module&gt; 53 CALIBRATION_ORDER = {cal: idx for idx, cal in enumerate(CALIBRATION_ORDER)} 54 ---&gt; 55 from satpy.utils import get_logger # noqa 56 from satpy.dataset import DatasetID, DATASET_KEYS # noqa 57 from satpy.readers import (DatasetDict, find_files_and_readers, # noqa ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\satpy\utils.py in &lt;module&gt; 32 import re 33 ---&gt; 34 import numpy as np 35 import xarray.ufuncs as xu 36 ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\__init__.py in &lt;module&gt; 140 from . import _distributor_init 141 --&gt; 142 from . import core 143 from .core import * 144 from . import compat ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\__init__.py in &lt;module&gt; 69 Original error was: %s 70 &quot;&quot;&quot; % (sys.executable, exc) ---&gt; 71 raise ImportError(msg) 72 finally: 73 for envkey in env_added: ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. Here is how to proceed: - If you're working with a numpy git repository, try `git clean -xdf` (removes all files not under version control) and rebuild numpy. - If you are simply trying to use the numpy version that you have installed: your installation is broken - please reinstall numpy. - If you have already reinstalled and that did not fix the problem, then: 1. Check that you are using the Python you expect (you're using C:\Users\Matthew\AppData\Local\conda\conda\envs\sats\python.exe), and that you have no directories in your PATH or PYTHONPATH that can interfere with the Python and numpy versions you're trying to use. 2. If (1) looks fine, you can open a new issue at https://github.com/numpy/numpy/issues. Please include details on: - how you installed Python - how you installed numpy - your operating system - whether or not you have multiple versions of Python installed - if you built from source, your compiler versions and ideally a build log Note: this error has many possible causes, so please don't comment on an existing issue about this - open a new one instead. Original error was: DLL load failed: The specified module could not be found."><pre class="notranslate"><code class="notranslate">ImportError Traceback (most recent call last) ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\__init__.py in &lt;module&gt; 39 try: ---&gt; 40 from . import multiarray 41 except ImportError as exc: ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\multiarray.py in &lt;module&gt; 11 ---&gt; 12 from . import overrides 13 from . import _multiarray_umath ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\overrides.py in &lt;module&gt; 5 ----&gt; 6 from numpy.core._multiarray_umath import ( 7 add_docstring, implement_array_function, _get_implementing_args) ImportError: DLL load failed: The specified module could not be found. During handling of the above exception, another exception occurred: ImportError Traceback (most recent call last) &lt;ipython-input-1-9619fcfabd12&gt; in &lt;module&gt; ----&gt; 1 from satpy import Scene 2 import cartopy.crs as ccrs 3 import cartopy.feature as cfeature 4 from metpy.plots import USCOUNTIES 5 from glob import glob ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\satpy\__init__.py in &lt;module&gt; 53 CALIBRATION_ORDER = {cal: idx for idx, cal in enumerate(CALIBRATION_ORDER)} 54 ---&gt; 55 from satpy.utils import get_logger # noqa 56 from satpy.dataset import DatasetID, DATASET_KEYS # noqa 57 from satpy.readers import (DatasetDict, find_files_and_readers, # noqa ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\satpy\utils.py in &lt;module&gt; 32 import re 33 ---&gt; 34 import numpy as np 35 import xarray.ufuncs as xu 36 ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\__init__.py in &lt;module&gt; 140 from . import _distributor_init 141 --&gt; 142 from . import core 143 from .core import * 144 from . import compat ~\AppData\Local\conda\conda\envs\sats\lib\site-packages\numpy\core\__init__.py in &lt;module&gt; 69 Original error was: %s 70 """ % (sys.executable, exc) ---&gt; 71 raise ImportError(msg) 72 finally: 73 for envkey in env_added: ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. Here is how to proceed: - If you're working with a numpy git repository, try `git clean -xdf` (removes all files not under version control) and rebuild numpy. - If you are simply trying to use the numpy version that you have installed: your installation is broken - please reinstall numpy. - If you have already reinstalled and that did not fix the problem, then: 1. Check that you are using the Python you expect (you're using C:\Users\Matthew\AppData\Local\conda\conda\envs\sats\python.exe), and that you have no directories in your PATH or PYTHONPATH that can interfere with the Python and numpy versions you're trying to use. 2. If (1) looks fine, you can open a new issue at https://github.com/numpy/numpy/issues. Please include details on: - how you installed Python - how you installed numpy - your operating system - whether or not you have multiple versions of Python installed - if you built from source, your compiler versions and ideally a build log Note: this error has many possible causes, so please don't comment on an existing issue about this - open a new one instead. Original error was: DLL load failed: The specified module could not be found. </code></pre></div> <p dir="auto">I am using conda to install packages.<br> My numpy version is: 1.16.2<br> python: 3.7.3<br> satpy: 0.13.0</p> <p dir="auto">Below is other information regarding path and setup<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29383396/55365190-6a7f4a80-5498-11e9-8b54-3086122c0b83.PNG"><img src="https://user-images.githubusercontent.com/29383396/55365190-6a7f4a80-5498-11e9-8b54-3086122c0b83.PNG" alt="pathes" style="max-width: 100%;"></a></p>
<p dir="auto">I was trying to import the skyfield library</p> <h3 dir="auto">Reproducing code example:</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from skyfield.api import Topos"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">skyfield</span>.<span class="pl-s1">api</span> <span class="pl-k">import</span> <span class="pl-v">Topos</span></pre></div> <h3 dir="auto">Error message:</h3> <p dir="auto">Traceback (most recent call last):<br> File "/usr/local/lib/python3.7/dist-packages/numpy/core/<strong>init</strong>.py", line 17, in <br> from . import multiarray<br> File "/usr/local/lib/python3.7/dist-packages/numpy/core/multiarray.py", line 14, in <br> from . import overrides<br> File "/usr/local/lib/python3.7/dist-packages/numpy/core/overrides.py", line 7, in <br> from numpy.core._multiarray_umath import (<br> ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory</p> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "", line 1, in <br> File "/usr/local/lib/python3.7/dist-packages/skyfield/api.py", line 13, in <br> from .iokit import Loader, load_file<br> File "/usr/local/lib/python3.7/dist-packages/skyfield/iokit.py", line 6, in <br> import numpy as np<br> File "/usr/local/lib/python3.7/dist-packages/numpy/<strong>init</strong>.py", line 142, in <br> from . import core<br> File "/usr/local/lib/python3.7/dist-packages/numpy/core/<strong>init</strong>.py", line 47, in <br> raise ImportError(msg)<br> ImportError:</p> <p dir="auto">IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!</p> <p dir="auto">Importing the numpy c-extensions failed.</p> <ul dir="auto"> <li> <p dir="auto">Try uninstalling and reinstalling numpy.</p> </li> <li> <p dir="auto">If you have already done that, then:</p> <ol dir="auto"> <li>Check that you expected to use Python3.7 from "/usr/bin/python3",<br> and that you have no directories in your PATH or PYTHONPATH that can<br> interfere with the Python and numpy version "1.17.0" you're trying to use.</li> <li>If (1) looks fine, you can open a new issue at<br> <a href="https://github.com/numpy/numpy/issues">https://github.com/numpy/numpy/issues</a>. Please include details on: <ul dir="auto"> <li>how you installed Python</li> <li>how you installed numpy</li> <li>your operating system</li> <li>whether or not you have multiple versions of Python installed</li> <li>if you built from source, your compiler versions and ideally a build log</li> </ul> </li> </ol> </li> <li> <p dir="auto">If you're working with a numpy git repository, try <code class="notranslate">git clean -xdf</code><br> (removes all files not under version control) and rebuild numpy.</p> </li> </ul> <p dir="auto">Note: this error has many possible causes, so please don't comment on<br> an existing issue about this - open a new one instead.</p> <p dir="auto">Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory</p> <h3 dir="auto">Numpy/Python version information:</h3> <p dir="auto">Python 3.7.3 (default, Apr 3 2019, 05:39:12)<br> Successfully installed numpy-1.17.0<br> import numpy fails with same error</p>
1
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: [what Playwright version do you use?] 1.24.1</li> <li>Operating System: [e.g. Windows, Linux or Mac] Ubuntu 22.04</li> <li>Node.js version: [e.g. 12.22, 14.6] 16.15.1</li> <li>Browser: [e.g. All, Chromium, Firefox, WebKit] Webkit</li> <li>Extra: [any specific details about your environment] I am running a ubuntu 22 docker image and have playwright and nodejs installed. I am able to launch chrome browser but launching webkit constantly fails.</li> </ul> <p dir="auto"><strong>Code Snippet</strong></p> <p dir="auto">Help us help you! Put down a short code snippet that illustrates your bug and<br> that we can run and debug locally. For example:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { chromium, webkit, firefox, Browser, LaunchOptions, BrowserContext } from 'playwright'; let browserLaunchOptions = { headless: false, slowMo: 0, timeout: 30 * 1000 }; let browserContext = await webkit.launch(browserLaunchOptions);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">chromium</span><span class="pl-kos">,</span> <span class="pl-s1">webkit</span><span class="pl-kos">,</span> <span class="pl-s1">firefox</span><span class="pl-kos">,</span> <span class="pl-smi">Browser</span><span class="pl-kos">,</span> <span class="pl-smi">LaunchOptions</span><span class="pl-kos">,</span> <span class="pl-smi">BrowserContext</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'playwright'</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">browserLaunchOptions</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">headless</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">slowMo</span>: <span class="pl-c1">0</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-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">browserContext</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">webkit</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-s1">browserLaunchOptions</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Describe the bug</strong><br> My environment: docker image(ubuntu 22.04) running playwright(v1.24.1) and nodejs(16.15.1). I am having trouble running tests against webkit. It fails each time with the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="browserType.launch: Timeout 30000ms exceeded. =========================== logs =========================== &lt;launching&gt; /home/&lt;username&gt;/.cache/ms-playwright/webkit-1683/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=25328 ============================================================ browserType.launch: Timeout 30000ms exceeded. =========================== logs =========================== &lt;launching&gt; /home/&lt;username&gt;/.cache/ms-playwright/webkit-1683/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=25328"><pre class="notranslate"><code class="notranslate">browserType.launch: Timeout 30000ms exceeded. =========================== logs =========================== &lt;launching&gt; /home/&lt;username&gt;/.cache/ms-playwright/webkit-1683/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=25328 ============================================================ browserType.launch: Timeout 30000ms exceeded. =========================== logs =========================== &lt;launching&gt; /home/&lt;username&gt;/.cache/ms-playwright/webkit-1683/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=25328 </code></pre></div> <p dir="auto">Add any other details about the problem here.</p>
<h3 dir="auto">Workaround</h3> <p dir="auto">Use <strong>Ubuntu 22</strong> to run the <strong>Ubuntu 22</strong> (jammy) container, then it works.<br> Using Ubuntu 20 to run it, won't work and leads into this issue.<br> Please upvote if you encounter this issue, this helps us to prioritise.</p> <hr> <p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.23.0</li> <li>Operating System: Linux</li> <li>Python version: 3.10</li> <li>Browser: Webkit</li> </ul> <p dir="auto"><strong>Code Snippet</strong><br> pw.py</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import asyncio from playwright.async_api import async_playwright async def run(): async with async_playwright() as playwright: await playwright.webkit.launch(headless=True) if __name__ == &quot;__main__&quot;: asyncio.run(run())"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">asyncio</span> <span class="pl-k">from</span> <span class="pl-s1">playwright</span>.<span class="pl-s1">async_api</span> <span class="pl-k">import</span> <span class="pl-s1">async_playwright</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">run</span>(): <span class="pl-k">async</span> <span class="pl-k">with</span> <span class="pl-en">async_playwright</span>() <span class="pl-k">as</span> <span class="pl-s1">playwright</span>: <span class="pl-k">await</span> <span class="pl-s1">playwright</span>.<span class="pl-s1">webkit</span>.<span class="pl-en">launch</span>(<span class="pl-s1">headless</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>: <span class="pl-s1">asyncio</span>.<span class="pl-en">run</span>(<span class="pl-en">run</span>())</pre></div> <p dir="auto">Dockerfile</p> <div class="highlight highlight-source-dockerfile notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="FROM snakepacker/python:3.10 RUN apt-install python3-pip &amp;&amp; \ pip install playwright==1.23.0 &amp;&amp; \ playwright install --with-deps webkit ADD ./pw.py pw.py CMD python3 pw.py"><pre class="notranslate"><span class="pl-k">FROM</span> snakepacker/python:3.10 <span class="pl-k">RUN</span> apt-install python3-pip &amp;&amp; \ pip install playwright==1.23.0 &amp;&amp; \ playwright install --with-deps webkit <span class="pl-k">ADD</span> ./pw.py pw.py <span class="pl-k">CMD</span> python3 pw.py</pre></div> <p dir="auto"><strong>Describe the bug</strong></p> <p dir="auto">playwright times out starting webkit</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="docker build -t test-pw . &amp;&amp; docker run test-pw"><pre class="notranslate">docker build -t test-pw <span class="pl-c1">.</span> <span class="pl-k">&amp;&amp;</span> docker run test-pw</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;//pw.py&quot;, line 11, in &lt;module&gt; asyncio.run(run()) File &quot;/usr/lib/python3.10/asyncio/runners.py&quot;, line 44, in run return loop.run_until_complete(main) File &quot;/usr/lib/python3.10/asyncio/base_events.py&quot;, line 646, in run_until_complete return future.result() File &quot;//pw.py&quot;, line 8, in run await playwright.webkit.launch(headless=True) File &quot;/usr/local/lib/python3.10/dist-packages/playwright/async_api/_generated.py&quot;, line 11399, in launch await self._impl_obj.launch( File &quot;/usr/local/lib/python3.10/dist-packages/playwright/_impl/_browser_type.py&quot;, line 93, in launch Browser, from_channel(await self._channel.send(&quot;launch&quot;, params)) File &quot;/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py&quot;, line 43, in send return await self._connection.wrap_api_call( File &quot;/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py&quot;, line 370, in _ return await result File &quot;/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py&quot;, line 78, in inner_send result = next(iter(done)).result() playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded. =========================== logs =========================== &lt;launching&gt; /root/.cache/ms-playwright/webkit-1668/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=440 ============================================================"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "//pw.py", line 11, in &lt;module&gt; asyncio.run(run()) File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "//pw.py", line 8, in run await playwright.webkit.launch(headless=True) File "/usr/local/lib/python3.10/dist-packages/playwright/async_api/_generated.py", line 11399, in launch await self._impl_obj.launch( File "/usr/local/lib/python3.10/dist-packages/playwright/_impl/_browser_type.py", line 93, in launch Browser, from_channel(await self._channel.send("launch", params)) File "/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py", line 43, in send return await self._connection.wrap_api_call( File "/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py", line 370, in _ return await result File "/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py", line 78, in inner_send result = next(iter(done)).result() playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded. =========================== logs =========================== &lt;launching&gt; /root/.cache/ms-playwright/webkit-1668/pw_run.sh --inspector-pipe --headless --no-startup-window &lt;launched&gt; pid=440 ============================================================ </code></pre></div>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="match std::io::stdin().read_u8() { Ok(_) =&gt; (), Err(e) =&gt; println!(&quot;{}&quot;,e) }"><pre class="notranslate"><code class="notranslate">match std::io::stdin().read_u8() { Ok(_) =&gt; (), Err(e) =&gt; println!("{}",e) } </code></pre></div> <p dir="auto">Output: "unknown error (OS Error 8 (FormatMessageW() returned error 15100))"</p> <p dir="auto">Win 7<br> rustc 0.10<br> host: i686-pc-mingw32</p>
<p dir="auto">More investigation from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29958060" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/13073" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/13073/hovercard" href="https://github.com/rust-lang/rust/issues/13073">#13073</a>.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="extern crate native; extern crate green; extern crate rustuv; use std::libc::{c_void, LPWSTR, LPVOID, DWORD}; extern &quot;system&quot; { fn MessageBoxA(hWnd: u32, lpText: *u8, lpCaption: *u8, uType: u32) -&gt; i32; fn FormatMessageW(flags: DWORD, lpSrc: LPVOID, msgId: DWORD, langId: DWORD, buf: LPWSTR, nsize: DWORD, args: *c_void) -&gt; DWORD; fn GetLastError() -&gt; u32; } fn test() { let mut buf: [u16, ..50] = [0, ..50]; let ret = unsafe { FormatMessageW(0x1000, 0 as *mut c_void, 1, 0x400, buf.as_mut_ptr(), buf.len() as u32, 0 as *c_void) }; if ret == 0 { let err = unsafe { GetLastError() }; println!(&quot;err: {:?}&quot;, err); } let s = std::str::from_utf16(buf); println!(&quot;{:?}&quot;, s); //unsafe { // MessageBoxA(0, &quot;ABC&quot;.as_ptr(), &quot;ABC&quot;.as_ptr(), 0); //} } fn main() { if cfg!(spawn) { spawn(proc() { test(); }); } else { test(); } } #[start] pub fn start(argc: int, argv: **u8) -&gt; int { if cfg!(green) { green::start(argc, argv, rustuv::event_loop, main) } else if cfg!(raw) { main(); 0 } else { native::start(argc, argv, main) } }"><pre class="notranslate"><span class="pl-k">extern</span> <span class="pl-k">crate</span> native<span class="pl-kos">;</span> <span class="pl-k">extern</span> <span class="pl-k">crate</span> green<span class="pl-kos">;</span> <span class="pl-k">extern</span> <span class="pl-k">crate</span> rustuv<span class="pl-kos">;</span> <span class="pl-k">use</span> std<span class="pl-kos">::</span>libc<span class="pl-kos">::</span><span class="pl-kos">{</span>c_void<span class="pl-kos">,</span> <span class="pl-v">LPWSTR</span><span class="pl-kos">,</span> <span class="pl-v">LPVOID</span><span class="pl-kos">,</span> <span class="pl-v">DWORD</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">extern</span> <span class="pl-s">"system"</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-v">MessageBoxA</span><span class="pl-kos">(</span><span class="pl-s1">hWnd</span><span class="pl-kos">:</span> <span class="pl-smi">u32</span><span class="pl-kos">,</span> <span class="pl-s1">lpText</span><span class="pl-kos">:</span> <span class="pl-c1">*</span><span class="pl-smi">u8</span><span class="pl-kos">,</span> <span class="pl-s1">lpCaption</span><span class="pl-kos">:</span> <span class="pl-c1">*</span><span class="pl-smi">u8</span><span class="pl-kos">,</span> <span class="pl-s1">uType</span><span class="pl-kos">:</span> <span class="pl-smi">u32</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">i32</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-v">FormatMessageW</span><span class="pl-kos">(</span><span class="pl-s1">flags</span><span class="pl-kos">:</span> <span class="pl-smi">DWORD</span><span class="pl-kos">,</span> <span class="pl-s1">lpSrc</span><span class="pl-kos">:</span> <span class="pl-smi">LPVOID</span><span class="pl-kos">,</span> <span class="pl-s1">msgId</span><span class="pl-kos">:</span> <span class="pl-smi">DWORD</span><span class="pl-kos">,</span> <span class="pl-s1">langId</span><span class="pl-kos">:</span> <span class="pl-smi">DWORD</span><span class="pl-kos">,</span> <span class="pl-s1">buf</span><span class="pl-kos">:</span> <span class="pl-smi">LPWSTR</span><span class="pl-kos">,</span> <span class="pl-s1">nsize</span><span class="pl-kos">:</span> <span class="pl-smi">DWORD</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">:</span> <span class="pl-c1">*</span><span class="pl-smi">c_void</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">DWORD</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-v">GetLastError</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">u32</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-k">mut</span> buf<span class="pl-kos">:</span> <span class="pl-kos">[</span><span class="pl-smi">u16</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-c1">0</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-k">let</span> ret = <span class="pl-k">unsafe</span> <span class="pl-kos">{</span> <span class="pl-v">FormatMessageW</span><span class="pl-kos">(</span><span class="pl-c1">0x1000</span><span class="pl-kos">,</span> <span class="pl-c1">0</span> <span class="pl-k">as</span> <span class="pl-c1">*</span><span class="pl-k">mut</span> <span class="pl-smi">c_void</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">0x400</span><span class="pl-kos">,</span> buf<span class="pl-kos">.</span><span class="pl-en">as_mut_ptr</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> buf<span class="pl-kos">.</span><span class="pl-en">len</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">as</span> <span class="pl-smi">u32</span><span class="pl-kos">,</span> <span class="pl-c1">0</span> <span class="pl-k">as</span> <span class="pl-c1">*</span><span class="pl-smi">c_void</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">if</span> ret == <span class="pl-c1">0</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> err = <span class="pl-k">unsafe</span> <span class="pl-kos">{</span> <span class="pl-v">GetLastError</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">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"err: {:?}"</span>, err<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> s = std<span class="pl-kos">::</span>str<span class="pl-kos">::</span><span class="pl-en">from_utf16</span><span class="pl-kos">(</span>buf<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{:?}"</span>, s<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">//unsafe {</span> <span class="pl-c">// MessageBoxA(0, "ABC".as_ptr(), "ABC".as_ptr(), 0);</span> <span class="pl-c">//}</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">if</span> <span class="pl-en">cfg</span><span class="pl-en">!</span><span class="pl-kos">(</span>spawn<span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">spawn</span><span class="pl-kos">(</span><span class="pl-en">proc</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-c1">#<span class="pl-kos">[</span>start<span class="pl-kos">]</span></span> <span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">start</span><span class="pl-kos">(</span><span class="pl-s1">argc</span><span class="pl-kos">:</span> <span class="pl-smi">int</span><span class="pl-kos">,</span> <span class="pl-s1">argv</span><span class="pl-kos">:</span> <span class="pl-c1">*</span><span class="pl-c1">*</span><span class="pl-smi">u8</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">int</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-en">cfg</span><span class="pl-en">!</span><span class="pl-kos">(</span>green<span class="pl-kos">)</span> <span class="pl-kos">{</span> green<span class="pl-kos">::</span><span class="pl-en">start</span><span class="pl-kos">(</span>argc<span class="pl-kos">,</span> argv<span class="pl-kos">,</span> rustuv<span class="pl-kos">::</span>event_loop<span class="pl-kos">,</span> main<span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-k">if</span> <span class="pl-en">cfg</span><span class="pl-en">!</span><span class="pl-kos">(</span>raw<span class="pl-kos">)</span> <span class="pl-kos">{</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-c1">0</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> native<span class="pl-kos">::</span><span class="pl-en">start</span><span class="pl-kos">(</span>argc<span class="pl-kos">,</span> argv<span class="pl-kos">,</span> main<span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">If the code is bulit with <code class="notranslate">--cfg green</code>, <code class="notranslate">--cfg raw</code> or <code class="notranslate">--cfg spawn</code>, it works as expected. However, if it is built with no cfg, it behaves strangely: <code class="notranslate">FormatMessageW()</code> fails to get system locale mssage, and <code class="notranslate">MessageBoxA()</code> shows gui message box with non-system-themed border.</p> <p dir="auto">I guess the main task has bad thread-local data due to <code class="notranslate">libnative::start()</code>.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexcrichton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexcrichton">@alexcrichton</a></p>
1
<h1 dir="auto">Description of the new feature/enhancement</h1> <p dir="auto">A <strong>multiplexer</strong> feature would be very useful and cool!<br> By having multiple panes in a single windows:</p> <ul dir="auto"> <li>You can easily copy/paste output from one pane to another.</li> <li>You can work on multiple tasks at once.</li> <li>You can monitor multiple commands at once.</li> <li>You can compose a command in one pane while looking at the 'help' page for that command in another pane.</li> </ul>
<p dir="auto">I personally prefer having a context menu with right click.</p> <p dir="auto">Basically I request that you mimic an option from Visual Studio Code where you have "terminal.integrated.rightClickBehavior" that allows you to specify how right click behaves.</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">I am building a wrapper middleware in express to restrict an entire next application from the public without a password and a username. It should catch every get request that's coming through, check for a logged-in boolean on a session found with an id from a session-cookie.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">It works as expected for every normal browser http get request, however it does not work for pages served through the <a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-router">next-router</a>. I noticed this because I had reused a logo component on the restriction page which simply linked to '/' and even though the request went through the middleware and the correct code was run (basic if else with a logged-in boolean) it did serve the homepage.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const express = require('express') const next = require('next') const app = next({ dir: '.', dev: process.env.NODE_ENV !== 'PRODUCTION' }) const handle = app.getRequestHandler() const server = express() /* HARDCODED VALIDATE BOOLEAN */ const authenticated = false app.prepare() .then(() =&gt; { /* Page restriction middleware */ server.get('*', (req, res) =&gt; { console.log(req.path) if (!authenticated) { console.log('Not authenticated.') return app.render(req, res, '/restriction') } else { console.log('Authenticated.') return handle(req, res) } }) const PORT = process.env.PORT || process.env.port || 3000 server.listen(PORT) })"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">express</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'express'</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">next</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'next'</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-s1">next</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">dir</span>: <span class="pl-s">'.'</span><span class="pl-kos">,</span> <span class="pl-c1">dev</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">NODE_ENV</span> <span class="pl-c1">!==</span> <span class="pl-s">'PRODUCTION'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">handle</span> <span class="pl-c1">=</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">getRequestHandler</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">server</span> <span class="pl-c1">=</span> <span class="pl-s1">express</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c">/* HARDCODED VALIDATE BOOLEAN */</span> <span class="pl-k">const</span> <span class="pl-s1">authenticated</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">prepare</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-kos">{</span> <span class="pl-c">/*</span> <span class="pl-c"> Page restriction middleware</span> <span class="pl-c"> */</span> <span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">.</span><span class="pl-c1">path</span><span class="pl-kos">)</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">authenticated</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Not authenticated.'</span><span class="pl-kos">)</span> <span class="pl-k">return</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">,</span> <span class="pl-s">'/restriction'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Authenticated.'</span><span class="pl-kos">)</span> <span class="pl-k">return</span> <span class="pl-s1">handle</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-c1">PORT</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">PORT</span> <span class="pl-c1">||</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">port</span> <span class="pl-c1">||</span> <span class="pl-c1">3000</span> <span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-en">listen</span><span class="pl-kos">(</span><span class="pl-c1">PORT</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <p dir="auto">This code should never log 'Authenticated' much less actually serve the requested resource right?<br> Here's the thing, it never logs 'Authenticated' but it does serve any page you want if it was requested with next/link.</p> <p dir="auto">Front-end to reproduce:</p> <p dir="auto">index.js</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default () =&gt; &lt;div&gt;Restricted page. You cant see this without bypassing the express routing middleware.&lt;/div&gt;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span>Restricted page. You cant see this without bypassing the express routing middleware.<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">restriction.js</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import Link from 'next/link' export default () =&gt; &lt;Link href=&quot;/&quot;&gt;&lt;button&gt;I am the magic resctriction bypasser.&lt;/button&gt;&lt;/Link&gt;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">Link</span> <span class="pl-k">from</span> <span class="pl-s">'next/link'</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Link</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"/"</span><span class="pl-c1">&gt;</span><span class="pl-c1">&lt;</span><span class="pl-ent">button</span><span class="pl-c1">&gt;</span>I am the magic resctriction bypasser.<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">&gt;</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Link</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">What's sort of funny about this is that you can click on that Link in the restriction page and then refresh the page and the middleware will render the restriction page again.</p>
<p dir="auto">When using <code class="notranslate">docker build .</code> on our production server, I get the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="... Step 12/14 : RUN yarn build ---&gt; Running in 95abf61028ab yarn run v1.3.2 $ next build &gt; Using external babel configuration &gt; Location: &quot;/usr/src/app/.babelrc&quot; &gt; Using external babel configuration &gt; Location: &quot;/usr/src/app/.babelrc&quot; &gt; Using external babel configuration &gt; Location: &quot;/usr/src/app/.babelrc&quot; &gt; Using external babel configuration &gt; Location: &quot;/usr/src/app/.babelrc&quot; &gt; Failed to build { Error: (client) ./app/src/styles/pages/marketing.scss Module build failed: ModuleBuildError: Module build failed: #react-nav-root { ^ Invalid CSS after &quot; if&quot;: expected &quot;{&quot;, was &quot;(module.hot) {&quot; ..."><pre class="notranslate"><code class="notranslate">... Step 12/14 : RUN yarn build ---&gt; Running in 95abf61028ab yarn run v1.3.2 $ next build &gt; Using external babel configuration &gt; Location: "/usr/src/app/.babelrc" &gt; Using external babel configuration &gt; Location: "/usr/src/app/.babelrc" &gt; Using external babel configuration &gt; Location: "/usr/src/app/.babelrc" &gt; Using external babel configuration &gt; Location: "/usr/src/app/.babelrc" &gt; Failed to build { Error: (client) ./app/src/styles/pages/marketing.scss Module build failed: ModuleBuildError: Module build failed: #react-nav-root { ^ Invalid CSS after " if": expected "{", was "(module.hot) {" ... </code></pre></div> <p dir="auto">Above, <code class="notranslate">yarn build</code> points to <code class="notranslate">next build</code>.</p> <p dir="auto">When docker is building the image, it generates the node_modules dir from scratch (dir is not present when pulling from github repo).</p> <p dir="auto">Notice how "Using external babel configuration" is repeated four times, and that there is no mention of using a webpack config. I use a css/scss loader in my next.config.js, and it looks like that file is not getting loaded, which is why it can't parse this scss file. A successful build locally (using <code class="notranslate">docker build .</code> with node_modules dir present) looks like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="... Step 12/14 : RUN yarn build ---&gt; Running in b1d43e9221e8 yarn run v1.3.2 $ next build &gt; Using external babel configuration &gt; Location: &quot;/usr/src/app/.babelrc&quot; &gt; Using &quot;webpack&quot; config function defined in next.config.js. Done in 77.93s. ..."><pre class="notranslate"><code class="notranslate">... Step 12/14 : RUN yarn build ---&gt; Running in b1d43e9221e8 yarn run v1.3.2 $ next build &gt; Using external babel configuration &gt; Location: "/usr/src/app/.babelrc" &gt; Using "webpack" config function defined in next.config.js. Done in 77.93s. ... </code></pre></div> <p dir="auto">Notice that it finds the webpack config no problem.</p> <p dir="auto">Here is my Dockerfile (some parts redacted):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM mhart/alpine-node:9.3.0 # Create app directory RUN mkdir -p /usr/src/app WORKDIR /usr/src/app # Install app dependencies COPY package.json /usr/src/app/ RUN yarn install # Bundle app source COPY . /usr/src/app # build RUN yarn build EXPOSE 3000 CMD [ &quot;yarn&quot;, &quot;serve&quot; ]"><pre class="notranslate"><code class="notranslate">FROM mhart/alpine-node:9.3.0 # Create app directory RUN mkdir -p /usr/src/app WORKDIR /usr/src/app # Install app dependencies COPY package.json /usr/src/app/ RUN yarn install # Bundle app source COPY . /usr/src/app # build RUN yarn build EXPOSE 3000 CMD [ "yarn", "serve" ] </code></pre></div> <p dir="auto">I believe the problem is due to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="266124614" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/3119" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/3119/hovercard" href="https://github.com/vercel/next.js/pull/3119">#3119</a>. Rolling back to [email protected] solved the problem.</p> <p dir="auto"><a href="https://github.com/jasonbarry/next.js/tree/canary-fix-dist">My fork</a>, which is a copy of [email protected] with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="266124614" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/3119" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/3119/hovercard" href="https://github.com/vercel/next.js/pull/3119">#3119</a> rolled back, also fixes the problem.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Context</h2> <p dir="auto">Building with <code class="notranslate">next build</code> works when I am developing locally and have my node_modules dir present. However, our production servers use docker to build our image. In my project, node_modules aren't checked in, they get recreated via yarn. Next is unable to locate it after <code class="notranslate">yarn install</code>, or does something very fishy. This has something to do with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="266124614" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/3119" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/3119/hovercard" href="https://github.com/vercel/next.js/pull/3119">#3119</a> because reverting that change fixed the problem for me.</p> <p dir="auto">This is preventing us from deploying our app with the latest canary release.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.3.0-canary.1</td> </tr> <tr> <td>node</td> <td>8.9.1</td> </tr> <tr> <td>OS</td> <td>10.12.6</td> </tr> </tbody> </table>
0
<p dir="auto">Hi, I'm using TSC 1.5.3 (latest head) and I'm trying to compile following piece of code</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@SomeDecorator() export class App { constructor() { } }"><pre class="notranslate">@<span class="pl-smi">SomeDecorator</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">App</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{&quot;compilerOptions&quot;: { &quot;emitDecoratorMetadata&quot;: true, &quot;experimentalDecorators&quot;: true, &quot;module&quot;: &quot;system&quot;, &quot;target&quot;: &quot;es5&quot; }}"><pre class="notranslate">{<span class="pl-ent">"compilerOptions"</span>: { <span class="pl-ent">"emitDecoratorMetadata"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"experimentalDecorators"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>system<span class="pl-pds">"</span></span>, <span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>es5<span class="pl-pds">"</span></span> }}</pre></div> <p dir="auto">which will then produce following code</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var __decorate = ...; var __metadata = ...; System.register([], function(exports_1) { ... };"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">__decorate</span> <span class="pl-c1">=</span> ...<span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">__metadata</span> <span class="pl-c1">=</span> ...<span class="pl-kos">;</span> <span class="pl-v">System</span><span class="pl-kos">.</span><span class="pl-en">register</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">exports_1</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">Now this doesn't really play nice together with systemjs and it works for me only when manually moving the <code class="notranslate">var __decorate</code> and <code class="notranslate">var __metadata</code> declarations into the anonymous function <code class="notranslate">function(exports_1) { ..here... }</code>. Not sure if it's really valid to have these variable declarations outside of the <code class="notranslate">System.register</code>.</p>
<p dir="auto">Original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="81047305" data-permission-text="Title is private" data-url="https://github.com/systemjs/builder/issues/178" data-hovercard-type="issue" data-hovercard-url="/systemjs/builder/issues/178/hovercard" href="https://github.com/systemjs/builder/issues/178">systemjs/builder#178</a></p>
1
<p dir="auto">Hi,<br> Symfony source code is well commented but we can see a lot of different use of phpDoc. BTW, i think that would be a good idea to define how to write the phpDoc. (We can discuss here and update the symfony-docs)</p> <p dir="auto">I think for exemple, this coding standard is the best actually:</p> <p dir="auto"><a href="https://github.com/opensky/Symfony2-coding-standard">https://github.com/opensky/Symfony2-coding-standard</a></p> <p dir="auto"><strong>I would like to have yours opinions before make a PR and fix all phpDoc.</strong></p> <p dir="auto">I see some cases, i'll list them and can you say me if you're OK on each of them.</p> <h1 dir="auto">A) Usage of inheritDoc</h1> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php /** * @{inheritDoc} ---&gt; No * {@inheritDoc} ---&gt; No * {@inheritdoc} * * (see http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.inlineinheritdoc.pkg.html) */ public function myInheritedMethod() { }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-c">/**</span> <span class="pl-c">* @{inheritDoc} ---&gt; No</span> <span class="pl-c">* {@inheritDoc} ---&gt; No</span> <span class="pl-c">* {@inheritdoc}</span> <span class="pl-c">* </span> <span class="pl-c">* (see http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.inlineinheritdoc.pkg.html)</span> <span class="pl-c">*/</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">myInheritedMethod</span>() { }</pre></div> <p dir="auto">Adding too the <code class="notranslate">inheritDoc</code> on method where we use <code class="notranslate">see</code></p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php /** * {@inheritdoc} * * see \MyBundle\myInheritedMethod */ public function myInheritedMethod() { }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-c">/**</span> <span class="pl-c">* {@inheritdoc}</span> <span class="pl-c">*</span> <span class="pl-c">* see \MyBundle\myInheritedMethod</span> <span class="pl-c">*/</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">myInheritedMethod</span>() { }</pre></div> <h1 dir="auto">B) Aligment</h1> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php /** * ..... description ... * * align type of params, var names, and the comment * ONLY ONE space between params, var names and comments * * @param MyObject $a comment of A * @param string $b comment of b */ public function myMethod(MyObject $a, $b) { }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-c">/**</span> <span class="pl-c">* ..... description ...</span> <span class="pl-c">*</span> <span class="pl-c">* align type of params, var names, and the comment</span> <span class="pl-c">* ONLY ONE space between params, var names and comments</span> <span class="pl-c">* </span> <span class="pl-c">* @param MyObject $a comment of A</span> <span class="pl-c">* @param string $b comment of b</span> <span class="pl-c">*/</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">myMethod</span>(<span class="pl-smi"><span class="pl-smi">MyObject</span></span> <span class="pl-s1"><span class="pl-c1">$</span>a</span>, <span class="pl-s1"><span class="pl-c1">$</span>b</span>) { }</pre></div> <h1 dir="auto">C ) Return tag</h1> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php /** * ..... description ... * * skip a line between params and @return tag * * @param MyObject $a comment of A * @param string $b comment of b * * @return boolean */ public function myMethod(MyObject $a, $b) { return true; }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-c">/**</span> <span class="pl-c">* ..... description ...</span> <span class="pl-c">*</span> <span class="pl-c">* skip a line between params and @return tag</span> <span class="pl-c">* </span> <span class="pl-c">* @param MyObject $a comment of A</span> <span class="pl-c">* @param string $b comment of b</span> <span class="pl-c">*</span> <span class="pl-c">* @return boolean</span> <span class="pl-c">*/</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">myMethod</span>(<span class="pl-smi"><span class="pl-smi">MyObject</span></span> <span class="pl-s1"><span class="pl-c1">$</span>a</span>, <span class="pl-s1"><span class="pl-c1">$</span>b</span>) { <span class="pl-k">return</span> <span class="pl-c1">true</span>; }</pre></div> <h1 dir="auto">D ) Type</h1> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php /** * ..... description ... * * lowercase for type which are not object ! * * @param string $b comment of b * @param String $b comment of b &lt;--- NO * * @return boolean * @return Boolean &lt;---- No */ public function myMethod(MyObject $a, $b) { return true; }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-c">/**</span> <span class="pl-c">* ..... description ...</span> <span class="pl-c">*</span> <span class="pl-c">* lowercase for type which are not object !</span> <span class="pl-c">* </span> <span class="pl-c">* @param string $b comment of b</span> <span class="pl-c">* @param String $b comment of b &lt;--- NO</span> <span class="pl-c">*</span> <span class="pl-c">* @return boolean</span> <span class="pl-c">* @return Boolean &lt;---- No</span> <span class="pl-c">*/</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">myMethod</span>(<span class="pl-smi"><span class="pl-smi">MyObject</span></span> <span class="pl-s1"><span class="pl-c1">$</span>a</span>, <span class="pl-s1"><span class="pl-c1">$</span>b</span>) { <span class="pl-k">return</span> <span class="pl-c1">true</span>; }</pre></div> <p dir="auto">May have you other cases ?</p> <p dir="auto">I can make a PR to rectify these cases on each file of symfony, but i would like to be sure you're OK before doing that :)</p>
<p dir="auto">There are several problems with the current way:</p> <ul dir="auto"> <li>default logic is hard-coded in AbstractAuthenticationListener (can not be modified without copy/paste)</li> <li>there are problems with XHR/automatic background requests that might change the redirect path (this is hard to customize at the moment)</li> </ul>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.35.1]</li> <li>Operating System: [Linux, Mac]</li> <li>Browser: [Chromium]</li> <li>Other info: Random occurance</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"> I provided exact source code that allows reproducing the issue locally.</li> </ul> <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 import { defineConfig, devices } from '@playwright/test'; import { testPlanFilter } from '../node_modules/allure-playwright/dist/testplan'; /** * Read environment variables from file. * https://github.com/motdotla/dotenv */ // require('dotenv').config(); /** * @see https://playwright.dev/docs/test-configuration */ export default defineConfig({ /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, /* Run tests in files in parallel */ fullyParallel: true, grep: testPlanFilter(), /* Configure projects for major browsers */ projects: [ { name: 'Localhost', use: { baseURL: 'http://127.0.0.1:2001/', }, }, { name: 'Localhost Mobile', use: { ...devices['Pixel 5'], baseURL: 'http://127.0.0.1:2001/', }, }, { name: 'Production', use: { baseURL: 'https://', }, }, ], /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [ ['html', { open: 'never' }], ['list'], [ 'allure-playwright', { detail: false, environmentInfo: { E2E_NODE_VERSION: process.version, E2E_OS: process.platform, }, }, ], ], /* Retry on CI only */ retries: process.env.CI ? 1 : 0, testDir: './tests', timeout: 70000, /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { acceptDownloads: true, actionTimeout: 10000, navigationTimeout: 10000, screenshot: 'only-on-failure', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', video: 'retain-on-failure', viewport: { height: 800, width: 1440 }, }, /* Parallel tests on CI. */ workers: process.env.CI ? 6 : 3, });"><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">import</span> <span class="pl-kos">{</span> <span class="pl-s1">testPlanFilter</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../node_modules/allure-playwright/dist/testplan'</span><span class="pl-kos">;</span> <span class="pl-c">/**</span> <span class="pl-c"> * Read environment variables from file.</span> <span class="pl-c"> * https://github.com/motdotla/dotenv</span> <span class="pl-c"> */</span> <span class="pl-c">// require('dotenv').config();</span> <span class="pl-c">/**</span> <span class="pl-c"> * <span class="pl-k">@see</span> https://playwright.dev/docs/test-configuration</span> <span class="pl-c"> */</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-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">/* 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-c1">grep</span>: <span class="pl-en">testPlanFilter</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">'Localhost'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c1">baseURL</span>: <span class="pl-s">'http://127.0.0.1:2001/'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Localhost Mobile'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Pixel 5'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">baseURL</span>: <span class="pl-s">'http://127.0.0.1:2001/'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Production'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> <span class="pl-c1">baseURL</span>: <span class="pl-s">'https://'</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-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span> <span class="pl-c1">reporter</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span><span class="pl-s">'html'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">open</span>: <span class="pl-s">'never'</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'list'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span> <span class="pl-s">'allure-playwright'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">detail</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">environmentInfo</span>: <span class="pl-kos">{</span> <span class="pl-c1">E2E_NODE_VERSION</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">version</span><span class="pl-kos">,</span> <span class="pl-c1">E2E_OS</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">platform</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">/* 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">1</span> : <span class="pl-c1">0</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">timeout</span>: <span class="pl-c1">70000</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-c1">acceptDownloads</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">10000</span><span class="pl-kos">,</span> <span class="pl-c1">navigationTimeout</span>: <span class="pl-c1">10000</span><span class="pl-kos">,</span> <span class="pl-c1">screenshot</span>: <span class="pl-s">'only-on-failure'</span><span class="pl-kos">,</span> <span class="pl-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-c1">video</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span> <span class="pl-c1">viewport</span>: <span class="pl-kos">{</span> <span class="pl-c1">height</span>: <span class="pl-c1">800</span><span class="pl-kos">,</span> <span class="pl-c1">width</span>: <span class="pl-c1">1440</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">/* 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">6</span> : <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Test file (self-contained)</strong><br> Reproducible with random tests. The only required conditions are: parallel execution and at least 1 retry</p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run the test in parallel</li> <li>Some of the tests should be retried</li> </ul> <p dir="auto"><strong>Expected</strong><br> Execution should stop by itself</p> <p dir="auto"><strong>Actual</strong><br> The teardown process hangs and gets killed by timeout for some tests, but workers never stop.</p> <p dir="auto">Also I can see the next artifacts:</p> <ul dir="auto"> <li>In CI I'm getting an error about a non-existent screenshot file:<br> <a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1978717/252706436-1531cd7f-4dd7-47b7-b5c1-7d951d24d114.png"><img src="https://user-images.githubusercontent.com/1978717/252706436-1531cd7f-4dd7-47b7-b5c1-7d951d24d114.png" alt="CleanShot 2023-07-11 at 17 59 53" style="max-width: 100%;"></a></li> <li>Locally, it just hangs without any issues. But even though the passed test, in this case, is treated as Broken and screenshot+video attached.<br> <a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1978717/252707886-1df54721-c059-4ace-bbb8-156b7af6db2e.png"><img src="https://user-images.githubusercontent.com/1978717/252707886-1df54721-c059-4ace-bbb8-156b7af6db2e.png" alt="CleanShot 2023-07-11 at 18 05 48" style="max-width: 100%;"></a></li> </ul>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.32.2]</li> <li>Operating System: [Ubuntu 20.04]</li> <li>Browser: [All, Chromium, Firefox, WebKit]</li> <li>Other info: <ul dir="auto"> <li>Github Codespace image: mcr.microsoft.com/devcontainers/universal:latest</li> </ul> </li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Config file</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ projects: [ { name: 'edge', use: { ...devices['Desktop Edge']}, }, { name: 'chromium', use: { ...devices['Desktop Chrome']}, }, { name: 'webkit', use: { ...devices['Desktop Safari'] }, }, { name: 'firefox', use: { ...devices['Desktop Firefox'] }, } ] });"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">projects</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'edge'</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 Edge'</span><span class="pl-kos">]</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'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-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-c1">name</span>: <span class="pl-s">'firefox'</span><span class="pl-kos">,</span> <span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Firefox'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-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 '@playwright/test'; test('has title', async ({ page }) =&gt; { await page.goto('https://playwright.dev/'); // Expect a title &quot;to contain&quot; a substring. await expect(page).toHaveTitle(/Playwright/); });"><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">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Expect a title "to contain" a substring.</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Playwright<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run <code class="notranslate">npm init playwright@latest</code></li> <li>Run <code class="notranslate">xvfb-run npx playwright test --debug</code></li> </ul> <p dir="auto"><strong>Expected</strong><br> Each browser should open and allow for debugging</p> <p dir="auto"><strong>Actual</strong><br> The first test never finishes. See below for log:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/65235172/230488139-b931d192-8728-4ac6-8695-cd88e49fc79c.png"><img src="https://user-images.githubusercontent.com/65235172/230488139-b931d192-8728-4ac6-8695-cd88e49fc79c.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">I have been scouring the internet for a while now trying to find a solution to this. A couple points from what I have found and tried:</p> <ul dir="auto"> <li>I know that I am using the "mcr.microsoft.com/devcontainers/universal:latest" image and not playwright's official docker image, but my understanding is that this should still work with what I have.</li> <li>I have tried the <code class="notranslate">--disable-gpu</code> launch flag and that did not work</li> <li>I have tried manually installing the browser binaries using <code class="notranslate">PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers</code> and <code class="notranslate">PLAYWRIGHT_BROWSERS_PATH=0</code>. Neither option worked.</li> </ul> <p dir="auto">Finally, thank you very much for your time as I know there are a lot of issues that come into this repo!<g-emoji class="g-emoji" alias="smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">😄</g-emoji></p>
0
<p dir="auto">This tool is extremely useful when performing an arithmetic operation or to launch an application I use it a lot on my PC, but it is extremely useless on my Surface device because it does not have a touch trigger gesture, I could add the option or invocation with three fingers sliding, etc. Thank you.</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 1909 PowerToys version: 0.18.0 and above PowerToy module: Settings Device: HP Notebook, product number X7T77UA"><pre class="notranslate"><code class="notranslate">Windows build number: 1909 PowerToys version: 0.18.0 and above PowerToy module: Settings Device: HP Notebook, product number X7T77UA </code></pre></div> <p dir="auto">Note: this issue was initially observed on a laptop equipped with a Synaptics touchpad, and does not manifest on another, non-Synaptics computer.</p> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Open PowerToys Settings (i.e. right-click system tray icon, choose <code class="notranslate">Settings</code>)</li> <li>Attempt to scroll using two fingers on touchpad</li> </ul> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The main settings page should scroll as normal (if it's long enough, which it is on my device).</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The main settings page does not scroll.</p> <p dir="auto">Overview:</p> <table role="table"> <thead> <tr> <th>Method</th> <th>Functional?</th> </tr> </thead> <tbody> <tr> <td>Mouse wheel</td> <td><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji></td> </tr> <tr> <td>Touchscreen</td> <td><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji></td> </tr> <tr> <td>Touchpad (two fingers)</td> <td>❌</td> </tr> </tbody> </table> <h1 dir="auto">Notes</h1> <p dir="auto">After connecting my wireless mouse, scrolling with its wheel works as expected. While the mouse is connected, however, touchpad scrolling still does not work.</p> <p dir="auto">Also, the same issue was originally present in the PowerToys Run results list, but is solved as of at least v0.25.0.</p>
0
<p dir="auto">This came up in Dask (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="399380819" data-permission-text="Title is private" data-url="https://github.com/dask/dask/issues/4387" data-hovercard-type="pull_request" data-hovercard-url="/dask/dask/pull/4387/hovercard" href="https://github.com/dask/dask/pull/4387">dask/dask#4387</a>). We have an object (<code class="notranslate">dask.delayed.Delayed</code>) that duck-types method/attribute access to build a graph from user code. Unfortunately this means that when <code class="notranslate">np.dtype</code> tries to get the <code class="notranslate">dtype</code> attribute it succeeds but doesn't return a valid dtype (it returns another delayed object). This leads to recursion and eventually a segfault.</p> <p dir="auto">I'm able to reproduce his without dask as follows:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np class ShouldHaveNoDtype(object): &quot;&quot;&quot;This class happens to have a dtype attribute, but it doesn't actually meet the interface&quot;&quot;&quot; @property def dtype(self): &quot;&quot;&quot;Has the attribute, but doesn't return a dtype, leading to recursion&quot;&quot;&quot; return self x = ShouldHaveNoDtype() np.dtype(x)"><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">class</span> <span class="pl-v">ShouldHaveNoDtype</span>(<span class="pl-s1">object</span>): <span class="pl-s">"""This class happens to have a dtype attribute, but it doesn't actually</span> <span class="pl-s"> meet the interface"""</span> <span class="pl-en">@<span class="pl-s1">property</span></span> <span class="pl-k">def</span> <span class="pl-en">dtype</span>(<span class="pl-s1">self</span>): <span class="pl-s">"""Has the attribute, but doesn't return a dtype, leading to recursion"""</span> <span class="pl-k">return</span> <span class="pl-s1">self</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-v">ShouldHaveNoDtype</span>() <span class="pl-s1">np</span>.<span class="pl-en">dtype</span>(<span class="pl-s1">x</span>)</pre></div>
<p dir="auto">The following code crashes numpy (latest master):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np class crashnumpy(object): @property def dtype(self): return self np.array([1], dtype=crashnumpy())"><pre class="notranslate"><code class="notranslate">import numpy as np class crashnumpy(object): @property def dtype(self): return self np.array([1], dtype=crashnumpy()) </code></pre></div>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.0-beta</li> <li>Operating System / Platform =&gt; OSX 10.14.1 Beta (18B45d)</li> <li>Compiler =&gt; Xcode (ver 10.0.0.10001145)</li> <li>Python =&gt; 3.7.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">When retrieving frames in the latest version of OpenCV using the python bindings for OpenNI2, I found that the default value of the retrieve is used no matter what is passed into the binding <strong>unless the method is called with an additional dummy parameter</strong>.</p> <p dir="auto">The method signature in the documentation is consistent:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="retval, image = cv.VideoCapture.retrieve([, image[, flag]])"><pre class="notranslate"><code class="notranslate">retval, image = cv.VideoCapture.retrieve([, image[, flag]]) </code></pre></div> <p dir="auto">This would be sensible, however if you pass the image in, it <em>doesn't actually change the image as a side effect</em> which is what you would expect. Not only this, but there's no warning (or error) if you pass the flag in place of the image. Thus, while this may not explicitly be a bug, it's certainly a bit confusing, and it might need some clarification.</p> <p dir="auto">In addition, this runs a bit contrary to the documentation which says:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[out] | image | the video frame is returned here. If no frames has been grabbed the image will be empty."><pre class="notranslate"><code class="notranslate">[out] | image | the video frame is returned here. If no frames has been grabbed the image will be empty. </code></pre></div> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Not Working:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="capture = cv2.VideoCapture(cv2.CAP_OPENNI2) capture.grab() ret_d, depth_map = capture.retrieve(cv2.CAP_OPENNI_DEPTH_MAP) ret_f, frame = capture.retrieve(cv2.CAP_OPENNI_BGR_IMAGE) print(cv2.CAP_OPENNI_BGR_IMAGE, cv2.CAP_OPENNI_DEPTH_MAP) print(frame == depth_map)"><pre class="notranslate"><span class="pl-s1">capture</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoCapture</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI2</span>) <span class="pl-s1">capture</span>.<span class="pl-en">grab</span>() <span class="pl-s1">ret_d</span>, <span class="pl-s1">depth_map</span> <span class="pl-c1">=</span> <span class="pl-s1">capture</span>.<span class="pl-en">retrieve</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_DEPTH_MAP</span>) <span class="pl-s1">ret_f</span>, <span class="pl-s1">frame</span> <span class="pl-c1">=</span> <span class="pl-s1">capture</span>.<span class="pl-en">retrieve</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_BGR_IMAGE</span>) <span class="pl-en">print</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_BGR_IMAGE</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_DEPTH_MAP</span>) <span class="pl-en">print</span>(<span class="pl-s1">frame</span> <span class="pl-c1">==</span> <span class="pl-s1">depth_map</span>)</pre></div> <p dir="auto">The return value is:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt; 5, 0 &gt;&gt; True"><pre class="notranslate"><span class="pl-k">&gt;&gt;</span> 5, 0 <span class="pl-k">&gt;&gt;</span> True</pre></div> <p dir="auto">Working:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="capture = cv2.VideoCapture(cv2.CAP_OPENNI2) capture.grab() ret_d, depth_map = capture.retrieve(None, cv2.CAP_OPENNI_DEPTH_MAP) ret_f, frame = capture.retrieve(None, cv2.CAP_OPENNI_BGR_IMAGE) print(cv2.CAP_OPENNI_BGR_IMAGE, cv2.CAP_OPENNI_DEPTH_MAP) print(frame == depth_map)"><pre class="notranslate"><span class="pl-s1">capture</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoCapture</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI2</span>) <span class="pl-s1">capture</span>.<span class="pl-en">grab</span>() <span class="pl-s1">ret_d</span>, <span class="pl-s1">depth_map</span> <span class="pl-c1">=</span> <span class="pl-s1">capture</span>.<span class="pl-en">retrieve</span>(<span class="pl-c1">None</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_DEPTH_MAP</span>) <span class="pl-s1">ret_f</span>, <span class="pl-s1">frame</span> <span class="pl-c1">=</span> <span class="pl-s1">capture</span>.<span class="pl-en">retrieve</span>(<span class="pl-c1">None</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_BGR_IMAGE</span>) <span class="pl-en">print</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_BGR_IMAGE</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_DEPTH_MAP</span>) <span class="pl-en">print</span>(<span class="pl-s1">frame</span> <span class="pl-c1">==</span> <span class="pl-s1">depth_map</span>)</pre></div> <p dir="auto">The return value is:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt; 5, 0 &gt;&gt; False"><pre class="notranslate"><span class="pl-k">&gt;&gt;</span> 5, 0 <span class="pl-k">&gt;&gt;</span> False</pre></div> <p dir="auto">Odd Behavior:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="capture = cv2.VideoCapture(cv2.CAP_OPENNI2) capture.grab() frame = None ret_d, depth_map = capture.retrieve(None, cv2.CAP_OPENNI_DEPTH_MAP) capture.retrieve(frame, cv2.CAP_OPENNI_BGR_IMAGE) print(frame)"><pre class="notranslate"><span class="pl-s1">capture</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">VideoCapture</span>(<span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI2</span>) <span class="pl-s1">capture</span>.<span class="pl-en">grab</span>() <span class="pl-s1">frame</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span> <span class="pl-s1">ret_d</span>, <span class="pl-s1">depth_map</span> <span class="pl-c1">=</span> <span class="pl-s1">capture</span>.<span class="pl-en">retrieve</span>(<span class="pl-c1">None</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_DEPTH_MAP</span>) <span class="pl-s1">capture</span>.<span class="pl-en">retrieve</span>(<span class="pl-s1">frame</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">CAP_OPENNI_BGR_IMAGE</span>) <span class="pl-en">print</span>(<span class="pl-s1">frame</span>)</pre></div> <p dir="auto">Output:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt; None"><pre class="notranslate"><span class="pl-k">&gt;&gt;</span> None</pre></div>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.1</li> <li>Operating System / Platform =&gt; Ubuntu 20.04</li> <li>Compiler =&gt; Pycharm</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Unable to use sfm with opencv-python.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import cv2 help(cv2.sfm)"><pre class="notranslate"><code class="notranslate">import cv2 help(cv2.sfm) </code></pre></div> <p dir="auto">error:</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; AttributeError: module 'cv2.cv2' has no attribute 'sfm'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; AttributeError: module 'cv2.cv2' has no attribute 'sfm' </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="import cv2 help(cv2.sfm)"><pre class="notranslate"><code class="notranslate">import cv2 help(cv2.sfm) </code></pre></div> <h5 dir="auto">Issue submission checklist</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br> forum.opencv.org, Stack Overflow, etc and have not found solution</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to latest OpenCV version and the issue is still there</li> </ul>
0
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto"><code class="notranslate">imshow</code> behaviour change between matplotlib 3.1.0 and 3.1.1; y-axis is chopped-off in 3.1.1.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <p dir="auto">Run this in matplotlib 3.1.0 and 3.1.1.</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 xy = [&quot;1&quot;, &quot;2&quot;] fig, ax = plt.subplots() im = ax.imshow(np.array([[0.8, 0.0], [0.1, 6.3]])) ax.set_xticks(np.arange(len(xy))) ax.set_yticks(np.arange(len(xy))) ax.set_xticklabels(xy) ax.set_yticklabels(xy) plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">xy</span> <span class="pl-c1">=</span> [<span class="pl-s">"1"</span>, <span class="pl-s">"2"</span>] <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">im</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-c1">0.8</span>, <span class="pl-c1">0.0</span>], [<span class="pl-c1">0.1</span>, <span class="pl-c1">6.3</span>]])) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticks</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">xy</span>))) <span class="pl-s1">ax</span>.<span class="pl-en">set_yticks</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">xy</span>))) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticklabels</span>(<span class="pl-s1">xy</span>) <span class="pl-s1">ax</span>.<span class="pl-en">set_yticklabels</span>(<span class="pl-s1">xy</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto">This is a simplified version from the first figure on</p> <ul dir="auto"> <li><a href="https://matplotlib.org/3.1.0/gallery/images_contours_and_fields/image_annotated_heatmap.html" rel="nofollow">https://matplotlib.org/3.1.0/gallery/images_contours_and_fields/image_annotated_heatmap.html</a></li> <li><a href="https://matplotlib.org/3.1.1/gallery/images_contours_and_fields/image_annotated_heatmap.html" rel="nofollow">https://matplotlib.org/3.1.1/gallery/images_contours_and_fields/image_annotated_heatmap.html</a></li> </ul> <p dir="auto">where the difference can also be observed.</p> <p dir="auto"><strong>Actual outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8020943/64786732-668b4480-d56f-11e9-865e-5d1a85db45fa.png"><img src="https://user-images.githubusercontent.com/8020943/64786732-668b4480-d56f-11e9-865e-5d1a85db45fa.png" alt="3-1-1" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8020943/64786747-7014ac80-d56f-11e9-80f1-7ecb1605fb24.png"><img src="https://user-images.githubusercontent.com/8020943/64786747-7014ac80-d56f-11e9-80f1-7ecb1605fb24.png" alt="3-1-0" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Linux</li> <li>Matplotlib version: v3.1.0 vs v3.1.1</li> <li>Matplotlib backend: Qt5Agg</li> <li>Python version: 3.7</li> </ul>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">The very top and bottom of the heatmaps are getting truncated to 1/2 height in version <code class="notranslate">3.1.1</code>. This does not happen for version <code class="notranslate">3.0.3</code>.</p> <p dir="auto">This is the code from a Jupyter Notebook</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib import pandas as pd import numpy as np import seaborn as sb %pylab inline print(matplotlib.__version__) print(sb.__version__) grid = pd.DataFrame(np.arange(9).reshape((3,3))/10) fig, ax = subplots(1, 1, figsize=(5, 5)) sb.heatmap(grid, annot=True, fmt=&quot;.0f&quot;, ax=ax, cmap='RdBu', vmin=0, vmax=1, cbar=True);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-k">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">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sb</span> <span class="pl-c1">%</span><span class="pl-s1">pylab</span> <span class="pl-s1">inline</span> <span class="pl-en">print</span>(<span class="pl-s1">matplotlib</span>.<span class="pl-s1">__version__</span>) <span class="pl-en">print</span>(<span class="pl-s1">sb</span>.<span class="pl-s1">__version__</span>) <span class="pl-s1">grid</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">9</span>).<span class="pl-en">reshape</span>((<span class="pl-c1">3</span>,<span class="pl-c1">3</span>))<span class="pl-c1">/</span><span class="pl-c1">10</span>) <span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-en">subplots</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">5</span>, <span class="pl-c1">5</span>)) <span class="pl-s1">sb</span>.<span class="pl-en">heatmap</span>(<span class="pl-s1">grid</span>, <span class="pl-s1">annot</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">fmt</span><span class="pl-c1">=</span><span class="pl-s">".0f"</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'RdBu'</span>, <span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">cbar</span><span class="pl-c1">=</span><span class="pl-c1">True</span>);</pre></div> <p dir="auto"><strong>Actual outcome</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Populating the interactive namespace from numpy and matplotlib 3.1.1 0.9.0"><pre class="notranslate"><code class="notranslate">Populating the interactive namespace from numpy and matplotlib 3.1.1 0.9.0 </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1696066/60530345-87f5c780-9cc6-11e9-9e31-a251283f3f7e.png"><img src="https://user-images.githubusercontent.com/1696066/60530345-87f5c780-9cc6-11e9-9e31-a251283f3f7e.png" alt="download" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Ubuntu Linux</li> <li>Matplotlib version: 3.1.1</li> <li>Matplotlib backend: module://ipykernel.pylab.backend_inline</li> <li>Python version: 3.6</li> <li>Jupyter version (if applicable): 4.4.0</li> <li>Other libraries:</li> </ul>
1
<p dir="auto">define function with JSDoc which contain callback function as parameter get error about duplicate</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1042507/13346825/bb473dba-dc9b-11e5-8d3f-58618be8c815.png"><img src="https://cloud.githubusercontent.com/assets/1042507/13346825/bb473dba-dc9b-11e5-8d3f-58618be8c815.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">nightly (1.9.0-dev.20160429)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let maybeNumber: number | undefined; (function () { maybeNumber = 1; })(); if (maybeNumber !== undefined) { maybeNumber++; }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">maybeNumber</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">maybeNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">maybeNumber</span> <span class="pl-c1">!==</span> <span class="pl-c1">undefined</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">maybeNumber</span><span class="pl-c1">++</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> Everything works without errors, <code class="notranslate">maybeNumber</code> preserves type of <code class="notranslate">number | undefined</code> and refines to <code class="notranslate">number</code> in the <code class="notranslate">if</code> block.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let maybeNumber: number | undefined; // Control flow figured that: maybeNumber === undefined (function () { maybeNumber = 1; })(); // --&gt; oops, unknown side effects // Revert maybeNumber to initial `number | undefined` to cover all possibilities if (maybeNumber) { // Control flow: can refine to `number` again here maybeNumber++; }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">maybeNumber</span>: <span class="pl-smi">number</span> <span class="pl-c1">|</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span> <span class="pl-c">// Control flow figured that: maybeNumber === undefined</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">maybeNumber</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// --&gt; oops, unknown side effects</span> <span class="pl-c">// Revert maybeNumber to initial `number | undefined` to cover all possibilities</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">maybeNumber</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// Control flow: can refine to `number` again here</span> <span class="pl-s1">maybeNumber</span><span class="pl-c1">++</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Actual behavior:</strong><br> Language service reports type <code class="notranslate">nothing</code> on <code class="notranslate">maybeNumber</code> after the call (even though it's <code class="notranslate">number | undefined</code> before the call), so statement inside of the <code class="notranslate">if</code> condition breaks.</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">cloudformation_facts</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0.0"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">In version prior to 2.4 (i.e. ansible 2.3.2.) when cloudformaion_facts registers the facts under<br> ansible_facts['cloudformation']['my-cloudformation-stack-<strong>ID</strong>']<br> now they are registered under<br> ansible_facts['cloudformation']['my-cloudformation-stack-<strong>NAME</strong>']</p> <p dir="auto">AWS::CloudFormation::Stack Ref only returns the Stack ID.</p> <p dir="auto">This means if we set an CloudFormation Output of mystackID: !Ref mystack and want to use cloudformation_facts</p> <ul dir="auto"> <li> <p dir="auto">name: get stack facts<br> cloudformation_facts:<br> stack_name: "{{ mystack.ouputs.mystackID }}"</p> </li> <li> <p dir="auto">name: query mystack cloudformation_facts<br> facts_var: "{{ cloudformation[ mystack.ouputs.mystackID ].stack_resources.value }}"</p> </li> </ul> <p dir="auto">This would fail because the facts are now registered under ansible_facts['cloudformation']['my-cloudformation-stack-<strong>NAME</strong>']</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Create cloudformation stack with outputs including a AWS::CloudFormation::Stack !Ref called <em>mystackID</em> and <em>value</em></p> <ul dir="auto"> <li> <p dir="auto">name: get stack facts<br> cloudformation_facts:<br> stack_name: "{{ mystack.ouputs.mystack<strong>ID</strong> }}"</p> </li> <li> <p dir="auto">name: query mystack cloudformation_facts<br> facts_var: "{{ cloudformation[ mystack.ouputs.mystackID ].stack_outputs.value }}"</p> </li> </ul> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">ansible_facts['cloudformation']['my-cloudformation-stack-<strong>ID</strong>']</p> <p dir="auto"><code class="notranslate">ok: [localhost] =&gt; { "ansible_facts": { "cloudformation": { "arn:aws:cloudformation:us-east-2:123456789012:stack/mystack-mynestedstack-sggfrhxhum7w/f449b250-b969-11e0-a185-5081d0136786": { "stack_description": { "capabilities": [ "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM"</code></p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">ansible_facts['cloudformation']['my-cloudformation-stack-<strong>NAME</strong>']</p> <p dir="auto"><code class="notranslate">ok: [localhost] =&gt; { "ansible_facts": { "cloudformation": { "mystack-mynestedstack-sggfrhxhum7w": { "stack_description": { "capabilities": [ "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM"</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"> </code></pre></div>
<p dir="auto"><em>I'm copying this issue over from ansible-modules-core as I just recently ran into this.</em><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="185541635" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/5403" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/5403/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/5403">ansible/ansible-modules-core#5403</a></p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">setup</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0.0 config file = /home/vagrant/ansible/ansible.cfg configured module search path = ['/home/vagrant/ansible/library']"><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0 config file = /home/vagrant/ansible/ansible.cfg configured module search path = ['/home/vagrant/ansible/library'] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">gathering: smart</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Ubuntu 16.04.1</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">ipv4_secondaries displays duplicate address information</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Run<br> ansible -m setup hostname.foo -a "filter=ansible_eth1"</p> <p dir="auto">Receive a filtered response with eth1. Here is example of secondaries</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;ipv4_secondaries&quot;: [ { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; }, { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; } ],"><pre class="notranslate"><code class="notranslate">"ipv4_secondaries": [ { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" }, { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" } ], </code></pre></div> <p dir="auto">Information is repeated</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible -m setup hostname.foo -a &quot;filter=ansible_eth1&quot;"><pre class="notranslate"><code class="notranslate">ansible -m setup hostname.foo -a "filter=ansible_eth1" </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;ipv4_secondaries&quot;: [ { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; }, ],"><pre class="notranslate"><code class="notranslate">"ipv4_secondaries": [ { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" }, ], </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">Received</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &quot;ipv4_secondaries&quot;: [ { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; }, { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; } ],"><pre class="notranslate"><code class="notranslate"> "ipv4_secondaries": [ { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" }, { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" } ], </code></pre></div> <p dir="auto">Posting the full verbose output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/dist-packages/ansible/plugins/callback/__init__.pyc Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/system/setup.py &lt;10.10.10.83&gt; ESTABLISH SSH CONNECTION FOR USER: root &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 10.10.10.83 '/bin/sh -c '&quot;'&quot;'( umask 77 &amp;&amp; mkdir -p &quot;` echo $HOME/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234 `&quot; &amp;&amp; echo ansible-tmp-1477526333.03-252143209167234=&quot;` echo $HOME/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234 `&quot; ) &amp;&amp; sleep 0'&quot;'&quot;'' &lt;10.10.10.83&gt; PUT /tmp/tmpZmW3aJ TO /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/setup.py &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r '[10.10.10.83]' &lt;10.10.10.83&gt; ESTABLISH SSH CONNECTION FOR USER: root &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 10.10.10.83 '/bin/sh -c '&quot;'&quot;'chmod u+x /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/ /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/setup.py &amp;&amp; sleep 0'&quot;'&quot;'' &lt;10.10.10.83&gt; ESTABLISH SSH CONNECTION FOR USER: root &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r -tt 10.10.10.83 '/bin/sh -c '&quot;'&quot;'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/setup.py; rm -rf &quot;/root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/&quot; &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0'&quot;'&quot;'' voippbx.xcastlabs.com | SUCCESS =&gt; { &quot;ansible_facts&quot;: { &quot;ansible_eth1&quot;: { &quot;active&quot;: true, &quot;device&quot;: &quot;eth1&quot;, &quot;features&quot;: { &quot;busy_poll&quot;: &quot;on [fixed]&quot;, &quot;fcoe_mtu&quot;: &quot;off [fixed]&quot;, &quot;generic_receive_offload&quot;: &quot;on&quot;, &quot;generic_segmentation_offload&quot;: &quot;on&quot;, &quot;highdma&quot;: &quot;on [fixed]&quot;, &quot;l2_fwd_offload&quot;: &quot;off [fixed]&quot;, &quot;large_receive_offload&quot;: &quot;off [fixed]&quot;, &quot;loopback&quot;: &quot;off [fixed]&quot;, &quot;netns_local&quot;: &quot;off [fixed]&quot;, &quot;ntuple_filters&quot;: &quot;off [fixed]&quot;, &quot;receive_hashing&quot;: &quot;off [fixed]&quot;, &quot;rx_all&quot;: &quot;off [fixed]&quot;, &quot;rx_checksumming&quot;: &quot;on [fixed]&quot;, &quot;rx_fcs&quot;: &quot;off [fixed]&quot;, &quot;rx_vlan_filter&quot;: &quot;on [fixed]&quot;, &quot;rx_vlan_offload&quot;: &quot;off [fixed]&quot;, &quot;rx_vlan_stag_filter&quot;: &quot;off [fixed]&quot;, &quot;rx_vlan_stag_hw_parse&quot;: &quot;off [fixed]&quot;, &quot;scatter_gather&quot;: &quot;on&quot;, &quot;tcp_segmentation_offload&quot;: &quot;on&quot;, &quot;tx_checksum_fcoe_crc&quot;: &quot;off [fixed]&quot;, &quot;tx_checksum_ip_generic&quot;: &quot;on&quot;, &quot;tx_checksum_ipv4&quot;: &quot;off [fixed]&quot;, &quot;tx_checksum_ipv6&quot;: &quot;off [fixed]&quot;, &quot;tx_checksum_sctp&quot;: &quot;off [fixed]&quot;, &quot;tx_checksumming&quot;: &quot;on&quot;, &quot;tx_fcoe_segmentation&quot;: &quot;off [fixed]&quot;, &quot;tx_gre_segmentation&quot;: &quot;off [fixed]&quot;, &quot;tx_gso_robust&quot;: &quot;on [fixed]&quot;, &quot;tx_ipip_segmentation&quot;: &quot;off [fixed]&quot;, &quot;tx_lockless&quot;: &quot;off [fixed]&quot;, &quot;tx_nocache_copy&quot;: &quot;off&quot;, &quot;tx_scatter_gather&quot;: &quot;on&quot;, &quot;tx_scatter_gather_fraglist&quot;: &quot;off [fixed]&quot;, &quot;tx_sit_segmentation&quot;: &quot;off [fixed]&quot;, &quot;tx_tcp6_segmentation&quot;: &quot;on&quot;, &quot;tx_tcp_ecn_segmentation&quot;: &quot;on&quot;, &quot;tx_tcp_segmentation&quot;: &quot;on&quot;, &quot;tx_udp_tnl_segmentation&quot;: &quot;off [fixed]&quot;, &quot;tx_vlan_offload&quot;: &quot;off [fixed]&quot;, &quot;tx_vlan_stag_hw_insert&quot;: &quot;off [fixed]&quot;, &quot;udp_fragmentation_offload&quot;: &quot;on&quot;, &quot;vlan_challenged&quot;: &quot;off [fixed]&quot; }, &quot;ipv4&quot;: { &quot;address&quot;: &quot;75.145.154.230&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; }, &quot;ipv4_secondaries&quot;: [ { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; }, { &quot;address&quot;: &quot;75.145.154.231&quot;, &quot;broadcast&quot;: &quot;75.145.154.239&quot;, &quot;netmask&quot;: &quot;255.255.255.240&quot;, &quot;network&quot;: &quot;75.145.154.224&quot; } ], &quot;ipv6&quot;: [ { &quot;address&quot;: &quot;fe80::5c1c:e5ff:fe35:7c81&quot;, &quot;prefix&quot;: &quot;64&quot;, &quot;scope&quot;: &quot;link&quot; } ], &quot;macaddress&quot;: &quot;5e:1c:e5:35:7c:81&quot;, &quot;module&quot;: &quot;virtio_net&quot;, &quot;mtu&quot;: 1500, &quot;pciid&quot;: &quot;virtio4&quot;, &quot;promisc&quot;: false, &quot;type&quot;: &quot;ether&quot; } }, &quot;changed&quot;: false, &quot;invocation&quot;: { &quot;module_args&quot;: { &quot;fact_path&quot;: &quot;/etc/ansible/facts.d&quot;, &quot;filter&quot;: &quot;ansible_eth1&quot;, &quot;gather_subset&quot;: [ &quot;all&quot; ], &quot;gather_timeout&quot;: 10 }, &quot;module_name&quot;: &quot;setup&quot; } }"><pre class="notranslate"><code class="notranslate">Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/dist-packages/ansible/plugins/callback/__init__.pyc Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/system/setup.py &lt;10.10.10.83&gt; ESTABLISH SSH CONNECTION FOR USER: root &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 10.10.10.83 '/bin/sh -c '"'"'( umask 77 &amp;&amp; mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234 `" &amp;&amp; echo ansible-tmp-1477526333.03-252143209167234="` echo $HOME/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234 `" ) &amp;&amp; sleep 0'"'"'' &lt;10.10.10.83&gt; PUT /tmp/tmpZmW3aJ TO /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/setup.py &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r '[10.10.10.83]' &lt;10.10.10.83&gt; ESTABLISH SSH CONNECTION FOR USER: root &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r 10.10.10.83 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/ /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/setup.py &amp;&amp; sleep 0'"'"'' &lt;10.10.10.83&gt; ESTABLISH SSH CONNECTION FOR USER: root &lt;10.10.10.83&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=root -o ConnectTimeout=10 -o ControlPath=/home/vagrant/.ansible/cp/ansible-ssh-%h-%p-%r -tt 10.10.10.83 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/setup.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1477526333.03-252143209167234/" &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0'"'"'' voippbx.xcastlabs.com | SUCCESS =&gt; { "ansible_facts": { "ansible_eth1": { "active": true, "device": "eth1", "features": { "busy_poll": "on [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_vlan_filter": "on [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_segmentation": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "on", "vlan_challenged": "off [fixed]" }, "ipv4": { "address": "75.145.154.230", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" }, "ipv4_secondaries": [ { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" }, { "address": "75.145.154.231", "broadcast": "75.145.154.239", "netmask": "255.255.255.240", "network": "75.145.154.224" } ], "ipv6": [ { "address": "fe80::5c1c:e5ff:fe35:7c81", "prefix": "64", "scope": "link" } ], "macaddress": "5e:1c:e5:35:7c:81", "module": "virtio_net", "mtu": 1500, "pciid": "virtio4", "promisc": false, "type": "ether" } }, "changed": false, "invocation": { "module_args": { "fact_path": "/etc/ansible/facts.d", "filter": "ansible_eth1", "gather_subset": [ "all" ], "gather_timeout": 10 }, "module_name": "setup" } } </code></pre></div>
0
<p dir="auto">I have a component that uses NgFor to create other components inside it's view, by iterating over a list.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;ul&gt; &lt;li *ng-for=&quot;#item of playlist&quot;&gt;&lt;item [name]=&quot;item.name&quot;&gt;&lt;/item&gt;&lt;/li&gt; &lt;/ul&gt;"><pre class="notranslate"><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-c1">*ng-for</span>="<span class="pl-s">#item of playlist</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">item</span> <span class="pl-c1">[name]</span>="<span class="pl-s">item.name</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">item</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> <span class="pl-kos">&lt;/</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">I use ViewQuery to get a hold of the child components.</p> <p dir="auto">All is well until i change the <code class="notranslate">playlist</code> getter to return a map of the original array:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" get playlist() { return this.content.map((i) =&gt; { return {name: i.name + 'y'} }) }"><pre class="notranslate"> <span class="pl-k">get</span> <span class="pl-en">playlist</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">content</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span><span class="pl-c1">name</span>: <span class="pl-s1">i</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">+</span> <span class="pl-s">'y'</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">It seems that NgFor repeatedly destroys and creates the components, on each change, but the ViewQuery keeps accumulating components. After a few ticks, ViewQuery stops working entirely and throws.</p> <p dir="auto">Here is a plunker showcasing the bug:<br> <a href="http://plnkr.co/edit/uGKcpQUJoWWo4SPNp3z8" rel="nofollow">http://plnkr.co/edit/uGKcpQUJoWWo4SPNp3z8</a></p>
<p dir="auto">For performance reasons queries and view queries are stored in element injector fields instead of held in maps. The current limit is 3 and that is already showing to be very limiting.</p> <p dir="auto">I propose bumping the limit to 5 and implementing a fallback to maps strategy similar to injectors (instead of current behavior of throwing).</p>
1
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 1.0.0<br> <strong>System</strong>: Microsoft Windows 8.1 Pro with Media Center<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33) at HTMLDocument.handler (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)"><pre class="notranslate"><code class="notranslate">At C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33) at HTMLDocument.handler (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jon\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;themes&quot;: [ &quot;atom-light-ui&quot;, &quot;atom-light-syntax&quot; ] }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;fontSize&quot;: 11 } }"><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-light-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>atom-light-syntax<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">11</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 language-asp, v1.0.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> language<span class="pl-k">-</span>asp, v1.<span class="pl-ii">0</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">I right-clicked on a folder in the tree view</p> <p dir="auto"><strong>Atom Version</strong>: 0.194.0<br> <strong>System</strong>: Windows 7 Entreprise<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Cannot find module './context-menu'<br> Error: Cannot find module './context-menu'<br> at Function.Module._resolveFilename (module.js:328:15)<br> at Function.Module._load (module.js:270:25)<br> at Module.require (module.js:357:17)<br> at require (module.js:376:17)<br> at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br> at emitOne (events.js:77:13)<br> at BrowserWindow.emit (events.js:166:7)<br> at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br> at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br> at emitMany (events.js:108:13)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) "><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.&lt;anonymous&gt; (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;ignoredNames&quot;: [ &quot;node_modules&quot; ], &quot;themes&quot;: [ &quot;atom-dark-ui&quot;, &quot;seti-syntax&quot; ], &quot;disabledPackages&quot;: [ &quot;Tern&quot; ], &quot;projectHome&quot;: &quot;Y:\\app-tfoumax&quot; }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;softWrap&quot;: true, &quot;showIndentGuide&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"ignoredNames"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span> ], <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span> ], <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span> ], <span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span> }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User autocomplete-plus, v2.12.0 autocomplete-snippets, v1.2.0 javascript-snippets, v1.0.0 jshint, v1.3.5 language-ejs, v0.1.0 linter, v0.12.1 pretty-json, v0.3.3 save-session, v0.14.0 Search, v0.4.0 seti-syntax, v0.4.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span> javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span> language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span> pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span> save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span> Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
1
<p dir="auto"><a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-scalability/6130/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-scalability/6130/</a></p> <p dir="auto"><a href="https://console.cloud.google.com/storage/kubernetes-jenkins/logs/kubernetes-e2e-gce-scalability/6130/" rel="nofollow">https://console.cloud.google.com/storage/kubernetes-jenkins/logs/kubernetes-e2e-gce-scalability/6130/</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="11:24:43 11:24:43 • Failure [1554.510 seconds] 11:24:43 [k8s.io] Load capacity 11:24:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:424 11:24:43 [Feature:Performance] should be able to handle 30 pods per node [It] 11:24:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/load.go:152 11:24:43 11:24:43 creating rc load-test-small-rc-197 11:24:43 Expected error: 11:24:43 &lt;*errors.errorString | 0xc8236fe440&gt;: { 11:24:43 s: &quot;Number of reported pods for load-test-small-rc-197 changed: 4 vs 5&quot;, 11:24:43 } 11:24:43 Number of reported pods for load-test-small-rc-197 changed: 4 vs 5 11:24:43 not to have occurred 11:24:43 11:24:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/load.go:218"><pre class="notranslate"><code class="notranslate">11:24:43 11:24:43 • Failure [1554.510 seconds] 11:24:43 [k8s.io] Load capacity 11:24:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:424 11:24:43 [Feature:Performance] should be able to handle 30 pods per node [It] 11:24:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/load.go:152 11:24:43 11:24:43 creating rc load-test-small-rc-197 11:24:43 Expected error: 11:24:43 &lt;*errors.errorString | 0xc8236fe440&gt;: { 11:24:43 s: "Number of reported pods for load-test-small-rc-197 changed: 4 vs 5", 11:24:43 } 11:24:43 Number of reported pods for load-test-small-rc-197 changed: 4 vs 5 11:24:43 not to have occurred 11:24:43 11:24:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/load.go:218 </code></pre></div>
<p dir="auto">There were a couple of flakes, that finished with the error like this one:</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/load.go:182 creating rc load-small-rc-4196 Expected error: &lt;*errors.errorString | 0xc8217c0eb0&gt;: { s: &quot;Number of reported pods for load-small-rc-4196 changed: 4 vs 5&quot;, } Number of reported pods for load-small-rc-4196 changed: 4 vs 5 not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/load.go:182 creating rc load-small-rc-4196 Expected error: &lt;*errors.errorString | 0xc8217c0eb0&gt;: { s: "Number of reported pods for load-small-rc-4196 changed: 4 vs 5", } Number of reported pods for load-small-rc-4196 changed: 4 vs 5 not to have occurred </code></pre></div> <p dir="auto">This particular error come from:<br> <a href="http://kubekins.dls.corp.google.com:8080/view/Scalability/job/kubernetes-kubemark-gce-scale/1183/" rel="nofollow">http://kubekins.dls.corp.google.com:8080/view/Scalability/job/kubernetes-kubemark-gce-scale/1183/</a></p>
1
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/friendly-date-ranges#?solution=%2F*%20jshint%20esversion%3A%206%2C%20asi%3A%20true%2C%20laxcomma%3A%20true%20*%2F%0A%0Afunction%20makeFriendlyDates(arr)%20%7B%0A%20%20const%20date1%20%3D%20arr%5B0%5D.split('-')%0A%20%20%20%20%20%20%2C%20date2%20%3D%20arr%5B1%5D.split('-')%0A%20%20%0A%20%20%0A%20%20%0A%20%20return%20arr%3B%0A%7D%0A%0AmakeFriendlyDates(%5B'2016-07-01'%2C%20'2016-07-04'%5D)%3B%0A%0A%2F*%0A%20%20use%20ordinal%20dates%2C%20not%20cardinal%20(1st%2C%202nd%2C%20etc)%0A%20%20no%20redundant%20info.%20%20if%20date%20range%20ends%20less%20than%20a%20year%20from%20when%20it%20begins%2C%20do%20not%20display%20ending%20year%0A%20%20%0A*%2F" rel="nofollow">Friendly Date Ranges</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36</code>.</p> <p dir="auto">No major problem, but the challenge tells us the current year is 2016. I'm also not sure if the challenge will be checking in some way that considers the current year as 2016.</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/passing-values-to-functions-with-arguments#?solution=%2F%2F%20Example%0Afunction%20ourFunction%28a%2C%20b%29%20%7B%0A%20%20console.log%28a%20-%20b%29%3B%0A%7D%0AourFunction%2810%2C%205%29%3B%20%2F%2F%20Outputs%205%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%0Afunction%20myFunction%28c%2C%20d%29%7B%0A%20%20console.log%28c%20%2B%20d%29%3B%0A%7D%0AmyFunction%281%2C2%29%3B" rel="nofollow">Passing Values to Functions with Arguments</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">Put this code in Chrome dev tools and got 3. Run it on FCC and get this error, please advise.</p> <p dir="auto">My code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example function ourFunction(a, b) { console.log(a - b); } ourFunction(10, 5); // Outputs 5 // Only change code below this line. function myFunction(c, d){ console.log(c + d); } myFunction(1,2);"><pre class="notranslate"><span class="pl-c">// Example</span> <span class="pl-k">function</span> <span class="pl-en">ourFunction</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">a</span> <span class="pl-c1">-</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">ourFunction</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Outputs 5</span> <span class="pl-c">// Only change code below this line.</span> <span class="pl-k">function</span> <span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">,</span> <span class="pl-s1">d</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">c</span> <span class="pl-c1">+</span> <span class="pl-s1">d</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">myFunction</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-kos">;</span></pre></div>
0
<p dir="auto">Currently IdsQueryBuilder does support only appending arrays of identifiers and converting them to lists:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public IdsQueryBuilder addIds(String... ids) { values.addAll(Arrays.asList(ids)); return this; }"><pre class="notranslate"><code class="notranslate">public IdsQueryBuilder addIds(String... ids) { values.addAll(Arrays.asList(ids)); return this; } </code></pre></div> <p dir="auto">In cases of huge numbers of IDs submitted to builder it could be more wise of performance to merge with lists directly. Or are there any better ideas?</p>
<p dir="auto">We want to clean up the code and use only <em>standard</em> accessors (gettters and setters).<br> So we remove old non standard accessors.</p> <p dir="auto">Current request builders to build request with elasticsearch stay the same, and its the recommended way to execute APIs with elasticsearch. The pure "request" APIs have changed, and now have setters methods instead of the non setters options, code will need to change if pure Request objects/api are used.</p> <p dir="auto">Last, all response levels objects now only expose the getter API variant. We have had both variants (getter and non getter) for some time, and its time to clean it up as it creates both confusion and overhead on our end to maintain it.</p>
0
<p dir="auto">I migrate from 1.x to 2.3.2 latest webpack and webpack-server, my webpack config as following:<br> `var webpack = require('webpack');<br> var autoprefixer = require('autoprefixer');<br> var path = require('path');<br> var config = require('config')<br> var CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');</p> <p dir="auto">module.exports = {<br> resolve: {<br> extensions: ['.js', '.ts', '.tsx', '.js'],<br> modules: ['node_modules'],<br> alias: {<br> bower: path.resolve(__dirname, 'ui/bower_components'),<br> "matches-selector/matches-selector": "desandro-matches-selector",<br> "eventEmitter/EventEmitter": "wolfy87-eventemitter",<br> "get-style-property/get-style-property": "desandro-get-style-property"<br> }<br> },</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="entry: { app: './ui/app/index.ts', 'app_vendor': './ui/app/vendor.index.ts', home: './ui/home/index.ts', 'home_vendor': './ui/home/vendor.index.ts', }, output: { path: path.resolve(__dirname, 'ui/build'), pathinfo: true, publicPath: config.uiServer.protocol + config.uiServer.host + ':' + config.uiServer.port + '/build/', filename: '[name].js' }, devServer: { contentBase: './ui' }, module: { rules: [ { test: /\-template\.(|html|js)$/, use: ['raw'] }, { test: /\.css$/, loader: &quot;style!css&quot; }, { test: /\.scss$/, include: [/node_modules/, /bower_components/], use: [{ loader: &quot;style-loader&quot; // creates style nodes from JS strings }, { loader: &quot;css-loader&quot; // translates CSS into CommonJS }, { loader: &quot;sass-loader&quot; // compiles Sass to CSS }] }, { test: /\.scss$/, exclude: [/node_modules/, /bower_components/], use: [{ loader: &quot;style-loader&quot; }, { loader: &quot;css-loader&quot;, options: { sourceMap: true } }, { loader: &quot;sass-loader&quot;, options: { sourceMap: true } }] }, { test: /\.tsx?$/, use: ['ts-loader'] }, { test: /\.coffee$/, use: [&quot;coffee&quot;] }, { test: /\.json$/, use: [&quot;json&quot;] }, { test: /\.pug$/, use: [&quot;ngtemplate?relativeTo=&quot; + __dirname + &quot;!raw!pug-html?basedir=&quot; + __dirname] }, { test: /\.png$/, use: ['url-loader?limit=8192'], query: { mimetype: &quot;image/png&quot; } }, { test: /\.jpg$/, use: ['url-loader?limit=8192&amp;mimetype=image/jpg'], query: { mimetype: &quot;image/jpg&quot; } }, { test: /\.gif$/, use: ['url-loader?limit=8192&amp;mimetype=image/gif'], query: { mimetype: &quot;image/gif&quot; } }, { test: /\.webp$/, use: ['url-loader?limit=8192&amp;mimetype=image/webp'], query: { mimetype: &quot;image/webp&quot; } }, { test: /\.swf$/, use: ['url-loader?mimetype=application/x-shockwave-flash'], query: { mimetype: &quot;application/x-shockwave-flash&quot; } }, // Added for bootstrap-css-loader { test: /bootstrap.*\/javascripts\//, use: ['imports?jQuery=jquery'] }, { test: /\.woff(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=application/font-woff&quot;] }, { test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=application/font-woff&quot;] }, { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=application/octet-stream&quot;] }, { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;file&quot;] }, { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=image/svg+xml&quot;] } ], noParse: [ /bower_components/ ] }, plugins: [ new CommonsChunkPlugin({ name: 'app_vendor', chunks: ['app', 'app_vendor'] }), new CommonsChunkPlugin({ name: 'home_vendor', chunks: ['home', 'home_vendor'] }), new webpack.SourceMapDevToolPlugin({ exclude: /.*\.vendor\.js/, columns: false, module: true }), new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', &quot;window.jQuery&quot;: 'jquery', '_': 'lodash', i18next: 'i18next' }), ],"><pre class="notranslate"><code class="notranslate">entry: { app: './ui/app/index.ts', 'app_vendor': './ui/app/vendor.index.ts', home: './ui/home/index.ts', 'home_vendor': './ui/home/vendor.index.ts', }, output: { path: path.resolve(__dirname, 'ui/build'), pathinfo: true, publicPath: config.uiServer.protocol + config.uiServer.host + ':' + config.uiServer.port + '/build/', filename: '[name].js' }, devServer: { contentBase: './ui' }, module: { rules: [ { test: /\-template\.(|html|js)$/, use: ['raw'] }, { test: /\.css$/, loader: "style!css" }, { test: /\.scss$/, include: [/node_modules/, /bower_components/], use: [{ loader: "style-loader" // creates style nodes from JS strings }, { loader: "css-loader" // translates CSS into CommonJS }, { loader: "sass-loader" // compiles Sass to CSS }] }, { test: /\.scss$/, exclude: [/node_modules/, /bower_components/], use: [{ loader: "style-loader" }, { loader: "css-loader", options: { sourceMap: true } }, { loader: "sass-loader", options: { sourceMap: true } }] }, { test: /\.tsx?$/, use: ['ts-loader'] }, { test: /\.coffee$/, use: ["coffee"] }, { test: /\.json$/, use: ["json"] }, { test: /\.pug$/, use: ["ngtemplate?relativeTo=" + __dirname + "!raw!pug-html?basedir=" + __dirname] }, { test: /\.png$/, use: ['url-loader?limit=8192'], query: { mimetype: "image/png" } }, { test: /\.jpg$/, use: ['url-loader?limit=8192&amp;mimetype=image/jpg'], query: { mimetype: "image/jpg" } }, { test: /\.gif$/, use: ['url-loader?limit=8192&amp;mimetype=image/gif'], query: { mimetype: "image/gif" } }, { test: /\.webp$/, use: ['url-loader?limit=8192&amp;mimetype=image/webp'], query: { mimetype: "image/webp" } }, { test: /\.swf$/, use: ['url-loader?mimetype=application/x-shockwave-flash'], query: { mimetype: "application/x-shockwave-flash" } }, // Added for bootstrap-css-loader { test: /bootstrap.*\/javascripts\//, use: ['imports?jQuery=jquery'] }, { test: /\.woff(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=application/font-woff"] }, { test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=application/font-woff"] }, { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=application/octet-stream"] }, { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, use: ["file"] }, { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=image/svg+xml"] } ], noParse: [ /bower_components/ ] }, plugins: [ new CommonsChunkPlugin({ name: 'app_vendor', chunks: ['app', 'app_vendor'] }), new CommonsChunkPlugin({ name: 'home_vendor', chunks: ['home', 'home_vendor'] }), new webpack.SourceMapDevToolPlugin({ exclude: /.*\.vendor\.js/, columns: false, module: true }), new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', "window.jQuery": 'jquery', '_': 'lodash', i18next: 'i18next' }), ], </code></pre></div> <p dir="auto">};<br> `</p> <p dir="auto">My wepack version as following:<br> "webpack": "^2.3.2",<br> "webpack-dev-server": "^2.4.2",</p> <p dir="auto">when start webpack, it show following error message:<br> Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.</p> <ul dir="auto"> <li>configuration.entry should be one of these:<br> object { : non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function<br> The entry point(s) of the compilation.<br> Details: <ul dir="auto"> <li>configuration.entry['app'] should be a string.</li> <li>configuration.entry['app'] should NOT have duplicate items (items ## 1 and 3 are identical) ({<br> "keyword": "uniqueItems",<br> "dataPath": ".entry['app']",<br> "schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",<br> "params": {<br> "i": 3,<br> "j": 1<br> },<br> "message": "should NOT have duplicate items (items ## 1 and 3 are identical)",<br> "schema": true,<br> "parentSchema": {<br> "items": {<br> "minLength": 1,<br> "type": "string"<br> },<br> "minItems": 1,<br> "type": "array",<br> "uniqueItems": true<br> },<br> "data": [<br> "/usr/local/lib/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "/Users/yishuihanxiao/ws/ror/University_Work/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "./ui/app/index.ts"<br> ]<br> }).<br> [non-empty string]</li> <li>configuration.entry['app'] should be one of these:<br> non-empty string | [non-empty string]</li> <li>configuration.entry['app_vendor'] should be a string.</li> <li>configuration.entry['app_vendor'] should NOT have duplicate items (items ## 1 and 3 are identical) ({<br> "keyword": "uniqueItems",<br> "dataPath": ".entry['app_vendor']",<br> "schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",<br> "params": {<br> "i": 3,<br> "j": 1<br> },<br> "message": "should NOT have duplicate items (items ## 1 and 3 are identical)",<br> "schema": true,<br> "parentSchema": {<br> "items": {<br> "minLength": 1,<br> "type": "string"<br> },<br> "minItems": 1,<br> "type": "array",<br> "uniqueItems": true<br> },<br> "data": [<br> "/usr/local/lib/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "/Users/yishuihanxiao/ws/ror/University_Work/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "./ui/app/vendor.index.ts"<br> ]<br> }).<br> [non-empty string]</li> <li>configuration.entry['app_vendor'] should be one of these:<br> non-empty string | [non-empty string]</li> <li>configuration.entry['home'] should be a string.</li> <li>configuration.entry['home'] should NOT have duplicate items (items ## 1 and 3 are identical) ({<br> "keyword": "uniqueItems",<br> "dataPath": ".entry['home']",<br> "schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",<br> "params": {<br> "i": 3,<br> "j": 1<br> },<br> "message": "should NOT have duplicate items (items ## 1 and 3 are identical)",<br> "schema": true,<br> "parentSchema": {<br> "items": {<br> "minLength": 1,<br> "type": "string"<br> },<br> "minItems": 1,<br> "type": "array",<br> "uniqueItems": true<br> },<br> "data": [<br> "/usr/local/lib/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "/Users/yishuihanxiao/ws/ror/University_Work/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "./ui/home/index.ts"<br> ]<br> }).<br> [non-empty string]</li> <li>configuration.entry['home'] should be one of these:<br> non-empty string | [non-empty string]</li> <li>configuration.entry['home_vendor'] should be a string.</li> <li>configuration.entry['home_vendor'] should NOT have duplicate items (items ## 1 and 3 are identical) ({<br> "keyword": "uniqueItems",<br> "dataPath": ".entry['home_vendor']",<br> "schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",<br> "params": {<br> "i": 3,<br> "j": 1<br> },<br> "message": "should NOT have duplicate items (items ## 1 and 3 are identical)",<br> "schema": true,<br> "parentSchema": {<br> "items": {<br> "minLength": 1,<br> "type": "string"<br> },<br> "minItems": 1,<br> "type": "array",<br> "uniqueItems": true<br> },<br> "data": [<br> "/usr/local/lib/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "/Users/yishuihanxiao/ws/ror/University_Work/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "./ui/home/vendor.index.ts"<br> ]<br> }).<br> [non-empty string]</li> <li>configuration.entry['home_vendor'] should be one of these:<br> non-empty string | [non-empty string]</li> <li>configuration.entry should be a string.</li> <li>configuration.entry should be an array:<br> [non-empty string]</li> <li>configuration.entry should be an instance of function<br> function returning an entry object or a promise..</li> </ul> </li> </ul>
<p dir="auto">I migrate from webpack from 1.x to latest 2.3.1, when I start, always show module.entry is invalid.</p> <p dir="auto">my webpack config as follwing, I did not see any issue in the config.</p> <p dir="auto">var webpack = require('webpack');<br> var autoprefixer = require('autoprefixer');<br> var path = require('path');<br> var config = require('config')<br> var CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');</p> <p dir="auto">module.exports = {<br> resolve: {<br> extensions: ['.js', '.ts', '.tsx', '.js'],<br> modules: ['node_modules'],<br> alias: {<br> bower: path.resolve(__dirname, 'ui/bower_components'),<br> "matches-selector/matches-selector": "desandro-matches-selector",<br> "eventEmitter/EventEmitter": "wolfy87-eventemitter",<br> "get-style-property/get-style-property": "desandro-get-style-property"<br> }<br> },</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="entry: { app: path.resolve(__dirname, 'ui/app/index.ts') 'app.vendor': './ui/editor/app.index.ts', home: './ui/home/index.ts', 'home.vendor': './ui/home/vendor.index.ts', }, output: { path: path.resolve(__dirname, 'ui/build'), pathinfo: true, publicPath: config.uiServer.protocol + config.uiServer.host + ':' + config.uiServer.port + '/build/', filename: '[name].js' }, devServer: { contentBase: './ui' }, module: { rules: [ { test: /\-template\.(|html|js)$/, use: ['raw'] }, { test: /\.css$/, loader: &quot;style!css&quot; }, { test: /\.scss$/, include: [/node_modules/, /bower_components/], use: [{ loader: &quot;style-loader&quot; // creates style nodes from JS strings }, { loader: &quot;css-loader&quot; // translates CSS into CommonJS }, { loader: &quot;sass-loader&quot; // compiles Sass to CSS }] }, { test: /\.scss$/, exclude: [/node_modules/, /bower_components/], use: [{ loader: &quot;style-loader&quot; }, { loader: &quot;css-loader&quot;, options: { sourceMap: true } }, { loader: &quot;sass-loader&quot;, options: { sourceMap: true } }] }, { test: /\.tsx?$/, use: ['ts-loader'] }, { test: /\.coffee$/, use: [&quot;coffee&quot;] }, { test: /\.json$/, use: [&quot;json&quot;] }, { test: /\.pug$/, use: [&quot;ngtemplate?relativeTo=&quot; + __dirname + &quot;!raw!pug-html?basedir=&quot; + __dirname] }, { test: /\.png$/, use: ['url-loader?limit=8192'], query: { mimetype: &quot;image/png&quot; } }, { test: /\.jpg$/, use: ['url-loader?limit=8192&amp;mimetype=image/jpg'], query: { mimetype: &quot;image/jpg&quot; } }, { test: /\.gif$/, use: ['url-loader?limit=8192&amp;mimetype=image/gif'], query: { mimetype: &quot;image/gif&quot; } }, { test: /\.webp$/, use: ['url-loader?limit=8192&amp;mimetype=image/webp'], query: { mimetype: &quot;image/webp&quot; } }, { test: /\.swf$/, use: ['url-loader?mimetype=application/x-shockwave-flash'], query: { mimetype: &quot;application/x-shockwave-flash&quot; } }, // Added for bootstrap-css-loader { test: /bootstrap.*\/javascripts\//, use: ['imports?jQuery=jquery'] }, { test: /\.woff(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=application/font-woff&quot;] }, { test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=application/font-woff&quot;] }, { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=application/octet-stream&quot;] }, { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;file&quot;] }, { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, use: [&quot;url?limit=10000&amp;mimetype=image/svg+xml&quot;] } ], noParse: [ /bower_components/ ] }, plugins: [ new CommonsChunkPlugin({ name: 'app.vendor', chunks: ['app', 'app.vendor'] }), new CommonsChunkPlugin({ name: 'home.vendor', chunks: ['home', 'home.vendor'] }), new webpack.SourceMapDevToolPlugin({ exclude: /.*\.vendor\.js/, columns: false, module: true }), new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', &quot;window.jQuery&quot;: 'jquery', '_': 'lodash', i18next: 'i18next' }), ],"><pre class="notranslate"><code class="notranslate">entry: { app: path.resolve(__dirname, 'ui/app/index.ts') 'app.vendor': './ui/editor/app.index.ts', home: './ui/home/index.ts', 'home.vendor': './ui/home/vendor.index.ts', }, output: { path: path.resolve(__dirname, 'ui/build'), pathinfo: true, publicPath: config.uiServer.protocol + config.uiServer.host + ':' + config.uiServer.port + '/build/', filename: '[name].js' }, devServer: { contentBase: './ui' }, module: { rules: [ { test: /\-template\.(|html|js)$/, use: ['raw'] }, { test: /\.css$/, loader: "style!css" }, { test: /\.scss$/, include: [/node_modules/, /bower_components/], use: [{ loader: "style-loader" // creates style nodes from JS strings }, { loader: "css-loader" // translates CSS into CommonJS }, { loader: "sass-loader" // compiles Sass to CSS }] }, { test: /\.scss$/, exclude: [/node_modules/, /bower_components/], use: [{ loader: "style-loader" }, { loader: "css-loader", options: { sourceMap: true } }, { loader: "sass-loader", options: { sourceMap: true } }] }, { test: /\.tsx?$/, use: ['ts-loader'] }, { test: /\.coffee$/, use: ["coffee"] }, { test: /\.json$/, use: ["json"] }, { test: /\.pug$/, use: ["ngtemplate?relativeTo=" + __dirname + "!raw!pug-html?basedir=" + __dirname] }, { test: /\.png$/, use: ['url-loader?limit=8192'], query: { mimetype: "image/png" } }, { test: /\.jpg$/, use: ['url-loader?limit=8192&amp;mimetype=image/jpg'], query: { mimetype: "image/jpg" } }, { test: /\.gif$/, use: ['url-loader?limit=8192&amp;mimetype=image/gif'], query: { mimetype: "image/gif" } }, { test: /\.webp$/, use: ['url-loader?limit=8192&amp;mimetype=image/webp'], query: { mimetype: "image/webp" } }, { test: /\.swf$/, use: ['url-loader?mimetype=application/x-shockwave-flash'], query: { mimetype: "application/x-shockwave-flash" } }, // Added for bootstrap-css-loader { test: /bootstrap.*\/javascripts\//, use: ['imports?jQuery=jquery'] }, { test: /\.woff(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=application/font-woff"] }, { test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=application/font-woff"] }, { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=application/octet-stream"] }, { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, use: ["file"] }, { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, use: ["url?limit=10000&amp;mimetype=image/svg+xml"] } ], noParse: [ /bower_components/ ] }, plugins: [ new CommonsChunkPlugin({ name: 'app.vendor', chunks: ['app', 'app.vendor'] }), new CommonsChunkPlugin({ name: 'home.vendor', chunks: ['home', 'home.vendor'] }), new webpack.SourceMapDevToolPlugin({ exclude: /.*\.vendor\.js/, columns: false, module: true }), new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', "window.jQuery": 'jquery', '_': 'lodash', i18next: 'i18next' }), ], </code></pre></div> <p dir="auto">};</p> <p dir="auto">the error message as following:<br> Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.</p> <ul dir="auto"> <li>configuration.entry should be one of these:<br> object { : non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function<br> The entry point(s) of the compilation.<br> Details: <ul dir="auto"> <li>configuration.entry['home'] should be a string.</li> <li>configuration.entry['home'] should NOT have duplicate items (items ## 1 and 3 are identical) ({<br> "keyword": "uniqueItems",<br> "dataPath": ".entry['home']",<br> "schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",<br> "params": {<br> "i": 3,<br> "j": 1<br> },<br> "message": "should NOT have duplicate items (items ## 1 and 3 are identical)",<br> "schema": true,<br> "parentSchema": {<br> "items": {<br> "minLength": 1,<br> "type": "string"<br> },<br> "minItems": 1,<br> "type": "array",<br> "uniqueItems": true<br> },<br> "data": [<br> "/usr/local/lib/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "/Users/yishuihanxiao/ws/ror/University_Work/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:4000",<br> "webpack/hot/dev-server",<br> "./ui/home/index.ts"<br> ]<br> }).<br> [non-empty string]</li> <li>configuration.entry['home'] should be one of these:<br> non-empty string | [non-empty string]</li> <li>configuration.entry should be a string.</li> <li>configuration.entry should be an array:<br> [non-empty string]</li> <li>configuration.entry should be an instance of function<br> function returning an entry object or a promise..</li> </ul> </li> </ul>
1
<p dir="auto">Could tell me which api can get the progress when loading the image?thanks!</p>
1
<p dir="auto">Hi, I created the following component that accepts a raw svg string and transforms it into a react element. The component works; however, on the server, the SVG is being escaped.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React, {PropTypes, Component} from 'react'; export default class Svg extends Component { static propTypes = { svg: PropTypes.string.isRequired, } render() { const {...other, svg} = this.props; return ( &lt;span {...other} dangerouslySetInnerHTML={{__html: svg}}&gt;&lt;/span&gt; ); } }"><pre class="notranslate"><code class="notranslate">import React, {PropTypes, Component} from 'react'; export default class Svg extends Component { static propTypes = { svg: PropTypes.string.isRequired, } render() { const {...other, svg} = this.props; return ( &lt;span {...other} dangerouslySetInnerHTML={{__html: svg}}&gt;&lt;/span&gt; ); } } </code></pre></div> <p dir="auto">In the browser console I get this error:</p> <p dir="auto">"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server"</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(client) .1.0.1&quot;&gt;&lt;svg xmlns=&quot;http://www.w3.org/20 (server) .1.0.1&quot;&gt;&lt;svg xmlns=&quot;\&amp;quot;http://www.w3"><pre class="notranslate"><code class="notranslate">(client) .1.0.1"&gt;&lt;svg xmlns="http://www.w3.org/20 (server) .1.0.1"&gt;&lt;svg xmlns="\&amp;quot;http://www.w3 </code></pre></div>
<p dir="auto">With following code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let keyTitlesMap = { office: 'Office &amp; &lt;br /&gt; Transport links', culturePeople: 'Culture &amp; &lt;br /&gt; people', trainingDevelopment: 'Training &amp; &lt;br /&gt; development', workLifeBalance: 'Work/Life &lt;br/&gt; balance', career: 'Career &lt;br /&gt; progression' } let itemTitleHtml = {__html: keyTitlesMap[key]} return &lt;div dangerouslySetInnerHTML={itemTitleHtml}&gt;&lt;/div&gt;"><pre class="notranslate"><code class="notranslate">let keyTitlesMap = { office: 'Office &amp; &lt;br /&gt; Transport links', culturePeople: 'Culture &amp; &lt;br /&gt; people', trainingDevelopment: 'Training &amp; &lt;br /&gt; development', workLifeBalance: 'Work/Life &lt;br/&gt; balance', career: 'Career &lt;br /&gt; progression' } let itemTitleHtml = {__html: keyTitlesMap[key]} return &lt;div dangerouslySetInnerHTML={itemTitleHtml}&gt;&lt;/div&gt; </code></pre></div> <p dir="auto">There's a warning:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server: (client) office.0.0&quot;&gt;Office &amp; &lt;br /&gt; Transport li (server) office.0.0&quot;&gt;Office &amp;amp; &lt;br&gt; Transport "><pre class="notranslate"><code class="notranslate">Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server: (client) office.0.0"&gt;Office &amp; &lt;br /&gt; Transport li (server) office.0.0"&gt;Office &amp;amp; &lt;br&gt; Transport </code></pre></div> <p dir="auto">Both environments run code from same webpack bundle</p>
1
<p dir="auto"><strong>Symfony version(s) affected</strong>: 3.4.20 / 4.1.9</p> <p dir="auto">After updating from 3.4.19-&gt;3.4.20 (or 4.1.8-&gt;4.1.9) it is not possible to enable doctrine filters (<a href="https://packagist.org/packages/gedmo/doctrine-extensions" rel="nofollow">https://packagist.org/packages/gedmo/doctrine-extensions</a> + <a href="https://packagist.org/packages/stof/doctrine-extensions-bundle" rel="nofollow">https://packagist.org/packages/stof/doctrine-extensions-bundle</a>) in config.yml.<br> Config which we use:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="filters: soft_deleteable: class: 'Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter' enabled: true"><pre class="notranslate"><span class="pl-ent">filters</span>: <span class="pl-ent">soft_deleteable</span>: <span class="pl-ent">class</span>: <span class="pl-s"><span class="pl-pds">'</span>Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter<span class="pl-pds">'</span></span> <span class="pl-ent">enabled</span>: <span class="pl-c1">true</span></pre></div> <p dir="auto">During loading the app error is thrown:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(1/1) InvalidArgumentExceptionFilter 'soft_deleteable' does not exist. in FilterCollection.php line 107 at FilterCollection-&gt;enable('soft_deleteable')in ManagerConfigurator.php line 48 at ManagerConfigurator-&gt;enableFilters(object(EntityManager))in ManagerConfigurator.php line 34 at ManagerConfigurator-&gt;configure(object(EntityManager))in appDevDebugProjectContainer.php line 2714 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultEntityManagerService(false)in appDevDebugProjectContainer.php line 2703 at appDevDebugProjectContainer-&gt;ContainerT6xfqgt\{closure}(null, object(EntityManager_9a5be93), 'getMetadataFactory', array(), object(Closure))in EntityManager_9a5be93.php line 38 at Closure-&gt;__invoke(null, object(EntityManager_9a5be93), 'getMetadataFactory', array(), object(Closure))in EntityManager_9a5be93.php line 38 at EntityManager_9a5be93-&gt;getMetadataFactory()in AbstractManagerRegistry.php line 181 at AbstractManagerRegistry-&gt;getManagerForClass('Path\\To\\Entity')in ServiceEntityRepository.php line 30 at ServiceEntityRepository-&gt;__construct(object(Registry), 'Path\\To\\Entity')in ServiceEntityRepository.php line 19 at SomeEntityRepository-&gt;__construct(object(Registry))in appDevDebugProjectContainer.php line 3313 at appDevDebugProjectContainer-&gt;getServiceEntityRepositoryService()in appDevDebugProjectContainer.php line 3243 at appDevDebugProjectContainer-&gt;getServiceEntityChasingPaymentServiceService()in appDevDebugProjectContainer.php line 2683 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultEntityListenerResolverService()in appDevDebugProjectContainer.php line 4686 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultConfigurationService()in appDevDebugProjectContainer.php line 2712 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultEntityManagerService(false)in appDevDebugProjectContainer.php line 2703 at appDevDebugProjectContainer-&gt;ContainerT6xfqgt\{closure}(null, object(EntityManager_9a5be93), 'getConfiguration', array(), object(Closure))in EntityManager_9a5be93.php line 328 at Closure-&gt;__invoke(null, object(EntityManager_9a5be93), 'getConfiguration', array(), object(Closure))in EntityManager_9a5be93.php line 328 at EntityManager_9a5be93-&gt;getConfiguration()in ProxyCacheWarmer.php line 51 at ProxyCacheWarmer-&gt;warmUp('/var/www/app/default/symfony-standard/app_api/var/cache/dev')in CacheWarmerAggregate.php line 52 at CacheWarmerAggregate-&gt;warmUp('/var/www/app/default/symfony-standard/app_api/var/cache/dev')in Kernel.php line 680 at Kernel-&gt;initializeContainer()in Kernel.php line 135 at Kernel-&gt;boot()in Kernel.php line 195 at Kernel-&gt;handle(object(Request))in app_dev.php line 42"><pre class="notranslate"><code class="notranslate">(1/1) InvalidArgumentExceptionFilter 'soft_deleteable' does not exist. in FilterCollection.php line 107 at FilterCollection-&gt;enable('soft_deleteable')in ManagerConfigurator.php line 48 at ManagerConfigurator-&gt;enableFilters(object(EntityManager))in ManagerConfigurator.php line 34 at ManagerConfigurator-&gt;configure(object(EntityManager))in appDevDebugProjectContainer.php line 2714 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultEntityManagerService(false)in appDevDebugProjectContainer.php line 2703 at appDevDebugProjectContainer-&gt;ContainerT6xfqgt\{closure}(null, object(EntityManager_9a5be93), 'getMetadataFactory', array(), object(Closure))in EntityManager_9a5be93.php line 38 at Closure-&gt;__invoke(null, object(EntityManager_9a5be93), 'getMetadataFactory', array(), object(Closure))in EntityManager_9a5be93.php line 38 at EntityManager_9a5be93-&gt;getMetadataFactory()in AbstractManagerRegistry.php line 181 at AbstractManagerRegistry-&gt;getManagerForClass('Path\\To\\Entity')in ServiceEntityRepository.php line 30 at ServiceEntityRepository-&gt;__construct(object(Registry), 'Path\\To\\Entity')in ServiceEntityRepository.php line 19 at SomeEntityRepository-&gt;__construct(object(Registry))in appDevDebugProjectContainer.php line 3313 at appDevDebugProjectContainer-&gt;getServiceEntityRepositoryService()in appDevDebugProjectContainer.php line 3243 at appDevDebugProjectContainer-&gt;getServiceEntityChasingPaymentServiceService()in appDevDebugProjectContainer.php line 2683 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultEntityListenerResolverService()in appDevDebugProjectContainer.php line 4686 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultConfigurationService()in appDevDebugProjectContainer.php line 2712 at appDevDebugProjectContainer-&gt;getDoctrine_Orm_DefaultEntityManagerService(false)in appDevDebugProjectContainer.php line 2703 at appDevDebugProjectContainer-&gt;ContainerT6xfqgt\{closure}(null, object(EntityManager_9a5be93), 'getConfiguration', array(), object(Closure))in EntityManager_9a5be93.php line 328 at Closure-&gt;__invoke(null, object(EntityManager_9a5be93), 'getConfiguration', array(), object(Closure))in EntityManager_9a5be93.php line 328 at EntityManager_9a5be93-&gt;getConfiguration()in ProxyCacheWarmer.php line 51 at ProxyCacheWarmer-&gt;warmUp('/var/www/app/default/symfony-standard/app_api/var/cache/dev')in CacheWarmerAggregate.php line 52 at CacheWarmerAggregate-&gt;warmUp('/var/www/app/default/symfony-standard/app_api/var/cache/dev')in Kernel.php line 680 at Kernel-&gt;initializeContainer()in Kernel.php line 135 at Kernel-&gt;boot()in Kernel.php line 195 at Kernel-&gt;handle(object(Request))in app_dev.php line 42 </code></pre></div> <p dir="auto">Looks like it is related to changes introduced in: <a href="https://github.com/symfony/symfony/pull/29369/files">https://github.com/symfony/symfony/pull/29369/files</a><br> Note: If <code class="notranslate">enabled: true</code> is removed from the config app loads correctly, but it should be possible to have this filter enabled by default.</p>
<p dir="auto">I check Request class and seems that there is many methods runs with same arguments again and again.</p> <p dir="auto">Like isSecure called 69 times for me and usually result is same, because $this-&gt;server and $this-&gt;headers usually same for each call. Also as many other methods in this class and class that related. For example 133 call of IpUtils::checkIp4, Request::isFromTrustedProxy and so on.</p> <p dir="auto">I think if there is possible to make $this-&gt;server and $this-&gt;headers kind of frozen (actually they are usually don't changed during script running), than we can cache results of many methods in Request and improve performance.</p> <p dir="auto">What do you think?</p>
0
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>3.2.6</td> </tr> </tbody> </table> <p dir="auto">According to the <a href="http://symfony.com/doc/master/reference/forms/types/text.html#empty-data" rel="nofollow">documentation</a> the default value of the <code class="notranslate">empty_data</code> option to <code class="notranslate">\Symfony\Component\Form\Extension\Core\Type\TextType</code> is the empty string <code class="notranslate">''</code>:</p> <blockquote> <p dir="auto">empty_data¶</p> <p dir="auto">type: mixed</p> <p dir="auto">The default value is '' (the empty string).</p> </blockquote> <p dir="auto">But I found when using 3.2.6, that the default of <code class="notranslate">empty_data</code> is actually <code class="notranslate">null</code>.<br> I’m not sure if or where in the code this is actually defined, so I could not check against it.</p>
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>master (likely 3.x and 2.x as well)</td> </tr> </tbody> </table> <p dir="auto">Consider a basic data class:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class MyClass { private $value = ''; public function setValue(string $value) { $this-&gt;value = $value; } public function getValue(): string { return $this-&gt;value; } }"><pre class="notranslate"><code class="notranslate">class MyClass { private $value = ''; public function setValue(string $value) { $this-&gt;value = $value; } public function getValue(): string { return $this-&gt;value; } } </code></pre></div> <p dir="auto">Map a basic form with the field optional:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$form = $this-&gt;createFormBuilder(new MyClass()) -&gt;add('value', TextareaType::class, [ 'required' =&gt; false, ]) -&gt;add('create', SubmitType::class) -&gt;getForm(); // etc."><pre class="notranslate"><code class="notranslate">$form = $this-&gt;createFormBuilder(new MyClass()) -&gt;add('value', TextareaType::class, [ 'required' =&gt; false, ]) -&gt;add('create', SubmitType::class) -&gt;getForm(); // etc. </code></pre></div> <p dir="auto">Submit the form with the field empty and we get an <code class="notranslate">InvalidArgumentException</code>:</p> <blockquote> <p dir="auto">Expected argument of type "string", "NULL" given<br> in vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php at line 275</p> </blockquote> <p dir="auto">As the value itself is empty, the Form sets its <code class="notranslate">$modelData</code> to <code class="notranslate">NULL</code>, while <code class="notranslate">$normData</code> and <code class="notranslate">$viewData</code> are correctly the empty string. <code class="notranslate">PropertyPathMapper::mapFormsToData</code> subsequently attempts to set the property to null, which would have been fine if not for the type hinting in the setter, causing the exception.</p> <p dir="auto"><em>edit</em>: if I remove the type hint from the setter I then get a Doctrine error as the field itself is mandatory yet <code class="notranslate">NULL</code> was inserted. I most definitely want users to be able to have the empty string in there, not null. So this is in the Form component, not the PropertyAccess end doing as it's told.</p>
1
<h3 dir="auto">System information</h3> <p dir="auto">See attached <a href="https://github.com/tensorflow/tensorflow/files/3584174/tf_env.txt">tf_env.txt</a> generated by <code class="notranslate">tf_env_collect.sh</code>.</p> <p dir="auto">tf.version.VERSION <strong>1.14.0</strong><br> tf.version.GIT_VERSION unknown</p> <h3 dir="auto">Describe the problem</h3> <p dir="auto">We have been successfully training Tensorflow models and loading them into Java project for inference. We have been training models using Tensorflow [1.8.0 - 1.10.0] and loading them into a gradle project compiled with 1.8.0. It worked.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dependencies { compile( &quot;org.tensorflow:tensorflow:&quot; + &quot;1.8.0&quot;, &quot;com.google.guava:guava:&quot; + guavaVersion, &quot;com.opencsv:opencsv:&quot; + openCSVVersion, )"><pre class="notranslate"><code class="notranslate">dependencies { compile( "org.tensorflow:tensorflow:" + "1.8.0", "com.google.guava:guava:" + guavaVersion, "com.opencsv:opencsv:" + openCSVVersion, ) </code></pre></div> <p dir="auto">Recently we have retrained the models using Tensorflow <strong>1.14.0</strong>. After replacing the older models and raising the gradle version number to 1.14.0</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dependencies { compile( &quot;org.tensorflow:tensorflow:&quot; + &quot;1.14.0&quot;, &quot;com.google.guava:guava:&quot; + guavaVersion, &quot;com.opencsv:opencsv:&quot; + openCSVVersion, )"><pre class="notranslate"><code class="notranslate">dependencies { compile( "org.tensorflow:tensorflow:" + "1.14.0", "com.google.guava:guava:" + guavaVersion, "com.opencsv:opencsv:" + openCSVVersion, ) </code></pre></div> <p dir="auto">one of the tests that attempts to load the model started throwing the following exception below:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.UnsatisfiedLinkError: /tmp/tensorflow_native_libraries-1567776737834-0/libtensorflow_jni.so: /tmp/tensorflow_native_libraries-1567776737834-0/libtensorflow_jni.so: undefined symbol: _ZN11tensorflow10FileSystem20RecursivelyCreateDirERKSs at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at org.tensorflow.NativeLibrary.load(NativeLibrary.java:101) at org.tensorflow.TensorFlow.init(TensorFlow.java:66) at org.tensorflow.TensorFlow.&lt;clinit&gt;(TensorFlow.java:70) at org.tensorflow.SavedModelBundle.&lt;clinit&gt;(SavedModelBundle.java:170)"><pre class="notranslate"><code class="notranslate">java.lang.UnsatisfiedLinkError: /tmp/tensorflow_native_libraries-1567776737834-0/libtensorflow_jni.so: /tmp/tensorflow_native_libraries-1567776737834-0/libtensorflow_jni.so: undefined symbol: _ZN11tensorflow10FileSystem20RecursivelyCreateDirERKSs at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at org.tensorflow.NativeLibrary.load(NativeLibrary.java:101) at org.tensorflow.TensorFlow.init(TensorFlow.java:66) at org.tensorflow.TensorFlow.&lt;clinit&gt;(TensorFlow.java:70) at org.tensorflow.SavedModelBundle.&lt;clinit&gt;(SavedModelBundle.java:170) </code></pre></div> <p dir="auto">This does not look like a bug issue but it would be nice if you could provide some tips on how to fix this on our end. Thank you.</p>
<p dir="auto">I trying to add summary and checkpoint to my distributed tensorflow training with custom data</p> <pre class="notranslate">summary_hook = tf.train.SummarySaverHook(save_secs=600,output_dir=FLAGS.log_dir,summary_op=summary_op) checkpoint_hook = tf.train.CheckpointSaverHook(save_steps=test_timing,checkpoint_dir=FLAGS.log_dir,saver=saver) with tf.train.MonitoredTrainingSession(server.target,is_chief=is_chief,hooks=[sync_replicas_hook,summary_hook,checkpoint_hook],config=sess_config) as sess:</pre> <p dir="auto">with above I can't run the sess with error of below</p> <pre class="notranslate">2017-08-24 19:38:31.250556: W tensorflow/core/framework/op_kernel.cc:1148] Invalid argument: Shape [-1,13] has negative dimensions 2017-08-24 19:38:31.250633: E tensorflow/core/common_runtime/executor.cc:644] Executor failed to create kernel. Invalid argument: Shape [-1,13] has negative dimensions [[Node: mfcc_input = Placeholder[dtype=DT_FLOAT, shape=[?,13], _device="/job:worker/replica:0/task:0/gpu:0"]()]] 2017-08-24 19:38:31.251688: W tensorflow/core/framework/op_kernel.cc:1148] Invalid argument: Shape [-1,13] has negative dimensions 2017-08-24 19:38:31.251734: E tensorflow/core/common_runtime/executor.cc:644] Executor failed to create kernel. Invalid argument: Shape [-1,13] has negative dimensions [[Node: mfcc_input = Placeholder[dtype=DT_FLOAT, shape=[?,13], _device="/job:worker/replica:0/task:0/gpu:0"]()]] 2017-08-24 19:38:31.253478: W tensorflow/core/framework/op_kernel.cc:1148] Invalid argument: Shape [-1,3] has negative dimensions 2017-08-24 19:38:31.253522: E tensorflow/core/common_runtime/executor.cc:644] Executor failed to create kernel. Invalid argument: Shape [-1,3] has negative dimensions [[Node: labels = Placeholder[dtype=DT_INT32, shape=[?,3], _device="/job:worker/replica:0/task:0/gpu:0"]()]]</pre> <p dir="auto">how ever if I run without the summary and checkpoint hook it just work fine....<br> I want to specify which timing and which directory to view my summary and save the checkpoint.<br> Does anyone have an idea how to solve this problem?</p>
0
<p dir="auto">GitHub issues are for bugs / installation problems / feature requests.<br> For general support from the community, see <a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">StackOverflow</a>.<br> To make bugs and feature requests more easy to find and organize, we close issues that are deemed<br> out of scope for GitHub Issues and point people to StackOverflow.</p> <p dir="auto">For bugs or installation issues, please provide the following information.<br> The more information you provide, the more easily we will be able to offer<br> help and advice.</p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System: 10.11.5<br> Python Version: 2.7.12 (installed from homebrew)</p> <p dir="auto">Installed version of CUDA and cuDNN:<br> (please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):<br> /usr/local/cuda/lib/libcuda.dylib<br> /usr/local/cuda/lib/libcudadevrt.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudadevrt.a<br> /usr/local/cuda/lib/libcudart.7.5.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.7.5.dylib<br> /usr/local/cuda/lib/libcudart.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.dylib<br> /usr/local/cuda/lib/libcudart_static.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart_static.a<br> /usr/local/cuda/lib/libcudnn.5.dylib<br> /usr/local/cuda/lib/libcudnn.dylib -&gt; libcudnn.5.dylib<br> /usr/local/cuda/lib/libcudnn_static.a<br> If installed from binary pip package, provide:</p> <ol dir="auto"> <li>Which pip package you installed.<br> I tried both install from source using the OSX guide.<br> And, the nightly binary with GPU support. 0.90</li> <li>The output from <code class="notranslate">python -c "import tensorflow; print(tensorflow.__version__)"</code>.<br> I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.dylib locally<br> I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.dylib locally<br> I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.dylib locally<br> fish: 'python -c "import tensorflow"' terminated by signal SIGSEGV (Address boundary error)</li> </ol> <p dir="auto">Python quits</p> <p dir="auto">If installed from source, provide</p> <ol dir="auto"> <li>The commit hash (<code class="notranslate">git rev-parse HEAD</code>)<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/5161e4c51b994b3feb93cdb851479c29a3450f31/hovercard" href="https://github.com/tensorflow/tensorflow/commit/5161e4c51b994b3feb93cdb851479c29a3450f31"><tt>5161e4c</tt></a></li> <li>The output of <code class="notranslate">bazel version</code><br> Build label: 0.3.0-homebrew<br> Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar<br> Build time: Tue Jul 12 11:11:47 2016 (1468321907)<br> Build timestamp: 1468321907<br> Build timestamp as int: 1468321907</li> </ol> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Install tensorflow from source or nightly using pip install</li> <li>python -c "import tensorflow"</li> </ol> <h3 dir="auto">What have you tried?</h3> <ol dir="auto"> <li>import numpy, import scipy etc looking at previous errors.</li> <li>dtruss output attached for import tensorflow</li> </ol> <h3 dir="auto">Logs or other output that would be helpful</h3> <p dir="auto">(If logs are large, please upload<br> <a href="https://github.com/tensorflow/tensorflow/files/382028/dtruss_python_tensorflow.txt">dtruss_python_tensorflow.txt</a><br> as attachment).</p>
<p dir="auto">After configuring and running<br> <code class="notranslate">bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package</code><br> I am getting this error during the build:</p> <p dir="auto"><code class="notranslate">ERROR: /pathtotensorflow/tensorflow/tensorflow/contrib/session_bundle/example/BUILD:38:1: Executing genrule //tensorflow/contrib/session_bundle/example:half_plus_two failed: bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1. Traceback (most recent call last): File "/private/var/tmp/_bazel_xxx/2ba3b3e08313f86d16eb1de7b54bf064/tensorflow/bazel-out/host/bin/tensorflow/contrib/session_bundle/example/export_half_plus_two.runfiles/tensorflow/contrib/session_bundle/example/export_half_plus_two.py", line 33, in &lt;module&gt; from tensorflow.contrib.session_bundle import exporter ImportError: No module named session_bundle Target //tensorflow/tools/pip_package:build_pip_package failed to build</code></p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System: os x el Capitan</p> <p dir="auto">Installed version of CUDA and cuDNN:<br> <code class="notranslate">-rwxr-xr-x 1 root wheel 8280 Apr 12 23:02 /usr/local/cuda/lib/libcuda.dylib lrwxr-xr-x 1 root wheel 45 Apr 12 23:03 /usr/local/cuda/lib/libcudadevrt.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudadevrt.a lrwxr-xr-x 1 root wheel 50 Apr 12 23:03 /usr/local/cuda/lib/libcudart.7.5.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.7.5.dylib lrwxr-xr-x 1 root wheel 46 Apr 12 23:03 /usr/local/cuda/lib/libcudart.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart.dylib lrwxr-xr-x 1 root wheel 49 Apr 12 23:03 /usr/local/cuda/lib/libcudart_static.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudart_static.a lrwxr-xr-x 1 root admin 47 Jun 16 11:25 /usr/local/cuda/lib/libcudnn.5.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudnn.5.dylib lrwxr-xr-x 1 root admin 45 Jun 16 11:25 /usr/local/cuda/lib/libcudnn.dylib -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudnn.dylib lrwxr-xr-x 1 root admin 48 Jun 16 11:25 /usr/local/cuda/lib/libcudnn_static.a -&gt; /Developer/NVIDIA/CUDA-7.5/lib/libcudnn_static.a</code></p>
1
<h2 dir="auto">Bug Report</h2> <p dir="auto"><strong>Current Behavior</strong><br> babel-core doesn't list which plugins/presets are duplicated:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Duplicate plugin/preset detected. If you'd like to use two separate instances of a plugin, they need separate names, e.g. plugins: [ ['some-plugin', {}], ['some-plugin', {}, 'some unique name'], ] at assertNoDuplicates (node_modules/@babel/core/lib/config/config-descriptors.js:205:13) at createDescriptors (node_modules/@babel/core/lib/config/config-descriptors.js:114:3) at createPluginDescriptors (node_modules/@babel/core/lib/config/config-descriptors.js:105:10) at alias (node_modules/@babel/core/lib/config/config-descriptors.js:63:49) at cachedFunction (node_modules/@babel/core/lib/config/caching.js:33:19) at plugins.plugins (node_modules/@babel/core/lib/config/config-descriptors.js:28:77) at mergeChainOpts (node_modules/@babel/core/lib/config/config-chain.js:319:26) at node_modules/@babel/core/lib/config/config-chain.js:283:7 at buildRootChain (node_modules/@babel/core/lib/config/config-chain.js:68:29) at loadPrivatePartialConfig (node_modules/@babel/core/lib/config/partial.js:85:55)"><pre class="notranslate"><code class="notranslate"> Duplicate plugin/preset detected. If you'd like to use two separate instances of a plugin, they need separate names, e.g. plugins: [ ['some-plugin', {}], ['some-plugin', {}, 'some unique name'], ] at assertNoDuplicates (node_modules/@babel/core/lib/config/config-descriptors.js:205:13) at createDescriptors (node_modules/@babel/core/lib/config/config-descriptors.js:114:3) at createPluginDescriptors (node_modules/@babel/core/lib/config/config-descriptors.js:105:10) at alias (node_modules/@babel/core/lib/config/config-descriptors.js:63:49) at cachedFunction (node_modules/@babel/core/lib/config/caching.js:33:19) at plugins.plugins (node_modules/@babel/core/lib/config/config-descriptors.js:28:77) at mergeChainOpts (node_modules/@babel/core/lib/config/config-chain.js:319:26) at node_modules/@babel/core/lib/config/config-chain.js:283:7 at buildRootChain (node_modules/@babel/core/lib/config/config-chain.js:68:29) at loadPrivatePartialConfig (node_modules/@babel/core/lib/config/partial.js:85:55) </code></pre></div> <p dir="auto"><strong>Expected behavior/code</strong><br> A list of duplicate plugins/presets so that you know which ones to remove or rename.</p> <p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &quot;babel&quot;: { &quot;plugins&quot;: [ &quot;@babel/plugin-proposal-class-properties&quot;, &quot;@babel/plugin-syntax-dynamic-import&quot;, &quot;@babel/plugin-transform-runtime&quot;, &quot;babel-plugin-istanbul&quot;, &quot;babel-plugin-styled-components&quot;, &quot;syntax-export-extensions&quot; ], &quot;presets&quot;: [ [&quot;@babel/preset-env&quot;, { &quot;debug&quot;: true }], [&quot;@babel/preset-react&quot;, { &quot;debug&quot;: true }] ] },"><pre class="notranslate"> <span class="pl-ent">"babel"</span>: { <span class="pl-ent">"plugins"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>@babel/plugin-proposal-class-properties<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>@babel/plugin-syntax-dynamic-import<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>@babel/plugin-transform-runtime<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>babel-plugin-istanbul<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>babel-plugin-styled-components<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>syntax-export-extensions<span class="pl-pds">"</span></span> ], <span class="pl-ent">"presets"</span>: [ [<span class="pl-s"><span class="pl-pds">"</span>@babel/preset-env<span class="pl-pds">"</span></span>, { <span class="pl-ent">"debug"</span>: <span class="pl-c1">true</span> }], [<span class="pl-s"><span class="pl-pds">"</span>@babel/preset-react<span class="pl-pds">"</span></span>, { <span class="pl-ent">"debug"</span>: <span class="pl-c1">true</span> }] ] },</pre></div> <p dir="auto"><strong>Environment</strong></p> <ul dir="auto"> <li>Babel version(s): 7.4.0</li> <li>Node/npm version: Node 10/npm 6</li> <li>OS: macOS 10.14.3</li> </ul>
<p dir="auto">Bug report</p> <h3 dir="auto">Input Code</h3> <p dir="auto">The following will build without error in Babel:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const fn = () =&gt; { if (x) return x let x = true } fn() // ReferenceError: x is not defined"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-en">fn</span> <span class="pl-c1">=</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">if</span> <span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span> <span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-k">let</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c">// ReferenceError: x is not defined</span></pre></div> <p dir="auto">However, when ES6 transform is applied, the <code class="notranslate">let</code> declaration transpiles into a <code class="notranslate">var</code>, which is hoisted and run without error</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var fn = function fn() { if (x) return; var x = true; }; fn(); // OK"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-en">fn</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span> <span class="pl-k">return</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">true</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// OK</span></pre></div> <h3 dir="auto">Babel/Babylon Configuration (.babelrc, package.json, cli command)</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ [&quot;babel-preset-env&quot;, { &quot;targets&quot;: { &quot;browsers&quot;: [&quot;last 2 Chrome versions&quot;], &quot;uglify&quot;: true } }] ] }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</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">"targets"</span>: <span class="pl-kos">{</span> <span class="pl-s">"browsers"</span>: <span class="pl-kos">[</span><span class="pl-s">"last 2 Chrome versions"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"uglify"</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">]</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">I would expect Babel to warn me that my un-transpiled code would have caused an error, but the transpiled code prevents that error.</p> <h3 dir="auto">Current Behavior</h3> <p dir="auto">I can introduce a bug in my code without realizing it, because the transpiled version fixes said bug.</p> <h3 dir="auto">Possible Solution</h3> <h3 dir="auto">Context</h3> <p dir="auto">I actually removed the <code class="notranslate">uglify</code> option from my Babel configuration because I did not want to transpile everything into ES5 syntax. Suddenly, I was getting a <code class="notranslate">ReferenceError</code> in my code that previously worked fine.</p> <h3 dir="auto">Your Environment</h3> <table role="table"> <thead> <tr> <th>software</th> <th>version(s)</th> </tr> </thead> <tbody> <tr> <td>Babel</td> <td>6.26.0</td> </tr> <tr> <td>Babylon</td> <td></td> </tr> <tr> <td>node</td> <td>8.11.1</td> </tr> <tr> <td>npm</td> <td>5.6.0</td> </tr> <tr> <td>Operating System</td> <td>High Sierra</td> </tr> </tbody> </table>
0
<p dir="auto">Component declaration should contain a whitelist of properties, e.g. it could require that you list the property name under <code class="notranslate">propTypes</code> even if it is assigned <code class="notranslate">null</code> (that could mean "any type", a broader version of <code class="notranslate">React.PropTypes.node</code>).</p> <p dir="auto">If a property that is not defined in <code class="notranslate">propTypes</code> is passed to a component declaration an error must be raised.</p> <p dir="auto">This would provide several benefits:</p> <ul dir="auto"> <li>Would help to catch TYPOs</li> <li>Would promote type declaration</li> <li>Would prevent orphan properties</li> </ul> <h2 dir="auto">Catching Typos</h2> <p dir="auto">Suppose a component that generates a different type of input depending on a <code class="notranslate">type</code> value. This component has a default <code class="notranslate">type</code> value "text".</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var Input = React.createClass({ getDefaultProps: function () { return { type: 'text' } }, render: function () { // Different logic defending on the type name. // this.props.type === 'text' return &lt;div /&gt;; } });"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">Input</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">createClass</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-en">getDefaultProps</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-s">'text'</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-en">render</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// Different logic defending on the type name.</span> <span class="pl-c">// this.props.type === 'text'</span> <span class="pl-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">If <code class="notranslate">Input</code> instance declaration is defined with a typo in the <code class="notranslate">type</code> property, it would not be an obvious error.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Input tupe='password' /&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">Input</span> <span class="pl-c1">tupe</span><span class="pl-c1">=</span><span class="pl-s">'password'</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">Raising an error "Unknown property 'tupe'." would help to catch the error.</p> <h2 dir="auto">Promoting Type Declaration</h2> <p dir="auto">If property names are required to be listed under <code class="notranslate">propTypes</code>, it requires little extra effort to define their types.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var Input = React.createClass({ propTypes: { type: React.PropTypes.string, // type: null }, render: function () { return &lt;div /&gt;; } });"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">Input</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">createClass</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">propTypes</span>: <span class="pl-kos">{</span> <span class="pl-c1">type</span>: <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">string</span><span class="pl-kos">,</span> <span class="pl-c">// type: null</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-en">render</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Furthermore, we are used to think about <em>code-length</em> in terms of the lines of code. The fact that type declaration at the moment adds extra lines might be discouraging some developers from doing it. This thought is only to boost the importance of the earlier argument.</p> <h2 dir="auto">Preventing Orphan Properties</h2> <p dir="auto">This is especially relevant when using spread operator inheritance.</p> <p dir="auto">Suppose an instance of a simple (<code class="notranslate">Input</code>) component is declared using a spread operator.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Input {...generalFormProps} name='foo' /&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">Input</span> <span class="pl-kos">{</span>...<span class="pl-s1">generalFormProps</span><span class="pl-kos">}</span> <span class="pl-c1">name</span><span class="pl-c1">=</span><span class="pl-s">'foo'</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">, where <code class="notranslate">generalFormProps</code> is an object containing many properties of which just some apply to <code class="notranslate">Input</code> component. In this scenario, each <code class="notranslate">Input</code> instance would have a copy of those property values (dead weight).</p>
<p dir="auto">It would be great if in debug mode react would warn you when you pass in a property on props which is not specified in the propTypes object for that component. i.e. a way to enforce that props should ONLY have the props specified in propTypes and no others.</p> <p dir="auto">This would prevent use of undocumented properties and also allow better code maintenance as unused props would be more easily removed.</p>
1
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface A { foo: Function; } class B implements A { constructor() { this.foo = () =&gt; {}; } }"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-smi">Function</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">B</span> <span class="pl-k">implements</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">foo</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Here TypeScript says that <code class="notranslate">B</code> incorrectly implements <code class="notranslate">A</code> and requires <code class="notranslate">B</code> to also have <code class="notranslate">foo</code> property with the same signature. So question is: why I need duplicate definition of properties when implement interface if I cannot override that definition anyway:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface A { foo: Function; } class B implements A { foo: boolean; constructor() { this.foo = true; } }"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-smi">Function</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">B</span> <span class="pl-k">implements</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-smi">boolean</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">foo</span> <span class="pl-c1">=</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">Here <code class="notranslate">B</code> again incorrectly implements <code class="notranslate">A</code>. Only way to fix it is to add <code class="notranslate">foo:Function</code> to <code class="notranslate">B</code> which absolutely has no point since <code class="notranslate">A</code> already has that.</p>
<p dir="auto"><a href="http://typescript.codeplex.com/workitem/1125" rel="nofollow">http://typescript.codeplex.com/workitem/1125</a></p> <p dir="auto">Following should be allowed:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface IFoo { foo(); } declare class Foo implements IFoo {}"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">IFoo</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">declare</span> <span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-k">implements</span> <span class="pl-smi">IFoo</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">If abstract classes are added in the future, they would inherit all interface methods as abstract (like in Java).</p>
1
<p dir="auto">Problem is when one component wraps another one and is trying to provide the nested content to wrapped component, which additionally is trying to take this nested content by selectors.</p> <p dir="auto"><strong>Case 0</strong><br> <a href="http://jsfiddle.net/majo44/nvaqhsse/" rel="nofollow">http://jsfiddle.net/majo44/nvaqhsse/</a></p> <p dir="auto">The goal is to provide component X-B which encapsulate component X-A, with possibility to provide nested content to X-A from usage of X-B.</p> <p dir="auto">X-A component</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ selector: &quot;x-a&quot;, template: ` X-A Start &lt;ng-content&gt;&lt;/ng-content&gt; X-A End` }) class XA{}"><pre class="notranslate">@<span class="pl-v">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">selector</span>: <span class="pl-s">"x-a"</span><span class="pl-kos">,</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> X-A Start</span> <span class="pl-s"> &lt;ng-content&gt;&lt;/ng-content&gt;</span> <span class="pl-s"> X-A End`</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-c1">XA</span><span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">X-B component</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ selector: &quot;x-b&quot;, template: ` X-B Start &lt;x-a&gt; &lt;ng-content&gt;&lt;/ng-content&gt; &lt;/x-a&gt; X-B End`, directives: [XA] }) class XB{}"><pre class="notranslate">@<span class="pl-v">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">selector</span>: <span class="pl-s">"x-b"</span><span class="pl-kos">,</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> X-B Start</span> <span class="pl-s"> &lt;x-a&gt;</span> <span class="pl-s"> &lt;ng-content&gt;&lt;/ng-content&gt;</span> <span class="pl-s"> &lt;/x-a&gt;</span> <span class="pl-s"> X-B End`</span><span class="pl-kos">,</span> <span class="pl-c1">directives</span>: <span class="pl-kos">[</span><span class="pl-c1">XA</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-c1">XB</span><span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">Example usage</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ selector: 'app', template: ` &lt;x-b&gt; &lt;div class=&quot;aClass&quot;&gt;AClass Element&lt;/div&gt; &lt;div class=&quot;bClass&quot;&gt;BClass Element&lt;/div&gt; &lt;/x-b&gt; `, directives: [XB] }) class App{}"><pre class="notranslate">@<span class="pl-v">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">selector</span>: <span class="pl-s">'app'</span><span class="pl-kos">,</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> &lt;x-b&gt;</span> <span class="pl-s"> &lt;div class="aClass"&gt;AClass Element&lt;/div&gt;</span> <span class="pl-s"> &lt;div class="bClass"&gt;BClass Element&lt;/div&gt;</span> <span class="pl-s"> &lt;/x-b&gt;</span> <span class="pl-s"> `</span><span class="pl-kos">,</span> <span class="pl-c1">directives</span>: <span class="pl-kos">[</span><span class="pl-c1">XB</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-v">App</span><span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">As a output I got:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;app&gt; &lt;x-b&gt; X-B Start &lt;x-a&gt; X-A Start &lt;div class=&quot;aClass&quot;&gt;AClass Element&lt;/div&gt; &lt;div class=&quot;bClass&quot;&gt;BClass Element&lt;/div&gt; X-A End &lt;/x-a&gt; X-B End &lt;/x-b&gt; &lt;/app&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">app</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">x-b</span><span class="pl-kos">&gt;</span> X-B Start <span class="pl-kos">&lt;</span><span class="pl-ent">x-a</span><span class="pl-kos">&gt;</span> X-A Start <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">aClass</span>"<span class="pl-kos">&gt;</span>AClass Element<span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">bClass</span>"<span class="pl-kos">&gt;</span>BClass Element<span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> X-A End <span class="pl-kos">&lt;/</span><span class="pl-ent">x-a</span><span class="pl-kos">&gt;</span> X-B End <span class="pl-kos">&lt;/</span><span class="pl-ent">x-b</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">app</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">In this case everything works fine as I expected.</p> <p dir="auto"><strong>Case 1</strong><br> <a href="http://jsfiddle.net/majo44/nvaqhsse/1/" rel="nofollow">http://jsfiddle.net/majo44/nvaqhsse/1/</a></p> <p dir="auto">Now lets modify x-a component whit adding selectors to ng-content (eg. for reverse order of children, in real case this can be for placing content in different places of my page layout).</p> <p dir="auto">X-A component:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ selector: &quot;x-a&quot;, template: ` X-A Start &lt;ng-content select=&quot;.bClass&quot;&gt;&lt;/ng-content&gt; &lt;ng-content select=&quot;.aClass&quot;&gt;&lt;/ng-content&gt; X-A End` }) class XA{}"><pre class="notranslate">@<span class="pl-v">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">selector</span>: <span class="pl-s">"x-a"</span><span class="pl-kos">,</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> X-A Start</span> <span class="pl-s"> &lt;ng-content select=".bClass"&gt;&lt;/ng-content&gt;</span> <span class="pl-s"> &lt;ng-content select=".aClass"&gt;&lt;/ng-content&gt;</span> <span class="pl-s"> X-A End`</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-c1">XA</span><span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">Now output do not contains any of content provided to x-b component<br> As a output I got:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;app&gt; &lt;x-b&gt; X-B Start &lt;x-a&gt; X-A Start X-A End &lt;/x-a&gt; X-B End &lt;/x-b&gt; &lt;/app&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">app</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">x-b</span><span class="pl-kos">&gt;</span> X-B Start <span class="pl-kos">&lt;</span><span class="pl-ent">x-a</span><span class="pl-kos">&gt;</span> X-A Start X-A End <span class="pl-kos">&lt;/</span><span class="pl-ent">x-a</span><span class="pl-kos">&gt;</span> X-B End <span class="pl-kos">&lt;/</span><span class="pl-ent">x-b</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">app</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto"><strong>Case 2</strong><br> <a href="http://jsfiddle.net/majo44/nvaqhsse/2/" rel="nofollow">http://jsfiddle.net/majo44/nvaqhsse/2/</a></p> <p dir="auto">As a workaround I can re-package my content in x-b component (this is not good because I have to always know exact the x-a ng-content selectors in x-b component, this is not superb flexible)</p> <p dir="auto">X-B component</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Component({ selector: &quot;x-b&quot;, template: ` X-B Start &lt;x-a&gt; &lt;div class=&quot;aClass&quot;&gt; &lt;ng-content select=&quot;.aClass&quot;&gt;&lt;/ng-content&gt; &lt;/div&gt; &lt;div class=&quot;bClass&quot;&gt; &lt;ng-content select=&quot;.bClass&quot;&gt;&lt;/ng-content&gt; &lt;/div&gt; &lt;/x-a&gt; X-B End`, directives: [XA] }) class XB{}"><pre class="notranslate">@<span class="pl-v">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">selector</span>: <span class="pl-s">"x-b"</span><span class="pl-kos">,</span> <span class="pl-c1">template</span>: <span class="pl-s">`</span> <span class="pl-s"> X-B Start</span> <span class="pl-s"> &lt;x-a&gt;</span> <span class="pl-s"> &lt;div class="aClass"&gt;</span> <span class="pl-s"> &lt;ng-content select=".aClass"&gt;&lt;/ng-content&gt;</span> <span class="pl-s"> &lt;/div&gt;</span> <span class="pl-s"> &lt;div class="bClass"&gt;</span> <span class="pl-s"> &lt;ng-content select=".bClass"&gt;&lt;/ng-content&gt;</span> <span class="pl-s"> &lt;/div&gt;</span> <span class="pl-s"> &lt;/x-a&gt;</span> <span class="pl-s"> X-B End`</span><span class="pl-kos">,</span> <span class="pl-c1">directives</span>: <span class="pl-kos">[</span><span class="pl-c1">XA</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-c1">XB</span><span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">Output looks better, but there still is a problem, because ng-content is taking whole selected element I have now duplicated &lt;div class="...Class"&gt;:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;app&gt; &lt;x-b&gt; X-B Start &lt;x-a&gt; X-A Start &lt;div class=&quot;bClass&quot;&gt; &lt;div class=&quot;bClass&quot;&gt;BClass Element&lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;aClass&quot;&gt; &lt;div class=&quot;aClass&quot;&gt;AClass Element&lt;/div&gt; &lt;/div&gt; X-A End &lt;/x-a&gt; X-B End &lt;/x-b&gt; &lt;/app&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">app</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">x-b</span><span class="pl-kos">&gt;</span> X-B Start <span class="pl-kos">&lt;</span><span class="pl-ent">x-a</span><span class="pl-kos">&gt;</span> X-A Start <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">bClass</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">bClass</span>"<span class="pl-kos">&gt;</span>BClass Element<span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">aClass</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">aClass</span>"<span class="pl-kos">&gt;</span>AClass Element<span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> X-A End <span class="pl-kos">&lt;/</span><span class="pl-ent">x-a</span><span class="pl-kos">&gt;</span> X-B End <span class="pl-kos">&lt;/</span><span class="pl-ent">x-b</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">app</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">As I think, the best flexible solution for this will be support of <em>Case 1</em> directly. As an alternative solution for <em>Case 2</em> ng-content can provide additional attribute for "unwrap" the content from "selected" element.</p> <p dir="auto">Angular Version: 2.0.0-beta.0<br> Browser: Chrome</p>
<p dir="auto">I am using the latest Angular and Angular CLI.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@angular/cli: 1.1.0-rc.0 node: 6.10.0 os: darwin x64 @angular/common: 4.2.0-beta.1 @angular/compiler: 4.2.0-beta.1 @angular/core: 4.2.0-beta.1 @angular/flex-layout: 2.0.0-beta.8 @angular/forms: 4.2.0-beta.1 @angular/http: 4.2.0-beta.1 @angular/platform-browser: 4.2.0-beta.1 @angular/platform-browser-dynamic: 4.2.0-beta.1 @angular/router: 4.2.0-beta.1 @angular/cli: 1.1.0-rc.0 @angular/compiler-cli: 4.2.0-beta.1 @angular/language-service: 4.2.0-beta.1"><pre class="notranslate"><code class="notranslate">@angular/cli: 1.1.0-rc.0 node: 6.10.0 os: darwin x64 @angular/common: 4.2.0-beta.1 @angular/compiler: 4.2.0-beta.1 @angular/core: 4.2.0-beta.1 @angular/flex-layout: 2.0.0-beta.8 @angular/forms: 4.2.0-beta.1 @angular/http: 4.2.0-beta.1 @angular/platform-browser: 4.2.0-beta.1 @angular/platform-browser-dynamic: 4.2.0-beta.1 @angular/router: 4.2.0-beta.1 @angular/cli: 1.1.0-rc.0 @angular/compiler-cli: 4.2.0-beta.1 @angular/language-service: 4.2.0-beta.1 </code></pre></div> <p dir="auto">I am using <a href="https://github.com/auth0/angular2-jwt/blob/master/angular2-jwt.ts#L123">Angular2-jwt</a> for HTTP requests.</p> <p dir="auto">I am running on <code class="notranslate">typescript 2.3</code> with <code class="notranslate">strict</code> equal <code class="notranslate">true</code>. If <code class="notranslate">strict</code> is <code class="notranslate">false</code>, <code class="notranslate">ng build --prod --aot</code> is fine. With <code class="notranslate">strict=true</code>, I run into this issue below.</p> <p dir="auto">Running <code class="notranslate">ng server</code> with <code class="notranslate">strict=true</code> or <code class="notranslate">strict=false</code>, everything is fine.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ➜ ng build --prod --aot Hash: 014d8bfd8f003b5ebb85 Time: 26601ms chunk {0} 0.e99d366f13a386a17436.chunk.js 227 kB {1} {2} {4} [rendered] ... ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,18): Type 'RequestOptionsArgs | undefined' has no property 'method' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,26): Type 'RequestOptionsArgs | undefined' has no property 'headers' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,35): Type 'RequestOptionsArgs | undefined' has no property 'body' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,41): Type 'RequestOptionsArgs | undefined' has no property 'url' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,46): Type 'RequestOptionsArgs | undefined' has no property 'search' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,54): Type 'RequestOptionsArgs | undefined' has no property 'params' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,62): Type 'RequestOptionsArgs | undefined' has no property 'withCredentials' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,79): Type 'RequestOptionsArgs | undefined' has no property 'responseType' and no string index signature."><pre class="notranslate"><code class="notranslate"> ➜ ng build --prod --aot Hash: 014d8bfd8f003b5ebb85 Time: 26601ms chunk {0} 0.e99d366f13a386a17436.chunk.js 227 kB {1} {2} {4} [rendered] ... ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,18): Type 'RequestOptionsArgs | undefined' has no property 'method' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,26): Type 'RequestOptionsArgs | undefined' has no property 'headers' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,35): Type 'RequestOptionsArgs | undefined' has no property 'body' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,41): Type 'RequestOptionsArgs | undefined' has no property 'url' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,46): Type 'RequestOptionsArgs | undefined' has no property 'search' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,54): Type 'RequestOptionsArgs | undefined' has no property 'params' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,62): Type 'RequestOptionsArgs | undefined' has no property 'withCredentials' and no string index signature. ERROR in /node_modules/@angular/http/src/base_request_options.d.ts (63,79): Type 'RequestOptionsArgs | undefined' has no property 'responseType' and no string index signature. </code></pre></div> <p dir="auto">Can someone confirm that it is an Angular/Http bug or a library bug?</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Current Behavior</h2> <p dir="auto">On mobile Chrome and Safari, tested iOS 11.2.5, when inputting text in an Input field featuring an InputAdornment, there is a strange behavior where extra space is added below text. See attached screen shot.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/36003207/35658249-716c1e36-06ce-11e8-84fb-edf2d8410e8c.jpeg"><img src="https://user-images.githubusercontent.com/36003207/35658249-716c1e36-06ce-11e8-84fb-edf2d8410e8c.jpeg" alt="image1" style="max-width: 100%;"></a></p> <h2 dir="auto">Your Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;material-ui&quot;: &quot;^1.0.0-beta.31&quot;, &quot;material-ui-icons&quot;: &quot;^1.0.0-beta.17&quot;, &quot;react&quot;: &quot;^16.2.0&quot;, &quot;react-dom&quot;: &quot;^16.2.0&quot;, &quot;react-scripts&quot;: &quot;1.0.17&quot;"><pre class="notranslate"><code class="notranslate">"material-ui": "^1.0.0-beta.31", "material-ui-icons": "^1.0.0-beta.17", "react": "^16.2.0", "react-dom": "^16.2.0", "react-scripts": "1.0.17" </code></pre></div>
<p dir="auto">If you want to explain a Select field's MenuItems via a tooltip, the onChange will no longer work.</p> <ul dir="auto"> <li>[ x] I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Select a new value, state is updated</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Crash. Event target is the tooltip, not the MenuItem, and thus there is no target value</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;FormControl&gt; &lt;InputLabel htmlFor='activity-level'&gt;Activity Level&lt;/InputLabel&gt; &lt;SelectField input={&lt;Input name=&quot;sort&quot; id='activity-level' /&gt;} onChange={this.handleFormChange('activityLevel')} value={this.state.activityLevel} &gt; &lt;Tooltip id=&quot;tooltip-sedentary&quot; title=&quot;Little or no exercise&quot; placement=&quot;right&quot;&gt; &lt;MenuItem value={'sedentary'} &gt;Sedentary&lt;/MenuItem&gt; &lt;/Tooltip&gt; &lt;Tooltip id=&quot;tooltip-light&quot; title=&quot;1-3/week&quot; placement=&quot;right&quot;&gt; &lt;MenuItem value={'light'} &gt;Light&lt;/MenuItem&gt; &lt;/Tooltip&gt; &lt;/SelectField&gt; &lt;/FormControl&gt; handleFormChange(key) { return (event) =&gt; { debugger let newState = {}; newState[key] = event.target.value; this.setState(newState); } }"><pre class="notranslate"><code class="notranslate">&lt;FormControl&gt; &lt;InputLabel htmlFor='activity-level'&gt;Activity Level&lt;/InputLabel&gt; &lt;SelectField input={&lt;Input name="sort" id='activity-level' /&gt;} onChange={this.handleFormChange('activityLevel')} value={this.state.activityLevel} &gt; &lt;Tooltip id="tooltip-sedentary" title="Little or no exercise" placement="right"&gt; &lt;MenuItem value={'sedentary'} &gt;Sedentary&lt;/MenuItem&gt; &lt;/Tooltip&gt; &lt;Tooltip id="tooltip-light" title="1-3/week" placement="right"&gt; &lt;MenuItem value={'light'} &gt;Light&lt;/MenuItem&gt; &lt;/Tooltip&gt; &lt;/SelectField&gt; &lt;/FormControl&gt; handleFormChange(key) { return (event) =&gt; { debugger let newState = {}; newState[key] = event.target.value; this.setState(newState); } } </code></pre></div> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.26</td> </tr> <tr> <td>React</td> <td>16.1.0</td> </tr> </tbody> </table>
0
<p dir="auto">When you have Input with type number and label, there is problem with browers that don't limit input of a string, and if you type in string label will stay over the text.<br> In Chrome u can only type letter "e" but in Mozzila u can whatever u want.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/5d63a3bb4cba2a50aeb224b3c5240e65612c72593b1678df5977ef386fb7a1cc/68747470733a2f2f692e696d6775722e636f6d2f6e4b435268634e2e706e67"><img src="https://camo.githubusercontent.com/5d63a3bb4cba2a50aeb224b3c5240e65612c72593b1678df5977ef386fb7a1cc/68747470733a2f2f692e696d6775722e636f6d2f6e4b435268634e2e706e67" alt="Bug" data-canonical-src="https://i.imgur.com/nKCRhcN.png" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Here you go <a href="https://codesandbox.io/s/olnmovn8xq" rel="nofollow">https://codesandbox.io/s/olnmovn8xq</a></p> <h2 dir="auto">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.20</td> </tr> <tr> <td>React</td> <td>16.0.0</td> </tr> <tr> <td>browser</td> <td>Chrome 61.0.3163.91</td> </tr> </tbody> </table>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">The label stays floated, if the user enters non numeric values to a TextField with type="number"</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The label stays not floated.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8149519/30313488-d2256ae8-979d-11e7-8269-718ddfa1051f.PNG"><img src="https://user-images.githubusercontent.com/8149519/30313488-d2256ae8-979d-11e7-8269-718ddfa1051f.PNG" alt="label_stays_not_floated" style="max-width: 100%;"></a></p> <p dir="auto">With only numeric values the label stays floated</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8149519/30313565-0aa601e8-979e-11e7-8cb3-ebefbd623717.PNG"><img src="https://user-images.githubusercontent.com/8149519/30313565-0aa601e8-979e-11e7-8cb3-ebefbd623717.PNG" alt="label_stays_floated" style="max-width: 100%;"></a></p> <p dir="auto">Also there are some wierd characters if the TextField is empty:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8149519/30313528-f5f358d6-979d-11e7-8869-97204fed6edc.PNG"><img src="https://user-images.githubusercontent.com/8149519/30313528-f5f358d6-979d-11e7-8869-97204fed6edc.PNG" alt="wierd_chars" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>create a TextField component and use it with type="number"</li> </ol> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>v1.0.0-beta.8</td> </tr> <tr> <td>React</td> <td>15.6.1</td> </tr> <tr> <td>browser</td> <td>Firefox 54.0</td> </tr> </tbody> </table>
1
<h5 dir="auto">ISSUE TYPE</h5> <p dir="auto">Feature Idea</p> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">shell module</p> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">2.3</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lordbaco/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lordbaco">@lordbaco</a> on 2015-05-22T09:32:33Z<br> Countless of times, I need to create two blocks of command or shell actions.<br> One to check the status of the system (and register it to an ansible variable) and<br> One to execute the command if really needed.</p> <p dir="auto">My idea is to add a check= option to both command and shell core modules<br> so you can combine both actions in one. This will make playbook/task shorter.</p> <p dir="auto">In bash, I like to do things like<br> test -f /etc/libvirt/qemu/autostart/test.xml || virsh autostart test<br> rsync --dry-run -av a/ b/ &amp;&amp; rsync -av a/ b/<br> patch --dry-run -p1 -R &lt; test.patch &amp;&amp; patch -p1 -R &lt; test.patch<br> grep -q 'test3' /root/file || perl -p -i -e 's/test2/test3/g' /root/file<br> grep -q 'test4' /root/file || perl -p -i -e '$_ = undef if(/test4/)' /root/file</p> <p dir="auto">To come back to Ansible this will translate to<br> command: rsync -av a/ b/ check="rsync --dry-run -av a/ b/"<br> when: check.rc == 0<br> command: virsh autostart test check="test -f /etc/libvirt/qemu/autostart/test.xml"<br> when: check.rc == 0<br> shell: patch -p1 -R &lt; test.patch check="patch --dry-run -p1 -R &lt; test.patch"<br> when: check.rc == 0<br> shell: perl -p -i -e 's/test2/test3/g' /root/file check="grep -q 'test3' /root/file"<br> when: check.rc != 0<br> shell: perl -p -i -e '$_ = undef if(/test4/)' /root/file check="grep -q 'test4' /root/file"<br> when: check.rc != 0<br> ...</p> <p dir="auto">In certain cases, you need to do execute the command when the check= based<br> on more complex condition(s) so the idea is to use it in conjuction with<br> "when:" and evaluate check.rc, check.stdout, check.stderr to anything you want</p> <p dir="auto">-name: check if ssh host keys need to be regenerated<br> shell: rm -f /etc/ssh/ssh_host_* verify="cat /etc/ssh/ssh_host_rsa_key.pub"<br> when: check.stdout.find('root@template-') != -1<br> notify:<br> reconfigure ssh<br> tags: ssh</p> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="79376621" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/1396" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/1396/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/1396">ansible/ansible-modules-core#1396</a></p>
<h5 dir="auto">ISSUE TYPE</h5> <p dir="auto">Feature Idea</p> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">core</p> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">2.2</p> <h5 dir="auto">CONFIGURATION</h5> <h5 dir="auto">OS / ENVIRONMENT</h5> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Currently modules that do not support check mode (e.g. the <code class="notranslate">command</code> module) report that the "remote module does not support check mode", however if they use <code class="notranslate">creates=</code> or <code class="notranslate">removes=</code> Ansible could perform a check-mode, or at least evaluate whether it would not run.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <h5 dir="auto">EXPECTED RESULTS</h5> <h5 dir="auto">ACTUAL RESULTS</h5>
1
<p dir="auto">The following code snippets behave differently, is this working as intended?</p> <h3 dir="auto">Input Code</h3> <p dir="auto">Unexpected behaviour:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var obj = { 2: 3, 4: 5 }; var {[2] : first, ...remaining} = obj console.log('first', first) console.log('remaining', remaining) //remaining contains first"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">obj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">2</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span>: <span class="pl-c1">5</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-kos">{</span><span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span> : <span class="pl-s1">first</span><span class="pl-kos">,</span> ...<span class="pl-s1">remaining</span><span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</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">'first'</span><span class="pl-kos">,</span> <span class="pl-s1">first</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'remaining'</span><span class="pl-kos">,</span> <span class="pl-s1">remaining</span><span class="pl-kos">)</span> <span class="pl-c">//remaining contains first</span></pre></div> <p dir="auto">This behaves as expected:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var obj = { 2: 3, 4: 5 }; var {&quot;2&quot; : first, ...remaining} = obj console.log('first', first) console.log('remaining', remaining)"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">obj</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">2</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span>: <span class="pl-c1">5</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-kos">{</span><span class="pl-s">"2"</span> : <span class="pl-s1">first</span><span class="pl-kos">,</span> ...<span class="pl-s1">remaining</span><span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</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">'first'</span><span class="pl-kos">,</span> <span class="pl-s1">first</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'remaining'</span><span class="pl-kos">,</span> <span class="pl-s1">remaining</span><span class="pl-kos">)</span></pre></div> <h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ [ &quot;env&quot;, { &quot;targets&quot;: { &quot;node&quot;: &quot;current&quot; } } ], &quot;stage-3&quot; ] } "><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span> <span class="pl-kos">[</span> <span class="pl-s">"env"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-s">"targets"</span>: <span class="pl-kos">{</span> <span class="pl-s">"node"</span>: <span class="pl-s">"current"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">"stage-3"</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">I expect both code snippets to behave identically</p> <h3 dir="auto">My Environment</h3> <table role="table"> <thead> <tr> <th>software</th> <th>version(s)</th> </tr> </thead> <tbody> <tr> <td>babel-core</td> <td>6.24.1</td> </tr> <tr> <td>babel-plugin-transform-object-rest-spread</td> <td>6.22.0</td> </tr> <tr> <td>node</td> <td>7.9.0</td> </tr> <tr> <td>npm</td> <td>n/a</td> </tr> <tr> <td>yarn</td> <td>0.23.4</td> </tr> <tr> <td>Operating System</td> <td>macOS Sierra 10.12.4 (16E195)</td> </tr> </tbody> </table>
<blockquote> <p dir="auto">Issue originally made by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vtambourine/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vtambourine">@vtambourine</a></p> </blockquote> <h3 dir="auto">Bug information</h3> <ul dir="auto"> <li><strong>Babel version:</strong> 6.6.5</li> <li><strong>Node version:</strong> 5.7.0</li> <li><strong>npm version:</strong> 3.6.0</li> </ul> <h3 dir="auto">Options</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ &quot;es2015&quot;, &quot;stage-1&quot;, &quot;react&quot; ], &quot;plugins&quot;: [ &quot;syntax-object-rest-spread&quot; ] }"><pre class="notranslate"><code class="notranslate">{ "presets": [ "es2015", "stage-1", "react" ], "plugins": [ "syntax-object-rest-spread" ] } </code></pre></div> <h3 dir="auto">Input code</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const state = { foo: 'bar' }; const id = 3; const newState = { [id]: 'three', ...state } const { [id]: omit, ...nextState } = newState;"><pre class="notranslate"><code class="notranslate">const state = { foo: 'bar' }; const id = 3; const newState = { [id]: 'three', ...state } const { [id]: omit, ...nextState } = newState; </code></pre></div> <h3 dir="auto">Description</h3> <p dir="auto">Consider following example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const state = { foo: 'bar' }; const id = 3; const newState = { [id]: 'three', // A ...state } const { [id]: omit, // B ...nextState } = newState;"><pre class="notranslate"><code class="notranslate">const state = { foo: 'bar' }; const id = 3; const newState = { [id]: 'three', // A ...state } const { [id]: omit, // B ...nextState } = newState; </code></pre></div> <p dir="auto">While using object rest spread syntax to immutably remove a property from object (it is useful in Redux reducers), I cannot use same variable as I used to set this property.</p> <p dir="auto">Here, I expect nextState to be <code class="notranslate">{ foo: 'bar' }</code>, but I get it <code class="notranslate">{ '3': 'three', foo: 'bar' }</code>.</p> <p dir="auto">However, if I manually convert to string property, I will have expected results.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const { [id.toString()]: omit, ...nextState } = newState;"><pre class="notranslate"><code class="notranslate">const { [id.toString()]: omit, ...nextState } = newState; </code></pre></div> <p dir="auto">Now nextState is { '3': 'three', foo: 'bar' }.</p> <p dir="auto">Here is an example: <a href="http://www.es6fiddle.net/im23ggzk/" rel="nofollow">http://www.es6fiddle.net/im23ggzk/</a></p>
1
<pre class="notranslate">The spec does not prohibit multiple integer constant case values from being equal: var x int switch x { case 1: case 1: } is not illegal according to <a href="http://tip.golang.org/ref/spec#Switch_statements" rel="nofollow">http://tip.golang.org/ref/spec#Switch_statements</a> . However, running this program ( <a href="http://play.golang.org/p/MkI5XjE1TS" rel="nofollow">http://play.golang.org/p/MkI5XjE1TS</a> ) results in: prog.go:7: duplicate case in switch previous case at prog.go:6 using the gc compiler.</pre>
<pre class="notranslate">The makefiles in $(GOROOT)/src/ seem to me structured thus: Make.$(GOARCH) should have all of the archictecture-dependent flags Make.{pkg,cmd} never has to care about the system configuration, it expects such variables to be set The latter is only half-true... it has compiler names, which are a product of the system architecture, factored out. Thus, I think we should also have Make.$(GOOS) that defines os- dependent flags. This would do two things: it would factor out a few of the nastier CGO things in a way which other build tools would be able to pull from without grepping or working around Make.pkg, and it would make it easier for people to see the things which are system dependent and that which is not. It would, however, require cgo package makefile to include Make.$(GOOS) as well as Make.$(GOARCH). Which I think is legit. Or, of course, we could automatically include the GOOS one in Make.pkg. The patch that I included below is the best way I could come up with to make the changes and impact the fewest people... I would prefer moving the _CGO_LDFLAGS_$(GOARCH) variables to simply CGO_LDFLAGS in separate include files, which would require that people either duplicate them or always use += in their makefiles. I would like people's thoughts on this. I didn't want to submit a CL about this, as it seems not just a question about whether or not to fix it but a question about just how far the fix should go. What is your $GOOS? $GOARCH? darwin amd64 Which revision are you using? (hg identify) a85ad0a64015 release.2010-05-27/release diff -r a85ad0a64015 src/Make.386 --- a/src/Make.386 Thu May 27 16:50:31 2010 -0700 +++ b/src/Make.386 Thu Jun 03 15:08:06 2010 -0400 @@ -9,3 +9,4 @@ LD=${O}l OS=568vq CFLAGS=-FVw +_CGO_CFLAGS_386=-m32 diff -r a85ad0a64015 src/Make.amd64 --- a/src/Make.amd64 Thu May 27 16:50:31 2010 -0700 +++ b/src/Make.amd64 Thu Jun 03 15:08:06 2010 -0400 @@ -9,3 +9,5 @@ LD=${O}l OS=568vq CFLAGS=-FVw +_CGO_CFLAGS_amd64=-m64 +RUNTIME_CFLAGS_amd64=-D_64BIT diff -r a85ad0a64015 src/Make.darwin --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Make.darwin Thu Jun 03 15:08:06 2010 -0400 @@ -0,0 +1,5 @@ +# Copyright 2009 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +_CGO_LDFLAGS_darwin=-dynamiclib -Wl,-undefined,dynamic_lookup diff -r a85ad0a64015 src/Make.freebsd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Make.freebsd Thu Jun 03 15:08:06 2010 -0400 @@ -0,0 +1,1 @@ +_CGO_LDFLAGS_freebsd=-shared -lpthread -lm diff -r a85ad0a64015 src/Make.linux --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Make.linux Thu Jun 03 15:08:06 2010 -0400 @@ -0,0 +1,1 @@ +_CGO_LDFLAGS_linux=-shared -lpthread -lm diff -r a85ad0a64015 src/Make.pkg --- a/src/Make.pkg Thu May 27 16:50:31 2010 -0700 +++ b/src/Make.pkg Thu Jun 03 15:08:06 2010 -0400 @@ -126,17 +126,8 @@ # added _cgo_defun.$O to $OFILES, and added the installed copy of # package_x.so (built from x.cgo2.c) to $(INSTALLFILES). -RUNTIME_CFLAGS_amd64=-D_64BIT RUNTIME_CFLAGS=-I"$(GOROOT)/src/pkg/runtime" $(RUNTIME_CFLAGS_$(GOARCH)) -# Have to run gcc with the right size argument on hybrid 32/64 machines. -_CGO_CFLAGS_386=-m32 -_CGO_CFLAGS_amd64=-m64 -_CGO_LDFLAGS_freebsd=-shared -lpthread -lm -_CGO_LDFLAGS_linux=-shared -lpthread -lm -_CGO_LDFLAGS_darwin=-dynamiclib -Wl,-undefined,dynamic_lookup - - # Compile x.cgo4.c with gcc to make package_x.so. # Compile _cgo_defun.c with 6c; needs access to the runtime headers.</pre>
0
<p dir="auto">For text drawing on canvas, a fairly simple construction can be used:</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" void drawName(Canvas context, String name, double x, double y) { TextSpan span = new TextSpan( style: new TextStyle(color: Colors.blue[800], fontSize: 24.0, fontFamily: 'Roboto'), text: name); TextPainter tp = new TextPainter( text: span, textAlign: TextAlign.left, textDirection: TextDirection.ltr); tp.layout(); tp.paint(context, new Offset(x, y)); }"><pre class="notranslate"> <span class="pl-k">void</span> <span class="pl-en">drawName</span>(<span class="pl-c1">Canvas</span> context, <span class="pl-c1">String</span> name, <span class="pl-c1">double</span> x, <span class="pl-c1">double</span> y) { <span class="pl-c1">TextSpan</span> span <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextSpan</span>( style<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextStyle</span>(color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.blue[<span class="pl-c1">800</span>], fontSize<span class="pl-k">:</span> <span class="pl-c1">24.0</span>, fontFamily<span class="pl-k">:</span> <span class="pl-s">'Roboto'</span>), text<span class="pl-k">:</span> name); <span class="pl-c1">TextPainter</span> tp <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextPainter</span>( text<span class="pl-k">:</span> span, textAlign<span class="pl-k">:</span> <span class="pl-c1">TextAlign</span>.left, textDirection<span class="pl-k">:</span> <span class="pl-c1">TextDirection</span>.ltr); tp.<span class="pl-en">layout</span>(); tp.<span class="pl-en">paint</span>(context, <span class="pl-k">new</span> <span class="pl-c1">Offset</span>(x, y)); }</pre></div> <p dir="auto">Is it possible to draw text at an angle, for example 45 degrees, or 90 degrees (vertically from the bottom up)?</p>
<p dir="auto">There is some properties in Html ,like below:<br> /* Keyword values */<br> writing-mode: horizontal-tb;<br> writing-mode: vertical-rl;<br> writing-mode: vertical-lr;</p> <p dir="auto">/* Global values */<br> writing-mode: inherit;<br> writing-mode: initial;<br> writing-mode: unset;</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13853/35375402-d8dae17a-01e1-11e8-8551-15415a853285.png"><img width="179" alt="2018-01-25 12 38 59" src="https://user-images.githubusercontent.com/13853/35375402-d8dae17a-01e1-11e8-8551-15415a853285.png" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13853/35375415-df7423a2-01e1-11e8-9a1a-72c9383674d4.png"><img width="394" alt="2018-01-25 12 38 47" src="https://user-images.githubusercontent.com/13853/35375415-df7423a2-01e1-11e8-9a1a-72c9383674d4.png" style="max-width: 100%;"></a></p> <p dir="auto">Does Flutter support i?</p>
1
<p dir="auto">Is there any way that i write some text in some files and dont save those files and close the editor when i open the editor again it should auto open those files like notepad++ does.</p>
<p dir="auto">A very handy feature in Notepad++: one can just open a new editing tab, or multiple ones, cut and paste stuff, or scribble a few notes.<br> Upon closing the application or shutting down the computer, instead of the usual "Do you want to save/not save/cancel" (as vsCode does), all those unsaved and unnamed files are simply saved to a temp location by the app, and restored in the same state upon next start.</p> <p dir="auto">Rgds</p>
1
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-flaky/351/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-flaky/351/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] PersistentVolumes should create a non-pre-bound PV and PVC: test write access [Flaky] {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/persistent_volumes.go:486 Oct 3 23:18:33.392: Pod write-pod-xmjy7 exited with non-zero exitcode: Pod write-pod-xmjy7 returned non-zero exitcode: gave up waiting for pod 'write-pod-xmjy7' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:484"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:486 Oct 3 23:18:33.392: Pod write-pod-xmjy7 exited with non-zero exitcode: Pod write-pod-xmjy7 returned non-zero exitcode: gave up waiting for pod 'write-pod-xmjy7' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:484 </code></pre></div> <p dir="auto">Failed: [k8s.io] PersistentVolumes create a PV and a pre-bound PVC: test write access [Flaky] {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/persistent_volumes.go:540 Oct 3 22:52:54.499: Pod write-pod-zx1wn exited with non-zero exitcode: Pod write-pod-zx1wn returned non-zero exitcode: gave up waiting for pod 'write-pod-zx1wn' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:538"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:540 Oct 3 22:52:54.499: Pod write-pod-zx1wn exited with non-zero exitcode: Pod write-pod-zx1wn returned non-zero exitcode: gave up waiting for pod 'write-pod-zx1wn' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:538 </code></pre></div> <p dir="auto">Failed: [k8s.io] PersistentVolumes create a PVC and non-pre-bound PV: test write access [Flaky] {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/persistent_volumes.go:504 Oct 3 22:59:40.208: Pod write-pod-2dzr1 exited with non-zero exitcode: Pod write-pod-2dzr1 returned non-zero exitcode: gave up waiting for pod 'write-pod-2dzr1' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:502"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:504 Oct 3 22:59:40.208: Pod write-pod-2dzr1 exited with non-zero exitcode: Pod write-pod-2dzr1 returned non-zero exitcode: gave up waiting for pod 'write-pod-2dzr1' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:502 </code></pre></div> <p dir="auto">Failed: [k8s.io] PersistentVolumes create a PVC and a pre-bound PV: test write access [Flaky] {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/persistent_volumes.go:522 Oct 3 23:06:53.909: Pod write-pod-hafxz exited with non-zero exitcode: Pod write-pod-hafxz returned non-zero exitcode: gave up waiting for pod 'write-pod-hafxz' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:520"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:522 Oct 3 23:06:53.909: Pod write-pod-hafxz exited with non-zero exitcode: Pod write-pod-hafxz returned non-zero exitcode: gave up waiting for pod 'write-pod-hafxz' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:520 </code></pre></div> <p dir="auto">Failed: [k8s.io] NodeOutOfDisk [Serial] [Flaky] [Disruptive] runs out of disk space {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/nodeoutofdisk.go:86 Node gke-jenkins-e2e-default-pool-3599f6c3-4qqh did not run out of disk within 5m0s Expected &lt;bool&gt;: false to be true /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/nodeoutofdisk.go:251"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/nodeoutofdisk.go:86 Node gke-jenkins-e2e-default-pool-3599f6c3-4qqh did not run out of disk within 5m0s Expected &lt;bool&gt;: false to be true /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/nodeoutofdisk.go:251 </code></pre></div>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-flaky/31/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-flaky/31/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] NodeOutOfDisk [Serial] [Flaky] [Disruptive] runs out of disk space {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/nodeoutofdisk.go:86 Node gke-jenkins-e2e-default-pool-0dd8b75a-h340 did not run out of disk within 5m0s Expected &lt;bool&gt;: false to be true /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/nodeoutofdisk.go:251"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/nodeoutofdisk.go:86 Node gke-jenkins-e2e-default-pool-0dd8b75a-h340 did not run out of disk within 5m0s Expected &lt;bool&gt;: false to be true /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/nodeoutofdisk.go:251 </code></pre></div> <p dir="auto">Failed: [k8s.io] PersistentVolumes create a PV and a pre-bound PVC: test write access [Flaky] {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/persistent_volumes.go:540 Sep 23 10:30:26.571: Pod write-pod-t7831 exited with non-zero exitcode: Pod write-pod-t7831 returned non-zero exitcode: gave up waiting for pod 'write-pod-t7831' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:538"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:540 Sep 23 10:30:26.571: Pod write-pod-t7831 exited with non-zero exitcode: Pod write-pod-t7831 returned non-zero exitcode: gave up waiting for pod 'write-pod-t7831' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:538 </code></pre></div> <p dir="auto">Failed: [k8s.io] PersistentVolumes create a PVC and a pre-bound PV: test write access [Flaky] {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/persistent_volumes.go:522 Sep 23 10:37:28.574: Pod write-pod-zi130 exited with non-zero exitcode: Pod write-pod-zi130 returned non-zero exitcode: gave up waiting for pod 'write-pod-zi130' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:520"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:522 Sep 23 10:37:28.574: Pod write-pod-zi130 exited with non-zero exitcode: Pod write-pod-zi130 returned non-zero exitcode: gave up waiting for pod 'write-pod-zi130' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:520 </code></pre></div> <p dir="auto">Failed: Test {e2e.go}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error running Ginkgo tests: exit status 1"><pre class="notranslate"><code class="notranslate">error running Ginkgo tests: exit status 1 </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="178824446" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33361" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33361/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33361">#33361</a></p> <p dir="auto">Failed: [k8s.io] PersistentVolumes create a PVC and non-pre-bound PV: test write access [Flaky] {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/persistent_volumes.go:504 Sep 23 10:44:12.398: Pod write-pod-x2kg7 exited with non-zero exitcode: Pod write-pod-x2kg7 returned non-zero exitcode: gave up waiting for pod 'write-pod-x2kg7' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:502"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:504 Sep 23 10:44:12.398: Pod write-pod-x2kg7 exited with non-zero exitcode: Pod write-pod-x2kg7 returned non-zero exitcode: gave up waiting for pod 'write-pod-x2kg7' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:502 </code></pre></div> <p dir="auto">Failed: [k8s.io] PersistentVolumes should create a non-pre-bound PV and PVC: test write access [Flaky] {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/persistent_volumes.go:486 Sep 23 10:18:28.471: Pod write-pod-01btz exited with non-zero exitcode: Pod write-pod-01btz returned non-zero exitcode: gave up waiting for pod 'write-pod-01btz' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:484"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:486 Sep 23 10:18:28.471: Pod write-pod-01btz exited with non-zero exitcode: Pod write-pod-01btz returned non-zero exitcode: gave up waiting for pod 'write-pod-01btz' to be 'success or failure' after 5m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/persistent_volumes.go:484 </code></pre></div>
1
<p dir="auto">React version: 16</p> <h2 dir="auto">Steps To Reproduce</h2> <p dir="auto">Open the <a href="https://codepen.io/c392625/pen/RwapKja" rel="nofollow">codepen</a> demo.</p> <ol dir="auto"> <li>Focus the outside div by clicking the black area</li> <li>Focus inner yellow div by either pressing arrow keys or clicking or tab</li> </ol> <h2 dir="auto">The current behavior</h2> <p dir="auto">When using arrow keys to change focus, <code class="notranslate">render</code> is called once <strong>only</strong>.<br> When using click or tab to change focus, <code class="notranslate">render</code> is called <strong>twice</strong>.</p> <h2 dir="auto">The expected behavior</h2> <p dir="auto"><code class="notranslate">render</code> should be called the same times under 2 scenarios.</p>
<p dir="auto">React version: <code class="notranslate">0.0.0-experimental-4c8c98ab9</code> with concurrent mode.</p> <h2 dir="auto">Steps To Reproduce</h2> <ol dir="auto"> <li>In the provided code sandbox, click on a <code class="notranslate">Todo</code> component</li> <li>Tab back and forth between the two</li> <li>At inconsistent times, there will be a frame where the focus hasn't left, but the outline isn't rendered. The outline is only drawn when focus is in. Because there is a brief frame without the border, the todo visibly flickers.</li> </ol> <p dir="auto">Link to code example:</p> <p dir="auto"><a href="https://codesandbox.io/s/samc-focus-demo-9jyso?file=/package.json:201-229" rel="nofollow">https://codesandbox.io/s/samc-focus-demo-9jyso?file=/package.json:201-229</a></p> <p dir="auto">Video; <a href="https://drive.google.com/file/d/18PW8M_VvE3Nau7NkdQq4X8En_Vcen_xQ/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/18PW8M_VvE3Nau7NkdQq4X8En_Vcen_xQ/view?usp=sharing</a><br> Focus shifts multiple times at the beginning, without a flicker.<br> Around the 6 seconds mark, there is a flicker.</p> <p dir="auto">Photo of the frame;<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/787007/87840493-3e811600-c8e3-11ea-8323-076faaabc8c7.png"><img src="https://user-images.githubusercontent.com/787007/87840493-3e811600-c8e3-11ea-8323-076faaabc8c7.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">The current behavior</h2> <p dir="auto">At times there is an 'impossible' frame, where the focus has been set to false, despite the focus just having shifted from one element to another within the same div.</p> <h2 dir="auto">The expected behavior</h2> <p dir="auto">I'm not sure if this pattern is something that is concurrent mode incompatible or something...</p> <p dir="auto">But regardless, I'd expect the behaviour to be consistent - eg for <code class="notranslate">focus</code> and <code class="notranslate">blur</code> events to be combined into a single frame.</p> <p dir="auto">This codepen shows the expected outcome with vanila JS <a href="https://codepen.io/samcooke98/pen/OJMaXvx" rel="nofollow">https://codepen.io/samcooke98/pen/OJMaXvx</a></p> <h2 dir="auto">Related?</h2> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="658347743" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/19385" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/19385/hovercard" href="https://github.com/facebook/react/issues/19385">#19385</a></p>
1
<p dir="auto">See below. Please let me know what I can do to provide more information for you. I am working on pulling out the offending code into a standalone py file to replicate the bug elsewhere, but it might take a few days.</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>: arch linux (LTS kernel 4.9.44-1)</li> <li><strong>TensorFlow installed from (source or binary)</strong>: source</li> <li><strong>TensorFlow version (use command below)</strong>: 1.3 (master branch as of commit <code class="notranslate">566d167c</code>)</li> <li><strong>Python version</strong>: 3.6.2</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.5.2-2</li> <li><strong>CUDA/cuDNN version</strong>: 8.0.61-2/6.0.21-2</li> <li><strong>GPU model and memory</strong>: 1080 GTX Ti</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <p dir="auto">I don't have exact source for you yet of a trimmed down example. I will see if I can put one together. Generally, the steps are</p> <ul dir="auto"> <li>Generate a few <code class="notranslate">TFRecord</code> files</li> <li>Instantiate a few <code class="notranslate">TFRecordDataset</code> from the files.</li> <li>Perform necessary pre-processing on <code class="notranslate">TFRecordDataset</code> entries for each dataset, then on the dataset itself (<code class="notranslate">.cache</code>, <code class="notranslate">.repeat</code>, <code class="notranslate">.shuffle</code>, <code class="notranslate">.batch</code>, etc) For example, we might have datasets <code class="notranslate">train_dataset</code>, <code class="notranslate">validate_dataset</code>, and <code class="notranslate">test_dataset</code>.</li> <li>Initialize each dataset (<code class="notranslate">.make_initializable_iterator</code>)</li> <li>Train a model using an input tensor <code class="notranslate">x</code> of</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="train_phase = tf.placeholder(dtype=tf.int32, shape=()) x = tf.case([(tf.equal(train_phase, 1), lambda: train_dataset), (tf.equal(train_phase, 2), lambda: validate_dataset), (tf.equal(train_phase,3), lambda: test_dataset)], default=lambda: train_dataset) # ... construct model_op using tensor x as input ... # ... call the initializer ... # train for a bunch for i in ... sess.run(main_op, feed_dict={train_phase: 1}) # validate for i in ... sess.run(main_op, feed_dict={train_phase: 2}) # test for i in ... sess.run(main_op, feed_dict={train_phase: 3})"><pre class="notranslate"><code class="notranslate">train_phase = tf.placeholder(dtype=tf.int32, shape=()) x = tf.case([(tf.equal(train_phase, 1), lambda: train_dataset), (tf.equal(train_phase, 2), lambda: validate_dataset), (tf.equal(train_phase,3), lambda: test_dataset)], default=lambda: train_dataset) # ... construct model_op using tensor x as input ... # ... call the initializer ... # train for a bunch for i in ... sess.run(main_op, feed_dict={train_phase: 1}) # validate for i in ... sess.run(main_op, feed_dict={train_phase: 2}) # test for i in ... sess.run(main_op, feed_dict={train_phase: 3}) </code></pre></div> <h3 dir="auto">Describe the problem</h3> <p dir="auto">I am using a single tensor <code class="notranslate">x</code> to represent my input values for all three phases of my model training (training, validation, and testing). To alternate between them without duplicating entire graphs, I set the tensor to be conditional on the value of <code class="notranslate">train_phase</code> (again, train, validate, or test) by using <code class="notranslate">tf.case</code>.</p> <p dir="auto">If the above steps are followed, my system will eventually (non-deterministically) crash during the training/validating/testing of the model. This is independent of the dataset used (I am using well-scrubbed versions of NYUv2, CIFAR-10, KITTI, etc.) and does not occur in particular records. The error is always long the lines of</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DataLossError (see above for traceback): Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;, send_device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;, send_device_incarnation=1, tensor_name=&quot;edge_69_add_1&quot;, tensor_type=DT_FLOAT, _device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;]()]] Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;, send_device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;, send_device_incarnation=1, tensor_name=&quot;edge_69_add_1&quot;, tensor_type=DT_FLOAT, _device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;]()]]"><pre class="notranslate"><code class="notranslate">DataLossError (see above for traceback): Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:1", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_69_add_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:1"]()]] Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:1", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_69_add_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:1"]()]] </code></pre></div> <p dir="auto">It can occur during any phase (that is, on any branch of the <code class="notranslate">tf.case</code>). It occurs with multiple versions of CUDA 8 and TF (at least since TFRecordDataset came out). It occurs with single or multiple GPUS. It occurs with different Linux kernel versions (multiple variants of 4.10, 4.11, 4.12, including the 4.9 TLS branch).</p> <p dir="auto">However, it does <strong>NOT</strong> occur if I don't use <code class="notranslate">tf.case</code> (that is, I use a single TFRecordDataset tensor as the input, i.e., only do training and skip validate/test).</p> <p dir="auto">I would assume this is a complication with the CUDA drivers, as I occasionally (though not always) get kernel panics at the same time. I will also occasionally (though not always) get errors like <code class="notranslate">malloc(): smallbin double linked list corrupted</code>.</p> <p dir="auto">I should also add that I've already tested for hardware issues and seem to have ruled all of them out (memory failures, HD/SSD cables, motherboard, PSU spikes, etc.).</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">The full trace/output is</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caught unexpected exception during training: Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;, send_device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;, send_device_incarnation=1, tensor_name=&quot;edge_69_add_1&quot;, tensor_type=DT_FLOAT, _device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;]()]] Caused by op 'input_pipeline/IteratorGetNext_1', defined at: File &quot;train.py&quot;, line 266, in &lt;module&gt; datasets = hem.get_datasets(args) File &quot;/mnt/research/projects/autoencoders/hem/util/data.py&quot;, line 64, in get_datasets x = iterator.get_next() File &quot;/usr/lib/python3.6/site-packages/tensorflow/contrib/data/python/ops/dataset_ops.py&quot;, line 311, in get_next name=name)) File &quot;/usr/lib/python3.6/site-packages/tensorflow/python/ops/gen_dataset_ops.py&quot;, line 698, in iterator_get_next output_shapes=output_shapes, name=name) File &quot;/usr/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py&quot;, line 787, in _apply_op_helper op_def=op_def) File &quot;/usr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py&quot;, line 3046, in create_op op_def=op_def) File &quot;/usr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py&quot;, line 1604, in __init__ self._traceback = self._graph._extract_stack() # pylint: disable=protected-access DataLossError (see above for traceback): Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;, send_device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;, send_device_incarnation=1, tensor_name=&quot;edge_69_add_1&quot;, tensor_type=DT_FLOAT, _device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;]()]] Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;, send_device=&quot;/job:localhost/replica:0/task:0/cpu:0&quot;, send_device_incarnation=1, tensor_name=&quot;edge_69_add_1&quot;, tensor_type=DT_FLOAT, _device=&quot;/job:localhost/replica:0/task:0/device:GPU:1&quot;]()]]"><pre class="notranslate"><code class="notranslate">Caught unexpected exception during training: Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:1", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_69_add_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:1"]()]] Caused by op 'input_pipeline/IteratorGetNext_1', defined at: File "train.py", line 266, in &lt;module&gt; datasets = hem.get_datasets(args) File "/mnt/research/projects/autoencoders/hem/util/data.py", line 64, in get_datasets x = iterator.get_next() File "/usr/lib/python3.6/site-packages/tensorflow/contrib/data/python/ops/dataset_ops.py", line 311, in get_next name=name)) File "/usr/lib/python3.6/site-packages/tensorflow/python/ops/gen_dataset_ops.py", line 698, in iterator_get_next output_shapes=output_shapes, name=name) File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper op_def=op_def) File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3046, in create_op op_def=op_def) File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1604, in __init__ self._traceback = self._graph._extract_stack() # pylint: disable=protected-access DataLossError (see above for traceback): Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:1", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_69_add_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:1"]()]] Checksum does not match: stored 3054820559 vs. calculated on the restored bytes 2831969904 [[Node: input_pipeline/IteratorGetNext_1 = IteratorGetNext[output_shapes=[[?,?,64,64]], output_types=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](input_pipeline/Iterator_1)]] [[Node: add_1/_69 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:1", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_69_add_1", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:1"]()]] </code></pre></div>
<p dir="auto">I try to write my own op and I have installed TensorFlow 0.12.0 with GPU support on Linux.</p> <p dir="auto">This code fails:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#include &quot;tensorflow/core/platform/stream_executor.h&quot;"><pre class="notranslate"><code class="notranslate">#include "tensorflow/core/platform/stream_executor.h" </code></pre></div> <p dir="auto">With error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal error: tensorflow/stream_executor/lib/status.h: No such file or directory"><pre class="notranslate"><code class="notranslate">fatal error: tensorflow/stream_executor/lib/status.h: No such file or directory </code></pre></div> <p dir="auto">That files does not exists.<br> Some more include files seem to be missing. When grepping for <code class="notranslate">DeviceMemory</code> in the include path, the only file it finds is <code class="notranslate">include/tensorflow/core/util/stream_executor_util.h</code>.</p>
0