text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">I have an enhancement request to shared_preferences plugin. On occasion the native side of a Flutter app (e.g. Java side on Android) needs to access shared preferences set in Flutter, or maybe set them for Flutter side as well. It is necessary for example when communicating with other native apps on a platform.</p>
<p dir="auto">Currently what I have to do in Java to accomplish this is:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SharedPreferences prefs = getSharedPreferences("FlutterSharedPreferences", MODE_PRIVATE);"><pre class="notranslate"><span class="pl-c1">SharedPreferences</span> prefs <span class="pl-k">=</span> <span class="pl-en">getSharedPreferences</span>(<span class="pl-s">"FlutterSharedPreferences"</span>, <span class="pl-c1">MODE_PRIVATE</span>);</pre></div>
<p dir="auto">and later when I want to read e.g. "myValue" key, I have to add "flutter." prefix:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="String value = prefs.getString("flutter."+key, null);"><pre class="notranslate"><span class="pl-c1">String</span> value <span class="pl-k">=</span> prefs.<span class="pl-en">getString</span>(<span class="pl-s">"flutter."</span><span class="pl-k">+</span>key, <span class="pl-c1">null</span>);</pre></div>
<p dir="auto">This does not feel right though, spying on package private values and using them elsewhere. A better way should be provided by the SharedPreferencesPlugin instead.</p> | <p dir="auto">Attempting to use a plugin in the context of a background isolate spawned by another plugin will cause failures when making calls over method channels. On Android, the <code class="notranslate">PluginRegistrant</code> interface is used to allow for plugins to register the application's plugins with a <code class="notranslate">FlutterNativeView</code> but no equivalent is available on iOS.</p> | 1 |
<p dir="auto"><strong>Describe the bug</strong><br>
I use axios.get method with custom httpsAgent and httpAgent in node.js. The node_internals _http_client.js emit a warn when the server response http statue code 302 and headers location's protocol is different with the initiator url's protocol.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
Code snippet to reproduce, ideally that will work by pasting into something like <a href="https://npm.runkit.com/axios" rel="nofollow">https://npm.runkit.com/axios</a>, a hosted solution, or a repository that illustrates the issue. <strong>If your problem is not reproducible, please file under Support or Usage Question</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example code here
const axios = require("axios");
const https = require("https");
const http = require("http");
const httpsAgent = new https.Agent({keepAlive: true})
const httpAgent = new http.Agent({keepAlive: true})
const url = 'https://xxxxx';
axios
.get(url, {
httpsAgent,
httpAgent
})
.then(() => {
console.log("success");
})
.catch(() => {
console.error("error:");
});
"><pre class="notranslate"><span class="pl-c">// Example code here</span>
<span class="pl-k">const</span> <span class="pl-s1">axios</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"axios"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">https</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"https"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">http</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"http"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">httpsAgent</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">https</span><span class="pl-kos">.</span><span class="pl-c1">Agent</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">keepAlive</span>: <span class="pl-c1">true</span><span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">httpAgent</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">http</span><span class="pl-kos">.</span><span class="pl-c1">Agent</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">keepAlive</span>: <span class="pl-c1">true</span><span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-s">'https://xxxxx'</span><span class="pl-kos">;</span>
<span class="pl-s1">axios</span>
<span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
httpsAgent<span class="pl-kos">,</span>
httpAgent
<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">=></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">"success"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">error</span><span class="pl-kos">(</span><span class="pl-s">"error:"</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 had read the axios' code , the httpFollow and httpsFollow's options should includes customer's agent</p>
<p dir="auto"><strong>Expected behavior</strong><br>
axios use a new agent adapter the redirect url protocol</p>
<p dir="auto"><strong>Environment:</strong></p>
<ul dir="auto">
<li>Axios Version: 0.19.0</li>
<li>Node Version: v12.14.0</li>
</ul>
<p dir="auto"><strong>Additional context/Screenshots</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12745859/71676135-5f0bd780-2dba-11ea-9689-43c701f628fa.png"><img src="https://user-images.githubusercontent.com/12745859/71676135-5f0bd780-2dba-11ea-9689-43c701f628fa.png" alt="image" style="max-width: 100%;"></a></p> | <h4 dir="auto">Description</h4>
<p dir="auto">I try to setup HTTPS-session using Axios which works fine through Fiddler.<br>
This fails by the way on the current stable release <a href="https://github.com/axios/axios/releases/tag/v0.18.0">v0.18.0</a>, I guess this is issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="232289309" data-permission-text="Title is private" data-url="https://github.com/axios/axios/issues/925" data-hovercard-type="issue" data-hovercard-url="/axios/axios/issues/925/hovercard" href="https://github.com/axios/axios/issues/925">#925</a>, fixed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="236171190" data-permission-text="Title is private" data-url="https://github.com/axios/axios/issues/959" data-hovercard-type="pull_request" data-hovercard-url="/axios/axios/pull/959/hovercard" href="https://github.com/axios/axios/pull/959">#959</a>.</p>
<p dir="auto">As soon as I remove Fiddle, it no longer works. I suspect that it is, because the connection is pooled by Fiddler. So in order to make it work without the Fiddler proxy, I inject httpsAgent to keep the connection alive e.g.:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as http from 'https';
import * as https from 'https';
const Fiddler = {
host: '127.0.0.1',
port: 8888
};
this.axios = Axios.create({
proxy: Fiddler
httpAgent: new http.Agent({keepAlive: true}),
httpsAgent: new https.Agent({keepAlive: true, rejectUnauthorized: false})"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">http</span> <span class="pl-k">from</span> <span class="pl-s">'https'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">https</span> <span class="pl-k">from</span> <span class="pl-s">'https'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">Fiddler</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">host</span>: <span class="pl-s">'127.0.0.1'</span><span class="pl-kos">,</span>
<span class="pl-c1">port</span>: <span class="pl-c1">8888</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">axios</span> <span class="pl-c1">=</span> <span class="pl-v">Axios</span><span class="pl-kos">.</span><span class="pl-c1">create</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">proxy</span>: <span class="pl-v">Fiddler</span>
<span class="pl-s1">httpAgent</span>: <span class="pl-k">new</span> <span class="pl-s1">http</span><span class="pl-kos">.</span><span class="pl-c1">Agent</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">keepAlive</span>: <span class="pl-c1">true</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c1">httpsAgent</span>: <span class="pl-k">new</span> <span class="pl-s1">https</span><span class="pl-kos">.</span><span class="pl-c1">Agent</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">keepAlive</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">rejectUnauthorized</span>: <span class="pl-c1">false</span><span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">I can't get it work with the https-agent assigned, not with a proxy:</p>
<h4 dir="auto">Stacktrace:</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"
at new ClientRequest (_http_client.js:118:11)
at Object.request (http.js:41:10)
at RedirectableRequest._performRequest (node_modules\follow-redirects\index.js:186:24)
at new RedirectableRequest (node_modules\follow-redirects\index.js:69:8)
at Object.wrappedProtocol.request (node_modules\follow-redirects\index.js:363:14)
at dispatchHttpRequest (node_modules\axios\lib\adapters\http.js:180:25)
at new Promise (<anonymous>)
at httpAdapter (node_modules\axios\lib\adapters\http.js:20:10)
at dispatchRequest (node_modules\axios\lib\core\dispatchRequest.js:59:10)"><pre class="notranslate"><code class="notranslate">TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"
at new ClientRequest (_http_client.js:118:11)
at Object.request (http.js:41:10)
at RedirectableRequest._performRequest (node_modules\follow-redirects\index.js:186:24)
at new RedirectableRequest (node_modules\follow-redirects\index.js:69:8)
at Object.wrappedProtocol.request (node_modules\follow-redirects\index.js:363:14)
at dispatchHttpRequest (node_modules\axios\lib\adapters\http.js:180:25)
at new Promise (<anonymous>)
at httpAdapter (node_modules\axios\lib\adapters\http.js:20:10)
at dispatchRequest (node_modules\axios\lib\core\dispatchRequest.js:59:10)
</code></pre></div>
<p dir="auto">Not without a proxy.</p>
<h4 dir="auto">Context</h4>
<ul dir="auto">
<li>axios version: <em>e.g.: (v0.19.0-beta.1)[https://github.com/axios/axios/releases/tag/v0.19.0-beta.1]</em></li>
<li>Environment: <em>e.g.: node v10.13.0, Windows 10</em></li>
</ul>
<h4 dir="auto">Related issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="383153580" data-permission-text="Title is private" data-url="https://github.com/axios/axios/issues/1885" data-hovercard-type="issue" data-hovercard-url="/axios/axios/issues/1885/hovercard" href="https://github.com/axios/axios/issues/1885">#1885</a> (that one using a socks proxy, therefor I consider this one to be different)</li>
</ul> | 1 |
<p dir="auto">Currently debug adapter user errors are treated like fatal exceptions on the VS Code side and show up in the dev console because "developers should understand what is going on". This does not make a lot of sense for this type errors because no developer needs to know them or is interested in them.</p>
<p dir="auto">The errors reporting through this mechanism are conceptually equivalent to errors reported by the TypeScript transpiler but it would be strange if we would send TypeScript errors to the dev console.</p>
<p dir="auto">I suggest that we only show errors on the dev console that have the "sendTelemetry" flag set. The errors that have the "showUser" flag set are forwarded to the Notification service without sending them to the dev console.</p> | <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/22350/14111729/22735afc-f5cc-11e5-87f5-079df57618cb.png"><img src="https://cloud.githubusercontent.com/assets/22350/14111729/22735afc-f5cc-11e5-87f5-079df57618cb.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Flagging <code class="notranslate">important</code> just to catch your attention.</p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default class MyComponent {
name = "test"
}"><pre class="notranslate"><code class="notranslate">export default class MyComponent {
name = "test"
}
</code></pre></div>
<p dir="auto">works</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default class MyComponent extends React.Component {
name = "test"
}"><pre class="notranslate"><code class="notranslate">export default class MyComponent extends React.Component {
name = "test"
}
</code></pre></div>
<p dir="auto">does not work<br>
<code class="notranslate">'super.*' is not allowed before super()</code></p>
<p dir="auto">v6.1.2, .babelrc:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"presets": ["es2015", "stage-0", "react"]
}"><pre class="notranslate"><code class="notranslate">{
"presets": ["es2015", "stage-0", "react"]
}
</code></pre></div> | <h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong></p>
<p dir="auto">According to this article, <a href="https://babeljs.io/blog/2019/07/03/7.5.0#dynamic-import-9552-https-githubcom-babel-babel-pull-9552-and-10109-https-githubcom-babel-babel-pull-10109" rel="nofollow">https://babeljs.io/blog/2019/07/03/7.5.0#dynamic-import-9552-https-githubcom-babel-babel-pull-9552-and-10109-https-githubcom-babel-babel-pull-10109</a>, dynamic import support should be automatic when using <code class="notranslate">preset-env</code>. I've found this to not be the case on multiple occasions.</p>
<p dir="auto">For example, when running Jest and our Babel config has <code class="notranslate">modules: commonjs</code> and targets to <code class="notranslate">node: current</code> (full config below), we receive the following error.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: @babel/plugin-proposal-dynamic-import depends on a modules
transform plugin. Supported plugins are:
- @babel/plugin-transform-modules-commonjs ^7.4.0
- @babel/plugin-transform-modules-amd ^7.4.0
- @babel/plugin-transform-modules-systemjs ^7.4.0
If you are using Webpack or Rollup and thus don't want
Babel to transpile your imports and exports, you can use
the @babel/plugin-syntax-dynamic-import plugin and let your
bundler handle dynamic imports."><pre class="notranslate"><code class="notranslate">Error: @babel/plugin-proposal-dynamic-import depends on a modules
transform plugin. Supported plugins are:
- @babel/plugin-transform-modules-commonjs ^7.4.0
- @babel/plugin-transform-modules-amd ^7.4.0
- @babel/plugin-transform-modules-systemjs ^7.4.0
If you are using Webpack or Rollup and thus don't want
Babel to transpile your imports and exports, you can use
the @babel/plugin-syntax-dynamic-import plugin and let your
bundler handle dynamic imports.
</code></pre></div>
<p dir="auto">I dug into the code and placed console logs within this file: <a href="https://github.com/babel/babel/blob/master/packages/babel-preset-env/src/index.js#L131">https://github.com/babel/babel/blob/master/packages/babel-preset-env/src/index.js#L131</a></p>
<p dir="auto">Here's the output of the modules/ESM detection.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log('MODULES', { modules, plugin: _moduleTransformations.default[modules] });
// MODULES { modules: 'commonjs', plugin: 'transform-modules-commonjs' }
console.log('ESM', { shouldTransformESM, shouldTransformDynamicImport });
// ESM { shouldTransformESM: true, shouldTransformDynamicImport: true }"><pre class="notranslate"><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">'MODULES'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> modules<span class="pl-kos">,</span> <span class="pl-c1">plugin</span>: <span class="pl-s1">_moduleTransformations</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">[</span><span class="pl-s1">modules</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">// MODULES { modules: 'commonjs', plugin: 'transform-modules-commonjs' }</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">'ESM'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> shouldTransformESM<span class="pl-kos">,</span> shouldTransformDynamicImport <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// ESM { shouldTransformESM: true, shouldTransformDynamicImport: true }</span></pre></div>
<p dir="auto">So far so good. I then added console logs to <code class="notranslate">getPlugin</code>, to verify which plugins are being added. The output.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLUGIN transform-modules-commonjs (ADDED)
PLUGIN proposal-dynamic-import (ADDED)
PLUGIN transform-dotall-regex
PLUGIN syntax-async-generators
PLUGIN syntax-object-rest-spread
PLUGIN proposal-unicode-property-regex
PLUGIN syntax-json-strings
PLUGIN syntax-optional-catch-binding
PLUGIN transform-named-capturing-groups-regex"><pre class="notranslate"><code class="notranslate">PLUGIN transform-modules-commonjs (ADDED)
PLUGIN proposal-dynamic-import (ADDED)
PLUGIN transform-dotall-regex
PLUGIN syntax-async-generators
PLUGIN syntax-object-rest-spread
PLUGIN proposal-unicode-property-regex
PLUGIN syntax-json-strings
PLUGIN syntax-optional-catch-binding
PLUGIN transform-named-capturing-groups-regex
</code></pre></div>
<p dir="auto">And the output of the <code class="notranslate">preset-env</code> debug.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@babel/preset-env: `DEBUG` option
Using targets:
{
"chrome": "72",
"firefox": "64"
}
Using modules transform: commonjs
Using plugins:
transform-dotall-regex { "firefox":"64" }
syntax-async-generators { "chrome":"72", "firefox":"64" }
syntax-object-rest-spread { "chrome":"72", "firefox":"64" }
proposal-unicode-property-regex { "firefox":"64" }
syntax-json-strings { "chrome":"72", "firefox":"64" }
syntax-optional-catch-binding { "chrome":"72", "firefox":"64" }
transform-named-capturing-groups-regex { "firefox":"64" }"><pre class="notranslate"><code class="notranslate">@babel/preset-env: `DEBUG` option
Using targets:
{
"chrome": "72",
"firefox": "64"
}
Using modules transform: commonjs
Using plugins:
transform-dotall-regex { "firefox":"64" }
syntax-async-generators { "chrome":"72", "firefox":"64" }
syntax-object-rest-spread { "chrome":"72", "firefox":"64" }
proposal-unicode-property-regex { "firefox":"64" }
syntax-json-strings { "chrome":"72", "firefox":"64" }
syntax-optional-catch-binding { "chrome":"72", "firefox":"64" }
transform-named-capturing-groups-regex { "firefox":"64" }
</code></pre></div>
<p dir="auto">Correct me if I'm wrong, but the 2 required plugins for dynamic imports have been added above, YET I am still seeing the error at the top of this post. I'm a bit lost on how to resolve this going forward.</p>
<p dir="auto"><strong>Expected behavior/code</strong></p>
<p dir="auto">Dynamic import works via <code class="notranslate">preset-env</code>.</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 = {
ignore: [
'coverage/',
'node_modules/',
'public/',
'esm/',
'lib/',
'tmp/',
'dist/',
'*.d.ts',
'__tests__',
'__mocks__',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-optional-catch-binding',
],
presets: [
[
'@babel/preset-env',
{
debug: true,
loose: true,
modules: 'commonjs',
shippedProposals: true,
targets: false,
},
],
'@babel/preset-react',
'@babel/preset-typescript',
],
};"><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">ignore</span>: <span class="pl-kos">[</span>
<span class="pl-s">'coverage/'</span><span class="pl-kos">,</span>
<span class="pl-s">'node_modules/'</span><span class="pl-kos">,</span>
<span class="pl-s">'public/'</span><span class="pl-kos">,</span>
<span class="pl-s">'esm/'</span><span class="pl-kos">,</span>
<span class="pl-s">'lib/'</span><span class="pl-kos">,</span>
<span class="pl-s">'tmp/'</span><span class="pl-kos">,</span>
<span class="pl-s">'dist/'</span><span class="pl-kos">,</span>
<span class="pl-s">'*.d.ts'</span><span class="pl-kos">,</span>
<span class="pl-s">'__tests__'</span><span class="pl-kos">,</span>
<span class="pl-s">'__mocks__'</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">plugins</span>: <span class="pl-kos">[</span>
<span class="pl-s">'@babel/plugin-proposal-class-properties'</span><span class="pl-kos">,</span>
<span class="pl-s">'@babel/plugin-proposal-optional-catch-binding'</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">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-c1">debug</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">loose</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">modules</span>: <span class="pl-s">'commonjs'</span><span class="pl-kos">,</span>
<span class="pl-c1">shippedProposals</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">targets</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">'@babel/preset-react'</span><span class="pl-kos">,</span>
<span class="pl-s">'@babel/preset-typescript'</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">We target the last 3 chrome and firefox versions using browserlist.</p>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): 7.5.5</li>
<li>Node/npm version: 10.16.2</li>
<li>OS: OSX 10.14.16</li>
<li>Monorepo: Lerna + Yarn</li>
<li>How you are using Babel: cli</li>
</ul>
<p dir="auto"><strong>Possible Solution</strong></p>
<p dir="auto">Explicitly adding the plugins to my config. Not sure if this will cause issues for other tools and ESM builds.</p>
<p dir="auto"><strong>Additional context/Screenshots</strong><br>
Add any other context about the problem here. If applicable, add screenshots to help explain.</p> | 0 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.27.1</li>
<li>Operating System: Linux and Mac</li>
<li>Node.js version: v16.17.0</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {test, expect, Page} from '@playwright/test';
test.describe("Sample test", () => {
let page: Page
test.beforeAll(async ({ browser }) => {
page = await browser.newPage()
})
test.afterAll(async () => {
await page.close()
})
test('homepage has Playwright in title and get started link linking to the intro page', async () => {
await page.goto('https://playwright.dev/');
await expect(page).toHaveTitle(/Playwrights/);
})
})"><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-v">Page</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-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">"Sample test"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">page</span>: <span class="pl-v">Page</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">beforeAll</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> browser <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">afterAll</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'homepage has Playwright in title and get started link linking to the intro page'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></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-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>Playwrights<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><span class="pl-kos">)</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">such code ( note "shared" <code class="notranslate">page</code> used as mentioned <a href="https://playwright.dev/docs/next/test-retries#reuse-single-page-between-tests" rel="nofollow">here</a> ) doesn't create a video ( also on failure ) - <code class="notranslate">video: 'retain-on-failure'</code> / <code class="notranslate">video: 'on'</code> doesn't create a file</p>
<p dir="auto">A shorter code (below) works well</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.describe("Sample test", () => {
test('homepage has Playwright in title and get started link linking to the intro page', async ({page}) => {
await page.goto('https://playwright.dev/');
await expect(page).toHaveTitle(/Playwrights/);
})
})"><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-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">"Sample test"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'homepage has Playwright in title and get started link linking to the intro page'</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">=></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-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>Playwrights<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><span class="pl-kos">)</span></pre></div> | <p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.22.2</li>
<li>Operating System: Windows 11</li>
<li>Node.js version: v 17.7.1</li>
<li>Browser: chromium</li>
<li>Extra: [any specific details about your environment]</li>
</ul>
<h2 dir="auto">System:</h2>
<ul dir="auto">
<li>OS: Windows 10 10.0.22000</li>
<li>Memory: 1.24 GB / 15.79 GB</li>
</ul>
<h2 dir="auto">Binaries:</h2>
<ul dir="auto">
<li>Node: 17.7.1 - C:\Program Files\nodejs\node.EXE</li>
<li>Yarn: 1.22.17 - C:\Program Files\nodejs\yarn.CMD</li>
<li>npm: 8.5.2 - C:\Program Files\nodejs\npm.CMD</li>
</ul>
<h2 dir="auto">Languages:</h2>
<ul dir="auto">
<li>Bash: 5.0.17 - C:\Windows\system32\bash.EXE</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong><br>
<strong>playwright.config.ts</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const config: PlaywrightTestConfig = {
reporter: [['dot'],['html']],
use: {
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
video:'retain-on-failure',
},
};
export default config;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">reporter</span>: <span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'dot'</span><span class="pl-kos">]</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-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</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-c1">video</span>:<span class="pl-s">'retain-on-failure'</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">export</span> <span class="pl-k">default</span> <span class="pl-s1">config</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>broke.spec.ts</strong><br>
(sourced from <a href="https://playwright.dev/docs/test-retries#reuse-single-page-between-tests" rel="nofollow">https://playwright.dev/docs/test-retries#reuse-single-page-between-tests</a>)</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { test, Page } from '@playwright/test';
test.describe.configure({ mode: 'serial' });
let page: Page;
test.beforeAll(async ({ browser }) => {
page = await browser.newPage();
});
test.afterAll(async () => {
await page.close();
});
test('a failing test', async () => {
await page.click('text=Get Started fail', {timeout: 1000}); // << deliberate fail
});"><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-v">Page</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-s1">test</span><span class="pl-kos">.</span><span class="pl-c1">describe</span><span class="pl-kos">.</span><span class="pl-en">configure</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">mode</span>: <span class="pl-s">'serial'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">page</span>: <span class="pl-v">Page</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">beforeAll</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> browser <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">afterAll</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'a failing test'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">click</span><span class="pl-kos">(</span><span class="pl-s">'text=Get Started fail'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">timeout</span>: <span class="pl-c1">1000</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// << deliberate fail</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">Videos are not generated when reusing a single page between tests</p>
<p dir="auto">Set the following configuration:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" use: {
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
video:'retain-on-failure',
},"><pre class="notranslate"> <span class="pl-s1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</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-c1">video</span>:<span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span></pre></div>
<p dir="auto">Run a failing test</p>
<p dir="auto"><strong>Expected Result:</strong></p>
<p dir="auto">The spec above should successfully generate a screenshot, test steps, trace file and a video within the HTML result.</p>
<p dir="auto"><strong>Actual Result:</strong></p>
<p dir="auto">The video is not being generated:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/50574915/173257532-da639abd-ec14-4901-996d-ed8e5af25f7e.png"><img src="https://user-images.githubusercontent.com/50574915/173257532-da639abd-ec14-4901-996d-ed8e5af25f7e.png" alt="2022-06-13_09-09-29" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">Describe the issue:</h3>
<p dir="auto">When using np.floor_divide() on long integers the results are sometimes wrong.</p>
<h3 dir="auto">Reproduce the code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
print(np.mod(10888869450418352160,10))
>>8.0"><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-en">print</span>(<span class="pl-s1">np</span>.<span class="pl-en">mod</span>(<span class="pl-c1">10888869450418352160</span>,<span class="pl-c1">10</span>))
<span class="pl-c1">>></span><span class="pl-c1">8.0</span></pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">numpy version 1.22.2</p> | <p dir="auto">running build<br>
running config_cc<br>
unifing config_cc, config, build_clib, build_ext, build commands --compiler options<br>
running config_fc<br>
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options<br>
running build_src<br>
build_src<br>
building py_modules sources<br>
building library "npymath" sources<br>
error: don't know how to compile C/C++ code on platform 'posix' with 'gcc' compiler</p> | 0 |
<p dir="auto">If you know how to fix the issue, make a pull request instead.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/johnnyreilly/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/johnnyreilly">@johnnyreilly</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbenezech/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbenezech">@bbenezech</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pzavolinsky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pzavolinsky">@pzavolinsky</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/digiguru/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/digiguru">@digiguru</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericanderson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericanderson">@ericanderson</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DovydasNavickas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DovydasNavickas">@DovydasNavickas</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/theruther4d/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/theruther4d">@theruther4d</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guilhermehubner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guilhermehubner">@guilhermehubner</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ferdaber/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ferdaber">@ferdaber</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jrakotoharisoa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jrakotoharisoa">@jrakotoharisoa</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pascaloliv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pascaloliv">@pascaloliv</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hotell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hotell">@Hotell</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/franklixuefei/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/franklixuefei">@franklixuefei</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jessidhia/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jessidhia">@Jessidhia</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/saranshkataria/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/saranshkataria">@saranshkataria</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lukyth/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lukyth">@lukyth</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eps1lon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eps1lon">@eps1lon</a></li>
</ul>
</li>
</ul>
<p dir="auto">Hello! I am facing an issue when trying to type the <code class="notranslate">ref</code> property of a custom component.</p>
<p dir="auto">This is the setup I have:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// someFile.TS
// Due to some weird Webpack rules and the app's architecture I have this interface in a file which
// cannot import the TableComponent from its TableComponent.tsx file.
// Therefore, I am trying to emulate the end result of the React.createElement function call
interface ITableComponent {
tableProps: IlDataTableProps; // This is the only property I need to access
}
interface ITableComponentProps {
ref: React.RefObject<ITableComponent>
}
// someOtherFile.TSX
class TableComponent extends React.Component<ITableComponentProps> implements ITableComponent {}
// somewhereInTheApp.TSX
class SomeComponent extends ... {
tableRef = React.createRef<ITableComponent>();
render () {
return <TableComponent ref={this.tableRef}/>; // *Read below
}
}"><pre class="notranslate"><span class="pl-c">// someFile.TS</span>
<span class="pl-c">// Due to some weird Webpack rules and the app's architecture I have this interface in a file which</span>
<span class="pl-c">// cannot import the TableComponent from its TableComponent.tsx file.</span>
<span class="pl-c">// Therefore, I am trying to emulate the end result of the React.createElement function call</span>
<span class="pl-s1">interface</span> <span class="pl-v">ITableComponent</span> <span class="pl-kos">{</span>
tableProps: <span class="pl-v">IlDataTableProps</span><span class="pl-kos">;</span> <span class="pl-c">// This is the only property I need to access</span>
<span class="pl-kos">}</span>
<span class="pl-s1">interface</span> <span class="pl-v">ITableComponentProps</span> <span class="pl-kos">{</span>
ref: <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">RefObject</span><span class="pl-c1"><</span><span class="pl-v">ITableComponent</span><span class="pl-c1">></span>
<span class="pl-kos">}</span>
<span class="pl-c">// someOtherFile.TSX</span>
<span class="pl-k">class</span> <span class="pl-v">TableComponent</span> <span class="pl-k">extends</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span><span class="pl-c1"><</span><span class="pl-v">ITableComponentProps</span><span class="pl-c1">></span> <span class="pl-s1">implements</span> <span class="pl-v">ITableComponent</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-c">// somewhereInTheApp.TSX</span>
<span class="pl-k">class</span> <span class="pl-v">SomeComponent</span> <span class="pl-k">extends</span> ... <span class="pl-kos">{</span>
tableRef <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">createRef</span><span class="pl-c1"><</span><span class="pl-v">ITableComponent</span><span class="pl-c1">></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-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
return<span class="pl-kos"></span> <span class="pl-c1"><</span><span class="pl-v">TableComponent</span> <span class="pl-s1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">this</span><span class="pl-kos">.</span><span class="pl-c1">tableRef</span><span class="pl-kos">}</span><span class="pl-c1">/</span>>; <span class="pl-c">// *Read below</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">*Over here I get the following error:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24717857/65044496-ab471f00-d965-11e9-916f-69dc1dde010c.png"><img src="https://user-images.githubusercontent.com/24717857/65044496-ab471f00-d965-11e9-916f-69dc1dde010c.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Looking through the type definition of ref I came across this line:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" type Ref<T> = { bivarianceHack(instance: T | null): void }["bivarianceHack"] | RefObject<T> | null;"><pre class="notranslate"> <span class="pl-s1">type</span> <span class="pl-v">Ref</span><span class="pl-c1"><</span><span class="pl-v">T</span><span class="pl-c1">></span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">bivarianceHack</span><span class="pl-kos">(</span><span class="pl-s1">instance</span>: <span class="pl-v">T</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">)</span>: <span class="pl-k">void</span> <span class="pl-kos">}</span><span class="pl-kos">[</span><span class="pl-s">"bivarianceHack"</span><span class="pl-kos">]</span> <span class="pl-c1">|</span> <span class="pl-v">RefObject</span><span class="pl-c1"><</span><span class="pl-v">T</span><span class="pl-c1">></span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos"></span><span class="pl-kos">;</span></pre></div>
<p dir="auto">and this one:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" function createRef<T>(): RefObject<T>;"><pre class="notranslate"><code class="notranslate"> function createRef<T>(): RefObject<T>;
</code></pre></div>
<p dir="auto">Seeing as <code class="notranslate">createRef</code> returns a T, in my case that should be <code class="notranslate">ITableComponent</code>. And the ref type also has an option of <code class="notranslate">RefObject<T></code>. However, as the error shows, it looks for something which is <code class="notranslate">(string & RefObject<T>)</code>. I don't understand where that <code class="notranslate">string &</code> is coming for and I also cannot find an explanation why is it needed. To my understanding, the <code class="notranslate">string</code> refs were the first implementation and were deprecated. So why does that type need to interfere with the <code class="notranslate">React.RefObject<T></code>. Or, if it must interfere, why is it that the <code class="notranslate">React.createRef</code> function is not returning that <code class="notranslate">string & RefObject<T></code> definition? If I change the definition to that in the <code class="notranslate">@types/react/index.d.ts</code> file everything works as it should.</p> | <p dir="auto"><strong>TypeScript Version:</strong> 3.4.0-dev.201xxxxx</p>
<p dir="auto"><strong>Search Terms:</strong><br>
react, ref</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const genericRef = React.createRef<Element>();
const inputRef = React.createRef<HTMLInputElement>();
// throws, undesired: HTMLInputElement extends Element
<input ref={genericRef} />;
// works, desired
React.createElement("input", { ref: genericRef });
// works, desired
<input ref={inputRef} />;
// works, desired
React.createElement("input", { ref: inputRef });
// throws, undesired: same issue as #1 other motivation
const ElementComponent = React.forwardRef<Element>((_, ref) => (
<div ref={ref} />
));
// works, desired
<ElementComponent ref={genericRef} />;
// works, desired
React.createElement(ElementComponent, { ref: genericRef });
// works, undesired: inputRef.current.value would be undefined at runtime
<ElementComponent ref={inputRef} />;
// works, undesired: see jsx example
React.createElement(ElementComponent, { ref: inputRef });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">genericRef</span> <span class="pl-c1">=</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createRef</span><span class="pl-kos"><</span><span class="pl-smi">Element</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">inputRef</span> <span class="pl-c1">=</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createRef</span><span class="pl-kos"><</span><span class="pl-smi">HTMLInputElement</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">// throws, undesired: HTMLInputElement extends Element</span>
<span class="pl-c1"><</span><span class="pl-ent">input</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">genericRef</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-c">// works, desired</span>
<span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-s">"input"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">ref</span>: <span class="pl-s1">genericRef</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// works, desired</span>
<span class="pl-c1"><</span><span class="pl-ent">input</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">inputRef</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-c">// works, desired</span>
<span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-s">"input"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">ref</span>: <span class="pl-s1">inputRef</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// throws, undesired: same issue as #1 other motivation</span>
<span class="pl-k">const</span> <span class="pl-smi">ElementComponent</span> <span class="pl-c1">=</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">forwardRef</span><span class="pl-kos"><</span><span class="pl-smi">Element</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">_</span><span class="pl-kos">,</span> <span class="pl-s1">ref</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">ref</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// works, desired</span>
<span class="pl-c1"><</span><span class="pl-smi">ElementComponent</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">genericRef</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-c">// works, desired</span>
<span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-smi">ElementComponent</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">ref</span>: <span class="pl-s1">genericRef</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// works, undesired: inputRef.current.value would be undefined at runtime</span>
<span class="pl-c1"><</span><span class="pl-smi">ElementComponent</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">inputRef</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-c">// works, undesired: see jsx example</span>
<span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-smi">ElementComponent</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">ref</span>: <span class="pl-s1">inputRef</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<ul dir="auto">
<li>same behavior between JSX and React.createElement</li>
<li>undesired behavior gets fixed</li>
</ul>
<p dir="auto"><strong>Actual behavior:</strong></p>
<ul dir="auto">
<li>different behavior with and without JSX</li>
<li>2 undesired errors, 1 undesired pass</li>
</ul>
<p dir="auto"><strong>Playground Link:</strong> <br>
<a href="https://github.com/eps1lon/typescript-react-ref-issue">https://github.com/eps1lon/typescript-react-ref-issue</a></p>
<p dir="auto"><strong>Related Issues:</strong> <br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="230650942" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/16019" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/16019/hovercard" href="https://github.com/microsoft/TypeScript/issues/16019">#16019</a></p>
<p dir="auto">I suppose the main issue is how react handles refs. Since react never reads the <code class="notranslate">current</code> value it's perfectly fine to pass a less specific type to the <code class="notranslate">ref</code> attribute. I'm not sure if we can express this behavior with types, it is a current limitation that should be fixed or if this is working as intended.</p> | 1 |
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.200.0<br>
<strong>System</strong>: Mac OS X 10.10.4<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught JS-YAML: missed comma between flow collection entries at line 50, column 19:<br>
"babel-eslint": "^3.0.1",<br>
^</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Users/fill/Documents/work/funnel_wap/node_modules/eslint/lib/config.js:76
undefined"><pre class="notranslate"><code class="notranslate">At /Users/fill/Documents/work/funnel_wap/node_modules/eslint/lib/config.js:76
undefined
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 3x -1:10.1.0 core:undo (atom-text-editor.editor.is-focused)
3x -1:07.1.0 core:cut (atom-text-editor.editor.is-focused)
3x -1:04.2.0 core:save (atom-text-editor.editor.is-focused)
-0:48.2.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-0:47.4.0 core:paste (atom-text-editor.editor.mini.is-focused)
-0:46.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
4x -0:38.9.0 core:cut (atom-text-editor.editor.is-focused)
-0:35.4.0 core:save (atom-text-editor.editor.is-focused)
2x -0:29.1.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-0:27.1.0 core:paste (atom-text-editor.editor.mini.is-focused)
-0:18.2.0 core:copy (atom-text-editor.editor.is-focused)
3x -0:16.8.0 core:cut (atom-text-editor.editor.is-focused)
-0:10 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
-0:10 editor:newline (atom-text-editor.editor.is-focused)
2x -0:04.0 core:move-right (atom-text-editor.editor.is-focused)
-0:02.7.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> 3x -1:10.1.0 core:undo (atom-text-editor.editor.is-focused)
3x -1:07.1.0 core:cut (atom-text-editor.editor.is-focused)
3x -1:04.2.0 core:save (atom-text-editor.editor.is-focused)
-0:48.2.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-0:47.4.0 core:paste (atom-text-editor.editor.mini.is-focused)
-0:46.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
4x -0:38.9.0 core:cut (atom-text-editor.editor.is-focused)
-0:35.4.0 core:save (atom-text-editor.editor.is-focused)
2x -0:29.1.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-0:27.1.0 core:paste (atom-text-editor.editor.mini.is-focused)
-0:18.2.0 core:copy (atom-text-editor.editor.is-focused)
3x -0:16.8.0 core:cut (atom-text-editor.editor.is-focused)
-0:10 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
-0:10 editor:newline (atom-text-editor.editor.is-focused)
2x -0:04.0 core:move-right (atom-text-editor.editor.is-focused)
-0:02.7.0 core:save (atom-text-editor.editor.is-focused)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"themes": [
"isotope-ui",
"seti-syntax"
],
"disabledPackages": [
"Zen",
"esformatter"
]
},
"editor": {
"fontSize": 13,
"invisibles": {},
"softWrap": true,
"fontFamily": "Menlo"
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>isotope-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>Zen<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>esformatter<span class="pl-pds">"</span></span>
]
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"fontSize"</span>: <span class="pl-c1">13</span>,
<span class="pl-ent">"invisibles"</span>: {},
<span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"fontFamily"</span>: <span class="pl-s"><span class="pl-pds">"</span>Menlo<span class="pl-pds">"</span></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
Stylus, v1.0.0
color-picker, v1.7.0
emmet, v2.3.9
git-log, v0.3.0
isotope-ui, v2.3.0
keybinding-cheatsheet, v0.0.9
linter, v0.12.6
linter-eslint, v0.5.8
project-manager, v1.15.7
seti-syntax, v0.4.0
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
Stylus, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">9</span>
git<span class="pl-k">-</span>log, v0.<span class="pl-ii">3</span>.<span class="pl-ii">0</span>
isotope<span class="pl-k">-</span>ui, v2.<span class="pl-ii">3</span>.<span class="pl-ii">0</span>
keybinding<span class="pl-k">-</span>cheatsheet, v0.<span class="pl-ii">0</span>.<span class="pl-ii">9</span>
linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">6</span>
linter<span class="pl-k">-</span>eslint, v0.<span class="pl-ii">5</span>.<span class="pl-ii">8</span>
project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">15</span>.<span class="pl-ii">7</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> | <p dir="auto">2-3 times per day, when switching between tabs, I get this error. Atom 0.136.0 on Ubuntu 14.04.</p>
<p dir="auto">Here's the stack dump that comes up in the console when the system crashes:</p>
<p dir="auto">TypeError: undefined is not a function<br>
at FindModel.module.exports.FindModel.activePaneItemChanged (/opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:38:14)<br>
at /opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:29:24<br>
at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)<br>
at /opt/atom/resources/app/src/pane-container.js:321:34<br>
at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)<br>
at Pane.module.exports.Pane.setActiveItem (/opt/atom/resources/app/src/pane.js:254:22)<br>
at Pane.module.exports.Pane.activateItem (/opt/atom/resources/app/src/pane.js:300:21)<br>
at /opt/atom/resources/app/src/workspace.js:446:16<br>
at _fulfilled (/opt/atom/resources/app/node_modules/q/q.js:787:54)<br>
at self.promiseDispatch.done (/opt/atom/resources/app/node_modules/q/q.js:816:30)<br>
at Promise.promise.promiseDispatch (/opt/atom/resources/app/node_modules/q/q.js:749:13)<br>
at /opt/atom/resources/app/node_modules/q/q.js:557:44<br>
at flush (/opt/atom/resources/app/node_modules/q/q.js:108:17)<br>
at process._tickCallback (node.js:378:11)</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">aync</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ansible --version
ansible 2.3.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
"><pre class="notranslate"><code class="notranslate"> ansible --version
ansible 2.3.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 14.04</p>
<h5 dir="auto">SUMMARY</h5>
<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="- hosts: localhost
name: 'async statu does not stop'
gather_facts: no
tasks:
- shell: sleep 30000
async: 10
poll: 0
register: job
- async_status: jid="{{job.ansible_job_id}}"
register: job_result
until: job_result.finished
retries: 500
delay: 5
"><pre class="notranslate">- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">'</span>async statu does not stop<span class="pl-pds">'</span></span>
<span class="pl-ent">gather_facts</span>: <span class="pl-s">no </span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">shell</span>: <span class="pl-s">sleep 30000</span>
<span class="pl-ent">async</span>: <span class="pl-c1">10</span>
<span class="pl-ent">poll</span>: <span class="pl-c1">0</span>
<span class="pl-ent">register</span>: <span class="pl-s">job</span>
- <span class="pl-ent">async_status</span>: <span class="pl-s">jid="{{job.ansible_job_id}}" </span>
<span class="pl-ent">register</span>: <span class="pl-s">job_result</span>
<span class="pl-ent">until</span>: <span class="pl-s">job_result.finished</span>
<span class="pl-ent">retries</span>: <span class="pl-c1">500</span>
<span class="pl-ent">delay</span>: <span class="pl-c1">5</span>
</pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">In case the async job times out the async_status task needs to stop</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">async_status task keeps looping till it exhaust the retries</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Using /home/seb/hgdata/sfdc-ops/ansible/ansible.cfg as config file
PLAY [async statu does not stop] ****************************************************************************************************************************************************************************
TASK [command] **********************************************************************************************************************************************************************************************
changed: [localhost] => {"ansible_job_id": "6215717693.6129", "changed": true, "finished": 0, "results_file": "/home/seb/.ansible_async/6215717693.6129", "started": 1}
TASK [async_status] *****************************************************************************************************************************************************************************************
FAILED - RETRYING: async_status (500 retries left).
FAILED - RETRYING: async_status (499 retries left).
FAILED - RETRYING: async_status (498 retries left).
FAILED - RETRYING: async_status (497 retries left).
FAILED - RETRYING: async_status (496 retries left).
FAILED - RETRYING: async_status (495 retries left).
FAILED - RETRYING: async_status (494 retries left).
FAILED - RETRYING: async_status (493 retries left).
^C [ERROR]: User interrupted execution
seb@seb:~/hgdata/sfdc-ops/scripts$ cat /home/seb/.ansible_async/6215717693.6129
{"started": 1, "finished": 0, "ansible_job_id": "6215717693.6129"}seb@seb:~/hgdata/sfdc-ops/scripts$
"><pre class="notranslate"><code class="notranslate">Using /home/seb/hgdata/sfdc-ops/ansible/ansible.cfg as config file
PLAY [async statu does not stop] ****************************************************************************************************************************************************************************
TASK [command] **********************************************************************************************************************************************************************************************
changed: [localhost] => {"ansible_job_id": "6215717693.6129", "changed": true, "finished": 0, "results_file": "/home/seb/.ansible_async/6215717693.6129", "started": 1}
TASK [async_status] *****************************************************************************************************************************************************************************************
FAILED - RETRYING: async_status (500 retries left).
FAILED - RETRYING: async_status (499 retries left).
FAILED - RETRYING: async_status (498 retries left).
FAILED - RETRYING: async_status (497 retries left).
FAILED - RETRYING: async_status (496 retries left).
FAILED - RETRYING: async_status (495 retries left).
FAILED - RETRYING: async_status (494 retries left).
FAILED - RETRYING: async_status (493 retries left).
^C [ERROR]: User interrupted execution
seb@seb:~/hgdata/sfdc-ops/scripts$ cat /home/seb/.ansible_async/6215717693.6129
{"started": 1, "finished": 0, "ansible_job_id": "6215717693.6129"}seb@seb:~/hgdata/sfdc-ops/scripts$
</code></pre></div> | <ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">LVM fact gathering</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
config file = /home/guru/docker/ansible.cfg
configured module search path = [u'/home/guru/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible-2.4.0-py2.7.egg/ansible
executable location = /bin/ansible
python version = 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
"><pre class="notranslate"><code class="notranslate">ansible 2.4.0
config file = /home/guru/docker/ansible.cfg
configured module search path = [u'/home/guru/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible-2.4.0-py2.7.egg/ansible
executable location = /bin/ansible
python version = 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">defaults</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">The hash produced by fact gathering for ansible_lvm uses the LV name as the key, but you can have multiple LV's on a system with the exact same name. In this case, only the last LV discovered is shown in the hash.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Create LVs with same name in different VGs. for example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
demo vg0 -wi-ao---- 1.00g
demo vg1 -wi-a----- 248.00m
# ansible localhost -m setup
...snip...
"ansible_lvm": {
"lvs": {
"demo": {
"size_g": "0.24",
"vg": "vg1"
}"><pre class="notranslate"><code class="notranslate"># lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
demo vg0 -wi-ao---- 1.00g
demo vg1 -wi-a----- 248.00m
# ansible localhost -m setup
...snip...
"ansible_lvm": {
"lvs": {
"demo": {
"size_g": "0.24",
"vg": "vg1"
}
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Given data structure I guess the most I could hope for is an error. What I need is for both LVs to be listed even though they have the same name. Not sure how the LVM facts section could best be refactored to support this...</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Only the last LV seen is shown, the other(s) become invisible.</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Trying to create my first flutter app, I created a new project in Android Studio, but when I added the shared_preferences plugin to my pubspec.yaml, the iOS build failed. I managed to boil down a 100% report case to the following command line steps:</p>
<p dir="auto">flutter create -i swift hello<br>
cd hello<br>
[edit pubspec.yaml to add shared_preferences: ^0.3.3]</p>
<p dir="auto">(I suspect the issue may occur with any obj-c based plugin, not just shared_preferences, fwiw.)</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter run
Running "flutter packages get" in hello... 1.2s
Launching lib/main.dart on iPhone X in debug mode...
Running pod install... 1.2s
Running Xcode clean... 1.1s
Starting Xcode build...
├─Assembling Flutter resources... 4.1s
└─Compiling, linking and signing... 5.4s
Xcode build done 12.4s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/tony/afero/hello/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'shared_preferences/SharedPreferencesPlugin.h' file not found
#import <shared_preferences/SharedPreferencesPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X."><pre class="notranslate"><code class="notranslate">$ flutter run
Running "flutter packages get" in hello... 1.2s
Launching lib/main.dart on iPhone X in debug mode...
Running pod install... 1.2s
Running Xcode clean... 1.1s
Starting Xcode build...
├─Assembling Flutter resources... 4.1s
└─Compiling, linking and signing... 5.4s
Xcode build done 12.4s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/tony/afero/hello/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'shared_preferences/SharedPreferencesPlugin.h' file not found
#import <shared_preferences/SharedPreferencesPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X.
</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 (Channel beta, v0.1.5, on Mac OS X 10.12.6 16G1212, locale en-US)
• Flutter version 0.1.5 at /Users/tony/afero/flutter
• Framework revision 3ea4d06340 (11 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
• Android SDK at /Users/tony/Library/Android/sdk
• Android NDK at /Users/tony/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 26.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] Connected devices (1 available)
• iPhone X • 86F5D909-F2B9-46E3-B177-039CEE3C668A • ios • iOS 11.2 (simulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.12.6 16G1212, locale en-US)
• Flutter version 0.1.5 at /Users/tony/afero/flutter
• Framework revision 3ea4d06340 (11 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
• Android SDK at /Users/tony/Library/Android/sdk
• Android NDK at /Users/tony/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 26.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] Connected devices (1 available)
• iPhone X • 86F5D909-F2B9-46E3-B177-039CEE3C668A • ios • iOS 11.2 (simulator)
• No issues found!
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="set -x
mkdir -p Made_Podfiles_use_symlinks_to_local_pods_NOT_WORKING/
pushd Made_Podfiles_use_symlinks_to_local_pods_NOT_WORKING/
flutter create -t plugin -i swift --org com.failed failed > /dev/null
pushd failed/example
flutter build ios --debug
popd
flutter create -t plugin -i swift --org com.success success > /dev/null
pushd success/example
wget -q https://raw.githubusercontent.com/mravn-google/flutter/3723ec0383f79420486bb4ee5acf06ebd190b5cf/packages/flutter_tools/templates/cocoapods/Podfile-swift
cp Podfile-swift ios/Podfile
flutter build ios --debug
popd
popd"><pre class="notranslate"><span class="pl-c1">set</span> -x
mkdir -p Made_Podfiles_use_symlinks_to_local_pods_NOT_WORKING/
<span class="pl-c1">pushd</span> Made_Podfiles_use_symlinks_to_local_pods_NOT_WORKING/
flutter create -t plugin -i swift --org com.failed failed <span class="pl-k">></span> /dev/null
<span class="pl-c1">pushd</span> failed/example
flutter build ios --debug
<span class="pl-c1">popd</span>
flutter create -t plugin -i swift --org com.success success <span class="pl-k">></span> /dev/null
<span class="pl-c1">pushd</span> success/example
wget -q https://raw.githubusercontent.com/mravn-google/flutter/3723ec0383f79420486bb4ee5acf06ebd190b5cf/packages/flutter_tools/templates/cocoapods/Podfile-swift
cp Podfile-swift ios/Podfile
flutter build ios --debug
<span class="pl-c1">popd</span>
<span class="pl-c1">popd</span></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="➜ ~ flutter doctor -v
[✓] Flutter (Channel master, v0.1.8-pre.43, on Mac OS X 10.13.3 17D102, locale en-KR)
• Flutter version 0.1.8-pre.43 at /Users/?????/flutter
• Framework revision fe334e1652 (3 hours ago), 2018-03-02 17:54:51 -0800
• Engine revision 97b22348c8
• Dart version 2.0.0-dev.32.0.flutter-ee15c8eb68
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/?????/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/?????/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 22.1.2
• Dart plugin version 173.4548.30
[✓] VS Code
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.8.0
[✓] Connected devices (1 available)
• ????????????????????????????????????? • ios • iOS 11.2.6
• No issues found!"><pre class="notranslate"><code class="notranslate">➜ ~ flutter doctor -v
[✓] Flutter (Channel master, v0.1.8-pre.43, on Mac OS X 10.13.3 17D102, locale en-KR)
• Flutter version 0.1.8-pre.43 at /Users/?????/flutter
• Framework revision fe334e1652 (3 hours ago), 2018-03-02 17:54:51 -0800
• Engine revision 97b22348c8
• Dart version 2.0.0-dev.32.0.flutter-ee15c8eb68
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/?????/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/?????/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 22.1.2
• Dart plugin version 173.4548.30
[✓] VS Code
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.8.0
[✓] Connected devices (1 available)
• ????????????????????????????????????? • ios • iOS 11.2.6
• No issues found!
</code></pre></div> | 1 |
<p dir="auto">The Deno repl is very... well, unhelpful I'd say. Aside from the fact I can't actually run typescript in it, it also doesn't allow very basic values:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> {"foo":"bar"}
error: Uncaught SyntaxError: Unexpected token ':'
► <unknown>:1:7
at evaluate ($deno$/repl.ts:84:34)
at replLoop ($deno$/repl.ts:175:13)"><pre class="notranslate"><code class="notranslate">> {"foo":"bar"}
error: Uncaught SyntaxError: Unexpected token ':'
► <unknown>:1:7
at evaluate ($deno$/repl.ts:84:34)
at replLoop ($deno$/repl.ts:175:13)
</code></pre></div>
<p dir="auto">Valid javascript, valid typescript. Why is this a syntax error?</p> | <h2 dir="auto">Error / Panicked:</h2>
<p dir="auto">thread 'main' panicked at 'called <code class="notranslate">Option::unwrap()</code> on a <code class="notranslate">None</code> value', ext/flash/lib.rs:1316:42<br>
note: run with <code class="notranslate">RUST_BACKTRACE=1</code> environment variable to display a backtrace</p>
<p dir="auto">Platform: macos aarch64<br>
Version: 1.25.0<br>
Args: ["deno", "run", "--unstable", "--allow-all", "--watch", "main.js"]</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import express from "npm:express";
const app = express();
app.get("/", function (req, res) {
res.send("Hello Express");
});
app.listen(3000);
console.log("listening on http://localhost:3000/");"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">express</span> <span class="pl-k">from</span> <span class="pl-s">"npm:express"</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-en">express</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">app</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-k">function</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-s1">res</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s">"Hello Express"</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">app</span><span class="pl-kos">.</span><span class="pl-en">listen</span><span class="pl-kos">(</span><span class="pl-c1">3000</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">"listening on http://localhost:3000/"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">On changing a bit of code (as its watching) the error happens.</p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">I just wanted to bring this up, many of the tutorial pages in the current website are showing an error as follows:</p>
<p dir="auto">[Math Processing Error]</p>
<p dir="auto">This is showing instead of the formulas and make the learning processed a little bit more complicated.</p>
<p dir="auto">Example affected page:</p>
<p dir="auto"><a href="https://www.tensorflow.org/versions/r0.7/tutorials/word2vec/index.html#vector-representations-of-words" rel="nofollow">https://www.tensorflow.org/versions/r0.7/tutorials/word2vec/index.html#vector-representations-of-words</a></p> | <p dir="auto">The website tries to load,</p>
<p dir="auto"><code class="notranslate">https://www.tensorflow.org/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js?rev=2.6.1</code></p>
<p dir="auto">and fails. Someone needs to fix the path to get the right version of mathjax, and have all the LaTeX symbols show up.</p>
<p dir="auto">Thanks.</p> | 1 |
<p dir="auto">Uncaught Error: spawn /usr/local/bin/rebar ENOENT</p>
<p dir="auto"><strong>Atom Version</strong>: 0.158.0<br>
<strong>System</strong>: Mac OS X 10.10.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Steps To Reproduce</h3>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<h3 dir="auto">Stack Trace</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85
Error: spawn /usr/local/bin/rebar ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
"><pre class="notranslate"><code class="notranslate">At events.js:85
Error: spawn /usr/local/bin/rebar ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
</code></pre></div> | <p dir="auto">Uncaught Error: spawn \usr\local\bin\rebar ENOENT</p>
<p dir="auto"><strong>Atom Version</strong>: 0.162.0<br>
<strong>System</strong>: Unknown Windows Version<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Steps To Reproduce</h3>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<h3 dir="auto">Stack Trace</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85
Error: spawn \usr\local\bin\rebar ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
"><pre class="notranslate"><code class="notranslate">At events.js:85
Error: spawn \usr\local\bin\rebar ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
</code></pre></div> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.0-beta (Visual Studio 2015 Community)</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="// A self-contained demonstration of the problem follows...
export interface Configuration {
debug?: boolean;
}"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span>
<span class="pl-k">export</span> <span class="pl-k">interface</span> <span class="pl-smi">Configuration</span> <span class="pl-kos">{</span>
<span class="pl-c1">debug</span>?: <span class="pl-smi">boolean</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3845823/13132683/ec30018a-d5c2-11e5-851a-454ebd8b3bc2.png"><img src="https://cloud.githubusercontent.com/assets/3845823/13132683/ec30018a-d5c2-11e5-851a-454ebd8b3bc2.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected behavior:</strong><br>
Visual Studio's tsc should be able to tell that the module option is set to system.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
Visual Studio tells me to do something I've already done.</p> | <p dir="auto">Hi all, I have vs 2015 update 1 with ts 1.8. I just tried to reopen an asp.net 5 application with angular 1 and the usual angular.d.ts files.<br>
After the installation of the installation of 1.8 beta I cannot compile it anymore:</p>
<p dir="auto">with 1.8 beta installed I received a lot of errors: <strong>Build: cannot find namespace 'ng'</strong>:<br>
uninstalling it (I have both 1.8 beta and 1.7.6 installed I have a single error: <strong>Unable to get property 'compilerOptions' of undefined or null reference</strong>.<br>
repairing the ts 1.7 installation I obtain this error message: <strong>Option 'project' cannot be mixed with source files on a command line</strong>.</p>
<p dir="auto">I worked with another asp.net 4 project and angular without problems.<br>
this is my tsconfig.json</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"target": "es5",
"outFile": "wwwroot/js/application.js",
"inlineSourceMap": true,
"inlineSources": true
},
"exclude": [
"node_modules",
"wwwroot"
]
}"><pre class="notranslate">{
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"noImplicitAny"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"noEmitOnError"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"removeComments"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>es5<span class="pl-pds">"</span></span>,
<span class="pl-ent">"outFile"</span>: <span class="pl-s"><span class="pl-pds">"</span>wwwroot/js/application.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"inlineSourceMap"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"inlineSources"</span>: <span class="pl-c1">true</span>
},
<span class="pl-ent">"exclude"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>wwwroot<span class="pl-pds">"</span></span>
]
}</pre></div>
<p dir="auto">Am I misiing something about the changes in ts 1.8?</p> | 1 |
<blockquote>
<p dir="auto">Issue originally reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andy-ms/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andy-ms">@andy-ms</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="268060740" data-permission-text="Title is private" data-url="https://github.com/babel/babylon/issues/768" data-hovercard-type="issue" data-hovercard-url="/babel/babylon/issues/768/hovercard" href="https://github.com/babel/babylon/issues/768">babel/babylon#768</a></p>
</blockquote>
<h3 dir="auto">Input Code</h3>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export type T = ({x, y}: any) => void;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">type</span> <span class="pl-smi">T</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">{</span>x<span class="pl-kos">,</span> y<span class="pl-kos">}</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi"><span class="pl-k">void</span></span><span class="pl-kos">;</span></pre></div>
<p dir="auto">(from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="248604208" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/6065" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/6065/hovercard?comment_id=338848155&comment_type=issue_comment" href="https://github.com/babel/babel/issues/6065#issuecomment-338848155">#6065 (comment)</a>)</p>
<h3 dir="auto">Babylon/Babel Configuration</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"presets": ["typescript"]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span><span class="pl-s">"typescript"</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Parse succeeds</p>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto"><code class="notranslate">{ SyntaxError: src\a.ts: Unexpected token, expected ) (1:23)</code></p>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babylon</td>
<td>7.0.0-beta.29</td>
</tr>
<tr>
<td>node</td>
<td>8.7.0</td>
</tr>
<tr>
<td>npm</td>
<td>5.5.1</td>
</tr>
<tr>
<td>Operating System</td>
<td>Windows 10 Enterprise</td>
</tr>
</tbody>
</table>
<p dir="auto">(would assign myself if I could)</p> | <h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong><br>
Code fails with Babel, works with TSC.</p>
<p dir="auto"><strong>Input Code</strong></p>
<ul dir="auto">
<li><a href="https://babeljs.io/repl#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=C4TwDgpgBAsiAq5oF4oAoDeVgAsIFtoBfALii1wIjIGdgAnASwDsBzKIgSimQD4o6TNgChhAYwD2zOlAAeZOIkg9yRIA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=true&fileSize=false&timeTravel=false&sourceType=module&lineWrap=false&presets=typescript&prettier=false&targets=&version=7.0.0-beta.54&envVersion=" rel="nofollow">Babel REPL</a> (ps: needs to install the <code class="notranslate">@babel/plugin-transform-typescript</code> plugin)</li>
<li><a href="http://www.typescriptlang.org/play/#src=type%20MyType%20%3D%20(%7B%20theme%20%7D%3A%20%7B%20theme%3A%20string%20%7D)%20%3D%3E%20string%0D%0A%0D%0Aconst%20x%3A%20MyType%20%3D%20%7B%7D" rel="nofollow">TypeScript Playground</a></li>
</ul>
<p dir="auto">This code fails on Babel but not on TSC:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type MyType = ({ theme }: { theme: string }) => string
const x: MyType = {}"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-smi">MyType</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> theme <span class="pl-kos">}</span>: <span class="pl-kos">{</span> <span class="pl-c1">theme</span>: <span class="pl-smi">string</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">string</span>
<span class="pl-k">const</span> <span class="pl-s1">x</span>: <span class="pl-smi">MyType</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">This code works on both:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type MyType = (param: { theme: string }) => string
const x: MyType = {}"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-smi">MyType</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">param</span>: <span class="pl-kos">{</span> <span class="pl-c1">theme</span>: <span class="pl-smi">string</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">string</span>
<span class="pl-k">const</span> <span class="pl-s1">x</span>: <span class="pl-smi">MyType</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong></p>
<p dir="auto">Support this syntax, because tsc supports it.</p>
<p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p>
<p dir="auto">The one inside Create React App v2, plus typescript preset. (<a href="https://github.com/brunolemos/create-react-app/blob/next-typescript/packages/babel-preset-react-app/create.js">file</a>)</p>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): 7.1.0</li>
<li>Node/npm version: 5.6.0</li>
<li>OS: macOS 10.14</li>
<li>Monorepo yes (yarn workspace)</li>
<li>How you are using Babel: CRA</li>
</ul>
<p dir="auto"><strong>Additional context</strong></p>
<p dir="auto">Possibly related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="343621304" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/8365" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/8365/hovercard" href="https://github.com/babel/babel/issues/8365">#8365</a></p> | 1 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.33]</li>
<li>Operating System: [Windows 10]</li>
<li>Browser: [All]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto">playwright install<br>
Downloading Chromium 113.0.5672.53 (playwright build v1060) from <a href="https://playwright.azureedge.net/builds/chromium/1060/chromium-win64.zip" rel="nofollow">https://playwright.azureedge.net/builds/chromium/1060/chromium-win64.zip</a></p>
<p dir="auto">stuck for hours. but can download the chromium manually in less than 60 seconds</p>
<p dir="auto">what should i do?</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.31.2</li>
<li>Operating System: All</li>
<li>Browser: All</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto">We use <code class="notranslate">playwright._electron.launch</code> and <code class="notranslate">electron.firstWindow()</code> to smoke test VS Code. We noticed that with the latest version, a file <code class="notranslate">playwright-core/lib/server/electron/loader.js</code> opens, so we assume it is being added to the path when launching VS Code.</p>
<p dir="auto">This breaks all our smoke tests that assume no file would open.</p>
<p dir="auto">//cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mxschmitt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mxschmitt">@mxschmitt</a></p> | 0 |
<p dir="auto">When using the mediastream typings with typescript 2.0, a lot of errors like these are logged:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="All declarations of 'volume' must have identical modifiers.
All declarations of 'id' must have identical modifiers.
etc."><pre class="notranslate"><code class="notranslate">All declarations of 'volume' must have identical modifiers.
All declarations of 'id' must have identical modifiers.
etc.
</code></pre></div>
<p dir="auto">What exactly does this mean?</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vvakame/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vvakame">@vvakame</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nakakura/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nakakura">@nakakura</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/horiuchi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/horiuchi">@horiuchi</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/groege/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/groege">@groege</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Garciat/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Garciat">@Garciat</a>, …</p> | <p dir="auto">Version of <code class="notranslate">ts-toolbelt</code> used by <code class="notranslate">@types/ramda</code> declares global modules and names, it causes errors of duplication when I want to use <code class="notranslate">ramda</code> with other packages that also use <code class="notranslate">ts-toolbelt</code> or having two packages in my monorepo use <code class="notranslate">ramda</code>.</p>
<hr>
<p dir="auto">If you know how to fix the issue, make a pull request instead.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/ramda</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=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TheHandsomeCoder/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TheHandsomeCoder">@TheHandsomeCoder</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/donnut/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/donnut">@donnut</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdekrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdekrey">@mdekrey</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrdziuban/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrdziuban">@mrdziuban</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sbking/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sbking">@sbking</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/afharo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/afharo">@afharo</a>, ...</li>
</ul>
</li>
</ul>
<p dir="auto">If you do not mention the authors the issue will be ignored.</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">Expected Behavior</h2>
<p dir="auto">do not autofocus AnchorElement onClose</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">autofocus AnchorElement onClose. this lead to the tooltip be activated (occurred in Menu Model Dialog components)</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><a href="https://codesandbox.io/s/l232olr27z" rel="nofollow">DEMO</a></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.23</td>
</tr>
<tr>
<td>React</td>
<td>16.0.0</td>
</tr>
<tr>
<td>browser</td>
<td>chrome 62.0.3202.94 (Official Build) (64-bit)</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">When using Hot Module Replacement with material ui, the style change cannot be reloaded.</p>
<p dir="auto">JSS and react-hot-loader should be able to work together<br>
<a href="https://github.com/cssinjs/react-jss/issues/29#issuecomment-192795272">https://github.com/cssinjs/react-jss/issues/29#issuecomment-192795272</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/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">HMR should replace/update the <code class="notranslate"><style></code> tags in <code class="notranslate"><header></code></p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The new component has been sent through, but <code class="notranslate"><style></code> tags in <code class="notranslate"><header></code> didn't change</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>create-react-app to create a new app</li>
<li>add <code class="notranslate">react-hot-loader@next</code> and <code class="notranslate">material-ui@next</code></li>
<li>eject the app to configure HMR by <code class="notranslate">yarn eject</code><br>
then change <code class="notranslate">entry</code> of <code class="notranslate">./config/webpack.config.dev.js</code> into following</li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="entry: [
'react-hot-loader/patch', // <---add
require.resolve('webpack/hot/dev-server'), // <---uncomment
require.resolve('webpack-dev-server/client') + '?/', // <---uncomment
// require.resolve('react-dev-utils/webpackHotDevClient'), // <--- comment out this line
paths.appIndexJs // <-- unchanged
]"><pre class="notranslate">entry: <span class="pl-kos">[</span>
<span class="pl-s">'react-hot-loader/patch'</span><span class="pl-kos">,</span> <span class="pl-c">// <---add</span>
<span class="pl-en">require</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'webpack/hot/dev-server'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c">// <---uncomment</span>
<span class="pl-en">require</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">'webpack-dev-server/client'</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-s">'?/'</span><span class="pl-kos">,</span> <span class="pl-c">// <---uncomment</span>
<span class="pl-c">// require.resolve('react-dev-utils/webpackHotDevClient'), // <--- comment out this line</span>
<span class="pl-s1">paths</span><span class="pl-kos">.</span><span class="pl-c1">appIndexJs</span> <span class="pl-c">// <-- unchanged</span>
<span class="pl-kos">]</span></pre></div>
<ol start="4" dir="auto">
<li>add HOC for react-hot-loader, in <code class="notranslate">src/index.js</code></li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// ... other imports
import { AppContainer } from 'react-hot-loader';
const render = App => {
ReactDOM.render(
<AppContainer>
<App />
</AppContainer>,
document.getElementById('root')
);
};
render(App);
registerServiceWorker();
// Enable hmr
if (module.hot) {
module.hot.accept('./App', () => {
render(require('./App').default);
});
}
"><pre class="notranslate"><span class="pl-c">// ... other imports</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">AppContainer</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-hot-loader'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-en">render</span> <span class="pl-c1">=</span> <span class="pl-v">App</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">AppContainer</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">App</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">AppContainer</span><span class="pl-c1">></span><span class="pl-kos">,</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">'root'</span><span class="pl-kos">)</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-v">App</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">registerServiceWorker</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// Enable hmr</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">hot</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">hot</span><span class="pl-kos">.</span><span class="pl-en">accept</span><span class="pl-kos">(</span><span class="pl-s">'./App'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./App'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</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>
<ol start="5" dir="auto">
<li>add babel config in package.json</li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""babel":{
//...others
"plugins":[
...other plugins,
"react-hot-loader/babel" <--- add this line
]
}"><pre class="notranslate"><span class="pl-s">"babel"</span>:<span class="pl-kos">{</span>
<span class="pl-c">//...others</span>
<span class="pl-s">"plugins"</span>:<span class="pl-kos">[</span>
...<span class="pl-s1">other</span> <span class="pl-s1">plugins</span><span class="pl-kos">,</span>
<span class="pl-s">"react-hot-loader/babel"</span> <span class="pl-c1"><</span><span class="pl-c1">--</span><span class="pl-c1">-</span> <span class="pl-s1">add</span> <span class="pl-s1">this</span> <span class="pl-s1">line</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<ol start="6" dir="auto">
<li>try change text value to see hmr actually works (the page shouldn't refresh and there should be a request from url like <code class="notranslate">http://localhost:3000/0.d1087ac819fcd47659f1.hot-update.js</code>)</li>
<li>create a component and use <code class="notranslate">withStyles</code></li>
<li>try change the values in <code class="notranslate">styles</code> and the style isn't changed by HMR,</li>
<li>refresh the page the style will change.</li>
<li>see network tab can see the component change has been sent through (from url like <code class="notranslate">http://localhost:3000/0.d1087ac819fcd47659f1.hot-update.js</code> contain the transpiled code of this file)</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">we cannot use HMR with webpack when we need to persist states in application and make changes through HMR.</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.11</td>
</tr>
<tr>
<td>React</td>
<td>15.6.1</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 60.0.3112.113 (Official Build) (64-bit)</td>
</tr>
<tr>
<td>react-hot-loader</td>
<td>3.0.0-beta.7</td>
</tr>
<tr>
<td>webpack</td>
<td>3.5.1</td>
</tr>
<tr>
<td>webpack-dev-middleware</td>
<td>1.12.0</td>
</tr>
<tr>
<td>webpack-dev-server</td>
<td>2.7.1</td>
</tr>
</tbody>
</table> | 0 |
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.4.0</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">When I want to view logs of a task using the webserver, I get the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Log file does not exist: /opt/airflow/logs/dag_id=<dag_id>/run_id=manual__2022-09-25T07:01:05.868611+00:00/task_id=get_new_batch_id/attempt=1.log
*** Fetching from: http://<pod_name>.<cluster_info>:8793/dag_id=<dag_id>/run_id=manual__2022-09-25T07:01:05.868611+00:00/task_id=get_new_batch_id/attempt=1.log
*** !!!! Please make sure that all your Airflow components (e.g. schedulers, webservers and workers) have the same 'secret_key' configured in 'webserver' section and time is synchronized on all your machines (for example with ntpd) !!!!!
****** See more at https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#secret-key
****** Failed to fetch log file from worker. Client error '403 FORBIDDEN' for url 'http://<pod_name>.<cluster_info>:8793/dag_id=<dag_id>/run_id=manual__2022-09-25T07:01:05.868611+00:00/task_id=get_new_batch_id/attempt=1.log'
For more information check: https://httpstatuses.com/403"><pre class="notranslate"><code class="notranslate">*** Log file does not exist: /opt/airflow/logs/dag_id=<dag_id>/run_id=manual__2022-09-25T07:01:05.868611+00:00/task_id=get_new_batch_id/attempt=1.log
*** Fetching from: http://<pod_name>.<cluster_info>:8793/dag_id=<dag_id>/run_id=manual__2022-09-25T07:01:05.868611+00:00/task_id=get_new_batch_id/attempt=1.log
*** !!!! Please make sure that all your Airflow components (e.g. schedulers, webservers and workers) have the same 'secret_key' configured in 'webserver' section and time is synchronized on all your machines (for example with ntpd) !!!!!
****** See more at https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#secret-key
****** Failed to fetch log file from worker. Client error '403 FORBIDDEN' for url 'http://<pod_name>.<cluster_info>:8793/dag_id=<dag_id>/run_id=manual__2022-09-25T07:01:05.868611+00:00/task_id=get_new_batch_id/attempt=1.log'
For more information check: https://httpstatuses.com/403
</code></pre></div>
<p dir="auto">When I checked the worker logs, I saw the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
[2022-09-25T11:05:14.765+0000] {serve_logs.py:104} WARNING - Unknown error
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
Traceback (most recent call last):
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
File "/home/airflow/.local/lib/python3.7/site-packages/airflow/utils/serve_logs.py", line 64, in validate_pre_signed_url
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
request_filename = request.view_args['filename']
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
TypeError: 'NoneType' object is not subscriptable"><pre class="notranslate"><code class="notranslate">9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
[2022-09-25T11:05:14.765+0000] {serve_logs.py:104} WARNING - Unknown error
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
Traceback (most recent call last):
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
File "/home/airflow/.local/lib/python3.7/site-packages/airflow/utils/serve_logs.py", line 64, in validate_pre_signed_url
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
request_filename = request.view_args['filename']
9/25/2022, 2:05:14 PM
fruits360-worker-1
a8605871a22add46d78ba98798e60a2d181364f0554c9427b479b5447354b744
TypeError: 'NoneType' object is not subscriptable
</code></pre></div>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">I'm not sure why request.view_args is not subscriptable.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">linux vm from Azure</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Official Apache Airflow Helm Chart</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">helm 1.6.0 with a custom docker image. Dockerfile is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM apache/airflow:2.4.0
RUN pip install --no-cache-dir --user apache-airflow-providers-microsoft-mssql==3.2.0
COPY ./dags/ /opt/airflow/dags"><pre class="notranslate"><code class="notranslate">FROM apache/airflow:2.4.0
RUN pip install --no-cache-dir --user apache-airflow-providers-microsoft-mssql==3.2.0
COPY ./dags/ /opt/airflow/dags
</code></pre></div>
<h3 dir="auto">Anything else</h3>
<p dir="auto">Deployed in Azure Kubernetes Cluster. Everything is in one node except for the metadata db, which runs in an Azure Database for PostgreSQL flexible server.</p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | <h3 dir="auto">Body</h3>
<p dir="auto">We have a kind request for all the contributors to the latest <a href="https://pypi.org/project/apache-airflow/2.2.5rc3/" rel="nofollow">Apache Airflow RC 2.2.5rc3</a>.</p>
<p dir="auto">Could you please help us to test the RC versions of Airflow?</p>
<p dir="auto">Please let us know in the comment if the issue is addressed in the latest RC.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19491" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19491/hovercard">Set X-Frame-Options header to DENY unless X_FRAME_ENABLED is set to true (#19491)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/subkanthi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/subkanthi">@subkanthi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/planoe-cloudera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/planoe-cloudera">@planoe-cloudera</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/17255" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/17255/hovercard">x_frame_enabled logic broken in Airflow 2 (#17255)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19684" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19684/hovercard">Fix: Do not render undefined graph edges (#19684)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19747" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19747/hovercard">Fix Tasks getting stuck in scheduled state (#19747)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vapiravfif/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vapiravfif">@vapiravfif</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tanelk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tanelk">@tanelk</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/19622" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/19622/hovercard">Tasks get stuck in "scheduled" state and starved when dags with huge amount of tasks is scheduled (#19622)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/20658" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/20658/hovercard">Rename <code class="notranslate">to_delete</code> to <code class="notranslate">to_cancel</code> in TriggerRunner (#20658)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/20699" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/20699/hovercard">Fix duplicate trigger creation race condition (#20699)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatrixManAtYrService/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatrixManAtYrService">@MatrixManAtYrService</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/18392" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18392/hovercard">TriggerEvent fires, and then defers a second time (doesn't fire a second time though). (#18392)</a></li>
<li><a href="https://github.com/apache/airflow/pull/19546" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19546/hovercard">Track completed triggers until deleted from database (#19546)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/20731" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/20731/hovercard">Truncate stack trace to DAG user code for exceptions raised during execution (#20731)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/20883" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/20883/hovercard">fix: Update custom connection field processing (#20883)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mike-mcdonald/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mike-mcdonald">@mike-mcdonald</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/20839" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/20839/hovercard">Cannot edit custom fields on provider connections (#20839)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21116" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21116/hovercard">Ensure clear_task_instances sets valid run state (#21116)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uplsh580/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uplsh580">@uplsh580</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/21058" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/21058/hovercard">Running airflow dags backfill --reset-dagruns <dag_id> -s <execution_start_dt> -e <execution_end_dt> results in error when run twice. (#21058)</a></li>
<li><a href="https://github.com/apache/airflow/pull/21062" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21062/hovercard">Fix 'airflow dags backfill --reset-dagruns' errors when run twice (#21062)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/21192" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21192/hovercard">Update <code class="notranslate">ExternalTaskSensorLink</code> to handle templated <code class="notranslate">external_dag_id</code> (#21192)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/csp98/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/csp98">@csp98</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josh-fell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josh-fell">@josh-fell</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/21183" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/21183/hovercard">Webserver "External DAG" button on ExternalTaskSensor not working when dag_id is templated (#21183)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21207" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21207/hovercard">A trigger might use a connection; make sure we mask passwords (#21207)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21213" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21213/hovercard">Log traceback in trigger excs (#21213)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21239" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21239/hovercard">Fix trigger dag redirect from task instance log view (#21239)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21316" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21316/hovercard">Fix race condition between triggerer and scheduler (#21316)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21399" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21399/hovercard">Reduce DB load incurred by Stale DAG deactivation (#21399)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SamWheating/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SamWheating">@SamWheating</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21413" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21413/hovercard">Fix max_active_runs=1 not scheduling runs when min_file_process_interval is high (#21413)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21442" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21442/hovercard">Fix Resources <strong>eq</strong> check (#21442)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pingzh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pingzh">@pingzh</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21539" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21539/hovercard">Filter out default configs when overrides exist. (#21539)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xyu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xyu">@xyu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/20092" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/20092/hovercard">PR #18772 breaks <code class="notranslate">sql_alchemy_conn_cmd</code> config (#20092)</a></li>
<li><a href="https://github.com/apache/airflow/pull/18772" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/18772/hovercard">Don't bake ENV and _cmd into tmp config for non-sudo (#18772)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21540" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21540/hovercard">Fix logging JDBC SQL error when task fails (#21540)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stijn-meersman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stijn-meersman">@stijn-meersman</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hubert-pietron/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hubert-pietron">@hubert-pietron</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jyotsa09/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jyotsa09">@jyotsa09</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/18482" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/18482/hovercard">No SQL error shown when using the JDBC operator (#18482)</a></li>
<li><a href="https://github.com/apache/airflow/issues/16295" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/16295/hovercard">JDBC operator not logging errors (#16295)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21565" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21565/hovercard">Dispose not used connection pool (#21565)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pingzh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pingzh">@pingzh</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21567" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21567/hovercard">FIX: extends typing-extensions to be installed with python 3.8+ #21566 (#21567)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/frankcash/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/frankcash">@frankcash</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/21566" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/21566/hovercard">typing_extensions package isn't installed with apache-airflow-providers-amazon causing an issue for SqlToS3Operator (#21566)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21658" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21658/hovercard">Disable default_pool delete on web ui (#21658)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chenglongyan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chenglongyan">@chenglongyan</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21667" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21667/hovercard">Log exception in local executor (#21667)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21694" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21694/hovercard">Correctly handle multiple '=' in LocalFileSystem secrets. (#21694)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kadai0308/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kadai0308">@kadai0308</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joeyberkovitz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joeyberkovitz">@joeyberkovitz</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/21625" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/21625/hovercard">LocalFileSystem Secret Backend Bug (#21625)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21705" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21705/hovercard">Fix stray order_by(TaskInstance.execution_date) (#21705)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TidesMind/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TidesMind">@TidesMind</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/21656" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/21656/hovercard">Airflow >= 2.2.0 execution date change is failing TaskInstance get_task_instances method and possibly others (#21656)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21729" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21729/hovercard">Fix filesystem sensor for directories (#21729)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mixilchenko/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mixilchenko">@mixilchenko</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21736" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21736/hovercard">Fix graph autorefresh on page load (#21736)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21753" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21753/hovercard">Fix triggerer --capacity parameter (#21753)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thesuperzapper/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thesuperzapper">@thesuperzapper</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/msumit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/msumit">@msumit</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/21752" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/21752/hovercard">triggerer <code class="notranslate">--capacity</code> parameter does not work (#21752)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21770" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21770/hovercard">Fix assignment of unassigned triggers (#21770)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkramer-ginkgo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkramer-ginkgo">@jkramer-ginkgo</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/21928" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21928/hovercard">Fix incorrect data provided to tries & landing times charts (#21928)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/millin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/millin">@millin</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/22027" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22027/hovercard">Fixed dask executor and tests (#22027)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/subkanthi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/subkanthi">@subkanthi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/pull/22017" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22017/hovercard">Removes limitations from Dask dependencies (#22017)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/22241" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22241/hovercard">Add the new Airflow Trove Classifier to setup.cfg (#22241)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/22364" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22364/hovercard">Fix broken links to celery documentation (#22364)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidhagens/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidhagens">@davidhagens</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/22370" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22370/hovercard">Add back celery intersphinx mapping (#22370)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kaxil/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kaxil">@kaxil</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/22527" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22527/hovercard">Replace timedelta.max with year long timdelta in test_manager (#22527)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/22530" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22530/hovercard">Check and disallow a relative path for sqlite (#22530)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yenchenLiu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yenchenLiu">@yenchenLiu</a></li>
</ul>
<p dir="auto">Thanks to all who contributed to the release (probably not a complete list!):<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/frankcash/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/frankcash">@frankcash</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yenchenLiu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yenchenLiu">@yenchenLiu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SamWheating/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SamWheating">@SamWheating</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/csp98/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/csp98">@csp98</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joeyberkovitz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joeyberkovitz">@joeyberkovitz</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/planoe-cloudera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/planoe-cloudera">@planoe-cloudera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hubert-pietron/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hubert-pietron">@hubert-pietron</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stijn-meersman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stijn-meersman">@stijn-meersman</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jyotsa09/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jyotsa09">@jyotsa09</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kadai0308/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kadai0308">@kadai0308</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chenglongyan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chenglongyan">@chenglongyan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pingzh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pingzh">@pingzh</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TidesMind/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TidesMind">@TidesMind</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josh-fell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josh-fell">@josh-fell</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mike-mcdonald/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mike-mcdonald">@mike-mcdonald</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vapiravfif/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vapiravfif">@vapiravfif</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thesuperzapper/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thesuperzapper">@thesuperzapper</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/msumit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/msumit">@msumit</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xyu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xyu">@xyu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uplsh580/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uplsh580">@uplsh580</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tanelk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tanelk">@tanelk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/subkanthi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/subkanthi">@subkanthi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkramer-ginkgo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkramer-ginkgo">@jkramer-ginkgo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/millin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/millin">@millin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mixilchenko/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mixilchenko">@mixilchenko</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidhagens/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidhagens">@davidhagens</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatrixManAtYrService/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatrixManAtYrService">@MatrixManAtYrService</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kaxil/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kaxil">@kaxil</a></p>
<h3 dir="auto">Committer</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li>
</ul> | 0 |
<p dir="auto">Please don't make this bug a WONTFIX because it breaks at least one library out there that are dependent on the old sessions API.</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="requests.session(**kwargs)
Returns a Session for context-management."><pre class="notranslate"><code class="notranslate">requests.session(**kwargs)
Returns a Session for context-management.
</code></pre></div>
<p dir="auto">This not longer works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="session = requests.Session(verify=not staging)
TypeError: __init__() got an unexpected keyword argument 'verify'"><pre class="notranslate"><code class="notranslate">session = requests.Session(verify=not staging)
TypeError: __init__() got an unexpected keyword argument 'verify'
</code></pre></div> | 1 |
<h2 dir="auto">Feature request</h2>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
The <code class="notranslate">cache.maxGenerations</code> config works in <code class="notranslate">filesystem</code> cache to keep cache files slim.</p>
<p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong><br>
Our project is huge, which generate a huge .cache directory over 800MB, and the cache size keep increasing with the passes of compilation. We run the CI progress in a new docker environment everytime when the project code changed, so we need store the .cache directory in outside storage, huge cache file will slow down the CI progress obviously.</p>
<p dir="auto">I read the source code and find that filesystem cache always keep the unused items until the maxAge is exceeded, so what i need is to set maxGenerations limit to 1 and remove unused items from cache files everytime.</p>
<p dir="auto"><strong>How should this be implemented in your opinion?</strong><br>
Record the generations in pack content items, read the <code class="notranslate">cache.maxGenerations</code> config and decide to keep or remove unused items in <code class="notranslate">Pack._optimizeUnusedContent</code>.</p>
<p dir="auto"><strong>Are you willing to work on this yourself?</strong><br>
Yes</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
I need to set the max chunck to only 1 and I can't currently do that. This error has been reported before but nothing was done.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">1 - Create a Nuxt App using <code class="notranslate">npx create-nuxt-app <project-name></code> (Choose bootstrap, axios and eslint when asked)<br>
2 - Change your "nuxt.config.js" to match the one below.<br>
3 - <code class="notranslate">npm run build</code><br>
4 - Verify that is a Webpack Bug</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/55927613/106352939-cdcda400-62de-11eb-808d-d0eda77abe6f.png"><img src="https://user-images.githubusercontent.com/55927613/106352939-cdcda400-62de-11eb-808d-d0eda77abe6f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">5 - Change <code class="notranslate">maxCount:4</code><br>
6 - <code class="notranslate">npm run build</code><br>
7 - Verify that it now worked</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/55927613/106353072-d4a8e680-62df-11eb-865b-f394e04b9142.png"><img src="https://user-images.githubusercontent.com/55927613/106353072-d4a8e680-62df-11eb-865b-f394e04b9142.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">obs: The file is located in the root of the project.<br>
nuxt.config.js</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import webpack from 'webpack';
export default {
// Target: https://go.nuxtjs.dev/config-target
target: 'static',
ssr: false,
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: 'salesforce-query-editor',
htmlAttrs: {
lang: 'en',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
],
link: [],
script: [],
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: [],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [],
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
// https://go.nuxtjs.dev/eslint
['@nuxtjs/eslint-module', { fix: true, quiet: true }],
],
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
'bootstrap-vue/nuxt',
'@nuxtjs/axios',
],
// Axios module configuration: https://go.nuxtjs.dev/config-axios
axios: {},
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
extend(config, ctx) {
if (ctx.isDev) {
config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map';
}
},
plugins: [
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1
})
],
},
router: {
mode: 'hash',
},
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">webpack</span> <span class="pl-k">from</span> <span class="pl-s">'webpack'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">{</span>
<span class="pl-c">// Target: https://go.nuxtjs.dev/config-target</span>
<span class="pl-c1">target</span>: <span class="pl-s">'static'</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-c">// Global page headers: https://go.nuxtjs.dev/config-head</span>
<span class="pl-c1">head</span>: <span class="pl-kos">{</span>
<span class="pl-c1">title</span>: <span class="pl-s">'salesforce-query-editor'</span><span class="pl-kos">,</span>
<span class="pl-c1">htmlAttrs</span>: <span class="pl-kos">{</span>
<span class="pl-c1">lang</span>: <span class="pl-s">'en'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">meta</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span> <span class="pl-c1">charset</span>: <span class="pl-s">'utf-8'</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">'viewport'</span><span class="pl-kos">,</span> <span class="pl-c1">content</span>: <span class="pl-s">'width=device-width, initial-scale=1'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span> <span class="pl-c1">hid</span>: <span class="pl-s">'description'</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">'description'</span><span class="pl-kos">,</span> <span class="pl-c1">content</span>: <span class="pl-s">''</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">link</span>: <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">script</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">// Global CSS: https://go.nuxtjs.dev/config-css</span>
<span class="pl-c1">css</span>: <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c">// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins</span>
<span class="pl-c1">plugins</span>: <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c">// Auto import components: https://go.nuxtjs.dev/config-components</span>
<span class="pl-c1">components</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c">// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules</span>
<span class="pl-c1">buildModules</span>: <span class="pl-kos">[</span>
<span class="pl-c">// https://go.nuxtjs.dev/eslint</span>
<span class="pl-kos">[</span><span class="pl-s">'@nuxtjs/eslint-module'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">fix</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">quiet</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c">// Modules: https://go.nuxtjs.dev/config-modules</span>
<span class="pl-c1">modules</span>: <span class="pl-kos">[</span>
<span class="pl-s">'bootstrap-vue/nuxt'</span><span class="pl-kos">,</span>
<span class="pl-s">'@nuxtjs/axios'</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c">// Axios module configuration: https://go.nuxtjs.dev/config-axios</span>
<span class="pl-c1">axios</span>: <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">// Build Configuration: https://go.nuxtjs.dev/config-build</span>
<span class="pl-c1">build</span>: <span class="pl-kos">{</span>
<span class="pl-en">extend</span><span class="pl-kos">(</span><span class="pl-s1">config</span><span class="pl-kos">,</span> <span class="pl-s1">ctx</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">ctx</span><span class="pl-kos">.</span><span class="pl-c1">isDev</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">devtool</span> <span class="pl-c1">=</span> <span class="pl-s1">ctx</span><span class="pl-kos">.</span><span class="pl-c1">isClient</span> ? <span class="pl-s">'source-map'</span> : <span class="pl-s">'inline-source-map'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">plugins</span>: <span class="pl-kos">[</span>
<span class="pl-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">LimitChunkCountPlugin</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">maxChunks</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-c1">router</span>: <span class="pl-kos">{</span>
<span class="pl-c1">mode</span>: <span class="pl-s">'hash'</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>What is the expected behavior?</strong><br>
It should output one js file as I specified maxChunk = 1 on the LimitChunkCountPlugin</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 4<br>
Node.js version: v12.13.0<br>
Operating System: Windows<br>
Additional tools:</p> | 0 |
<p dir="auto">Currently, the form component add some strong requirements on the way to access field values. It would be a good idea to allow to specify a different getter or setter (defaulting to the current behavior) to give more flexibility.</p>
<p dir="auto">And for collections, it would be a good idea to be able to use <code class="notranslate">addXXX</code> and <code class="notranslate">removeXXX</code> instead of recreating the collection entirely using a <code class="notranslate">setXXXs</code> setter, which has really bad performances for Doctrine toMany relations as it removes all relations and add new ones.</p> | <p dir="auto">The collection type is broken when using it for the inversed side of a Doctrine relation as it modifies the collection instead of calling some setter in the class. As Doctrine does not track changes in the inversed side, the changes are not persisted.</p>
<p dir="auto">The best practice for Doctrine is to call the setter of the owning side in the setter of the inversed side. But as the setter is not called, this has no effect for the forms. And there is currently no way to change this behavior in user-land forms.</p>
<p dir="auto">I suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="970309" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/1141" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/1141/hovercard" href="https://github.com/symfony/symfony/issues/1141">#1141</a> to allow defining the setter used. A collection type should then call <code class="notranslate">addXXX</code> and <code class="notranslate">removeXXX</code> on the object instead of modifying the collection to allow having additionnal logic when adding and removing elements.</p> | 1 |
<p dir="auto">When I have textAlign: TextAlign.center, and TextField is in SizedBox and when I enter first character the blinking line gets bugged and moves from center to the beginning of the TextField. As soon as I enter second character, line is okay once again.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6430214/41400727-2d18395a-6fbe-11e8-8d9c-c40a5569cfbd.png"><img width="336" alt="screen shot 2018-06-14 at 10 28 16 am" src="https://user-images.githubusercontent.com/6430214/41400727-2d18395a-6fbe-11e8-8d9c-c40a5569cfbd.png" style="max-width: 100%;"></a><br>
Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final appTitle = 'Test';
return new MaterialApp(
title: appTitle,
home: new Scaffold(
appBar: new AppBar(
title: new Text(appTitle),
),
body: new Test(),
),
);
}
}
class Test extends StatefulWidget {
@override
TestState createState() {
return new TestState();
}
}
// Create a corresponding State class. This class will hold the data related to
// the form.
class TestState extends State<Test> {
// Create a global key that will uniquely identify the `Form` widget
@override
Widget build(BuildContext context) {
// Build a Form widget using the _formKey we created above
return new Stack(
children:[
new Positioned(
left: 100.0,
right: 100.0,
top: 200.0,
height: 20.0,
child: Row(
children: <Widget>[
new SizedBox(
width: 50.0,
child: new TextField(
textAlign: TextAlign.center,
style: new TextStyle(
color: Colors.blue,
),
),
),
],
),
),
],
);
}
}"><pre class="notranslate"><code class="notranslate">import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final appTitle = 'Test';
return new MaterialApp(
title: appTitle,
home: new Scaffold(
appBar: new AppBar(
title: new Text(appTitle),
),
body: new Test(),
),
);
}
}
class Test extends StatefulWidget {
@override
TestState createState() {
return new TestState();
}
}
// Create a corresponding State class. This class will hold the data related to
// the form.
class TestState extends State<Test> {
// Create a global key that will uniquely identify the `Form` widget
@override
Widget build(BuildContext context) {
// Build a Form widget using the _formKey we created above
return new Stack(
children:[
new Positioned(
left: 100.0,
right: 100.0,
top: 200.0,
height: 20.0,
child: Row(
children: <Widget>[
new SizedBox(
width: 50.0,
child: new TextField(
textAlign: TextAlign.center,
style: new TextStyle(
color: Colors.blue,
),
),
),
],
),
),
],
);
}
}
</code></pre></div>
<p dir="auto">I think this issue is the same with all text input widgets.<br>
A lil off topic - I didn't see how can we align, lets say, error text. If I use validation in TextFormField which covers whole width of the screen, and I use TextAlign.center for input, it's very ugly that error is on the left, and entered text in center of the widget.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.5-pre.10, on Mac OS X 10.13.4 17E202, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
[✓] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected devices (2 available)
"><pre class="notranslate"><code class="notranslate">flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.5-pre.10, on Mac OS X 10.13.4 17E202, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
[✓] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.1.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected devices (2 available)
</code></pre></div> | <p dir="auto">I'm using a TextField and have set its alignment to center.<br>
<code class="notranslate">body: new Container( color: Colors.blue, child: new Center( child: new TextField( decoration: new InputDecoration( hintText: "Anything goes here" ), textAlign: TextAlign.center, ), ), ),</code></p>
<p dir="auto">However, I have noticed that after I enter the first character, the cursor blinks at the beginning of the text field, after that the position stays at the center. This is only view-able after inputting the first character.</p> | 1 |
<p dir="auto">I wrote some code broken into roles. I tagged all the tasks in a role with the role name. The idea was to apply individual roles via <code class="notranslate">-t</code>, but I had trouble getting role dependencies to run.</p>
<p dir="auto">Ansible config to see the issue consists of three roles, each with a debug task which prints the role name. Roles <code class="notranslate">foo</code> and <code class="notranslate">bar</code> both depend on role <code class="notranslate">common</code>. All the tasks in a role are tagged with the role name. (See the patch with all the config below.)</p>
<p dir="auto">When applying the <code class="notranslate">bar</code> role using <code class="notranslate">-t</code>, the <code class="notranslate">common</code> role isn't invoked, even though <code class="notranslate">bar</code> depends on <code class="notranslate">common</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook -t bar -i hosts --connection=local playbook.yml
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [127.0.0.1]
TASK: [debug msg='bar'] *******************************************************
ok: [127.0.0.1] => {"item": "", "msg": "bar"}
PLAY RECAP ********************************************************************
127.0.0.1 : ok=2 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">$ ansible-playbook -t bar -i hosts --connection=local playbook.yml
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [127.0.0.1]
TASK: [debug msg='bar'] *******************************************************
ok: [127.0.0.1] => {"item": "", "msg": "bar"}
PLAY RECAP ********************************************************************
127.0.0.1 : ok=2 changed=0 unreachable=0 failed=0
</code></pre></div>
<p dir="auto">When applying the <code class="notranslate">foo</code> role I see the expected behavior, the tasks in <code class="notranslate">common</code> run because <code class="notranslate">foo</code> depends on <code class="notranslate">common</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible-playbook -t foo -i hosts --connection=local playbook.yml
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [127.0.0.1]
TASK: [debug msg='common'] ****************************************************
ok: [127.0.0.1] => {"item": "", "msg": "common"}
TASK: [debug msg='foo'] *******************************************************
ok: [127.0.0.1] => {"item": "", "msg": "foo"}
PLAY RECAP ********************************************************************
127.0.0.1 : ok=3 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">$ ansible-playbook -t foo -i hosts --connection=local playbook.yml
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [127.0.0.1]
TASK: [debug msg='common'] ****************************************************
ok: [127.0.0.1] => {"item": "", "msg": "common"}
TASK: [debug msg='foo'] *******************************************************
ok: [127.0.0.1] => {"item": "", "msg": "foo"}
PLAY RECAP ********************************************************************
127.0.0.1 : ok=3 changed=0 unreachable=0 failed=0
</code></pre></div>
<p dir="auto">One interesting thing I noticed is that reordering the roles in <code class="notranslate">playbook.yml</code> changes the behavior so that <code class="notranslate">common</code> runs with <code class="notranslate">bar</code> instead of <code class="notranslate">foo</code>.</p>
<p dir="auto">Here is the entire config:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="diff -uNr ansible/hosts ansible-role-dependencies-issue/hosts
--- ansible/hosts 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/hosts 2013-10-02 12:20:02.334617837 -0400
@@ -0,0 +1 @@
+127.0.0.1
diff -uNr ansible/playbook.yml ansible-role-dependencies-issue/playbook.yml
--- ansible/playbook.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/playbook.yml 2013-10-02 13:46:49.322634918 -0400
@@ -0,0 +1,6 @@
+---
+- hosts: all
+ roles:
+ #- { role: common, tags: [ 'common' ] }
+ - { role: foo, tags: [ 'foo' ] }
+ - { role: bar, tags: [ 'bar' ] }
diff -uNr ansible/roles/bar/meta/main.yml ansible-role-dependencies-issue/roles/bar/meta/main.yml
--- ansible/roles/bar/meta/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/bar/meta/main.yml 2013-10-02 09:59:56.426590262 -0400
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - { role: common }
diff -uNr ansible/roles/bar/tasks/main.yml ansible-role-dependencies-issue/roles/bar/tasks/main.yml
--- ansible/roles/bar/tasks/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/bar/tasks/main.yml 2013-10-02 09:43:57.334587115 -0400
@@ -0,0 +1,2 @@
+---
+- debug: msg='bar'
diff -uNr ansible/roles/common/meta/main.yml ansible-role-dependencies-issue/roles/common/meta/main.yml
--- ansible/roles/common/meta/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/common/meta/main.yml 2013-10-02 13:48:36.466635270 -0400
@@ -0,0 +1,2 @@
+---
+#allow_duplicates: yes
diff -uNr ansible/roles/common/tasks/main.yml ansible-role-dependencies-issue/roles/common/tasks/main.yml
--- ansible/roles/common/tasks/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/common/tasks/main.yml 2013-10-02 09:44:01.470587129 -0400
@@ -0,0 +1,2 @@
+---
+- debug: msg='common'
diff -uNr ansible/roles/foo/meta/main.yml ansible-role-dependencies-issue/roles/foo/meta/main.yml
--- ansible/roles/foo/meta/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/foo/meta/main.yml 2013-10-02 10:10:24.866592323 -0400
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - { role: common }
diff -uNr ansible/roles/foo/tasks/main.yml ansible-role-dependencies-issue/roles/foo/tasks/main.yml
--- ansible/roles/foo/tasks/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/foo/tasks/main.yml 2013-10-02 09:44:01.386587129 -0400
@@ -0,0 +1,2 @@
+---
+- debug: msg='foo'"><pre class="notranslate"><code class="notranslate">diff -uNr ansible/hosts ansible-role-dependencies-issue/hosts
--- ansible/hosts 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/hosts 2013-10-02 12:20:02.334617837 -0400
@@ -0,0 +1 @@
+127.0.0.1
diff -uNr ansible/playbook.yml ansible-role-dependencies-issue/playbook.yml
--- ansible/playbook.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/playbook.yml 2013-10-02 13:46:49.322634918 -0400
@@ -0,0 +1,6 @@
+---
+- hosts: all
+ roles:
+ #- { role: common, tags: [ 'common' ] }
+ - { role: foo, tags: [ 'foo' ] }
+ - { role: bar, tags: [ 'bar' ] }
diff -uNr ansible/roles/bar/meta/main.yml ansible-role-dependencies-issue/roles/bar/meta/main.yml
--- ansible/roles/bar/meta/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/bar/meta/main.yml 2013-10-02 09:59:56.426590262 -0400
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - { role: common }
diff -uNr ansible/roles/bar/tasks/main.yml ansible-role-dependencies-issue/roles/bar/tasks/main.yml
--- ansible/roles/bar/tasks/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/bar/tasks/main.yml 2013-10-02 09:43:57.334587115 -0400
@@ -0,0 +1,2 @@
+---
+- debug: msg='bar'
diff -uNr ansible/roles/common/meta/main.yml ansible-role-dependencies-issue/roles/common/meta/main.yml
--- ansible/roles/common/meta/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/common/meta/main.yml 2013-10-02 13:48:36.466635270 -0400
@@ -0,0 +1,2 @@
+---
+#allow_duplicates: yes
diff -uNr ansible/roles/common/tasks/main.yml ansible-role-dependencies-issue/roles/common/tasks/main.yml
--- ansible/roles/common/tasks/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/common/tasks/main.yml 2013-10-02 09:44:01.470587129 -0400
@@ -0,0 +1,2 @@
+---
+- debug: msg='common'
diff -uNr ansible/roles/foo/meta/main.yml ansible-role-dependencies-issue/roles/foo/meta/main.yml
--- ansible/roles/foo/meta/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/foo/meta/main.yml 2013-10-02 10:10:24.866592323 -0400
@@ -0,0 +1,3 @@
+---
+dependencies:
+ - { role: common }
diff -uNr ansible/roles/foo/tasks/main.yml ansible-role-dependencies-issue/roles/foo/tasks/main.yml
--- ansible/roles/foo/tasks/main.yml 1969-12-31 19:00:00.000000000 -0500
+++ ansible-role-dependencies-issue/roles/foo/tasks/main.yml 2013-10-02 09:44:01.386587129 -0400
@@ -0,0 +1,2 @@
+---
+- debug: msg='foo'
</code></pre></div> | <p dir="auto">Documentation on apt_repository module claims update_cache default value is yes. However, it only updates cache when declared explicitly, which means it is not yes by default.</p> | 0 |
<p dir="auto">My steps to repro:</p>
<ol dir="auto">
<li>Open Firefox 9 on Mac</li>
<li>Go to bootstrap main page (I'm assuming is working off 1.4.0 )</li>
<li>Scrolldown to look at dropdown input element. Style is broken.</li>
</ol> | <p dir="auto">The select form in chrome is displayed beatifully compared to firefox (at least my version 6.0.2) where you see an "ugly" arrow.</p>
<p dir="auto">I am not sure whether it can be solved or not and it isn't actually a bug.. It also happens in twitter preferences.</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=dpedowitz" rel="nofollow">David Pedowitz</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4774?redirect=false" rel="nofollow">SPR-4774</a></strong> and commented</p>
<p dir="auto">More brainstorming from training session in LA, 5/1/08 with Chris Beams, Tchavdar Ivanov (FIM) and myself.</p>
<p dir="auto"><code class="notranslate">@Validator</code> could be a class level annotation eligible for component scans, the methods of which could be annotated with <code class="notranslate">@Validate</code> (or similar) which would enable method/request param specific validation within the request handling workflow</p>
<ul dir="auto">
<li>Like the <code class="notranslate">@HandlerInterceptor</code> design (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398087974" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9447" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9447/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9447">#9447</a>) <code class="notranslate">@Validator</code> could take a list of <code class="notranslate">@Controller</code> classes for a more fine grained approach or <code class="notranslate">@Controller</code> could take a list of <code class="notranslate">@Validator</code> which would match the current register model (I think I like the later)</li>
</ul>
<p dir="auto"><code class="notranslate">@Validate</code> would define a method used to validate an <code class="notranslate">@RequestParam</code>, it'd might be neat if it handled superset of <code class="notranslate">@RequestParam</code> and <code class="notranslate">@RequestMapping</code> arguments for a very fine grained approach, i.e. <code class="notranslate">@Validate</code>("reward", method=RequestMethod.POST).</p>
<ul dir="auto">
<li>Another option would be to register the Validator with the <code class="notranslate">@RequestParam</code></li>
</ul>
<p dir="auto">Hope you dig the ideas</p>
<hr>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398048646" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/4803" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/4803/hovercard" href="https://github.com/spring-projects/spring-framework/issues/4803">#4803</a> Support for declarative validation (Hibernate Validator, anticipating JSR 303)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398150730" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14072" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14072/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14072">#14072</a> Improve support for registering Validator implementations in Spring MVC (<em><strong>"is superseded by"</strong></em>)</li>
</ul>
<p dir="auto">9 votes, 10 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=skaffman" rel="nofollow">Kenny MacLeod</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3219?redirect=false" rel="nofollow">SPR-3219</a></strong> and commented</p>
<p dir="auto">When using the form:options tag where the items data is a Map, the itemLabel and itemValue attributes are ignored. Instead, the rendering logic simply uses the toString() of the map key for the option's value, and the toString() of the map value as the option's label. This isn't much use when either the map key or value is a bean.</p>
<p dir="auto">A more sensible approach would be to use the itemValue attribute to retrieve a property of the map key, and the itemLabel attribute to retrieve a property of the map value.</p>
<p dir="auto">Alternatively, since Map.Entry is itself bean-compliant, the itemValue and itemLable values could be used as properties of the Map.Entry, e.g. itemValue="key.x" or itemLabel="value.y"</p>
<p dir="auto">This was previously raised as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398071360" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7349" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7349/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7349">#7349</a>, but I thought it warranted a bug report.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.2</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="398071360" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7349" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7349/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7349">#7349</a> Make itemLabel/itemValue meaningful in map-based option rendering? (<em><strong>"duplicates"</strong></em>)</li>
</ul> | 0 |
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
np.double(3.0,x=3.1,y=3.2,z=3.4,q=3.14)
np.double(3.0,x=3.1)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-s1">np</span>.<span class="pl-en">double</span>(<span class="pl-c1">3.0</span>,<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-c1">3.1</span>,<span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-c1">3.2</span>,<span class="pl-s1">z</span><span class="pl-c1">=</span><span class="pl-c1">3.4</span>,<span class="pl-s1">q</span><span class="pl-c1">=</span><span class="pl-c1">3.14</span>)
<span class="pl-s1">np</span>.<span class="pl-en">double</span>(<span class="pl-c1">3.0</span>,<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-c1">3.1</span>)</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="3.0"><pre class="notranslate"><code class="notranslate">3.0
</code></pre></div>
<p dir="auto">returns</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="np.double(x=3.1)"><pre class="notranslate"><code class="notranslate">np.double(x=3.1)
</code></pre></div>
<p dir="auto">returns</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0.0"><pre class="notranslate"><code class="notranslate">0.0
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto">No error, but too tolerant of keyword arguments</p>
<h3 dir="auto">NumPy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.20.2 3.8.10 (default, May 19 2021, 18:05:58)
[GCC 7.3.0]"><pre class="notranslate"><code class="notranslate">1.20.2 3.8.10 (default, May 19 2021, 18:05:58)
[GCC 7.3.0]
</code></pre></div> | <p dir="auto">Unlike the other scalar types, <code class="notranslate">numpy.float64</code> silently ignores unknown keyword arguments:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [17]: np.__version__
Out[17]: '1.20.0.dev0+f0171ba'
In [18]: np.float64(123, foobar="plate of shrimp")
Out[18]: 123.0"><pre class="notranslate"><code class="notranslate">In [17]: np.__version__
Out[17]: '1.20.0.dev0+f0171ba'
In [18]: np.float64(123, foobar="plate of shrimp")
Out[18]: 123.0
</code></pre></div>
<p dir="auto">The other types raise the exception <code class="notranslate">TypeError: function takes at most 1 argument (2 given)</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [19]: np.float32(123, foobar="plate of shrimp")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-19-2f7cf4afa2cb> in <module>
----> 1 np.float32(123, foobar="plate of shrimp")
TypeError: function takes at most 1 argument (2 given)
In [20]: np.uint32(123, foobar="plate of shrimp")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-20-8b32fef69395> in <module>
----> 1 np.uint32(123, foobar="plate of shrimp")
TypeError: function takes at most 1 argument (2 given)"><pre class="notranslate"><code class="notranslate">In [19]: np.float32(123, foobar="plate of shrimp")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-19-2f7cf4afa2cb> in <module>
----> 1 np.float32(123, foobar="plate of shrimp")
TypeError: function takes at most 1 argument (2 given)
In [20]: np.uint32(123, foobar="plate of shrimp")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-20-8b32fef69395> in <module>
----> 1 np.uint32(123, foobar="plate of shrimp")
TypeError: function takes at most 1 argument (2 given)
</code></pre></div> | 1 |
<p dir="auto">Prior to r69 SpotLight.target was being added to the scene when SpotLight or its parent was added to it, not anymore.</p>
<p dir="auto">Because of that changing SpotLight.target has no effect on the direction of the light anymore. Right now as a workaround SpotLight.target should be added to the scene manually, then light's direction will change when SpotLight.target.position will be updated.</p> | <p dir="auto">Bug: The changes to spotLight.target.position are not affecting.</p>
<p dir="auto">Normal work with r68: <a href="http://jsfiddle.net/doexclusive/jhoe4ynr/" rel="nofollow">http://jsfiddle.net/doexclusive/jhoe4ynr/</a><br>
Bug with r69 and from dev branch: <a href="http://jsfiddle.net/doexclusive/6dhdbpw9/" rel="nofollow">http://jsfiddle.net/doexclusive/6dhdbpw9/</a></p> | 1 |
<h5 dir="auto">Issue Type:</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 2.1.0 (devel <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/c5b4e194fa4fdc0b38bbead282c06295633c4727/hovercard" href="https://github.com/ansible/ansible/commit/c5b4e194fa4fdc0b38bbead282c06295633c4727"><tt>c5b4e19</tt></a>) last updated 2016/02/02 20:48:56 (GMT +200)</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Ubuntu 15.10</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">When running a playbook by specifying tags, fact gathering is skipped.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">Run any playbook with <code class="notranslate">--tags tagname</code>.</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">Facts should be gathered like in version before 2.0 when specifying tags.</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">Facts are not gathered when any tag is specified.</p> | <h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.0 (devel 49c15c8137) last updated 2016/01/31 08:09:48 (GMT +000)
lib/ansible/modules/core: (detached HEAD 93d02189f6) last updated 2016/01/31 08:32:26 (GMT +000)
lib/ansible/modules/extras: (detached HEAD fff5ae6994) last updated 2016/01/31 08:32:46 (GMT +000)
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.1.0 (devel 49c15c8137) last updated 2016/01/31 08:09:48 (GMT +000)
lib/ansible/modules/core: (detached HEAD 93d02189f6) last updated 2016/01/31 08:32:26 (GMT +000)
lib/ansible/modules/extras: (detached HEAD fff5ae6994) last updated 2016/01/31 08:32:46 (GMT +000)
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">Ansible Configuration:</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Ubuntu 14.04 LTS</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">The destructive integration test for apt_repository fails as of commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/5587b08335f223fff64f54ced6f2790b3d6ee6f0/hovercard" href="https://github.com/ansible/ansible/commit/5587b08335f223fff64f54ced6f2790b3d6ee6f0"><tt>5587b08</tt></a>.<br>
The test passes using commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/ceef202024423dd35ecef93f947d661f71c33e75/hovercard" href="https://github.com/ansible/ansible/commit/ceef202024423dd35ecef93f947d661f71c33e75"><tt>ceef202</tt></a> and earlier.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">Run the destructive integration test on test_apt_repository:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook destructive.yml -i inventory -e @integration_config.yml -v --tags test_apt_repository"><pre class="notranslate"><code class="notranslate">ansible-playbook destructive.yml -i inventory -e @integration_config.yml -v --tags test_apt_repository
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [test_apt_repository : set_fact] ******************************************
ok: [testhost] => {"ansible_facts": {"test_ppa_filename": "menulibre-dev", "test_ppa_key": "A7AD98A1", "test_ppa_name": "ppa:menulibre-dev/devel", "test_ppa_spec": "deb http://ppa.launchpad.net/menulibre-dev/devel/ubuntu trusty main"}, "changed": false}"><pre class="notranslate"><code class="notranslate">TASK [test_apt_repository : set_fact] ******************************************
ok: [testhost] => {"ansible_facts": {"test_ppa_filename": "menulibre-dev", "test_ppa_key": "A7AD98A1", "test_ppa_name": "ppa:menulibre-dev/devel", "test_ppa_spec": "deb http://ppa.launchpad.net/menulibre-dev/devel/ubuntu trusty main"}, "changed": false}
</code></pre></div>
<h5 dir="auto">Actual Results:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [test_apt_repository : set_fact] ******************************************
fatal: [testhost]: FAILED! => {"failed": true, "msg": "The conditional check 'ansible_distribution in ('Ubuntu', 'Debian')' failed. The error was: error while evaluating conditional (ansible_distribution in ('Ubuntu', 'Debian')): 'ansible_distribution' is undefined\n\nThe error appears to have been in '/root/ansible/test/integration/roles/test_apt_repository/tasks/main.yml': line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- include: 'apt.yml'\n ^ here\n"}
to retry, use: --limit @destructive.retry"><pre class="notranslate"><code class="notranslate">TASK [test_apt_repository : set_fact] ******************************************
fatal: [testhost]: FAILED! => {"failed": true, "msg": "The conditional check 'ansible_distribution in ('Ubuntu', 'Debian')' failed. The error was: error while evaluating conditional (ansible_distribution in ('Ubuntu', 'Debian')): 'ansible_distribution' is undefined\n\nThe error appears to have been in '/root/ansible/test/integration/roles/test_apt_repository/tasks/main.yml': line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- include: 'apt.yml'\n ^ here\n"}
to retry, use: --limit @destructive.retry
</code></pre></div> | 1 |
<p dir="auto">I have managed to find a session bug that is easily reproducible.</p>
<p dir="auto">First you have to enalbe database sessions, i did so by following this guide <a href="http://symfony.com/doc/current/cookbook/configuration/pdo_session_storage.html" rel="nofollow">http://symfony.com/doc/current/cookbook/configuration/pdo_session_storage.html</a></p>
<p dir="auto">Then you can create 2 actions like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/**
* @Route("/lol", name="myroute_lol")
*
*/
public function lolAction()
{
$this->container->get('session')->set('testsess', '[email protected]');
//send an email
$message = \Swift_Message::newInstance()
->setSubject('Test subject')
->setFrom('[email protected]')
->setTo('[email protected]')
->setBody($this->renderView('MyBundle:Default:mail.txt.twig', array('body' => 'some body text')))
;
$this->get('mailer')->send($message);
return $this->redirect($this->generateUrl('myroute_lol2'));
}
/**
* @Route("/lol2", name="myroute_lol2")
*/
public function lol2Action()
{
$email = $this->container->get('session')->get('testsess');
return new Response('email:'.$email);
}"><pre class="notranslate"><code class="notranslate">/**
* @Route("/lol", name="myroute_lol")
*
*/
public function lolAction()
{
$this->container->get('session')->set('testsess', '[email protected]');
//send an email
$message = \Swift_Message::newInstance()
->setSubject('Test subject')
->setFrom('[email protected]')
->setTo('[email protected]')
->setBody($this->renderView('MyBundle:Default:mail.txt.twig', array('body' => 'some body text')))
;
$this->get('mailer')->send($message);
return $this->redirect($this->generateUrl('myroute_lol2'));
}
/**
* @Route("/lol2", name="myroute_lol2")
*/
public function lol2Action()
{
$email = $this->container->get('session')->get('testsess');
return new Response('email:'.$email);
}
</code></pre></div>
<p dir="auto">If you clear you browser cookies then each time you go to the /lol url then you get redirected to /lol2 and the session returns an empty string for session variable 'testsess'<br>
If you refresh /lol2 then the second time it works and shows the correct value.</p>
<p dir="auto">It has something to do with mail. If you comment out the line where the send() happens then all is ok. It has something to do with not writing the session in the database after the completion of the execution of the action.</p>
<p dir="auto">I have debugged the swift mail bundle a bit and it seems that when send() is called the mail is saved in memory (spool memory, uses class Swift_MemorySpool), so i suppose mails are sent after the completion of the action, after the action returns, somewhat asynchronously i suppose.</p>
<p dir="auto">It seems that something happens in the code after the action returns a redirect.<br>
If you change the redirect and simply output something then the session is ok.</p>
<p dir="auto">This bug has 3 conditions, using mysql sessions, sending an email and then redirecting to another action.<br>
It is reproducible. I hope i didn't cause confusion.</p>
<p dir="auto">Thank you.</p>
<p dir="auto">P.S. using symfony 2.1.7</p> | <p dir="auto">Hi,</p>
<p dir="auto">probably I have found an issue in using form with Twig templates. I have a base Twig template source with which I check if a block is filled deeper in the hierarchy.</p>
<div class="highlight highlight-text-html-django notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# WebBundle:Default:base.html.twig
{% if block('body') is not empty %}
{% block body %}{% endblock %}
{% endif %}"><pre class="notranslate"># WebBundle:Default:base.html.twig
<span class="pl-e">{%</span> <span class="pl-k">if</span> <span class="pl-k">block</span>(<span class="pl-s">'body'</span>) <span class="pl-s">is</span> <span class="pl-k">not</span> <span class="pl-s">empty</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">block</span> <span class="pl-s">body</span> <span class="pl-e">%}{%</span> <span class="pl-k">endblock</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">endif</span> <span class="pl-e">%}</span></pre></div>
<p dir="auto">The following is the Twig template that inherit the previous template:</p>
<div class="highlight highlight-text-html-django notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# WebBundle:Default:form.html.twig
{% extends 'WebBundle:Default:base.html.twig' %}
{% block body %}
{{ form(form) }}
{% endblock %}"><pre class="notranslate"># WebBundle:Default:form.html.twig
<span class="pl-e">{%</span> <span class="pl-k">extends</span> <span class="pl-s">'WebBundle:Default:base.html.twig'</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">block</span> <span class="pl-s">body</span> <span class="pl-e">%}</span>
{{ form(form) }}
<span class="pl-e">{%</span> <span class="pl-k">endblock</span> <span class="pl-e">%}</span></pre></div>
<p dir="auto">In this way the form is left empty: ONLY THE <code class="notranslate"><FORM/></code> TAG IS PRINTED, but not its content.</p>
<p dir="auto">If I remove the condition in the first file it works properly, rendering the required form with all the fields, as expected.</p>
<div class="highlight highlight-text-html-django notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# WebBundle:Default:base.html.twig
{% block body %}{% endblock %}"><pre class="notranslate"># WebBundle:Default:base.html.twig
<span class="pl-e">{%</span> <span class="pl-k">block</span> <span class="pl-s">body</span> <span class="pl-e">%}{%</span> <span class="pl-k">endblock</span> <span class="pl-e">%}</span></pre></div>
<p dir="auto">Thank you.</p> | 0 |
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> c = '1'
'1': ASCII/Unicode U+0031 (category Nd: Number, decimal digit)
julia> c'
signal (11): Segmentation fault: 11
in expression starting at no file:0
unknown function (ip: 0xffffffffffffffff)
Allocations: 3423488 (Pool: 3422945; Big: 543); GC: 6"><pre class="notranslate">julia<span class="pl-k">></span> c <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">'</span>1<span class="pl-pds">'</span></span>
<span class="pl-s"><span class="pl-pds">'</span>1<span class="pl-pds">'</span></span>: ASCII<span class="pl-k">/</span>Unicode U<span class="pl-k">+</span><span class="pl-c1">0031</span> (category Nd<span class="pl-k">:</span> Number, decimal digit)
julia<span class="pl-k">></span> c<span class="pl-k">'</span>
signal (<span class="pl-c1">11</span>)<span class="pl-k">:</span> Segmentation fault<span class="pl-k">:</span> <span class="pl-c1">11</span>
in expression starting at no file<span class="pl-k">:</span><span class="pl-c1">0</span>
unknown <span class="pl-k">function</span> (ip<span class="pl-k">:</span> <span class="pl-c1">0xffffffffffffffff</span>)
Allocations<span class="pl-k">:</span> <span class="pl-c1">3423488</span> (Pool<span class="pl-k">:</span> <span class="pl-c1">3422945</span>; Big<span class="pl-k">:</span> <span class="pl-c1">543</span>); GC<span class="pl-k">:</span> <span class="pl-c1">6</span></pre></div> | <p dir="auto">A surprising way to trigger a surprising error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> ""'
julia: /home/jeff/src/julia/src/codegen.cpp:1378: jl_generic_fptr_t jl_generate_fptr(jl_method_instance_t*, const char*, size_t): Assertion `fptr.fptr != __null' failed.
signal (6): Aborted
in expression starting at no file:0
raise at /build/buildd/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56
abort at /build/buildd/eglibc-2.19/stdlib/abort.c:89
__assert_fail_base at /build/buildd/eglibc-2.19/assert/assert.c:92
__assert_fail at /build/buildd/eglibc-2.19/assert/assert.c:101
jl_generate_fptr at /home/jeff/src/julia/src/codegen.cpp:1378
jl_compile_method_internal at /home/jeff/src/julia/src/julia_internal.h:367 [inlined]
jl_call_method_internal at /home/jeff/src/julia/src/julia_internal.h:395 [inlined]
jl_apply_generic at /home/jeff/src/julia/src/gf.c:2081
inline_call at ./inference.jl:5361
inline_expr at ./inference.jl:5273
jl_call_fptr_internal at /home/jeff/src/julia/src/julia_internal.h:380 [inlined]
jl_call_method_internal at /home/jeff/src/julia/src/julia_internal.h:399 [inlined]
jl_apply_generic at /home/jeff/src/julia/src/gf.c:2081
inline_expr at ./inference.jl:5277
inlining_pass! at ./inference.jl:5257
optimize at ./inference.jl:3759"><pre class="notranslate"><code class="notranslate">julia> ""'
julia: /home/jeff/src/julia/src/codegen.cpp:1378: jl_generic_fptr_t jl_generate_fptr(jl_method_instance_t*, const char*, size_t): Assertion `fptr.fptr != __null' failed.
signal (6): Aborted
in expression starting at no file:0
raise at /build/buildd/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56
abort at /build/buildd/eglibc-2.19/stdlib/abort.c:89
__assert_fail_base at /build/buildd/eglibc-2.19/assert/assert.c:92
__assert_fail at /build/buildd/eglibc-2.19/assert/assert.c:101
jl_generate_fptr at /home/jeff/src/julia/src/codegen.cpp:1378
jl_compile_method_internal at /home/jeff/src/julia/src/julia_internal.h:367 [inlined]
jl_call_method_internal at /home/jeff/src/julia/src/julia_internal.h:395 [inlined]
jl_apply_generic at /home/jeff/src/julia/src/gf.c:2081
inline_call at ./inference.jl:5361
inline_expr at ./inference.jl:5273
jl_call_fptr_internal at /home/jeff/src/julia/src/julia_internal.h:380 [inlined]
jl_call_method_internal at /home/jeff/src/julia/src/julia_internal.h:399 [inlined]
jl_apply_generic at /home/jeff/src/julia/src/gf.c:2081
inline_expr at ./inference.jl:5277
inlining_pass! at ./inference.jl:5257
optimize at ./inference.jl:3759
</code></pre></div> | 1 |
<ul dir="auto">
<li>Electron version: 1.4.15</li>
<li>Operating system: OSX 10.12.2</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">MenuItem with role should be disabled when a set a menuItem with <code class="notranslate">enabled:false</code></p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">MenuItem with role are not disabled whereas a MenuItem without role is correctly disabled</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">I made a small repo that shows the bug : <a href="https://github.com/jbleuzen/electron-menu">https://github.com/jbleuzen/electron-menu</a></p>
<p dir="auto">If you have any questions... :)</p> | <ul dir="auto">
<li>Electron version: 1.1.0</li>
<li>Operating system: MacOS</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
var template = [{
accelerator: 'CmdOrCtrl+Z',
click: function (item, win) {
},
enabled: false
},
{
accelerator: 'CmdOrCtrl+Y',
click: function (item, win) {
},
enabled: false
},
{
accelerator: 'CmdOrCtrl+X',
role: 'cut',
enabled: false
},
{
accelerator: 'CmdOrCtrl+C',
role: 'copy',
enabled: false
},
{
accelerator: 'CmdOrCtrl+V',
role: 'paste',
enabled: false
},
{
accelerator: 'CmdOrCtrl+A',
role: 'selectall',
enabled: false
}]
contextMenu = Menu.buildFromTemplate(template);
contextMenu.popup(BrowserWindow.getFocusedWindow());"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">template</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+Z'</span><span class="pl-kos">,</span>
<span class="pl-en">click</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">item</span><span class="pl-kos">,</span> <span class="pl-s1">win</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">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+Y'</span><span class="pl-kos">,</span>
<span class="pl-en">click</span>: <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">item</span><span class="pl-kos">,</span> <span class="pl-s1">win</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">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+X'</span><span class="pl-kos">,</span>
<span class="pl-c1">role</span>: <span class="pl-s">'cut'</span><span class="pl-kos">,</span>
<span class="pl-c1">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+C'</span><span class="pl-kos">,</span>
<span class="pl-c1">role</span>: <span class="pl-s">'copy'</span><span class="pl-kos">,</span>
<span class="pl-c1">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+V'</span><span class="pl-kos">,</span>
<span class="pl-c1">role</span>: <span class="pl-s">'paste'</span><span class="pl-kos">,</span>
<span class="pl-c1">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">accelerator</span>: <span class="pl-s">'CmdOrCtrl+A'</span><span class="pl-kos">,</span>
<span class="pl-c1">role</span>: <span class="pl-s">'selectall'</span><span class="pl-kos">,</span>
<span class="pl-c1">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span>
<span class="pl-s1">contextMenu</span> <span class="pl-c1">=</span> <span class="pl-v">Menu</span><span class="pl-kos">.</span><span class="pl-en">buildFromTemplate</span><span class="pl-kos">(</span><span class="pl-s1">template</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">contextMenu</span><span class="pl-kos">.</span><span class="pl-en">popup</span><span class="pl-kos">(</span><span class="pl-v">BrowserWindow</span><span class="pl-kos">.</span><span class="pl-en">getFocusedWindow</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">Items with defined click, are disabled, others - no.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1834053/15673541/1b1a2646-2740-11e6-9a5c-766347373b18.png"><img width="157" alt="2016-05-31 14 57 37" src="https://cloud.githubusercontent.com/assets/1834053/15673541/1b1a2646-2740-11e6-9a5c-766347373b18.png" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">When using the scipy.optimize "nelder-mead" method it is currently not possible to specify the initial simplex values. Instead scipy automatically sets this to be (1+0.05)*x0. If a priori information on the optimization problem is available it makes sense to specify this.</p>
<p dir="auto">I have found several pull-requests in scipy that address this issue (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="42154407" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/3974" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/3974/hovercard" href="https://github.com/scipy/scipy/pull/3974">#3974</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="33147425" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/3634" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/3634/hovercard" href="https://github.com/scipy/scipy/pull/3634">#3634</a>, and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35686644" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/3729" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/3729/hovercard" href="https://github.com/scipy/scipy/pull/3729">#3729</a>) but none of these have been merged and all have not been edited for more than half a year.</p>
<p dir="auto">Is there reason these did not get merged? If so what would be required for something to be merged into a main scipy release?</p>
<p dir="auto">(If an issue is not the way to raise a discussion, my apologies. It appears the link to the mailinglist on the main page is broken)</p> | <p dir="auto">ndimage.binary_erosion fails if the <em>iterations</em> argument receives a float and is greater than 1. The issue does not occur if an int is used instead.</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto">Create a new anaconda environment using:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="conda create -n test python=2.7 scipy"><pre class="notranslate"><code class="notranslate">conda create -n test python=2.7 scipy
</code></pre></div>
<p dir="auto">Then run:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
from scipy.ndimage import binary_erosion
mask = np.array([0]*10)
mask = binary_erosion(mask, iterations=float(2))"><pre class="notranslate"><code class="notranslate">import numpy as np
from scipy.ndimage import binary_erosion
mask = np.array([0]*10)
mask = binary_erosion(mask, iterations=float(2))
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Error in `/home/user/miniconda2/envs/test/bin/python': double free or corruption (out): 0x000055da37d7d1c0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fa2a470a7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fa2a471337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fa2a471753c]
/home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so(+0x1df1)[0x7fa2708e9df1]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7d14)[0x7fa2a54f1ea4]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCode+0x1a)[0x7fa2a54f38ea]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5b30)[0x7fa2a54efcc0]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCode+0x1a)[0x7fa2a54f38ea]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5b30)[0x7fa2a54efcc0]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x7047a)[0x7fa2a547c47a]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x114320)[0x7fa2a5520320]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(Py_Main+0x55e)[0x7fa2a55209de]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fa2a46b3830]
======= Memory map: ========
55da36322000-55da36323000 r--p 00000000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36323000-55da36324000 r-xp 00001000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36324000-55da36325000 r--p 00002000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36325000-55da36326000 r--p 00002000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36326000-55da36327000 rw-p 00003000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da3727e000-55da38031000 rw-p 00000000 00:00 0 [heap]
7fa264000000-7fa264021000 rw-p 00000000 00:00 0
7fa264021000-7fa268000000 ---p 00000000 00:00 0
7fa26bb5a000-7fa26bba8000 r-xp 00000000 08:12 4589615 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_ni_label.so
7fa26bba8000-7fa26bda8000 ---p 0004e000 08:12 4589615 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_ni_label.so
7fa26bda8000-7fa26bdac000 rw-p 0004e000 08:12 4589615 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_ni_label.so
7fa26bdac000-7fa26bded000 rw-p 00000000 00:00 0
7fa26bded000-7fa26be19000 r-xp 00000000 08:12 4589726 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_hausdorff.so
7fa26be19000-7fa26c019000 ---p 0002c000 08:12 4589726 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_hausdorff.so
7fa26c019000-7fa26c01c000 rw-p 0002c000 08:12 4589726 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_hausdorff.so
7fa26c01c000-7fa26c01d000 rw-p 00000000 00:00 0
7fa26c01d000-7fa26c032000 r-xp 00000000 08:12 4589723 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_distance_wrap.so
7fa26c032000-7fa26c232000 ---p 00015000 08:12 4589723 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_distance_wrap.so
7fa26c232000-7fa26c233000 rw-p 00015000 08:12 4589723 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_distance_wrap.so
7fa26c233000-7fa26c25f000 r-xp 00000000 08:12 4589724 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_voronoi.so
7fa26c25f000-7fa26c45e000 ---p 0002c000 08:12 4589724 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_voronoi.so
7fa26c45e000-7fa26c462000 rw-p 0002b000 08:12 4589724 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_voronoi.so
7fa26c462000-7fa26c46b000 r-xp 00000000 08:12 4590369 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/messagestream.so
7fa26c46b000-7fa26c66b000 ---p 00009000 08:12 4590369 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/messagestream.so
7fa26c66b000-7fa26c66c000 rw-p 00009000 08:12 4590369 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/messagestream.so
7fa26c66c000-7fa26c6ac000 rw-p 00000000 00:00 0
7fa26c6ac000-7fa26c77f000 r-xp 00000000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c77f000-7fa26c97f000 ---p 000d3000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c97f000-7fa26c988000 rw-p 000d3000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c988000-7fa26c98a000 rw-p 00000000 00:00 0
7fa26c98a000-7fa26c990000 rw-p 003a6000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c990000-7fa26ca28000 r-xp 00000000 08:12 4589725 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/ckdtree.so
7fa26ca28000-7fa26cc27000 ---p 00098000 08:12 4589725 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/ckdtree.so
7fa26cc27000-7fa26cc2f000 rw-p 00097000 08:12 4589725 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/ckdtree.so
7fa26cc2f000-7fa26cc30000 rw-p 00000000 00:00 0
7fa26cc30000-7fa26cc7b000 r-xp 00000000 08:12 4589426 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_reordering.so
7fa26cc7b000-7fa26ce7b000 ---p 0004b000 08:12 4589426 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_reordering.so
7fa26ce7b000-7fa26ce80000 rw-p 0004b000 08:12 4589426 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_reordering.so
7fa26ce80000-7fa26ce81000 rw-p 00000000 00:00 0
7fa26ce81000-7fa26ceaf000 r-xp 00000000 08:12 4589425 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_min_spanning_tree.so
7fa26ceaf000-7fa26d0ae000 ---p 0002e000 08:12 4589425 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_min_spanning_tree.so
7fa26d0ae000-7fa26d0b2000 rw-p 0002d000 08:12 4589425 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_min_spanning_tree.so
7fa26d0b2000-7fa26d0b3000 rw-p 00000000 00:00 0
7fa26d0b3000-7fa26d0d3000 r-xp 00000000 08:12 4589424 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_traversal.so
7fa26d0d3000-7fa26d2d3000 ---p 00020000 08:12 4589424 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_traversal.so
7fa26d2d3000-7fa26d2d7000 rw-p 00020000 08:12 4589424 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_traversal.so
7fa26d2d7000-7fa26d2f9000 r-xp 00000000 08:12 4589429 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_tools.so
7fa26d2f9000-7fa26d4f9000 ---p 00022000 08:12 4589429 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_tools.so
7fa26d4f9000-7fa26d4fd000 rw-p 00022000 08:12 4589429 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_tools.so
7fa26d4fd000-7fa26d534000 r-xp 00000000 08:12 4589427 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_shortest_path.so
7fa26d534000-7fa26d733000 ---p 00037000 08:12 4589427 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_shortest_path.so
7fa26d733000-7fa26d73a000 rw-p 00036000 08:12 4589427 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_shortest_path.so
7fa26d73a000-7fa26d7a2000 r-xp 00000000 08:12 4589391 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_csparsetools.so
7fa26d7a2000-7fa26d9a2000 ---p 00068000 08:12 4589391 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_csparsetools.so
7fa26d9a2000-7fa26d9a8000 rw-p 00068000 08:12 4589391 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_csparsetools.so
7fa26d9a8000-7fa26d9e9000 rw-p 00000000 00:00 0
7fa26d9e9000-7fa26dd24000 r-xp 00000000 08:12 4589406 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
7fa26dd24000-7fa26df24000 ---p 0033b000 08:12 4589406 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
7fa26df24000-7fa26df25000 rw-p 0033b000 08:12 4589406 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
7fa26df25000-7fa26df65000 rw-p 00000000 00:00 0
7fa26df65000-7fa26dfb6000 r-xp 00000000 08:12 4589942 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/interpnd.so
7fa26dfb6000-7fa26e1b5000 ---p 00051000 08:12 4589942 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/interpnd.so
7fa26e1b5000-7fa26e1ba000 rw-p 00050000 08:12 4589942 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/interpnd.so
7fa26e1ba000-7fa26e1bb000 rw-p 00000000 00:00 0
7fa26e1bb000-7fa26e209000 r-xp 00000000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e209000-7fa26e409000 ---p 0004e000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e409000-7fa26e40f000 rw-p 0004e000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e40f000-7fa26e410000 rw-p 00000000 00:00 0
7fa26e410000-7fa26e414000 rw-p 0017c000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e414000-7fa26e452000 r-xp 00000000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e452000-7fa26e651000 ---p 0003e000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e651000-7fa26e657000 rw-p 0003d000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e657000-7fa26e658000 rw-p 00000000 00:00 0
7fa26e658000-7fa26e65b000 rw-p 00134000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e65b000-7fa26e6ba000 r-xp 00000000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e6ba000-7fa26e8ba000 ---p 0005f000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e8ba000-7fa26e8c1000 rw-p 0005f000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e8c1000-7fa26e8c3000 rw-p 000b0000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e8c3000-7fa26e8f7000 r-xp 00000000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26e8f7000-7fa26eaf7000 ---p 00034000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26eaf7000-7fa26eaf8000 rw-p 00034000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26eaf8000-7fa26eafa000 rw-p 0004d000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26eafa000-7fa26eb0b000 r-xp 00000000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26eb0b000-7fa26ed0a000 ---p 00011000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26ed0a000-7fa26ed0c000 rw-p 00010000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26ed0c000-7fa26ed10000 rw-p 00051000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26ed10000-7fa26ed16000 r-xp 00000000 08:12 4590015 /home/user/.local/lib/python2.7/site-packages/scipy/special/_comb.so
7fa26ed16000-7fa26ef16000 ---p 00006000 08:12 4590015 /home/user/.local/lib/python2.7/site-packages/scipy/special/_comb.so
7fa26ef16000-7fa26ef17000 rw-p 00006000 08:12 4590015 /home/user/.local/lib/python2.7/site-packages/scipy/special/_comb.so
7fa26ef17000-7fa26efcd000 r-xp 00000000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26efcd000-7fa26f1cc000 ---p 000b6000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26f1cc000-7fa26f1d3000 rw-p 000b5000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26f1d3000-7fa26f1d5000 rw-p 000f6000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26f1d5000-7fa26f1f1000 r-xp 00000000 08:12 4589999 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
7fa26f1f1000-7fa26f3f0000 ---p 0001c000 08:12 4589999 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
7fa26f3f0000-7fa26f3f2000 rw-p 0001b000 08:12 4589999 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
7fa26f3f2000-7fa26f571000 r-xp 00000000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f571000-7fa26f770000 ---p 0017f000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f770000-7fa26f779000 rw-p 0017e000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f779000-7fa26f781000 rw-p 00000000 00:00 0
7fa26f781000-7fa26f786000 rw-p 0039c000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f786000-7fa26f811000 r-xp 00000000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26f811000-7fa26fa10000 ---p 0008b000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26fa10000-7fa26fa14000 rw-p 0008a000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26fa14000-7fa26fa25000 rw-p 001d6000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26fa25000-7fa26fa62000 r-xp 00000000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fa62000-7fa26fc62000 ---p 0003d000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fc62000-7fa26fc66000 rw-p 0003d000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fc66000-7fa26fc6d000 rw-p 00127000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fc6d000-7fa26fcb4000 r-xp 00000000 08:12 4589807 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_decomp_update.so
7fa26fcb4000-7fa26feb3000 ---p 00047000 08:12 4589807 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_decomp_update.so
7fa26feb3000-7fa26feb9000 rw-p 00046000 08:12 4589807 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_decomp_update.so
7fa26feb9000-7fa26feba000 rw-p 00000000 00:00 0
7fa26feba000-7fa26fef1000 r-xp 00000000 08:12 4589826 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_solve_toeplitz.so
7fa26fef1000-7fa2700f0000 ---p 00037000 08:12 4589826 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_solve_toeplitz.so
7fa2700f0000-7fa2700f4000 rw-p 00036000 08:12 4589826 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_solve_toeplitz.so
7fa2700f4000-7fa2700f5000 rw-p 00000000 00:00 0
7fa2700f5000-7fa270102000 r-xp 00000000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270102000-7fa270302000 ---p 0000d000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270302000-7fa270305000 rw-p 0000d000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270305000-7fa270308000 rw-p 0002a000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270308000-7fa2703f1000 r-xp 00000000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa2703f1000-7fa2705f1000 ---p 000e9000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa2705f1000-7fa270646000 rw-p 000e9000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa270646000-7fa27064e000 rw-p 0030d000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa27064e000-7fa2706bd000 r-xp 00000000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2706bd000-7fa2708bd000 ---p 0006f000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2708bd000-7fa2708e3000 rw-p 0006f000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2708e3000-7fa2708e8000 rw-p 00154000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2708e8000-7fa270903000 r-xp 00000000 08:12 4589597 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so
7fa270903000-7fa270b02000 ---p 0001b000 08:12 4589597 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so
7fa270b02000-7fa270b03000 rw-p 0001a000 08:12 4589597 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so
7fa270b03000-7fa270b10000 r-xp 00000000 08:12 4590377 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/_ccallback_c.so
7fa270b10000-7fa270d10000 ---p 0000d000 08:12 4590377 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/_ccallback_c.so
7fa270d10000-7fa270d12000 rw-p 0000d000 08:12 4590377 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/_ccallback_c.so
7fa270d12000-7fa270dcd000 r-xp 00000000 08:12 4588854 /home/user/.local/lib/python2.7/site-packages/numpy/random/mtrand.so
7fa270dcd000-7fa270fcd000 ---p 000bb000 08:12 4588854 /home/user/.local/lib/python2.7/site-packages/numpy/random/mtrand.so
7fa270fcd000-7fa270ff2000 rw-p 000bb000 08:12 4588854 /home/user/.local/lib/python2.7/site-packages/numpy/random/mtrand.so
7fa270ff2000-7fa270ff4000 rw-p 00000000 00:00 0
7fa270ff4000-7fa270ffd000 r-xp 00000000 08:12 4588528 /home/user/.local/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
7fa270ffd000-7fa2711fc000 ---p 00009000 08:12 4588528 /home/user/.local/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
7fa2711fc000-7fa2711fd000 rw-p 00008000 08:12 4588528 /home/user/.local/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
7fa2711fd000-7fa271226000 r-xp 00000000 08:12 4588997 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
7fa271226000-7fa271425000 ---p 00029000 08:12 4588997 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
7fa271425000-7fa27142a000 rw-p 00028000 08:12 4588997 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
7fa27142a000-7fa27142e000 r-xp 00000000 08:12 4589002 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
7fa27142e000-7fa27162e000 ---p 00004000 08:12 4589002 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
7fa27162e000-7fa271631000 rw-p 00004000 08:12 4589002 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
7fa271631000-7fa2717c9000 r-xp 00000000 08:12 4588568 /home/user/.local/lib/python2.7/site-packages/numpy/core/umath.so
7fa2717c9000-7fa2719c9000 ---p 00198000 08:12 4588568 /home/user/.local/lib/python2.7/site-packages/numpy/core/umath.so
7fa2719c9000-7fa2719cf000 rw-p 00198000 08:12 4588568 /home/user/.local/lib/python2.7/site-packages/numpy/core/umath.so
7fa2719cf000-7fa2719d1000 rw-p 00000000 00:00 0
7fa2719d1000-7fa27d9d1000 rw-p 00000000 00:00 0
7fa27d9d1000-7fa27d9d2000 ---p 00000000 00:00 0
7fa27d9d2000-7fa27e1d2000 rw-p 00000000 00:00 0
7fa27e1d2000-7fa27e1d3000 ---p 00000000 00:00 0
7fa27e1d3000-7fa27e9d3000 rw-p 00000000 00:00 0
7fa27e9d3000-7fa27e9d4000 ---p 00000000 00:00 0
7fa27e9d4000-7fa27f1d4000 rw-p 00000000 00:00 0
7fa27f1d4000-7fa27f1d5000 ---p 00000000 00:00 0
7fa27f1d5000-7fa27f9d5000 rw-p 00000000 00:00 0
7fa27f9d5000-7fa2819d5000 rw-p 00000000 00:00 0
7fa2819d5000-7fa283ce9000 r-xp 00000000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa283ce9000-7fa283ee8000 ---p 02314000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa283ee8000-7fa283f07000 rw-p 02313000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa283f07000-7fa283f6a000 rw-p 00000000 00:00 0
7fa283f6a000-7fa284000000 rw-p 02425000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa284000000-7fa28403c000 rw-p 00000000 00:00 0
7fa28403c000-7fa288000000 ---p 00000000 00:00 0
7fa288000000-7fa288021000 rw-p 00000000 00:00 0
7fa288021000-7fa28c000000 ---p 00000000 00:00 0
7fa28c000000-7fa28c021000 rw-p 00000000 00:00 0
7fa28c021000-7fa290000000 ---p 00000000 00:00 0
7fa290030000-7fa2900f0000 rw-p 00000000 00:00 0
7fa2900f0000-7fa2900f1000 ---p 00000000 00:00 0
7fa2900f1000-7fa2908f1000 rw-p 00000000 00:00 0
7fa2908f1000-7fa2908f2000 ---p 00000000 00:00 0
7fa2908f2000-7fa2910f2000 rw-p 00000000 00:00 0
7fa2910f2000-7fa2910f3000 ---p 00000000 00:00 0
7fa2910f3000-7fa2918f3000 rw-p 00000000 00:00 0
7fa2918f3000-7fa2919e3000 r-xp 00000000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa2919e3000-7fa291be2000 ---p 000f0000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa291be2000-7fa291be4000 rw-p 000ef000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa291be4000-7fa291be5000 rw-p 00000000 00:00 0
7fa291be5000-7fa291bed000 rw-p 000f2000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa291bed000-7fa291dc5000 r-xp 00000000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291dc5000-7fa291fc4000 ---p 001d8000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291fc4000-7fa291fdd000 rw-p 001d7000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291fdd000-7fa291ff6000 rw-p 00000000 00:00 0
7fa291ff6000-7fa291ffc000 rw-p 001f1000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291ffc000-7fa291ffd000 ---p 00000000 00:00 0
7fa291ffd000-7fa2927fd000 rw-p 00000000 00:00 0
7fa2927fd000-7fa2927fe000 ---p 00000000 00:00 0
7fa2927fe000-7fa292ffe000 rw-p 00000000 00:00 0
7fa292ffe000-7fa292fff000 ---p 00000000 00:00 0
7fa292fff000-7fa2937ff000 rw-p 00000000 00:00 0
7fa2937ff000-7fa293800000 ---p 00000000 00:00 0
7fa293800000-7fa294000000 rw-p 00000000 00:00 0
7fa294000000-7fa294021000 rw-p 00000000 00:00 0
7fa294021000-7fa298000000 ---p 00000000 00:00 0
7fa298000000-7fa298021000 rw-p 00000000 00:00 0
7fa298021000-7fa29c000000 ---p 00000000 00:00 0
7fa29c000000-7fa29c051000 rw-p 00000000 00:00 0
7fa29c051000-7fa2a0000000 ---p 00000000 00:00 0
7fa2a0033000-7fa2a03b3000 rw-p 00000000 00:00 0
7fa2a03b3000-7fa2a03b4000 ---p 00000000 00:00 0
7fa2a03b4000-7fa2a0bb4000 rw-p 00000000 00:00 0
7fa2a0bb4000-7fa2a0bb5000 ---p 00000000 00:00 0
7fa2a0bb5000-7fa2a13b5000 rw-p 00000000 00:00 0
7fa2a13b5000-7fa2a13b6000 ---p 00000000 00:00 0
7fa2a13b6000-7fa2a1bb6000 rw-p 00000000 00:00 0
7fa2a1bb6000-7fa2a1bb7000 ---p 00000000 00:00 0
7fa2a1bb7000-7fa2a2738000 rw-p 00000000 00:00 0
7fa2a2738000-7fa2a273b000 r--p 00000000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a273b000-7fa2a273e000 r-xp 00003000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a273e000-7fa2a273f000 r--p 00006000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a273f000-7fa2a2740000 ---p 00007000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a2740000-7fa2a2741000 r--p 00007000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a2741000-7fa2a2742000 rw-p 00008000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a2742000-7fa2a2752000 r--p 00000000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a2752000-7fa2a276a000 r-xp 00010000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a276a000-7fa2a277a000 r--p 00028000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a277a000-7fa2a277e000 r--p 00037000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a277e000-7fa2a277f000 rw-p 0003b000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a277f000-7fa2a278b000 r--p 00000000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a278b000-7fa2a27b0000 r-xp 0000c000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27b0000-7fa2a27b9000 r--p 00031000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27b9000-7fa2a27ba000 r--p 00039000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27ba000-7fa2a27bb000 rw-p 0003a000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27bb000-7fa2a27c1000 r--p 00000000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27c1000-7fa2a27cb000 r-xp 00006000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27cb000-7fa2a27cf000 r--p 00010000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27cf000-7fa2a27d0000 r--p 00013000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27d0000-7fa2a27d2000 rw-p 00014000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27d2000-7fa2a2812000 rw-p 00000000 00:00 0
7fa2a2812000-7fa2a2813000 r--p 00000000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2813000-7fa2a2814000 r-xp 00001000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2814000-7fa2a2815000 r--p 00002000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2815000-7fa2a2816000 r--p 00002000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2816000-7fa2a2817000 rw-p 00003000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2817000-7fa2a2857000 rw-p 00000000 00:00 0
7fa2a2857000-7fa2a2859000 r--p 00000000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a2859000-7fa2a285d000 r-xp 00002000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a285d000-7fa2a285e000 r--p 00006000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a285e000-7fa2a285f000 r--p 00006000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a285f000-7fa2a2860000 rw-p 00007000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a2860000-7fa2a28a0000 rw-p 00000000 00:00 0
7fa2a28a0000-7fa2a28a3000 r--p 00000000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28a3000-7fa2a28a8000 r-xp 00003000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28a8000-7fa2a28aa000 r--p 00008000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28aa000-7fa2a28ab000 r--p 00009000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28ab000-7fa2a28ac000 rw-p 0000a000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28ac000-7fa2a28af000 r--p 00000000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28af000-7fa2a28b5000 r-xp 00003000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b5000-7fa2a28b7000 r--p 00009000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b7000-7fa2a28b8000 r--p 0000a000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b8000-7fa2a28b9000 rw-p 0000b000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b9000-7fa2a28bc000 r--p 00000000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28bc000-7fa2a28be000 r-xp 00003000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28be000-7fa2a28bf000 r--p 00005000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28bf000-7fa2a28c0000 ---p 00006000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28c0000-7fa2a28c1000 r--p 00006000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28c1000-7fa2a28c2000 rw-p 00007000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28c2000-7fa2a28c6000 r--p 00000000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28c6000-7fa2a28d1000 r-xp 00004000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d1000-7fa2a28d3000 r--p 0000f000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d3000-7fa2a28d4000 ---p 00011000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d4000-7fa2a28d5000 r--p 00011000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d5000-7fa2a28d6000 rw-p 00012000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d6000-7fa2a28d7000 rw-p 00000000 00:00 0
7fa2a28d7000-7fa2a28dd000 r--p 00000000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28dd000-7fa2a28f2000 r-xp 00006000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28f2000-7fa2a28f6000 r--p 0001b000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28f6000-7fa2a28f7000 r--p 0001e000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28f7000-7fa2a28fb000 rw-p 0001f000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28fb000-7fa2a293c000 rw-p 00000000 00:00 0
7fa2a293c000-7fa2a293f000 r--p 00000000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a293f000-7fa2a294b000 r-xp 00003000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a294b000-7fa2a294e000 r--p 0000f000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a294e000-7fa2a294f000 r--p 00011000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a294f000-7fa2a2950000 rw-p 00012000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a2950000-7fa2a29e4000 r--p 00000000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a29e4000-7fa2a2a4a000 r-xp 00094000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a4a000-7fa2a2a81000 r--p 000fa000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a81000-7fa2a2a8b000 r--p 00130000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a8b000-7fa2a2a8f000 rw-p 0013a000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a8f000-7fa2a2a92000 rw-p 00000000 00:00 0
7fa2a2a92000-7fa2a2a99000 r-xp 00000000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2a99000-7fa2a2c98000 ---p 00007000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2c98000-7fa2a2c99000 r--p 00006000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2c99000-7fa2a2c9a000 rw-p 00007000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2c9e000-7fa2a2ca1000 r--p 00000000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca1000-7fa2a2ca6000 r-xp 00003000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca6000-7fa2a2ca8000 r--p 00008000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca8000-7fa2a2ca9000 r--p 00009000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca9000-7fa2a2caa000 rw-p 0000a000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2caa000-7fa2a2cae000 r--p 00000000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cae000-7fa2a2cb7000 r-xp 00004000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cb7000-7fa2a2cba000 r--p 0000d000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cba000-7fa2a2cbb000 r--p 0000f000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cbb000-7fa2a2cbd000 rw-p 00010000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cbd000-7fa2a2cc3000 r--p 00000000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cc3000-7fa2a2cd0000 r-xp 00006000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd0000-7fa2a2cd3000 r--p 00013000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd3000-7fa2a2cd4000 ---p 00016000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd4000-7fa2a2cd5000 r--p 00016000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd5000-7fa2a2cd7000 rw-p 00017000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd7000-7fa2a2cd8000 rw-p 00000000 00:00 0
7fa2a2cd8000-7fa2a2ce6000 r--p 00000000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2ce6000-7fa2a2d1b000 r-xp 0000e000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d1b000-7fa2a2d2c000 r--p 00043000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2c000-7fa2a2d2d000 ---p 00054000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2d000-7fa2a2d2e000 r--p 00054000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2e000-7fa2a2d2f000 rw-p 00055000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2f000-7fa2a2d42000 r--p 00000000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2d42000-7fa2a2d9f000 r-xp 00013000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2d9f000-7fa2a2db7000 r--p 00070000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2db7000-7fa2a2dbe000 r--p 00087000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2dbe000-7fa2a2dbf000 rw-p 0008e000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2dbf000-7fa2a2dc2000 r--p 00000000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc2000-7fa2a2dc5000 r-xp 00003000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc5000-7fa2a2dc6000 r--p 00006000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc6000-7fa2a2dc7000 ---p 00007000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc7000-7fa2a2dc8000 r--p 00007000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc8000-7fa2a2dc9000 rw-p 00008000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc9000-7fa2a2dcd000 r--p 00000000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dcd000-7fa2a2dd7000 r-xp 00004000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dd7000-7fa2a2dd9000 r--p 0000e000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dd9000-7fa2a2dda000 r--p 0000f000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dda000-7fa2a2ddd000 rw-p 00010000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2ddd000-7fa2a2e5d000 rw-p 00000000 00:00 0
7fa2a2e5d000-7fa2a2e5f000 r--p 00000000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e5f000-7fa2a2e61000 r-xp 00002000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e61000-7fa2a2e62000 r--p 00004000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e62000-7fa2a2e63000 r--p 00004000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e63000-7fa2a2e64000 rw-p 00005000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e64000-7fa2a2ee4000 rw-p 00000000 00:00 0
7fa2a2ee4000-7fa2a2ee7000 r--p 00000000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2ee7000-7fa2a2eea000 r-xp 00003000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2eea000-7fa2a2f7c000 r--p 00006000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2f7c000-7fa2a2f7d000 r--p 00097000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2f7d000-7fa2a2f90000 rw-p 00098000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2f90000-7fa2a2f93000 r--p 00000000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f93000-7fa2a2f99000 r-xp 00003000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f99000-7fa2a2f9b000 r--p 00009000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f9b000-7fa2a2f9c000 r--p 0000a000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f9c000-7fa2a2f9e000 rw-p 0000b000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f9e000-7fa2a315e000 rw-p 00000000 00:00 0
7fa2a315e000-7fa2a315f000 r--p 00000000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a315f000-7fa2a3160000 r-xp 00001000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3160000-7fa2a3161000 r--p 00002000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3161000-7fa2a3162000 r--p 00002000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3162000-7fa2a3163000 rw-p 00003000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3163000-7fa2a3263000 rw-p 00000000 00:00 0
7fa2a3263000-7fa2a3273000 r--p 00000000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3273000-7fa2a3345000 r-xp 00010000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3345000-7fa2a3374000 r--p 000e2000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3374000-7fa2a3375000 ---p 00111000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3375000-7fa2a3379000 r--p 00111000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3379000-7fa2a337c000 rw-p 00115000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a337c000-7fa2a3384000 r--p 00000000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3384000-7fa2a338c000 r-xp 00008000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a338c000-7fa2a338f000 r--p 00010000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a338f000-7fa2a3390000 ---p 00013000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3390000-7fa2a3391000 r--p 00013000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3391000-7fa2a3393000 rw-p 00014000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3393000-7fa2a33d3000 rw-p 00000000 00:00 0
7fa2a33d3000-7fa2a33d7000 r--p 00000000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33d7000-7fa2a33e5000 r-xp 00004000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33e5000-7fa2a33e8000 r--p 00012000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33e8000-7fa2a33e9000 ---p 00015000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33e9000-7fa2a33ea000 r--p 00015000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33ea000-7fa2a33eb000 rw-p 00016000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33eb000-7fa2a34eb000 rw-p 00000000 00:00 0
7fa2a34eb000-7fa2a34f0000 r--p 00000000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a34f0000-7fa2a34fe000 r-xp 00005000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a34fe000-7fa2a3502000 r--p 00013000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a3502000-7fa2a3503000 r--p 00016000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a3503000-7fa2a3506000 rw-p 00017000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a3506000-7fa2a3547000 rw-p 00000000 00:00 0
7fa2a3547000-7fa2a3549000 r--p 00000000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a3549000-7fa2a354b000 r-xp 00002000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354b000-7fa2a354c000 r--p 00004000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354c000-7fa2a354d000 r--p 00004000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354d000-7fa2a354e000 rw-p 00005000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354e000-7fa2a360e000 rw-p 00000000 00:00 0
7fa2a360e000-7fa2a3610000 r--p 00000000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3610000-7fa2a3615000 r-xp 00002000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3615000-7fa2a3616000 r--p 00007000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3616000-7fa2a3617000 r--p 00007000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3617000-7fa2a3618000 rw-p 00008000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3618000-7fa2a3620000 r--p 00000000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3620000-7fa2a3630000 r-xp 00008000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3630000-7fa2a3636000 r--p 00018000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3636000-7fa2a3637000 r--p 0001d000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3637000-7fa2a363b000 rw-p 0001e000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a363b000-7fa2a36bb000 rw-p 00000000 00:00 0
7fa2a36bb000-7fa2a36bc000 r--p 00000000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36bc000-7fa2a36bd000 r-xp 00001000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36bd000-7fa2a36be000 r--p 00002000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36be000-7fa2a36bf000 r--p 00002000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36bf000-7fa2a36c0000 rw-p 00003000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36c0000-7fa2a3700000 rw-p 00000000 00:00 0
7fa2a3700000-7fa2a37ad000 r--p 00000000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a37ad000-7fa2a39a7000 r-xp 000ad000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a39a7000-7fa2a3a40000 r--p 002a7000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a3a40000-7fa2a3a78000 r--p 0033f000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a3a78000-7fa2a3a81000 rw-p 00377000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a3a81000-7fa2a3a84000 rw-p 00000000 00:00 0
7fa2a3a84000-7fa2a3a89000 r--p 00000000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a89000-7fa2a3a93000 r-xp 00005000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a93000-7fa2a3a97000 r--p 0000f000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a97000-7fa2a3a98000 r--p 00012000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a98000-7fa2a3a9d000 rw-p 00013000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a9d000-7fa2a3b5d000 rw-p 00000000 00:00 0
7fa2a3b5d000-7fa2a3b66000 r--p 00000000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b66000-7fa2a3b79000 r-xp 00009000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b79000-7fa2a3b7e000 r--p 0001c000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b7e000-7fa2a3b7f000 r--p 00020000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b7f000-7fa2a3b88000 rw-p 00021000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b88000-7fa2a3c08000 rw-p 00000000 00:00 0
7fa2a3c08000-7fa2a3c8f000 r--p 00000000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3c8f000-7fa2a3e2d000 r-xp 00087000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3e2d000-7fa2a3ea6000 r--p 00225000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ea6000-7fa2a3ea7000 ---p 0029e000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ea7000-7fa2a3ed5000 r--p 0029e000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ed5000-7fa2a3ed8000 rw-p 002cc000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ed8000-7fa2a3fdb000 rw-p 00000000 00:00 0
7fa2a3fdc000-7fa2a40dc000 rw-p 00000000 00:00 0
7fa2a40dc000-7fa2a40de000 r--p 00000000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40de000-7fa2a40df000 r-xp 00002000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40df000-7fa2a40e0000 r--p 00003000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40e0000-7fa2a40e1000 r--p 00003000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40e1000-7fa2a40e2000 rw-p 00004000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40e2000-7fa2a4122000 rw-p 00000000 00:00 0
7fa2a4122000-7fa2a4123000 r--p 00000000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4123000-7fa2a4124000 r-xp 00001000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4124000-7fa2a4125000 r--p 00002000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4125000-7fa2a4126000 r--p 00002000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4126000-7fa2a4127000 rw-p 00003000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4127000-7fa2a412b000 r--p 00000000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a412b000-7fa2a413d000 r-xp 00004000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a413d000-7fa2a4140000 r--p 00016000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a4140000-7fa2a4141000 r--p 00018000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a4141000-7fa2a4144000 rw-p 00019000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a4144000-7fa2a4146000 r--p 00000000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a4146000-7fa2a4149000 r-xp 00002000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a4149000-7fa2a414a000 r--p 00005000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a414a000-7fa2a414b000 r--p 00005000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a414b000-7fa2a414d000 rw-p 00006000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a414d000-7fa2a418d000 rw-p 00000000 00:00 0
7fa2a418d000-7fa2a418f000 r--p 00000000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a418f000-7fa2a4191000 r-xp 00002000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4191000-7fa2a4192000 r--p 00004000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4192000-7fa2a4193000 r--p 00004000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4193000-7fa2a4195000 rw-p 00005000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4195000-7fa2a4198000 r--p 00000000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a4198000-7fa2a41a6000 r-xp 00003000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41a6000-7fa2a41ac000 r--p 00011000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41ac000-7fa2a41ad000 ---p 00017000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41ad000-7fa2a41ae000 r--p 00017000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41ae000-7fa2a41af000 rw-p 00018000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41af000-7fa2a41b1000 r--p 00000000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b1000-7fa2a41b4000 r-xp 00002000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b4000-7fa2a41b5000 r--p 00005000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b5000-7fa2a41b6000 ---p 00006000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b6000-7fa2a41b7000 r--p 00006000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b7000-7fa2a41b8000 rw-p 00007000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b8000-7fa2a41b9000 r--p 00000000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41b9000-7fa2a41bb000 r-xp 00001000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bb000-7fa2a41bc000 r--p 00003000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bc000-7fa2a41bd000 r--p 00003000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bd000-7fa2a41bf000 rw-p 00004000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bf000-7fa2a41c2000 r--p 00000000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41c2000-7fa2a41c8000 r-xp 00003000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41c8000-7fa2a41ca000 r--p 00009000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41ca000-7fa2a41cb000 ---p 0000b000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41cb000-7fa2a41cc000 r--p 0000b000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41cc000-7fa2a41d1000 rw-p 0000c000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41d1000-7fa2a41d6000 r--p 00000000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41d6000-7fa2a41d9000 r-xp 00005000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41d9000-7fa2a41db000 r--p 00008000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41db000-7fa2a41dc000 ---p 0000a000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41dc000-7fa2a41dd000 r--p 0000a000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41dd000-7fa2a41df000 rw-p 0000b000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41df000-7fa2a41e2000 r--p 00000000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e2000-7fa2a41e6000 r-xp 00003000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e6000-7fa2a41e7000 r--p 00007000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e7000-7fa2a41e8000 ---p 00008000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e8000-7fa2a41e9000 r--p 00008000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e9000-7fa2a41eb000 rw-p 00009000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41eb000-7fa2a422b000 rw-p 00000000 00:00 0
7fa2a422b000-7fa2a422d000 r--p 00000000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a422d000-7fa2a422f000 r-xp 00002000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a422f000-7fa2a4230000 r--p 00004000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a4230000-7fa2a4231000 r--p 00004000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a4231000-7fa2a4233000 rw-p 00005000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a4233000-7fa2a4235000 r--p 00000000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4235000-7fa2a4237000 r-xp 00002000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4237000-7fa2a4238000 r--p 00004000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4238000-7fa2a4239000 r--p 00004000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4239000-7fa2a423b000 rw-p 00005000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a423b000-7fa2a427b000 rw-p 00000000 00:00 0
7fa2a427b000-7fa2a4553000 r--p 00000000 08:12 20054680 /usr/lib/locale/locale-archive
7fa2a4553000-7fa2a4693000 rw-p 00000000 00:00 0
7fa2a4693000-7fa2a4853000 r-xp 00000000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4853000-7fa2a4a53000 ---p 001c0000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4a53000-7fa2a4a57000 r--p 001c0000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4a57000-7fa2a4a59000 rw-p 001c4000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4a59000-7fa2a4a5d000 rw-p 00000000 00:00 0
7fa2a4a5d000-7fa2a4b65000 r-xp 00000000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4b65000-7fa2a4d64000 ---p 00108000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4d64000-7fa2a4d65000 r--p 00107000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4d65000-7fa2a4d66000 rw-p 00108000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4d66000-7fa2a4d68000 r-xp 00000000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4d68000-7fa2a4f67000 ---p 00002000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4f67000-7fa2a4f68000 r--p 00001000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4f68000-7fa2a4f69000 rw-p 00002000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4f69000-7fa2a4f6c000 r-xp 00000000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a4f6c000-7fa2a516b000 ---p 00003000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a516b000-7fa2a516c000 r--p 00002000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a516c000-7fa2a516d000 rw-p 00003000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a516d000-7fa2a5185000 r-xp 00000000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5185000-7fa2a5384000 ---p 00018000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5384000-7fa2a5385000 r--p 00017000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5385000-7fa2a5386000 rw-p 00018000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5386000-7fa2a538a000 rw-p 00000000 00:00 0
7fa2a538a000-7fa2a538c000 r--p 00000000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a538c000-7fa2a5393000 r-xp 00002000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5393000-7fa2a5394000 r--p 00009000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5394000-7fa2a5395000 ---p 0000a000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5395000-7fa2a5396000 r--p 0000a000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5396000-7fa2a5397000 rw-p 0000b000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5399000-7fa2a539a000 rw-p 00000000 00:00 0
7fa2a539a000-7fa2a539b000 rwxp 00000000 00:00 0
7fa2a539b000-7fa2a539d000 r--p 00000000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a539d000-7fa2a539e000 r-xp 00002000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a539e000-7fa2a539f000 r--p 00003000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a539f000-7fa2a53a0000 r--p 00003000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a53a0000-7fa2a53a1000 rw-p 00004000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a53a1000-7fa2a53a4000 r--p 00000000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a4000-7fa2a53a5000 r-xp 00003000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a5000-7fa2a53a6000 r--p 00004000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a6000-7fa2a53a7000 r--p 00004000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a7000-7fa2a53a9000 rw-p 00005000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a9000-7fa2a53ab000 r--p 00000000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ab000-7fa2a53ac000 r-xp 00002000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ac000-7fa2a53ad000 r--p 00003000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ad000-7fa2a53ae000 r--p 00003000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ae000-7fa2a53af000 rw-p 00004000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53af000-7fa2a53b2000 r--p 00000000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53b2000-7fa2a53b9000 r-xp 00003000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53b9000-7fa2a53bb000 r--p 0000a000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53bb000-7fa2a53bc000 r--p 0000b000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53bc000-7fa2a53be000 rw-p 0000c000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53be000-7fa2a53c0000 r--p 00000000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c0000-7fa2a53c4000 r-xp 00002000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c4000-7fa2a53c5000 r--p 00006000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c5000-7fa2a53c6000 r--p 00006000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c6000-7fa2a53c8000 rw-p 00007000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c8000-7fa2a53ee000 r-xp 00000000 08:12 1312485 /lib/x86_64-linux-gnu/ld-2.23.so
7fa2a53ee000-7fa2a53ef000 r--p 00000000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53ef000-7fa2a53f1000 r-xp 00001000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f1000-7fa2a53f2000 r--p 00003000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f2000-7fa2a53f3000 r--p 00003000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f3000-7fa2a53f4000 rw-p 00004000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f4000-7fa2a53f7000 r--p 00000000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53f7000-7fa2a53fc000 r-xp 00003000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53fc000-7fa2a53fe000 r--p 00008000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53fe000-7fa2a53ff000 r--p 00009000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53ff000-7fa2a5401000 rw-p 0000a000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a5401000-7fa2a5403000 r--p 00000000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5403000-7fa2a5405000 r-xp 00002000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5405000-7fa2a5406000 r--p 00004000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5406000-7fa2a5407000 r--p 00004000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5407000-7fa2a5408000 rw-p 00005000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5408000-7fa2a540c000 rw-p 00000000 00:00 0
7fa2a540c000-7fa2a544c000 r--p 00000000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a544c000-7fa2a5539000 r-xp 00040000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a5539000-7fa2a558b000 r--p 0012d000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a558b000-7fa2a558f000 r--p 0017e000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a558f000-7fa2a55cb000 rw-p 00182000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a55cb000-7fa2a55ed000 rw-p 00000000 00:00 0
7fa2a55ed000-7fa2a55ee000 r--p 00025000 08:12 1312485 /lib/x86_64-linux-gnu/ld-2.23.so
7fa2a55ee000-7fa2a55ef000 rw-p 00026000 08:12 1312485 /lib/x86_64-linux-gnu/ld-2.23.so
7fa2a55ef000-7fa2a55f0000 rw-p 00000000 00:00 0
7ffdd7a17000-7ffdd7a39000 rw-p 00000000 00:00 0 [stack]
7ffdd7aa8000-7ffdd7aab000 r--p 00000000 00:00 0 [vvar]
7ffdd7aab000-7ffdd7aad000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
"><pre class="notranslate"><code class="notranslate">*** Error in `/home/user/miniconda2/envs/test/bin/python': double free or corruption (out): 0x000055da37d7d1c0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fa2a470a7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fa2a471337a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fa2a471753c]
/home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so(+0x1df1)[0x7fa2708e9df1]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7d14)[0x7fa2a54f1ea4]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCode+0x1a)[0x7fa2a54f38ea]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5b30)[0x7fa2a54efcc0]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x70567)[0x7fa2a547c567]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x250e)[0x7fa2a54ec69e]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCode+0x1a)[0x7fa2a54f38ea]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5b30)[0x7fa2a54efcc0]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a08)[0x7fa2a54f0b98]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7e9)[0x7fa2a54f36c9]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x7047a)[0x7fa2a547c47a]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7fa2a5457973]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(+0x114320)[0x7fa2a5520320]
/home/user/miniconda2/envs/test/bin/../lib/libpython2.7.so.1.0(Py_Main+0x55e)[0x7fa2a55209de]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fa2a46b3830]
======= Memory map: ========
55da36322000-55da36323000 r--p 00000000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36323000-55da36324000 r-xp 00001000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36324000-55da36325000 r--p 00002000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36325000-55da36326000 r--p 00002000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da36326000-55da36327000 rw-p 00003000 08:12 18624910 /home/user/miniconda2/envs/test/bin/python2.7
55da3727e000-55da38031000 rw-p 00000000 00:00 0 [heap]
7fa264000000-7fa264021000 rw-p 00000000 00:00 0
7fa264021000-7fa268000000 ---p 00000000 00:00 0
7fa26bb5a000-7fa26bba8000 r-xp 00000000 08:12 4589615 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_ni_label.so
7fa26bba8000-7fa26bda8000 ---p 0004e000 08:12 4589615 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_ni_label.so
7fa26bda8000-7fa26bdac000 rw-p 0004e000 08:12 4589615 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_ni_label.so
7fa26bdac000-7fa26bded000 rw-p 00000000 00:00 0
7fa26bded000-7fa26be19000 r-xp 00000000 08:12 4589726 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_hausdorff.so
7fa26be19000-7fa26c019000 ---p 0002c000 08:12 4589726 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_hausdorff.so
7fa26c019000-7fa26c01c000 rw-p 0002c000 08:12 4589726 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_hausdorff.so
7fa26c01c000-7fa26c01d000 rw-p 00000000 00:00 0
7fa26c01d000-7fa26c032000 r-xp 00000000 08:12 4589723 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_distance_wrap.so
7fa26c032000-7fa26c232000 ---p 00015000 08:12 4589723 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_distance_wrap.so
7fa26c232000-7fa26c233000 rw-p 00015000 08:12 4589723 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_distance_wrap.so
7fa26c233000-7fa26c25f000 r-xp 00000000 08:12 4589724 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_voronoi.so
7fa26c25f000-7fa26c45e000 ---p 0002c000 08:12 4589724 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_voronoi.so
7fa26c45e000-7fa26c462000 rw-p 0002b000 08:12 4589724 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/_voronoi.so
7fa26c462000-7fa26c46b000 r-xp 00000000 08:12 4590369 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/messagestream.so
7fa26c46b000-7fa26c66b000 ---p 00009000 08:12 4590369 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/messagestream.so
7fa26c66b000-7fa26c66c000 rw-p 00009000 08:12 4590369 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/messagestream.so
7fa26c66c000-7fa26c6ac000 rw-p 00000000 00:00 0
7fa26c6ac000-7fa26c77f000 r-xp 00000000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c77f000-7fa26c97f000 ---p 000d3000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c97f000-7fa26c988000 rw-p 000d3000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c988000-7fa26c98a000 rw-p 00000000 00:00 0
7fa26c98a000-7fa26c990000 rw-p 003a6000 08:12 4589722 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/qhull.so
7fa26c990000-7fa26ca28000 r-xp 00000000 08:12 4589725 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/ckdtree.so
7fa26ca28000-7fa26cc27000 ---p 00098000 08:12 4589725 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/ckdtree.so
7fa26cc27000-7fa26cc2f000 rw-p 00097000 08:12 4589725 /home/user/.local/lib/python2.7/site-packages/scipy/spatial/ckdtree.so
7fa26cc2f000-7fa26cc30000 rw-p 00000000 00:00 0
7fa26cc30000-7fa26cc7b000 r-xp 00000000 08:12 4589426 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_reordering.so
7fa26cc7b000-7fa26ce7b000 ---p 0004b000 08:12 4589426 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_reordering.so
7fa26ce7b000-7fa26ce80000 rw-p 0004b000 08:12 4589426 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_reordering.so
7fa26ce80000-7fa26ce81000 rw-p 00000000 00:00 0
7fa26ce81000-7fa26ceaf000 r-xp 00000000 08:12 4589425 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_min_spanning_tree.so
7fa26ceaf000-7fa26d0ae000 ---p 0002e000 08:12 4589425 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_min_spanning_tree.so
7fa26d0ae000-7fa26d0b2000 rw-p 0002d000 08:12 4589425 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_min_spanning_tree.so
7fa26d0b2000-7fa26d0b3000 rw-p 00000000 00:00 0
7fa26d0b3000-7fa26d0d3000 r-xp 00000000 08:12 4589424 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_traversal.so
7fa26d0d3000-7fa26d2d3000 ---p 00020000 08:12 4589424 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_traversal.so
7fa26d2d3000-7fa26d2d7000 rw-p 00020000 08:12 4589424 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_traversal.so
7fa26d2d7000-7fa26d2f9000 r-xp 00000000 08:12 4589429 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_tools.so
7fa26d2f9000-7fa26d4f9000 ---p 00022000 08:12 4589429 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_tools.so
7fa26d4f9000-7fa26d4fd000 rw-p 00022000 08:12 4589429 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_tools.so
7fa26d4fd000-7fa26d534000 r-xp 00000000 08:12 4589427 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_shortest_path.so
7fa26d534000-7fa26d733000 ---p 00037000 08:12 4589427 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_shortest_path.so
7fa26d733000-7fa26d73a000 rw-p 00036000 08:12 4589427 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/csgraph/_shortest_path.so
7fa26d73a000-7fa26d7a2000 r-xp 00000000 08:12 4589391 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_csparsetools.so
7fa26d7a2000-7fa26d9a2000 ---p 00068000 08:12 4589391 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_csparsetools.so
7fa26d9a2000-7fa26d9a8000 rw-p 00068000 08:12 4589391 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_csparsetools.so
7fa26d9a8000-7fa26d9e9000 rw-p 00000000 00:00 0
7fa26d9e9000-7fa26dd24000 r-xp 00000000 08:12 4589406 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
7fa26dd24000-7fa26df24000 ---p 0033b000 08:12 4589406 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
7fa26df24000-7fa26df25000 rw-p 0033b000 08:12 4589406 /home/user/.local/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
7fa26df25000-7fa26df65000 rw-p 00000000 00:00 0
7fa26df65000-7fa26dfb6000 r-xp 00000000 08:12 4589942 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/interpnd.so
7fa26dfb6000-7fa26e1b5000 ---p 00051000 08:12 4589942 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/interpnd.so
7fa26e1b5000-7fa26e1ba000 rw-p 00050000 08:12 4589942 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/interpnd.so
7fa26e1ba000-7fa26e1bb000 rw-p 00000000 00:00 0
7fa26e1bb000-7fa26e209000 r-xp 00000000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e209000-7fa26e409000 ---p 0004e000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e409000-7fa26e40f000 rw-p 0004e000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e40f000-7fa26e410000 rw-p 00000000 00:00 0
7fa26e410000-7fa26e414000 rw-p 0017c000 08:12 4589916 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_ppoly.so
7fa26e414000-7fa26e452000 r-xp 00000000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e452000-7fa26e651000 ---p 0003e000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e651000-7fa26e657000 rw-p 0003d000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e657000-7fa26e658000 rw-p 00000000 00:00 0
7fa26e658000-7fa26e65b000 rw-p 00134000 08:12 4589943 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_bspl.so
7fa26e65b000-7fa26e6ba000 r-xp 00000000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e6ba000-7fa26e8ba000 ---p 0005f000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e8ba000-7fa26e8c1000 rw-p 0005f000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e8c1000-7fa26e8c3000 rw-p 000b0000 08:12 4589939 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/dfitpack.so
7fa26e8c3000-7fa26e8f7000 r-xp 00000000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26e8f7000-7fa26eaf7000 ---p 00034000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26eaf7000-7fa26eaf8000 rw-p 00034000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26eaf8000-7fa26eafa000 rw-p 0004d000 08:12 4589929 /home/user/.local/lib/python2.7/site-packages/scipy/interpolate/_fitpack.so
7fa26eafa000-7fa26eb0b000 r-xp 00000000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26eb0b000-7fa26ed0a000 ---p 00011000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26ed0a000-7fa26ed0c000 rw-p 00010000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26ed0c000-7fa26ed10000 rw-p 00051000 08:12 4590014 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ellip_harm_2.so
7fa26ed10000-7fa26ed16000 r-xp 00000000 08:12 4590015 /home/user/.local/lib/python2.7/site-packages/scipy/special/_comb.so
7fa26ed16000-7fa26ef16000 ---p 00006000 08:12 4590015 /home/user/.local/lib/python2.7/site-packages/scipy/special/_comb.so
7fa26ef16000-7fa26ef17000 rw-p 00006000 08:12 4590015 /home/user/.local/lib/python2.7/site-packages/scipy/special/_comb.so
7fa26ef17000-7fa26efcd000 r-xp 00000000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26efcd000-7fa26f1cc000 ---p 000b6000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26f1cc000-7fa26f1d3000 rw-p 000b5000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26f1d3000-7fa26f1d5000 rw-p 000f6000 08:12 4590013 /home/user/.local/lib/python2.7/site-packages/scipy/special/specfun.so
7fa26f1d5000-7fa26f1f1000 r-xp 00000000 08:12 4589999 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
7fa26f1f1000-7fa26f3f0000 ---p 0001c000 08:12 4589999 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
7fa26f3f0000-7fa26f3f2000 rw-p 0001b000 08:12 4589999 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs_cxx.so
7fa26f3f2000-7fa26f571000 r-xp 00000000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f571000-7fa26f770000 ---p 0017f000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f770000-7fa26f779000 rw-p 0017e000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f779000-7fa26f781000 rw-p 00000000 00:00 0
7fa26f781000-7fa26f786000 rw-p 0039c000 08:12 4590007 /home/user/.local/lib/python2.7/site-packages/scipy/special/_ufuncs.so
7fa26f786000-7fa26f811000 r-xp 00000000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26f811000-7fa26fa10000 ---p 0008b000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26fa10000-7fa26fa14000 rw-p 0008a000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26fa14000-7fa26fa25000 rw-p 001d6000 08:12 4589834 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
7fa26fa25000-7fa26fa62000 r-xp 00000000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fa62000-7fa26fc62000 ---p 0003d000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fc62000-7fa26fc66000 rw-p 0003d000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fc66000-7fa26fc6d000 rw-p 00127000 08:12 4589839 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/cython_blas.so
7fa26fc6d000-7fa26fcb4000 r-xp 00000000 08:12 4589807 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_decomp_update.so
7fa26fcb4000-7fa26feb3000 ---p 00047000 08:12 4589807 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_decomp_update.so
7fa26feb3000-7fa26feb9000 rw-p 00046000 08:12 4589807 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_decomp_update.so
7fa26feb9000-7fa26feba000 rw-p 00000000 00:00 0
7fa26feba000-7fa26fef1000 r-xp 00000000 08:12 4589826 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_solve_toeplitz.so
7fa26fef1000-7fa2700f0000 ---p 00037000 08:12 4589826 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_solve_toeplitz.so
7fa2700f0000-7fa2700f4000 rw-p 00036000 08:12 4589826 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_solve_toeplitz.so
7fa2700f4000-7fa2700f5000 rw-p 00000000 00:00 0
7fa2700f5000-7fa270102000 r-xp 00000000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270102000-7fa270302000 ---p 0000d000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270302000-7fa270305000 rw-p 0000d000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270305000-7fa270308000 rw-p 0002a000 08:12 4589798 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flinalg.so
7fa270308000-7fa2703f1000 r-xp 00000000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa2703f1000-7fa2705f1000 ---p 000e9000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa2705f1000-7fa270646000 rw-p 000e9000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa270646000-7fa27064e000 rw-p 0030d000 08:12 4589799 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_flapack.so
7fa27064e000-7fa2706bd000 r-xp 00000000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2706bd000-7fa2708bd000 ---p 0006f000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2708bd000-7fa2708e3000 rw-p 0006f000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2708e3000-7fa2708e8000 rw-p 00154000 08:12 4589848 /home/user/.local/lib/python2.7/site-packages/scipy/linalg/_fblas.so
7fa2708e8000-7fa270903000 r-xp 00000000 08:12 4589597 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so
7fa270903000-7fa270b02000 ---p 0001b000 08:12 4589597 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so
7fa270b02000-7fa270b03000 rw-p 0001a000 08:12 4589597 /home/user/.local/lib/python2.7/site-packages/scipy/ndimage/_nd_image.so
7fa270b03000-7fa270b10000 r-xp 00000000 08:12 4590377 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/_ccallback_c.so
7fa270b10000-7fa270d10000 ---p 0000d000 08:12 4590377 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/_ccallback_c.so
7fa270d10000-7fa270d12000 rw-p 0000d000 08:12 4590377 /home/user/.local/lib/python2.7/site-packages/scipy/_lib/_ccallback_c.so
7fa270d12000-7fa270dcd000 r-xp 00000000 08:12 4588854 /home/user/.local/lib/python2.7/site-packages/numpy/random/mtrand.so
7fa270dcd000-7fa270fcd000 ---p 000bb000 08:12 4588854 /home/user/.local/lib/python2.7/site-packages/numpy/random/mtrand.so
7fa270fcd000-7fa270ff2000 rw-p 000bb000 08:12 4588854 /home/user/.local/lib/python2.7/site-packages/numpy/random/mtrand.so
7fa270ff2000-7fa270ff4000 rw-p 00000000 00:00 0
7fa270ff4000-7fa270ffd000 r-xp 00000000 08:12 4588528 /home/user/.local/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
7fa270ffd000-7fa2711fc000 ---p 00009000 08:12 4588528 /home/user/.local/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
7fa2711fc000-7fa2711fd000 rw-p 00008000 08:12 4588528 /home/user/.local/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
7fa2711fd000-7fa271226000 r-xp 00000000 08:12 4588997 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
7fa271226000-7fa271425000 ---p 00029000 08:12 4588997 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
7fa271425000-7fa27142a000 rw-p 00028000 08:12 4588997 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
7fa27142a000-7fa27142e000 r-xp 00000000 08:12 4589002 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
7fa27142e000-7fa27162e000 ---p 00004000 08:12 4589002 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
7fa27162e000-7fa271631000 rw-p 00004000 08:12 4589002 /home/user/.local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
7fa271631000-7fa2717c9000 r-xp 00000000 08:12 4588568 /home/user/.local/lib/python2.7/site-packages/numpy/core/umath.so
7fa2717c9000-7fa2719c9000 ---p 00198000 08:12 4588568 /home/user/.local/lib/python2.7/site-packages/numpy/core/umath.so
7fa2719c9000-7fa2719cf000 rw-p 00198000 08:12 4588568 /home/user/.local/lib/python2.7/site-packages/numpy/core/umath.so
7fa2719cf000-7fa2719d1000 rw-p 00000000 00:00 0
7fa2719d1000-7fa27d9d1000 rw-p 00000000 00:00 0
7fa27d9d1000-7fa27d9d2000 ---p 00000000 00:00 0
7fa27d9d2000-7fa27e1d2000 rw-p 00000000 00:00 0
7fa27e1d2000-7fa27e1d3000 ---p 00000000 00:00 0
7fa27e1d3000-7fa27e9d3000 rw-p 00000000 00:00 0
7fa27e9d3000-7fa27e9d4000 ---p 00000000 00:00 0
7fa27e9d4000-7fa27f1d4000 rw-p 00000000 00:00 0
7fa27f1d4000-7fa27f1d5000 ---p 00000000 00:00 0
7fa27f1d5000-7fa27f9d5000 rw-p 00000000 00:00 0
7fa27f9d5000-7fa2819d5000 rw-p 00000000 00:00 0
7fa2819d5000-7fa283ce9000 r-xp 00000000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa283ce9000-7fa283ee8000 ---p 02314000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa283ee8000-7fa283f07000 rw-p 02313000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa283f07000-7fa283f6a000 rw-p 00000000 00:00 0
7fa283f6a000-7fa284000000 rw-p 02425000 08:12 4588849 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libopenblasp-r0-39a31c03.2.18.so
7fa284000000-7fa28403c000 rw-p 00000000 00:00 0
7fa28403c000-7fa288000000 ---p 00000000 00:00 0
7fa288000000-7fa288021000 rw-p 00000000 00:00 0
7fa288021000-7fa28c000000 ---p 00000000 00:00 0
7fa28c000000-7fa28c021000 rw-p 00000000 00:00 0
7fa28c021000-7fa290000000 ---p 00000000 00:00 0
7fa290030000-7fa2900f0000 rw-p 00000000 00:00 0
7fa2900f0000-7fa2900f1000 ---p 00000000 00:00 0
7fa2900f1000-7fa2908f1000 rw-p 00000000 00:00 0
7fa2908f1000-7fa2908f2000 ---p 00000000 00:00 0
7fa2908f2000-7fa2910f2000 rw-p 00000000 00:00 0
7fa2910f2000-7fa2910f3000 ---p 00000000 00:00 0
7fa2910f3000-7fa2918f3000 rw-p 00000000 00:00 0
7fa2918f3000-7fa2919e3000 r-xp 00000000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa2919e3000-7fa291be2000 ---p 000f0000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa291be2000-7fa291be4000 rw-p 000ef000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa291be4000-7fa291be5000 rw-p 00000000 00:00 0
7fa291be5000-7fa291bed000 rw-p 000f2000 08:12 4588848 /home/user/.local/lib/python2.7/site-packages/numpy/.libs/libgfortran-ed201abd.so.3.0.0
7fa291bed000-7fa291dc5000 r-xp 00000000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291dc5000-7fa291fc4000 ---p 001d8000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291fc4000-7fa291fdd000 rw-p 001d7000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291fdd000-7fa291ff6000 rw-p 00000000 00:00 0
7fa291ff6000-7fa291ffc000 rw-p 001f1000 08:12 4588577 /home/user/.local/lib/python2.7/site-packages/numpy/core/multiarray.so
7fa291ffc000-7fa291ffd000 ---p 00000000 00:00 0
7fa291ffd000-7fa2927fd000 rw-p 00000000 00:00 0
7fa2927fd000-7fa2927fe000 ---p 00000000 00:00 0
7fa2927fe000-7fa292ffe000 rw-p 00000000 00:00 0
7fa292ffe000-7fa292fff000 ---p 00000000 00:00 0
7fa292fff000-7fa2937ff000 rw-p 00000000 00:00 0
7fa2937ff000-7fa293800000 ---p 00000000 00:00 0
7fa293800000-7fa294000000 rw-p 00000000 00:00 0
7fa294000000-7fa294021000 rw-p 00000000 00:00 0
7fa294021000-7fa298000000 ---p 00000000 00:00 0
7fa298000000-7fa298021000 rw-p 00000000 00:00 0
7fa298021000-7fa29c000000 ---p 00000000 00:00 0
7fa29c000000-7fa29c051000 rw-p 00000000 00:00 0
7fa29c051000-7fa2a0000000 ---p 00000000 00:00 0
7fa2a0033000-7fa2a03b3000 rw-p 00000000 00:00 0
7fa2a03b3000-7fa2a03b4000 ---p 00000000 00:00 0
7fa2a03b4000-7fa2a0bb4000 rw-p 00000000 00:00 0
7fa2a0bb4000-7fa2a0bb5000 ---p 00000000 00:00 0
7fa2a0bb5000-7fa2a13b5000 rw-p 00000000 00:00 0
7fa2a13b5000-7fa2a13b6000 ---p 00000000 00:00 0
7fa2a13b6000-7fa2a1bb6000 rw-p 00000000 00:00 0
7fa2a1bb6000-7fa2a1bb7000 ---p 00000000 00:00 0
7fa2a1bb7000-7fa2a2738000 rw-p 00000000 00:00 0
7fa2a2738000-7fa2a273b000 r--p 00000000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a273b000-7fa2a273e000 r-xp 00003000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a273e000-7fa2a273f000 r--p 00006000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a273f000-7fa2a2740000 ---p 00007000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a2740000-7fa2a2741000 r--p 00007000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a2741000-7fa2a2742000 rw-p 00008000 08:12 18268617 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_multiprocessing.so
7fa2a2742000-7fa2a2752000 r--p 00000000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a2752000-7fa2a276a000 r-xp 00010000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a276a000-7fa2a277a000 r--p 00028000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a277a000-7fa2a277e000 r--p 00037000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a277e000-7fa2a277f000 rw-p 0003b000 08:12 18615211 /home/user/miniconda2/envs/test/lib/libtinfow.so.6.1
7fa2a277f000-7fa2a278b000 r--p 00000000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a278b000-7fa2a27b0000 r-xp 0000c000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27b0000-7fa2a27b9000 r--p 00031000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27b9000-7fa2a27ba000 r--p 00039000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27ba000-7fa2a27bb000 rw-p 0003a000 08:12 18233713 /home/user/miniconda2/envs/test/lib/libncursesw.so.6.1
7fa2a27bb000-7fa2a27c1000 r--p 00000000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27c1000-7fa2a27cb000 r-xp 00006000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27cb000-7fa2a27cf000 r--p 00010000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27cf000-7fa2a27d0000 r--p 00013000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27d0000-7fa2a27d2000 rw-p 00014000 08:12 18268632 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_curses.so
7fa2a27d2000-7fa2a2812000 rw-p 00000000 00:00 0
7fa2a2812000-7fa2a2813000 r--p 00000000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2813000-7fa2a2814000 r-xp 00001000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2814000-7fa2a2815000 r--p 00002000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2815000-7fa2a2816000 r--p 00002000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2816000-7fa2a2817000 rw-p 00003000 08:12 18371136 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/tornado/speedups.so
7fa2a2817000-7fa2a2857000 rw-p 00000000 00:00 0
7fa2a2857000-7fa2a2859000 r--p 00000000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a2859000-7fa2a285d000 r-xp 00002000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a285d000-7fa2a285e000 r--p 00006000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a285e000-7fa2a285f000 r--p 00006000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a285f000-7fa2a2860000 rw-p 00007000 08:12 18138591 /home/user/miniconda2/envs/test/lib/libuuid.so.1.3.0
7fa2a2860000-7fa2a28a0000 rw-p 00000000 00:00 0
7fa2a28a0000-7fa2a28a3000 r--p 00000000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28a3000-7fa2a28a8000 r-xp 00003000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28a8000-7fa2a28aa000 r--p 00008000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28aa000-7fa2a28ab000 r--p 00009000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28ab000-7fa2a28ac000 rw-p 0000a000 08:12 18377425 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_proxy_steerable.so
7fa2a28ac000-7fa2a28af000 r--p 00000000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28af000-7fa2a28b5000 r-xp 00003000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b5000-7fa2a28b7000 r--p 00009000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b7000-7fa2a28b8000 r--p 0000a000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b8000-7fa2a28b9000 rw-p 0000b000 08:12 18377427 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_device.so
7fa2a28b9000-7fa2a28bc000 r--p 00000000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28bc000-7fa2a28be000 r-xp 00003000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28be000-7fa2a28bf000 r--p 00005000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28bf000-7fa2a28c0000 ---p 00006000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28c0000-7fa2a28c1000 r--p 00006000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28c1000-7fa2a28c2000 rw-p 00007000 08:12 18377423 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_version.so
7fa2a28c2000-7fa2a28c6000 r--p 00000000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28c6000-7fa2a28d1000 r-xp 00004000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d1000-7fa2a28d3000 r--p 0000f000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d3000-7fa2a28d4000 ---p 00011000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d4000-7fa2a28d5000 r--p 00011000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d5000-7fa2a28d6000 rw-p 00012000 08:12 18377430 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/_poll.so
7fa2a28d6000-7fa2a28d7000 rw-p 00000000 00:00 0
7fa2a28d7000-7fa2a28dd000 r--p 00000000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28dd000-7fa2a28f2000 r-xp 00006000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28f2000-7fa2a28f6000 r--p 0001b000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28f6000-7fa2a28f7000 r--p 0001e000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28f7000-7fa2a28fb000 rw-p 0001f000 08:12 18377433 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/socket.so
7fa2a28fb000-7fa2a293c000 rw-p 00000000 00:00 0
7fa2a293c000-7fa2a293f000 r--p 00000000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a293f000-7fa2a294b000 r-xp 00003000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a294b000-7fa2a294e000 r--p 0000f000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a294e000-7fa2a294f000 r--p 00011000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a294f000-7fa2a2950000 rw-p 00012000 08:12 18244541 /home/user/miniconda2/envs/test/lib/libgcc_s.so.1
7fa2a2950000-7fa2a29e4000 r--p 00000000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a29e4000-7fa2a2a4a000 r-xp 00094000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a4a000-7fa2a2a81000 r--p 000fa000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a81000-7fa2a2a8b000 r--p 00130000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a8b000-7fa2a2a8f000 rw-p 0013a000 08:12 18246870 /home/user/miniconda2/envs/test/lib/libstdc++.so.6.0.24
7fa2a2a8f000-7fa2a2a92000 rw-p 00000000 00:00 0
7fa2a2a92000-7fa2a2a99000 r-xp 00000000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2a99000-7fa2a2c98000 ---p 00007000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2c98000-7fa2a2c99000 r--p 00006000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2c99000-7fa2a2c9a000 rw-p 00007000 08:12 1312302 /lib/x86_64-linux-gnu/librt-2.23.so
7fa2a2c9e000-7fa2a2ca1000 r--p 00000000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca1000-7fa2a2ca6000 r-xp 00003000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca6000-7fa2a2ca8000 r--p 00008000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca8000-7fa2a2ca9000 r--p 00009000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2ca9000-7fa2a2caa000 rw-p 0000a000 08:12 18377426 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/utils.so
7fa2a2caa000-7fa2a2cae000 r--p 00000000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cae000-7fa2a2cb7000 r-xp 00004000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cb7000-7fa2a2cba000 r--p 0000d000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cba000-7fa2a2cbb000 r--p 0000f000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cbb000-7fa2a2cbd000 rw-p 00010000 08:12 18377429 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/context.so
7fa2a2cbd000-7fa2a2cc3000 r--p 00000000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cc3000-7fa2a2cd0000 r-xp 00006000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd0000-7fa2a2cd3000 r--p 00013000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd3000-7fa2a2cd4000 ---p 00016000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd4000-7fa2a2cd5000 r--p 00016000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd5000-7fa2a2cd7000 rw-p 00017000 08:12 18377432 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/message.so
7fa2a2cd7000-7fa2a2cd8000 rw-p 00000000 00:00 0
7fa2a2cd8000-7fa2a2ce6000 r--p 00000000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2ce6000-7fa2a2d1b000 r-xp 0000e000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d1b000-7fa2a2d2c000 r--p 00043000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2c000-7fa2a2d2d000 ---p 00054000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2d000-7fa2a2d2e000 r--p 00054000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2e000-7fa2a2d2f000 rw-p 00055000 08:12 18372930 /home/user/miniconda2/envs/test/lib/libsodium.so.23.1.0
7fa2a2d2f000-7fa2a2d42000 r--p 00000000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2d42000-7fa2a2d9f000 r-xp 00013000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2d9f000-7fa2a2db7000 r--p 00070000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2db7000-7fa2a2dbe000 r--p 00087000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2dbe000-7fa2a2dbf000 rw-p 0008e000 08:12 18365676 /home/user/miniconda2/envs/test/lib/libzmq.so.5.1.5
7fa2a2dbf000-7fa2a2dc2000 r--p 00000000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc2000-7fa2a2dc5000 r-xp 00003000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc5000-7fa2a2dc6000 r--p 00006000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc6000-7fa2a2dc7000 ---p 00007000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc7000-7fa2a2dc8000 r--p 00007000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc8000-7fa2a2dc9000 rw-p 00008000 08:12 18377424 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/error.so
7fa2a2dc9000-7fa2a2dcd000 r--p 00000000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dcd000-7fa2a2dd7000 r-xp 00004000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dd7000-7fa2a2dd9000 r--p 0000e000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dd9000-7fa2a2dda000 r--p 0000f000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2dda000-7fa2a2ddd000 rw-p 00010000 08:12 18377431 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so
7fa2a2ddd000-7fa2a2e5d000 rw-p 00000000 00:00 0
7fa2a2e5d000-7fa2a2e5f000 r--p 00000000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e5f000-7fa2a2e61000 r-xp 00002000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e61000-7fa2a2e62000 r--p 00004000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e62000-7fa2a2e63000 r--p 00004000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e63000-7fa2a2e64000 rw-p 00005000 08:12 18268603 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_lsprof.so
7fa2a2e64000-7fa2a2ee4000 rw-p 00000000 00:00 0
7fa2a2ee4000-7fa2a2ee7000 r--p 00000000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2ee7000-7fa2a2eea000 r-xp 00003000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2eea000-7fa2a2f7c000 r--p 00006000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2f7c000-7fa2a2f7d000 r--p 00097000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2f7d000-7fa2a2f90000 rw-p 00098000 08:12 18268646 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/unicodedata.so
7fa2a2f90000-7fa2a2f93000 r--p 00000000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f93000-7fa2a2f99000 r-xp 00003000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f99000-7fa2a2f9b000 r--p 00009000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f9b000-7fa2a2f9c000 r--p 0000a000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f9c000-7fa2a2f9e000 rw-p 0000b000 08:12 18268625 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/array.so
7fa2a2f9e000-7fa2a315e000 rw-p 00000000 00:00 0
7fa2a315e000-7fa2a315f000 r--p 00000000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a315f000-7fa2a3160000 r-xp 00001000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3160000-7fa2a3161000 r--p 00002000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3161000-7fa2a3162000 r--p 00002000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3162000-7fa2a3163000 rw-p 00003000 08:12 18268594 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_bisect.so
7fa2a3163000-7fa2a3263000 rw-p 00000000 00:00 0
7fa2a3263000-7fa2a3273000 r--p 00000000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3273000-7fa2a3345000 r-xp 00010000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3345000-7fa2a3374000 r--p 000e2000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3374000-7fa2a3375000 ---p 00111000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3375000-7fa2a3379000 r--p 00111000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a3379000-7fa2a337c000 rw-p 00115000 08:12 18248731 /home/user/miniconda2/envs/test/lib/libsqlite3.so.0.8.6
7fa2a337c000-7fa2a3384000 r--p 00000000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3384000-7fa2a338c000 r-xp 00008000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a338c000-7fa2a338f000 r--p 00010000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a338f000-7fa2a3390000 ---p 00013000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3390000-7fa2a3391000 r--p 00013000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3391000-7fa2a3393000 rw-p 00014000 08:12 18268633 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_sqlite3.so
7fa2a3393000-7fa2a33d3000 rw-p 00000000 00:00 0
7fa2a33d3000-7fa2a33d7000 r--p 00000000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33d7000-7fa2a33e5000 r-xp 00004000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33e5000-7fa2a33e8000 r--p 00012000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33e8000-7fa2a33e9000 ---p 00015000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33e9000-7fa2a33ea000 r--p 00015000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33ea000-7fa2a33eb000 rw-p 00016000 08:12 18268634 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cPickle.so
7fa2a33eb000-7fa2a34eb000 rw-p 00000000 00:00 0
7fa2a34eb000-7fa2a34f0000 r--p 00000000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a34f0000-7fa2a34fe000 r-xp 00005000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a34fe000-7fa2a3502000 r--p 00013000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a3502000-7fa2a3503000 r--p 00016000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a3503000-7fa2a3506000 rw-p 00017000 08:12 18268637 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/datetime.so
7fa2a3506000-7fa2a3547000 rw-p 00000000 00:00 0
7fa2a3547000-7fa2a3549000 r--p 00000000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a3549000-7fa2a354b000 r-xp 00002000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354b000-7fa2a354c000 r--p 00004000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354c000-7fa2a354d000 r--p 00004000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354d000-7fa2a354e000 rw-p 00005000 08:12 18366912 /home/user/miniconda2/envs/test/lib/python2.7/site-packages/_scandir.so
7fa2a354e000-7fa2a360e000 rw-p 00000000 00:00 0
7fa2a360e000-7fa2a3610000 r--p 00000000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3610000-7fa2a3615000 r-xp 00002000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3615000-7fa2a3616000 r--p 00007000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3616000-7fa2a3617000 r--p 00007000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3617000-7fa2a3618000 rw-p 00008000 08:12 18220479 /home/user/miniconda2/envs/test/lib/libffi.so.6.0.4
7fa2a3618000-7fa2a3620000 r--p 00000000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3620000-7fa2a3630000 r-xp 00008000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3630000-7fa2a3636000 r--p 00018000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3636000-7fa2a3637000 r--p 0001d000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a3637000-7fa2a363b000 rw-p 0001e000 08:12 18268640 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ctypes.so
7fa2a363b000-7fa2a36bb000 rw-p 00000000 00:00 0
7fa2a36bb000-7fa2a36bc000 r--p 00000000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36bc000-7fa2a36bd000 r-xp 00001000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36bd000-7fa2a36be000 r--p 00002000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36be000-7fa2a36bf000 r--p 00002000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36bf000-7fa2a36c0000 rw-p 00003000 08:12 18268591 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/future_builtins.so
7fa2a36c0000-7fa2a3700000 rw-p 00000000 00:00 0
7fa2a3700000-7fa2a37ad000 r--p 00000000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a37ad000-7fa2a39a7000 r-xp 000ad000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a39a7000-7fa2a3a40000 r--p 002a7000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a3a40000-7fa2a3a78000 r--p 0033f000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a3a78000-7fa2a3a81000 rw-p 00377000 08:12 18621864 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_ssl.so
7fa2a3a81000-7fa2a3a84000 rw-p 00000000 00:00 0
7fa2a3a84000-7fa2a3a89000 r--p 00000000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a89000-7fa2a3a93000 r-xp 00005000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a93000-7fa2a3a97000 r--p 0000f000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a97000-7fa2a3a98000 r--p 00012000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a98000-7fa2a3a9d000 rw-p 00013000 08:12 18268635 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_socket.so
7fa2a3a9d000-7fa2a3b5d000 rw-p 00000000 00:00 0
7fa2a3b5d000-7fa2a3b66000 r--p 00000000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b66000-7fa2a3b79000 r-xp 00009000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b79000-7fa2a3b7e000 r--p 0001c000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b7e000-7fa2a3b7f000 r--p 00020000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b7f000-7fa2a3b88000 rw-p 00021000 08:12 18268642 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_io.so
7fa2a3b88000-7fa2a3c08000 rw-p 00000000 00:00 0
7fa2a3c08000-7fa2a3c8f000 r--p 00000000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3c8f000-7fa2a3e2d000 r-xp 00087000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3e2d000-7fa2a3ea6000 r--p 00225000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ea6000-7fa2a3ea7000 ---p 0029e000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ea7000-7fa2a3ed5000 r--p 0029e000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ed5000-7fa2a3ed8000 rw-p 002cc000 08:12 18621863 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_hashlib.so
7fa2a3ed8000-7fa2a3fdb000 rw-p 00000000 00:00 0
7fa2a3fdc000-7fa2a40dc000 rw-p 00000000 00:00 0
7fa2a40dc000-7fa2a40de000 r--p 00000000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40de000-7fa2a40df000 r-xp 00002000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40df000-7fa2a40e0000 r--p 00003000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40e0000-7fa2a40e1000 r--p 00003000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40e1000-7fa2a40e2000 rw-p 00004000 08:12 18268599 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_functools.so
7fa2a40e2000-7fa2a4122000 rw-p 00000000 00:00 0
7fa2a4122000-7fa2a4123000 r--p 00000000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4123000-7fa2a4124000 r-xp 00001000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4124000-7fa2a4125000 r--p 00002000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4125000-7fa2a4126000 r--p 00002000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4126000-7fa2a4127000 rw-p 00003000 08:12 18268592 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/grp.so
7fa2a4127000-7fa2a412b000 r--p 00000000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a412b000-7fa2a413d000 r-xp 00004000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a413d000-7fa2a4140000 r--p 00016000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a4140000-7fa2a4141000 r--p 00018000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a4141000-7fa2a4144000 rw-p 00019000 08:12 18268644 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/bz2.so
7fa2a4144000-7fa2a4146000 r--p 00000000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a4146000-7fa2a4149000 r-xp 00002000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a4149000-7fa2a414a000 r--p 00005000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a414a000-7fa2a414b000 r--p 00005000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a414b000-7fa2a414d000 rw-p 00006000 08:12 18268610 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/zlib.so
7fa2a414d000-7fa2a418d000 rw-p 00000000 00:00 0
7fa2a418d000-7fa2a418f000 r--p 00000000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a418f000-7fa2a4191000 r-xp 00002000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4191000-7fa2a4192000 r--p 00004000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4192000-7fa2a4193000 r--p 00004000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4193000-7fa2a4195000 rw-p 00005000 08:12 18268604 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/cStringIO.so
7fa2a4195000-7fa2a4198000 r--p 00000000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a4198000-7fa2a41a6000 r-xp 00003000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41a6000-7fa2a41ac000 r--p 00011000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41ac000-7fa2a41ad000 ---p 00017000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41ad000-7fa2a41ae000 r--p 00017000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41ae000-7fa2a41af000 rw-p 00018000 08:12 18138909 /home/user/miniconda2/envs/test/lib/libz.so.1.2.11
7fa2a41af000-7fa2a41b1000 r--p 00000000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b1000-7fa2a41b4000 r-xp 00002000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b4000-7fa2a41b5000 r--p 00005000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b5000-7fa2a41b6000 ---p 00006000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b6000-7fa2a41b7000 r--p 00006000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b7000-7fa2a41b8000 rw-p 00007000 08:12 18268611 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/binascii.so
7fa2a41b8000-7fa2a41b9000 r--p 00000000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41b9000-7fa2a41bb000 r-xp 00001000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bb000-7fa2a41bc000 r--p 00003000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bc000-7fa2a41bd000 r--p 00003000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bd000-7fa2a41bf000 rw-p 00004000 08:12 18268602 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_heapq.so
7fa2a41bf000-7fa2a41c2000 r--p 00000000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41c2000-7fa2a41c8000 r-xp 00003000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41c8000-7fa2a41ca000 r--p 00009000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41ca000-7fa2a41cb000 ---p 0000b000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41cb000-7fa2a41cc000 r--p 0000b000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41cc000-7fa2a41d1000 rw-p 0000c000 08:12 18268628 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/itertools.so
7fa2a41d1000-7fa2a41d6000 r--p 00000000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41d6000-7fa2a41d9000 r-xp 00005000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41d9000-7fa2a41db000 r--p 00008000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41db000-7fa2a41dc000 ---p 0000a000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41dc000-7fa2a41dd000 r--p 0000a000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41dd000-7fa2a41df000 rw-p 0000b000 08:12 18268623 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/operator.so
7fa2a41df000-7fa2a41e2000 r--p 00000000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e2000-7fa2a41e6000 r-xp 00003000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e6000-7fa2a41e7000 r--p 00007000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e7000-7fa2a41e8000 ---p 00008000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e8000-7fa2a41e9000 r--p 00008000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41e9000-7fa2a41eb000 rw-p 00009000 08:12 18268619 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_collections.so
7fa2a41eb000-7fa2a422b000 rw-p 00000000 00:00 0
7fa2a422b000-7fa2a422d000 r--p 00000000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a422d000-7fa2a422f000 r-xp 00002000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a422f000-7fa2a4230000 r--p 00004000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a4230000-7fa2a4231000 r--p 00004000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a4231000-7fa2a4233000 rw-p 00005000 08:12 18268608 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/select.so
7fa2a4233000-7fa2a4235000 r--p 00000000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4235000-7fa2a4237000 r-xp 00002000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4237000-7fa2a4238000 r--p 00004000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4238000-7fa2a4239000 r--p 00004000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a4239000-7fa2a423b000 rw-p 00005000 08:12 18268607 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/time.so
7fa2a423b000-7fa2a427b000 rw-p 00000000 00:00 0
7fa2a427b000-7fa2a4553000 r--p 00000000 08:12 20054680 /usr/lib/locale/locale-archive
7fa2a4553000-7fa2a4693000 rw-p 00000000 00:00 0
7fa2a4693000-7fa2a4853000 r-xp 00000000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4853000-7fa2a4a53000 ---p 001c0000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4a53000-7fa2a4a57000 r--p 001c0000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4a57000-7fa2a4a59000 rw-p 001c4000 08:12 1317528 /lib/x86_64-linux-gnu/libc-2.23.so
7fa2a4a59000-7fa2a4a5d000 rw-p 00000000 00:00 0
7fa2a4a5d000-7fa2a4b65000 r-xp 00000000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4b65000-7fa2a4d64000 ---p 00108000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4d64000-7fa2a4d65000 r--p 00107000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4d65000-7fa2a4d66000 rw-p 00108000 08:12 1317531 /lib/x86_64-linux-gnu/libm-2.23.so
7fa2a4d66000-7fa2a4d68000 r-xp 00000000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4d68000-7fa2a4f67000 ---p 00002000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4f67000-7fa2a4f68000 r--p 00001000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4f68000-7fa2a4f69000 rw-p 00002000 08:12 1317530 /lib/x86_64-linux-gnu/libutil-2.23.so
7fa2a4f69000-7fa2a4f6c000 r-xp 00000000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a4f6c000-7fa2a516b000 ---p 00003000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a516b000-7fa2a516c000 r--p 00002000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a516c000-7fa2a516d000 rw-p 00003000 08:12 1312480 /lib/x86_64-linux-gnu/libdl-2.23.so
7fa2a516d000-7fa2a5185000 r-xp 00000000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5185000-7fa2a5384000 ---p 00018000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5384000-7fa2a5385000 r--p 00017000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5385000-7fa2a5386000 rw-p 00018000 08:12 1312487 /lib/x86_64-linux-gnu/libpthread-2.23.so
7fa2a5386000-7fa2a538a000 rw-p 00000000 00:00 0
7fa2a538a000-7fa2a538c000 r--p 00000000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a538c000-7fa2a5393000 r-xp 00002000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5393000-7fa2a5394000 r--p 00009000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5394000-7fa2a5395000 ---p 0000a000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5395000-7fa2a5396000 r--p 0000a000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5396000-7fa2a5397000 rw-p 0000b000 08:12 18268621 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_json.so
7fa2a5399000-7fa2a539a000 rw-p 00000000 00:00 0
7fa2a539a000-7fa2a539b000 rwxp 00000000 00:00 0
7fa2a539b000-7fa2a539d000 r--p 00000000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a539d000-7fa2a539e000 r-xp 00002000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a539e000-7fa2a539f000 r--p 00003000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a539f000-7fa2a53a0000 r--p 00003000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a53a0000-7fa2a53a1000 rw-p 00004000 08:12 18268595 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/resource.so
7fa2a53a1000-7fa2a53a4000 r--p 00000000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a4000-7fa2a53a5000 r-xp 00003000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a5000-7fa2a53a6000 r--p 00004000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a6000-7fa2a53a7000 r--p 00004000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a7000-7fa2a53a9000 rw-p 00005000 08:12 18268606 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/termios.so
7fa2a53a9000-7fa2a53ab000 r--p 00000000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ab000-7fa2a53ac000 r-xp 00002000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ac000-7fa2a53ad000 r--p 00003000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ad000-7fa2a53ae000 r--p 00003000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53ae000-7fa2a53af000 rw-p 00004000 08:12 18268596 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_random.so
7fa2a53af000-7fa2a53b2000 r--p 00000000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53b2000-7fa2a53b9000 r-xp 00003000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53b9000-7fa2a53bb000 r--p 0000a000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53bb000-7fa2a53bc000 r--p 0000b000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53bc000-7fa2a53be000 rw-p 0000c000 08:12 18268626 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/math.so
7fa2a53be000-7fa2a53c0000 r--p 00000000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c0000-7fa2a53c4000 r-xp 00002000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c4000-7fa2a53c5000 r--p 00006000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c5000-7fa2a53c6000 r--p 00006000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c6000-7fa2a53c8000 rw-p 00007000 08:12 18268615 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/strop.so
7fa2a53c8000-7fa2a53ee000 r-xp 00000000 08:12 1312485 /lib/x86_64-linux-gnu/ld-2.23.so
7fa2a53ee000-7fa2a53ef000 r--p 00000000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53ef000-7fa2a53f1000 r-xp 00001000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f1000-7fa2a53f2000 r--p 00003000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f2000-7fa2a53f3000 r--p 00003000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f3000-7fa2a53f4000 rw-p 00004000 08:12 18268600 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/fcntl.so
7fa2a53f4000-7fa2a53f7000 r--p 00000000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53f7000-7fa2a53fc000 r-xp 00003000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53fc000-7fa2a53fe000 r--p 00008000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53fe000-7fa2a53ff000 r--p 00009000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a53ff000-7fa2a5401000 rw-p 0000a000 08:12 18268622 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_struct.so
7fa2a5401000-7fa2a5403000 r--p 00000000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5403000-7fa2a5405000 r-xp 00002000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5405000-7fa2a5406000 r--p 00004000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5406000-7fa2a5407000 r--p 00004000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5407000-7fa2a5408000 rw-p 00005000 08:12 18268601 /home/user/miniconda2/envs/test/lib/python2.7/lib-dynload/_locale.so
7fa2a5408000-7fa2a540c000 rw-p 00000000 00:00 0
7fa2a540c000-7fa2a544c000 r--p 00000000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a544c000-7fa2a5539000 r-xp 00040000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a5539000-7fa2a558b000 r--p 0012d000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a558b000-7fa2a558f000 r--p 0017e000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a558f000-7fa2a55cb000 rw-p 00182000 08:12 18621853 /home/user/miniconda2/envs/test/lib/libpython2.7.so.1.0
7fa2a55cb000-7fa2a55ed000 rw-p 00000000 00:00 0
7fa2a55ed000-7fa2a55ee000 r--p 00025000 08:12 1312485 /lib/x86_64-linux-gnu/ld-2.23.so
7fa2a55ee000-7fa2a55ef000 rw-p 00026000 08:12 1312485 /lib/x86_64-linux-gnu/ld-2.23.so
7fa2a55ef000-7fa2a55f0000 rw-p 00000000 00:00 0
7ffdd7a17000-7ffdd7a39000 rw-p 00000000 00:00 0 [stack]
7ffdd7aa8000-7ffdd7aab000 r--p 00000000 00:00 0 [vvar]
7ffdd7aab000-7ffdd7aad000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="('1.1.0', '1.14.5', sys.version_info(major=2, minor=7, micro=15, releaselevel='final', serial=0))"><pre class="notranslate"><code class="notranslate">('1.1.0', '1.14.5', sys.version_info(major=2, minor=7, micro=15, releaselevel='final', serial=0))
</code></pre></div> | 0 |
<p dir="auto">On Windows 8.1, with a high DPI screen, min-width/min-height behave wrongly - the value is multiplied by the current DPI over standard DPI, resolving in higher actual values.</p>
<p dir="auto">For example, when the min-width is set to 1000, the system has a resolution width 2560, but Electron renders as if the width of the screen is around 1330 (so that things do not appear to small), the actual window width based on min-width resolves in around 1500px, but the actual window comes up wider than the screen because the width is already re-calculated according to this.</p>
<p dir="auto">The point is, min-width/min-height shouldn't be re-calculated according to DPI since width/height of the window already are.</p>
<p dir="auto">Labels: windows, bug</p> | <p dir="auto">I'm seeing two problems with the min-width and min-height properties.</p>
<p dir="auto">First, when opening a window that includes the native window chrome, the window width and height that is set when creating the window includes the width and height of the native window chrome. So if I set width to 800px and height to 600px, the entire window is 800 x 600. However, if we also set min-width to 800px and min-height to 600px, these measurements seem to exclude the native chrome. So if I try to resize it at all (or even to drag the window on Windows), it will resize itself so that the contents (excluding the chrome) are 800 x 600. The window will get bigger by the size of the chrome, which is the height of the header on OSX and about 15px x 38px on Windows.</p>
<p dir="auto">Secondly, on Windows only, if you have auto-scaling turned on, this is being applied once when opening the BrowserWindow with a specified width and height, but is being applied a second time when evaluating min-width and min height. For example, my PC has a screen resolution of 3200 x 1800, and the recommended scaling is 200%. With these settings, if we create a browser window as 400px wide and 300px high, then it's actually created as 800 x 600, which is what I'd expect with 200% scaling. However, it seems that if I also set the min-width to 400 and the min-height to 300, and drag or attempt to resize the window, then the minimum dimensions are evaluated, and doubled again, so I end up with a window that jumps to twice the expected size (1626 x 1271). While I can get around this by turning off auto-scaling (setting scaling to 100%), because the recommended setting for my resolution is to have this turned on, I would expect that a lot of Windows users with high-resolution monitors would run into a similar problem.</p>
<p dir="auto">Thank you.</p> | 1 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.33]</li>
<li>Operating System: [amazon-ebs.ubuntu-focal-2004 (host) -> Ubuntu 22.04.2 (docker image)]</li>
<li>Browser: [WebKit]</li>
<li>Other info:</li>
</ul>
<p dir="auto">I'm using your docker image (see below) which works fine locally using Ubuntu 22.04 as host but it constantly fails since 1.33 on jenkins agent which is running on AWS t3.large using amazon-ebs.ubuntu-focal-2004.</p>
<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>Dockerfile</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# docker/playwright/Dockerfile
FROM mcr.microsoft.com/playwright:v1.33.0
ENV HOME=/home/pwuser
RUN chmod -R 777 /home/pwuser
ENTRYPOINT ["npx", "playwright"]
CMD ["-h"]"><pre class="notranslate"><code class="notranslate"># docker/playwright/Dockerfile
FROM mcr.microsoft.com/playwright:v1.33.0
ENV HOME=/home/pwuser
RUN chmod -R 777 /home/pwuser
ENTRYPOINT ["npx", "playwright"]
CMD ["-h"]
</code></pre></div>
<p dir="auto"><strong>docker-compose</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# docker-compose.yml
version: "2.4"
services:
playwright:
user: 1000:1000
ipc: host
working_dir: /app
environment:
APP_BASEURL: "http://php-dev:80"
build:
context: ./
dockerfile: docker/playwright/Dockerfile
volumes:
- ./:/app"><pre class="notranslate"><code class="notranslate"># docker-compose.yml
version: "2.4"
services:
playwright:
user: 1000:1000
ipc: host
working_dir: /app
environment:
APP_BASEURL: "http://php-dev:80"
build:
context: ./
dockerfile: docker/playwright/Dockerfile
volumes:
- ./:/app
</code></pre></div>
<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 type { PlaywrightTestConfig } from '@playwright/test';
import { devices } from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './playwright',
timeout: 60 * 1000,
expect: {
timeout: 5000
},
fullyParallel: true,
forbidOnly: false,
retries: 3,
workers: require('os').cpus().length,
reporter:[ ['html', { open: 'never', outputFolder: './var/playwright-report' }] ],
use: {
actionTimeout: 0,
baseURL: process.env.APP_BASEURL ?? 'http://php-dev:80',
extraHTTPHeaders: {
'X-Debug': '0', // Disable symfony debug toolbar (profiler)
},
trace: 'on',
video: 'on-first-retry',
launchOptions: {
slowMo: 300
}
},
outputDir: './var/playwright-artifacts',
};
export default config;"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-s1">type</span> <span class="pl-kos">{</span> <span class="pl-v">PlaywrightTestConfig</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">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">testDir</span>: <span class="pl-s">'./playwright'</span><span class="pl-kos">,</span>
<span class="pl-c1">timeout</span>: <span class="pl-c1">60</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span>
<span class="pl-c1">expect</span>: <span class="pl-kos">{</span>
<span class="pl-c1">timeout</span>: <span class="pl-c1">5000</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">forbidOnly</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-c1">retries</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span>
<span class="pl-c1">workers</span>: <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'os'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">cpus</span><span class="pl-kos">(</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-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-c1">outputFolder</span>: <span class="pl-s">'./var/playwright-report'</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">use</span>: <span class="pl-kos">{</span>
<span class="pl-c1">actionTimeout</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c1">baseURL</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">APP_BASEURL</span> <span class="pl-c1">??</span> <span class="pl-s">'http://php-dev:80'</span><span class="pl-kos">,</span>
<span class="pl-c1">extraHTTPHeaders</span>: <span class="pl-kos">{</span>
<span class="pl-s">'X-Debug'</span>: <span class="pl-s">'0'</span><span class="pl-kos">,</span> <span class="pl-c">// Disable symfony debug toolbar (profiler)</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'on'</span><span class="pl-kos">,</span>
<span class="pl-c1">video</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span>
<span class="pl-c1">launchOptions</span>: <span class="pl-kos">{</span>
<span class="pl-c1">slowMo</span>: <span class="pl-c1">300</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">outputDir</span>: <span class="pl-s">'./var/playwright-artifacts'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">config</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong><br>
Does not matter as the browser does not start</p>
<p dir="auto"><strong>Steps</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ docker-compose run --rm --entrypoint '' playwright /bin/bash -c 'DEBUG=pw:browser npx playwright test --browser "webkit"'
Creating XXX ... done
Running 5 tests using 2 workers
[webkit] › xxx1.spec.ts:13:9 › test1
pw:browser <launching> /ms-playwright/webkit-1837/pw_run.sh --inspector-pipe --headless --no-startup-window +0ms
pw:browser <launched> pid=871 +16ms
[webkit] › xxx2.spec.ts:5:5 › test2
pw:browser <launching> /ms-playwright/webkit-1837/pw_run.sh --inspector-pipe --headless --no-startup-window +0ms
pw:browser <launched> pid=894"><pre class="notranslate"><code class="notranslate">$ docker-compose run --rm --entrypoint '' playwright /bin/bash -c 'DEBUG=pw:browser npx playwright test --browser "webkit"'
Creating XXX ... done
Running 5 tests using 2 workers
[webkit] › xxx1.spec.ts:13:9 › test1
pw:browser <launching> /ms-playwright/webkit-1837/pw_run.sh --inspector-pipe --headless --no-startup-window +0ms
pw:browser <launched> pid=871 +16ms
[webkit] › xxx2.spec.ts:5:5 › test2
pw:browser <launching> /ms-playwright/webkit-1837/pw_run.sh --inspector-pipe --headless --no-startup-window +0ms
pw:browser <launched> pid=894
</code></pre></div>
<p dir="auto">At this poing it just hangs until the process gets killed manually.</p>
<p dir="auto"><strong>Expected</strong><br>
Browser starts and tests start executing</p>
<p dir="auto"><strong>Actual</strong><br>
Webkit hangs on lunch</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__ == "__main__":
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 && \
pip install playwright==1.23.0 && \
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 && \
pip install playwright==1.23.0 && \
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 . && docker run test-pw"><pre class="notranslate">docker build -t test-pw <span class="pl-c1">.</span> <span class="pl-k">&&</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 "//pw.py", line 11, in <module>
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 ===========================
<launching> /root/.cache/ms-playwright/webkit-1668/pw_run.sh --inspector-pipe --headless --no-startup-window
<launched> pid=440
============================================================"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "//pw.py", line 11, in <module>
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 ===========================
<launching> /root/.cache/ms-playwright/webkit-1668/pw_run.sh --inspector-pipe --headless --no-startup-window
<launched> pid=440
============================================================
</code></pre></div> | 1 |
<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">Can vuejs support binding of asynchronous properties?</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto">var data = {}<br>
Object.defineProperty(data, 'asyncProperty', {<br>
async get() {<br>
// async network or database query<br>
return true;<br>
}<br>
});</p> | <p dir="auto">I'm having a problem showing filtered results when using v-if inside a v-for template block. My current template looks like this (I'm using laravel so the <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/include/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/include">@include</a> is just some html that gets inserted to show the proper markup for that type of card):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<ul>
<template v-for="card in cards | onlyMatching">
<li transition="expand" v-if="card.Data.event_type === 'user_comment'">
@include('feed.card_templates.user_comment')
</li>
<li transition="expand" v-if="card.Data.event_type === 'user_position'">
@include('feed.card_templates.user_position')
</li>
</template>
</ul>"><pre class="notranslate"><code class="notranslate"><ul>
<template v-for="card in cards | onlyMatching">
<li transition="expand" v-if="card.Data.event_type === 'user_comment'">
@include('feed.card_templates.user_comment')
</li>
<li transition="expand" v-if="card.Data.event_type === 'user_position'">
@include('feed.card_templates.user_position')
</li>
</template>
</ul>
</code></pre></div>
<p dir="auto">In my component I have a data property called "filterKey" which the custom filter uses to filter results. So my custom filter looks like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Vue.filter('onlyMatching', function(cards)
{
var $this = this;
return cards.filter(function(item)
{
return item.Data.event_type.match($this.$data.filterKey);
});
});"><pre class="notranslate"><code class="notranslate">Vue.filter('onlyMatching', function(cards)
{
var $this = this;
return cards.filter(function(item)
{
return item.Data.event_type.match($this.$data.filterKey);
});
});
</code></pre></div>
<p dir="auto">The problem is - whenever I dynamically change the filterKey property from user_comment to user_position the HTML that is rendered from the template doesn't update. And when I click off of one and back to the other it actually duplicates the original html in the browser. When I look at devtools I can see the filter type changing but it's not reflected on the actual page.</p>
<p dir="auto">I know the filter itself is working properly - because if I take out the conditional parts and just do this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<ul>
<template v-for="card in cards | onlyMatching">
<li>@{{{ card.Data.event_type }}}</li>
</template>
</ul>"><pre class="notranslate"><code class="notranslate"><ul>
<template v-for="card in cards | onlyMatching">
<li>@{{{ card.Data.event_type }}}</li>
</template>
</ul>
</code></pre></div>
<p dir="auto">The event types for each of these items list out just fine - and changing the "filterKey" property shows only those li's that match as expected. Is there some other way I need to go about doing this conditional rendering to make this work as expected or should it work the way I have it now?</p> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=alex_sv" rel="nofollow">Alexander Shabanov</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9828?redirect=false" rel="nofollow">SPR-9828</a></strong> and commented</p>
<p dir="auto">The proposed improvement is to modify signature for each org.springframework.util.Assert.* method so that it will return the checked value to let programmer to make check and assignment in "one turn".</p>
<p dir="auto">This would improve readability of the initializers that uses spring's Assert and minimize the code, e.g. instead of having to write</p>
<p dir="auto">notNull(foo, "Foo can't be null"); // static import omitted for clarity<br>
hasText(bar, "Bar can't be empty");<br>
this.foo = foo;<br>
this.bar = bar;</p>
<p dir="auto">someone can write</p>
<p dir="auto">this.foo = notNull(foo, "Foo can't be null");<br>
this.bar = hasText(bar, "Bar can't be empty");</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.2</p>
<p dir="auto"><strong>Reference URL:</strong> <a href="http://forum.springsource.org/showthread.php?130499-Assert-*-methods-that-return-values&p=425647" rel="nofollow">http://forum.springsource.org/showthread.php?130499-Assert-*-methods-that-return-values&p=425647</a></p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398109198" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12473" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12473/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12473">#12473</a> Make Assert.something() return value checked instead of "void", allow to chain the assert call (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jecuendet" rel="nofollow">Jean-Eric</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7650?redirect=false" rel="nofollow">SPR-7650</a></strong> and commented</p>
<p dir="auto">In the class AbstractPollingMessageListenerContainer used by DefaultMessageListenerContainer, if no message is received, the commit is called (this was added in 3.0.4)<br>
But the session passed to<br>
commitIfNecessary(session, message);<br>
is the wrong one.<br>
Instead, the variable sessionToUse should be passed:<br>
commitIfNecessary(sessionToUse, message);</p>
<p dir="auto">This is the diff.</p>
<p dir="auto">--- 3.0.4/AbstractPollingMessageListenerContainer.java 2010-08-18 13:41:34.000000000 +0200<br>
+++ 3.0.5/AbstractPollingMessageListenerContainer.java 2010-10-13 10:12:38.505882405 +0200<br>
@@ -351,7 +351,7 @@<br>
}<br>
noMessageReceived(invoker, sessionToUse);<br>
// Nevertheless call commit, in order to reset the transaction timeout (if any).</p>
<hr>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="commitIfNecessary(session, message);"><pre class="notranslate"><code class="notranslate">commitIfNecessary(session, message);
</code></pre></div>
<ul dir="auto">
<li></li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" commitIfNecessary(sessionToUse, message);
// Indicate that no message has been received.
return false;
}"><pre class="notranslate"><code class="notranslate"> commitIfNecessary(sessionToUse, message);
// Indicate that no message has been received.
return false;
}
</code></pre></div>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.4</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106931" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12136" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12136/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12136">#12136</a> Setup of JMS message listener invoker failed for destination when upgrading from 3.0.2 to 3.0.4 (<em><strong>"duplicates"</strong></em>)</li>
</ul> | 0 |
<p dir="auto">Sampling using the sample() function does not work for DPGMM (Dirichlet Process Gaussian Mixture Mode) and VBGMM (Variational inference for a Gaussian mixture model )</p>
<pre class="notranslate"> 398 cv = self.covars_[comp][0]
399 else:
--> 400 cv = self.covars_[comp]
401 X[comp_in_X] = sample_gaussian(
402 self.means_[comp], cv, self.covariance_type,
AttributeError: 'VBGMM' object has no attribute 'covars_'
</pre>
<p dir="auto">Likely related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="10425493" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/1637" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/1637/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/1637">#1637</a>, but that activity has been over a year ago.</p>
<p dir="auto">is there a potential workaround?</p> | <p dir="auto">Hi Guys -</p>
<p dir="auto">Trying out DPGMM to see if I can get a more stable solution. Things look good so far except for one problem.</p>
<p dir="auto">The sample() method does not work for dpgmm. The primary reason is that sample() assumes there is a self.covars_, but this does not exist.</p>
<p dir="auto">There is a secondary problem however. I tried using <em>get_covars to set the covars</em> but these covariances are not correct, perhaps because of a different convention somehow in the definitions of these covariances.</p>
<p dir="auto">best, and thanks for the good work on sklearn,<br>
-e</p> | 1 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/add-alt-text-to-an-image-for-accessibility#?solution=%0A%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3Cstyle%3E%0A%20%20.red-text%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%20%20%7D%0A%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20p%20%7B%0A%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%0A%20%20.smaller-image%20%7B%0A%20%20%20%20width%3A%20100px%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Ch2%20class%3D%22red-text%22%3ECatPhotoApp%3C%2Fh2%3E%0A%0A%3Cp%3EClick%20here%20for%20%3Ca%20href%3D%22%23%22%3Ecat%20photos%3C%2Fa%3E.%3C%2Fp%3E%0A%0A%3Ca%20href%3D%22%23%22%3E%3Cimg%20class%3D%22smaller-image%20thick-green-border%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%3E%3C%2Fa%3E%0A%0A%3Cp%20class%3D%22red-text%22%3EKitty%20ipsum%20dolor%20sit%20amet%2C%20shed%20everywhere%20shed%20everywhere%20stretching%20attack%20your%20ankles%20chase%20the%20red%20dot%2C%20hairball%20run%20catnip%20eat%20the%20grass%20sniff.%3C%2Fp%3E%0A%3Cp%20class%3D%22red-text%22%3EPurr%20jump%20eat%20the%20grass%20rip%20the%20couch%20scratched%20sunbathe%2C%20shed%20everywhere%20rip%20the%20couch%20sleep%20in%20the%20sink%20fluffy%20fur%20catnip%20scratched.%3C%2Fp%3E%0A" rel="nofollow">Add Alt Text to an Image for Accessibility</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for <a href="#">cat photos</a>.</p>
<a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>
<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">https://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
.<span class="pl-c1">red-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> red;
}
<span class="pl-ent">h2</span> {
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace;
}
<span class="pl-ent">p</span> {
<span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">16<span class="pl-smi">px</span></span>;
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace;
}
.<span class="pl-c1">thick-green-border</span> {
<span class="pl-c1">border-color</span><span class="pl-kos">:</span> green;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>;
<span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid;
<span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></span>;
}
.<span class="pl-c1">smaller-image</span> {
<span class="pl-c1">width</span><span class="pl-kos">:</span> <span class="pl-c1">100<span class="pl-smi">px</span></span>;
}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Click here for <span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span>cat photos<span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">smaller-image thick-green-border</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span></pre></div> | <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 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [1.31.2]</li>
<li>Operating System: [Windows 11.]</li>
<li>Browser: [NA]</li>
<li>Other info: API testing Using Playwright</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test("GET: Fetch Document Type Groups", async({request, baseURL})=>{
const response = await request.get(`${baseURL}/document-capture/document-type-groups`);
expect(response.status()).toBe(200);
const responsebody = await response.json();
const employeeDocuments = responsebody.data[1].id;
console.log(employeeDocuments);
**request.storageState.employeeDocuments = employeeDocuments;**
})
test("GET: Fetch Document Types for a DocumentTypeGroup", async({request,baseURL})=>{
const response = await request.get(`${baseURL}/document-capture/document-types`,{
params:{
**'documentTypeGroupId': request.storageState.employeeDocuments**
}
});
expect(response.status()).toBe(200);
const responsebody = await response.json();
const offerLetterDocTypeID = responsebody.data[2].id;
request.storageState.offerLetterDocTypeID =offerLetterDocTypeID;
const newHireCheckListDocTypeID = responsebody.data[1].id;
request.storageState.newHireCheckListDocTypeID = newHireCheckListDocTypeID;
})
"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"GET: Fetch Document Type Groups"</span><span class="pl-kos">,</span> <span class="pl-k">async</span><span class="pl-kos">(</span><span class="pl-kos">{</span>request<span class="pl-kos">,</span> baseURL<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-c1">=></span><span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">baseURL</span><span class="pl-kos">}</span></span>/document-capture/document-type-groups`</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">.</span><span class="pl-en">status</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">toBe</span><span class="pl-kos">(</span><span class="pl-c1">200</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">responsebody</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">response</span><span class="pl-kos">.</span><span class="pl-en">json</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">employeeDocuments</span> <span class="pl-c1">=</span> <span class="pl-s1">responsebody</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">id</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">employeeDocuments</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-s1"></span>
<span class="pl-c1">**</span><span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-c1">storageState</span><span class="pl-kos">.</span><span class="pl-c1">employeeDocuments</span> <span class="pl-c1">=</span> <span class="pl-s1">employeeDocuments</span><span class="pl-kos">;</span><span class="pl-s1"></span><span class="pl-c1">**</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"GET: Fetch Document Types for a DocumentTypeGroup"</span><span class="pl-kos">,</span> <span class="pl-k">async</span><span class="pl-kos">(</span><span class="pl-kos">{</span>request<span class="pl-kos">,</span>baseURL<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-c1">=></span><span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">baseURL</span><span class="pl-kos">}</span></span>/document-capture/document-types`</span><span class="pl-kos">,</span><span class="pl-kos">{</span>
<span class="pl-c1">params</span>:<span class="pl-kos">{</span>
<span class="pl-c1">*</span><span class="pl-c1">*</span><span class="pl-s">'documentTypeGroupId'</span>: <span class="pl-c1">request</span><span class="pl-kos">.</span><span class="pl-c1">storageState</span><span class="pl-kos">.</span><span class="pl-c1">employeeDocuments</span><span class="pl-c1">*</span><span class="pl-c1">*</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">expect</span><span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">.</span><span class="pl-en">status</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">toBe</span><span class="pl-kos">(</span><span class="pl-c1">200</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">responsebody</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">response</span><span class="pl-kos">.</span><span class="pl-en">json</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">offerLetterDocTypeID</span> <span class="pl-c1">=</span> <span class="pl-s1">responsebody</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">;</span>
<span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-c1">storageState</span><span class="pl-kos">.</span><span class="pl-c1">offerLetterDocTypeID</span> <span class="pl-c1">=</span><span class="pl-s1">offerLetterDocTypeID</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">newHireCheckListDocTypeID</span> <span class="pl-c1">=</span> <span class="pl-s1">responsebody</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">;</span>
<span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-c1">storageState</span><span class="pl-kos">.</span><span class="pl-c1">newHireCheckListDocTypeID</span> <span class="pl-c1">=</span> <span class="pl-s1">newHireCheckListDocTypeID</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto"><strong>Expected</strong><br>
IT should fetch the value from the previous request that is getting stored in the first call</p>
<p dir="auto"><strong>Actual</strong><br>
I was trying to chain this two request by fetching a data from the response and storing in the storagestate (request.storageState.employeeDocuments = employeeDocuments;) , but when i am passing this in the query params of the second request, it is gettng passed as undefined</p> | <h3 dir="auto">Feature request</h3>
<p dir="auto">The purpose is testing of complete applications that have concepts like branch offices or clinics. More explained below.</p>
<p dir="auto">The solution would be instead of from a directory listing to get tests from a JavaScript generator function <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators</a> . One possible way to configure could be if <code class="notranslate">project.config.testDir</code> is a <code class="notranslate">function</code> instead of a <code class="notranslate">string</code>, but it could have its own name too. The entry point to start implementing apparently would be <code class="notranslate">test/runner.ts</code> but it would affect <code class="notranslate">test/loader.ts</code>. The functionality should be optional, only if such a function is provided. If used, it would imply less parallelism, limiting to one worker per project.</p>
<p dir="auto">There are three items of functionalitiy. Currently we use very hacky workarounds. To understand the need:</p>
<p dir="auto">A branch office or clinic needs to be set up. With proper authentication and verification, involving email, OAuth, etc., a staff memeber filling out information about themselves, etc. that process as <strong>a test case can take a minute per user</strong> (also for the clinic itself). Outside IT systems are involved for the authentication and verification, which take any number of seconds to process, sometimes half a minute. Not a problem, but it takes a while.</p>
<p dir="auto">Those staff members need to exist and be used in further tests. Not just one, but different roles, for example a doctor versus a technician, but also with different access rights, admin versus regular user. Maybe a handful or a dozen users are needed, so that <strong>further tests then can determine</strong> that they cannot violate role specific limitations. E.g. a non-admin user must not be able to change anyone else's records, or a tech may not be allowed to sign a diagnosis like a doctor.</p>
<p dir="auto">Therefore, <strong>executing tests in order is essential</strong>: A clinic must be created, professional users must be created, only then patients can be seen.</p>
<p dir="auto">The creation of a clinic and of professional users itself are distinct test cases. They are part of the system and as such deserved to be implemented as test cases. It makes little sense to duplicate that ability some other way. That reinforces the idea that executing tests in order is essential.</p>
<p dir="auto">As a side note, it would be nice after creating a set of users, then to run some code that isn't test code proper, but that sets up "from now on use the users that have been created". This does matter for the idea of execution in time: If <strong>the test running mechanism comes back to the generator function after each test</strong>, that allows the generator function to have additional code in it, that "knows" after all users have been generated, to set something up for the following tests. That step of setting up wouldn't work if the test running mechanism ahead of time asks for all tests to run. (Workaround for this one requirement: Make and insert in order a fake test that does those intermediate setup steps.)</p>
<p dir="auto">The next topic: If you need ten users, maybe that would be ten times the same test case "register-a-new-user.test.ts". The generator function could ten times give the same script to run. That works better if the test running mechanism comes back with <strong>next()</strong> after each test and <strong>the generator function gives it the same test file name to run again</strong> next. Each test run would be somewhat different with random or seed data.</p>
<p dir="auto">There is more about randomization, but to keep it short, we can describe: Running the same test case any number, three times, twenty time, a hundred times, is very valuable to what we have been doing. Specifically there is a lengthy form, that takes half a minute or a minute to fill out, in part because of API calls to the server, not useless waiting, not lack of skill in test writing, just a lengthy form. Imagine patient intake, health history, or imagine a complete tax form (which are longer for people with family or a business). The point is: A hundred or even ten or three of those, do not reasonably fit into a single test. And, because of the many possible combinations of data (age, history, symptoms, etc.) randomization is a significant feature to actually achieve quality.</p>
<p dir="auto">Therefore, the abilitiy to run the same test file multiple times, any number of repetions as seen fit that time (for example quick acceptance versus a broader sweep) is important. (Difficult workaround: Symlinks. Not how it should be. Parallelism, cleanup, naming, etc..)</p>
<p dir="auto">It is important to do this within a test run, in order to have reporting. We have so far done some of this with scripting outside loops, invoking Playwright for each repetition, but that means there isn't a singular final report.</p>
<p dir="auto">Notably, a generator function can be invoked multiple times, also in parallel, e.g. if testing Chromium, Firefox, WebKit.</p>
<p dir="auto">Related could be <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="917597725" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/7028" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/7028/hovercard" href="https://github.com/microsoft/playwright/issues/7028">#7028</a> and maybe <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="918006563" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/7050" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/7050/hovercard" href="https://github.com/microsoft/playwright/issues/7050">#7050</a> .</p> | 0 |
<p dir="auto">Uncaught Error: EACCES, open '/home/alberto/.atom/compile-cache/cson/5af7724b023a6274b520f79f04fb798a67319ca7.json'</p>
<p dir="auto"><strong>Atom Version</strong>: 0.153.0<br>
<strong>System</strong>: linux 3.16.0-25-generic<br>
<strong>Thrown From</strong>: Atom Core</p> | <p dir="auto">Ok so this was my first build on Linux.<br>
After making sure the right node version was installed, I was able to complete the build seemingly without errors, following the <a href="https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md">instructions</a>.</p>
<p dir="auto">However, when launching Atom, I get a permissions error of some kind during onload:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7287076/3834475/dc2be864-1db1-11e4-9662-9bae6e9837fd.png"><img src="https://cloud.githubusercontent.com/assets/7287076/3834475/dc2be864-1db1-11e4-9662-9bae6e9837fd.png" alt="screenshot from 2014-08-06 22 37 03" style="max-width: 100%;"></a></p>
<p dir="auto">I suspect I need to manually change folder permissions somewhere, but it's not clear to me where.</p>
<p dir="auto">Any help would be much appreciated.</p> | 1 |
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-line-up-form-elements-responsively-with-bootstrap" rel="nofollow">Waypoint: Line up Form Elements Responsively with Bootstrap</a></p>
<p dir="auto">The padding or margins around text in this challenge causes several issues.</p>
<ul dir="auto">
<li>The text is not properly centered in the Like, Info, and Delete buttons in earlier parts of the waypoint before the FA icons are added</li>
<li>The "delete" text runs off only showing "dele"</li>
<li>The "loving" text overflows onto the next line</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/15202102/10599273/3f882dde-76b5-11e5-8316-4dbea7dbd0eb.PNG"><img width="245" alt="capture" src="https://cloud.githubusercontent.com/assets/15202102/10599273/3f882dde-76b5-11e5-8316-4dbea7dbd0eb.PNG" style="max-width: 100%;"></a></p> | <p dir="auto">Hmm, I don't know why, but I am getting issues with the preview layout in the bootstrap section.<br>
First in the buttons section : <a href="http://prntscr.com/89uesz" rel="nofollow">http://prntscr.com/89uesz</a></p>
<p dir="auto">Then in the check box section: <a href="http://prntscr.com/89ujcq" rel="nofollow">http://prntscr.com/89ujcq</a></p>
<p dir="auto">I am sure there is no error with my code, but still I am pasting the code for it here</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="col-xs-8">
<h2 class="text-primary text-center">CatPhotoApp</h2>
</div>
<div class="col-xs-4">
<a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
</div>
<img src="http://bit.ly/fcc-running-cats" class="img-responsive">
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i> Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>
</div>
</div>
<p>Things cats <span class="text-danger">love:</span></p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<div class="row">
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
</div>
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Loving</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Lazy</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Crazy</label>
</div>
</div>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>"><pre class="notranslate"><code class="notranslate"><link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="col-xs-8">
<h2 class="text-primary text-center">CatPhotoApp</h2>
</div>
<div class="col-xs-4">
<a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
</div>
<img src="http://bit.ly/fcc-running-cats" class="img-responsive">
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i> Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>
</div>
</div>
<p>Things cats <span class="text-danger">love:</span></p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<div class="row">
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
</div>
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Loving</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Lazy</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Crazy</label>
</div>
</div>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>
</code></pre></div> | 1 |
<p dir="auto">I actually see two problems here. The state here is that the tests have run successfully to completion.</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="% krun -q kubectl --context=federation-cluster get svc --all-namespaces
% krun -q kubectl --context=federation-e2e-gce-us-central1-c get svc --all-namespaces | grep federated-service
zsh: done krun -q kubectl --context=federation-e2e-gce-us-central1-c get svc |
zsh: exit 1 grep federated-service
% ^1-c^1-b
krun -q kubectl --context=federation-e2e-gce-us-central1-b get svc --all-namespaces | grep federated-service
e2e-tests-federated-service-51tvg federated-service 10.0.247.207 104.197.14.220 80/TCP 35m
e2e-tests-federated-service-qfx5a federated-service 10.0.48.177 104.198.194.87 80/TCP 36m
% krun -q kubectl --context=federation-e2e-gce-us-central1-c get ns
NAME STATUS AGE
default Active 2d
federation Active 1d
kube-system Active 2d
% ^1-c^1-b
krun -q kubectl --context=federation-e2e-gce-us-central1-b get ns
NAME STATUS AGE
default Active 2d
e2e-tests-federated-service-51tvg Active 36m
e2e-tests-federated-service-a4pmu Active 37m
e2e-tests-federated-service-dvrzj Active 38m
e2e-tests-federated-service-qfx5a Active 37m
kube-system Active 2d"><pre class="notranslate">% <span class="pl-s1">krun -q kubectl --context=federation-cluster get svc --all-namespaces </span>
% <span class="pl-s1">krun -q kubectl --context=federation-e2e-gce-us-central1-c get svc --all-namespaces <span class="pl-k">|</span> grep federated-service</span>
<span class="pl-c1">zsh: done krun -q kubectl --context=federation-e2e-gce-us-central1-c get svc | </span>
<span class="pl-c1">zsh: exit 1 grep federated-service</span>
% <span class="pl-s1">^1-c^1-b</span>
<span class="pl-c1">krun -q kubectl --context=federation-e2e-gce-us-central1-b get svc --all-namespaces | grep federated-service</span>
<span class="pl-c1">e2e-tests-federated-service-51tvg federated-service 10.0.247.207 104.197.14.220 80/TCP 35m</span>
<span class="pl-c1">e2e-tests-federated-service-qfx5a federated-service 10.0.48.177 104.198.194.87 80/TCP 36m</span>
% <span class="pl-s1">krun -q kubectl --context=federation-e2e-gce-us-central1-c get ns</span>
<span class="pl-c1">NAME STATUS AGE</span>
<span class="pl-c1">default Active 2d</span>
<span class="pl-c1">federation Active 1d</span>
<span class="pl-c1">kube-system Active 2d</span>
% <span class="pl-s1">^1-c^1-b</span>
<span class="pl-c1">krun -q kubectl --context=federation-e2e-gce-us-central1-b get ns</span>
<span class="pl-c1">NAME STATUS AGE</span>
<span class="pl-c1">default Active 2d</span>
<span class="pl-c1">e2e-tests-federated-service-51tvg Active 36m</span>
<span class="pl-c1">e2e-tests-federated-service-a4pmu Active 37m</span>
<span class="pl-c1">e2e-tests-federated-service-dvrzj Active 38m</span>
<span class="pl-c1">e2e-tests-federated-service-qfx5a Active 37m</span>
<span class="pl-c1">kube-system Active 2d</span></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> We're not deleting the namespace from the second cluster.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> It seems sometimes the services aren't deleted when the parent service goes away. That's hidden in <code class="notranslate">1-c</code>. We should add a test.</li>
</ul>
<p dir="auto">@kubernetes/sig-cluster-federation</p> | <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): secret permission mode</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br>
version.Info{Major:"1", Minor:"6+", GitVersion:"v1.6.0-alpha.0.551+8fefda3bc3c134", GitCommit:"8fefda3bc3c134fbd29ec18c7b6b9bddb0add86d", GitTreeState:"clean", BuildDate:"2016-11-16T01:56:56Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>OS</strong> (e.g. from /etc/os-release): Red Hat Enterprise Linux Server 7.2</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 3.10.0-327.22.2.el7.x86_64</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
In upstream doesn't set S_ISGID on the directory in volumes. But, set S_ISGID on the directory in volumes in OCP.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
<strong>1. Create a secret: <code class="notranslate">kubectl create -f secret.yaml</code></strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1
kind: Secret
metadata:
name: test-secret
data:
data-1: dmFsdWUtMQ0K
data-2: dmFsdWUtMg0KDQo="><pre class="notranslate"><code class="notranslate">apiVersion: v1
kind: Secret
metadata:
name: test-secret
data:
data-1: dmFsdWUtMQ0K
data-2: dmFsdWUtMg0KDQo=
</code></pre></div>
<p dir="auto"><strong>2. Create a pod with default permission mode: <code class="notranslate">kubectl create -f secret-permission-pod.yaml</code></strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1
kind: Pod
metadata:
name: secret-permission-pod
spec:
containers:
- name: secret-permission-pod
image: redis
volumeMounts:
- name: foo-volume
mountPath: "/etc/foo"
volumes:
- name: foo-volume
secret:
secretName: test-secret
defaultMode: 0400"><pre class="notranslate"><code class="notranslate">apiVersion: v1
kind: Pod
metadata:
name: secret-permission-pod
spec:
containers:
- name: secret-permission-pod
image: redis
volumeMounts:
- name: foo-volume
mountPath: "/etc/foo"
volumes:
- name: foo-volume
secret:
secretName: test-secret
defaultMode: 0400
</code></pre></div>
<p dir="auto"><strong>3. Check <code class="notranslate">/etc/foo</code> directory and files permission</strong></p>
<p dir="auto"><strong>Actual results</strong>:<br>
Doesn't set S_ISGID on the directory <code class="notranslate">/etc/foo</code>.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ls -ld /etc/foo
drwxrwxrwt. 3 root root 120 Nov 16 02:23 /etc/foo <-- Doesn't set S_ISGID
# ls -l /etc/foo/..data/*
-r--------. 1 root root 9 Nov 16 02:23 /etc/foo/..data/data-1
-r--------. 1 root root 11 Nov 16 02:23 /etc/foo/..data/data-2"><pre class="notranslate"><code class="notranslate"># ls -ld /etc/foo
drwxrwxrwt. 3 root root 120 Nov 16 02:23 /etc/foo <-- Doesn't set S_ISGID
# ls -l /etc/foo/..data/*
-r--------. 1 root root 9 Nov 16 02:23 /etc/foo/..data/data-1
-r--------. 1 root root 11 Nov 16 02:23 /etc/foo/..data/data-2
</code></pre></div>
<p dir="auto"><strong>Expected results</strong>:<br>
Should set S_ISGID on the directory <code class="notranslate">/etc/foo</code>.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ls -ld /etc/foo
drwxrwsrwt. 3 root root 120 Nov 16 02:23 /etc/foo <-- Set S_ISGID
# ls -l /etc/foo/..data/*
-r--------. 1 root root 9 Nov 16 02:23 /etc/foo/..data/data-1
-r--------. 1 root root 11 Nov 16 02:23 /etc/foo/..data/data-2"><pre class="notranslate"><code class="notranslate"># ls -ld /etc/foo
drwxrwsrwt. 3 root root 120 Nov 16 02:23 /etc/foo <-- Set S_ISGID
# ls -l /etc/foo/..data/*
-r--------. 1 root root 9 Nov 16 02:23 /etc/foo/..data/data-1
-r--------. 1 root root 11 Nov 16 02:23 /etc/foo/..data/data-2
</code></pre></div>
<p dir="auto"><strong>Anything else do we need to know</strong>:<br>
You can refer to OCP bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1387306" rel="nofollow">https://bugzilla.redhat.com/show_bug.cgi?id=1387306</a><br>
Relate Kube PR: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187816063" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36386" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/36386/hovercard" href="https://github.com/kubernetes/kubernetes/pull/36386">#36386</a><br>
Relate Origin cherry-pick PR: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187822524" data-permission-text="Title is private" data-url="https://github.com/openshift/origin/issues/11816" data-hovercard-type="pull_request" data-hovercard-url="/openshift/origin/pull/11816/hovercard" href="https://github.com/openshift/origin/pull/11816">openshift/origin#11816</a></p> | 0 |
<p dir="auto">This was reported by a Google user of who embedded Flutter into their existing app and would notice side-by-side differences between Flutter content and Obj-C/MDC-iOS content.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11857803/38708253-36141234-3e6a-11e8-8457-fb93da10c17a.png"><img src="https://user-images.githubusercontent.com/11857803/38708253-36141234-3e6a-11e8-8457-fb93da10c17a.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11857803/38708263-41280eb4-3e6a-11e8-951f-28a50e34a3b8.png"><img src="https://user-images.githubusercontent.com/11857803/38708263-41280eb4-3e6a-11e8-951f-28a50e34a3b8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I'm actually not sure which is Flutter off the top of my head (someone else should feel free to edit this comment to label them). <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/willlarche/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/willlarche">@willlarche</a> mentioned this is expected since MDC-iOS doesn't perfectly match the MD spec yet. (I'm not sure if Flutter does, but <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jason-simmons/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jason-simmons">@jason-simmons</a> certainly spent a lot of time trying).</p> | <p dir="auto">This was reported by a Google user of who embedded Flutter into their existing app and would notice side-by-side differences between Flutter content and Obj-C/MDC-iOS content.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11857803/38708253-36141234-3e6a-11e8-8457-fb93da10c17a.png"><img src="https://user-images.githubusercontent.com/11857803/38708253-36141234-3e6a-11e8-8457-fb93da10c17a.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11857803/38708263-41280eb4-3e6a-11e8-951f-28a50e34a3b8.png"><img src="https://user-images.githubusercontent.com/11857803/38708263-41280eb4-3e6a-11e8-951f-28a50e34a3b8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I'm actually not sure which is Flutter off the top of my head (someone else should feel free to edit this comment to label them). <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/willlarche/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/willlarche">@willlarche</a> mentioned this is expected since MDC-iOS doesn't perfectly match the MD spec yet. (I'm not sure if Flutter does, but <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jason-simmons/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jason-simmons">@jason-simmons</a> certainly spent a lot of time trying).</p> | 1 |
<p dir="auto">This is a super-useful feature that I miss from Sublime.</p>
<p dir="auto">For example, given the filename <code class="notranslate">TopSecretAlgorithm.js</code>, with my cursor at the front of the word:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|TopSecretAlgorithm.js"><pre class="notranslate"><code class="notranslate">|TopSecretAlgorithm.js
</code></pre></div>
<p dir="auto">I could press <code class="notranslate">ctrl+right</code> once to get over to <code class="notranslate">Secret</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Top|SecretAlgorithm.js"><pre class="notranslate"><code class="notranslate">Top|SecretAlgorithm.js
</code></pre></div>
<p dir="auto">again to get over to <code class="notranslate">Algorithm</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TopSecret|Algorithm.js"><pre class="notranslate"><code class="notranslate">TopSecret|Algorithm.js
</code></pre></div>
<p dir="auto">Get it? I would be happy to submit a PR if someone can point me in the right direction of where I should implement this.</p> | <p dir="auto">SublimeText supports navigation by subwords (underscore separated or hills in camelcase):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }"><pre class="notranslate"><code class="notranslate">{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }
</code></pre></div>
<p dir="auto">It would be nice if Atom also supported <code class="notranslate">move*</code>, <code class="notranslate">delete*</code>, <code class="notranslate">backspace*</code>, <code class="notranslate">select*</code> editor commands based on subwords.</p> | 1 |
<p dir="auto">Whenever the name of the Percentage Metric is the same as the name of the Sort By column then a duplicate column for the Percentage Metric appears</p>
<p dir="auto">Workaround:<br>
Change the column name of the Percentage Metric field</p>
<h4 dir="auto">Screenshots</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/47314887/99083312-0b6b3c80-25ce-11eb-959d-6fc12f904c80.png"><img src="https://user-images.githubusercontent.com/47314887/99083312-0b6b3c80-25ce-11eb-959d-6fc12f904c80.png" alt="image" style="max-width: 100%;"></a></p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>Create a Table Viz</li>
<li>Add the same column in Percentage Metric & Sort By fields</li>
</ol>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>superset version: 0.37.2</li>
</ul>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Add any other context about the problem here.</p> | <p dir="auto">We are in a situation where we want to split the exact same dashboard with a different dimension depending on what we're testing.<br>
Right now the only solution we've found is to duplicate every slice in the dashboard, change the dimension we use to split data for every single slice, and recreate a new dashboard with all these new slices.<br>
It is very time consuming, and it is quite hard to keep all these dashboard up-to-date as we add metrics in a slice and so on.</p>
<p dir="auto">It would really save us a lot of time if we could have a single dashboard and choose which dimension(s) we split the data on at the dashboard level.<br>
A way to acheive this would be to add an (optional) "split" field in the filter slice, in which we could specify which dimensions we want to split data on for all the slices in the dashboard</p> | 0 |
<p dir="auto">My original task looked like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - name: "Check Ansible version"
run_once: true
debug: msg="You need at least version 2.0.0.0, currently using version {{ ansible_version.full }}"
failed_when: "{{ ansible_version.full | version_compare('2.0.0.0', operator='lt', strict=False)}}""><pre class="notranslate"><code class="notranslate"> - name: "Check Ansible version"
run_once: true
debug: msg="You need at least version 2.0.0.0, currently using version {{ ansible_version.full }}"
failed_when: "{{ ansible_version.full | version_compare('2.0.0.0', operator='lt', strict=False)}}"
</code></pre></div>
<p dir="auto">and that results in <code class="notranslate">The conditional check '{{ ansible_version.full|version_compare(\"2.0.0.0\" ' failed. The error was: template error while templating string: unexpected end of template, expected ','.. String: {{ ansible_version.full|version_compare(\"2.0.0.0\" "}</code></p>
<p dir="auto">Following advise from Brian in the forum I changed the condition to <code class="notranslate">failed_when: ansible_version.full | version_compare('2.0.0.0', operator='lt', strict=False)</code> which then throws a different error <code class="notranslate">The error was: template error while templating string: unexpected '}', expected ')'. String: {% if ansible_version.full|version_compare('2.0.0.0' %} True {% else %} False {% endif %}"}</code></p>
<p dir="auto">Looks like a bug to me, isn't it?</p> | <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.0.2.0
config file = /home/sfox/.ansible.cfg
configured module search path = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library"><pre class="notranslate"><code class="notranslate">ansible 2.0.2.0
config file = /home/sfox/.ansible.cfg
configured module search path = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="library = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library
forks = 20
sudo_flags = -H -i
jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n,jinja2.ext.loopcontrols,jinja2.ext.with_
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
action_plugins = /usr/share/ansible_plugins/action_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/action
callback_plugins = /usr/share/ansible_plugins/callback_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/callback
connection_plugins = /usr/share/ansible_plugins/connection_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/connection
lookup_plugins = /usr/share/ansible_plugins/lookup_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/lookup
vars_plugins = /usr/share/ansible_plugins/vars_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/vars
filter_plugins = /usr/share/ansible_plugins/filter_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/filter
nocows = 1"><pre class="notranslate"><code class="notranslate">library = /home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/library
forks = 20
sudo_flags = -H -i
jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n,jinja2.ext.loopcontrols,jinja2.ext.with_
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
action_plugins = /usr/share/ansible_plugins/action_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/action
callback_plugins = /usr/share/ansible_plugins/callback_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/callback
connection_plugins = /usr/share/ansible_plugins/connection_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/connection
lookup_plugins = /usr/share/ansible_plugins/lookup_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/lookup
vars_plugins = /usr/share/ansible_plugins/vars_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/vars
filter_plugins = /usr/share/ansible_plugins/filter_plugins:/home/sfox/src/sysops/ops/branches/ansible-2.0/ansible/plugins/filter
nocows = 1
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">From: Fedora 23<br>
Managing: Ubuntu Trusty (14.04)</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">I can no longer specify lists or tuples in a failed_when statement like I could with 1.9.x</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Using this inventory file</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test_host ansible_host=10.0.0.208"><pre class="notranslate"><code class="notranslate">test_host ansible_host=10.0.0.208
</code></pre></div>
<p dir="auto">and this playbook</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: My Playbook
hosts: test_host
gather_facts: no
tasks:
- shell: ls pants
register: result
failed_when: result.rc not in [0, 1]
#failed_when: "result.rc not in [0, 1]"
#failed_when: result.rc not in (0, 1)"><pre class="notranslate"><code class="notranslate">- name: My Playbook
hosts: test_host
gather_facts: no
tasks:
- shell: ls pants
register: result
failed_when: result.rc not in [0, 1]
#failed_when: "result.rc not in [0, 1]"
#failed_when: result.rc not in (0, 1)
</code></pre></div>
<p dir="auto">I cannot get Ansible to execute this with or without quotes. Both lists and tuples worked previously.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [My Playbook] ************************************************************
TASK: [shell ls pants] ********************************************************
failed: [test_host] => {"changed": true, "cmd": "ls pants", "delta": "0:00:00.003004", "end": "2016-04-05 16:29:21.478688", "failed": true, "failed_when_result": true, "rc": 2, "start": "2016-04-05 16:29:21.475684", "stdout_lines": [], "warnings": []}
stderr: ls: cannot access pants: No such file or directory
FATAL: all hosts have already failed -- aborting"><pre class="notranslate"><code class="notranslate">PLAY [My Playbook] ************************************************************
TASK: [shell ls pants] ********************************************************
failed: [test_host] => {"changed": true, "cmd": "ls pants", "delta": "0:00:00.003004", "end": "2016-04-05 16:29:21.478688", "failed": true, "failed_when_result": true, "rc": 2, "start": "2016-04-05 16:29:21.475684", "stdout_lines": [], "warnings": []}
stderr: ls: cannot access pants: No such file or directory
FATAL: all hosts have already failed -- aborting
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [My Playbook] *************************************************************
TASK [command] *****************************************************************
fatal: [test_host]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc not in [0' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc not in [0 %} True {% else %} False {% endif %}"}
NO MORE HOSTS LEFT *************************************************************"><pre class="notranslate"><code class="notranslate">PLAY [My Playbook] *************************************************************
TASK [command] *****************************************************************
fatal: [test_host]: FAILED! => {"failed": true, "msg": "The conditional check 'result.rc not in [0' failed. The error was: template error while templating string: unexpected '}', expected ']'. String: {% if result.rc not in [0 %} True {% else %} False {% endif %}"}
NO MORE HOSTS LEFT *************************************************************
</code></pre></div> | 1 |
<p dir="auto">I cannot build the code after upgade to material-ui 1.0.0-beta.18.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20197580/32212958-cb9228b8-be4b-11e7-8b84-b687acbe6d3a.png"><img src="https://user-images.githubusercontent.com/20197580/32212958-cb9228b8-be4b-11e7-8b84-b687acbe6d3a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I have checked the code see that TransitionProps are using children with type React.ReactElement, but CollapseProps are using a diffirence type React.ReactNode. Could it problem?</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.18</td>
</tr>
<tr>
<td>React</td>
<td>16.0.0</td>
</tr>
</tbody>
</table> | <p dir="auto"><a href="https://material-ui-1dab0.firebaseapp.com/#/" rel="nofollow">https://material-ui-1dab0.firebaseapp.com/#/</a></p>
<h3 dir="auto">Problem description</h3>
<h3 dir="auto">Link to minimally-working code that reproduces the issue</h3>
<p dir="auto">I see error<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/590985/24245539/5454c984-0fd4-11e7-83a4-80cb67fd04af.png"><img src="https://cloud.githubusercontent.com/assets/590985/24245539/5454c984-0fd4-11e7-83a4-80cb67fd04af.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 1.0-alpha</li>
<li>React: 15.4</li>
<li>Browser: IE 11</li>
</ul> | 0 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/1848" rel="nofollow">http://projects.scipy.org/scipy/ticket/1848</a> on 2013-02-20 by trac user ken.bastiaensen@..., assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a>.</em></p>
<p dir="auto">Hi,</p>
<p dir="auto">I think the implementation of invgauss might not be correct.</p>
<p dir="auto">The Inverse Gaussian is usually defined as the first hitting time probability of a random gaussian process (Wiener) drifting towards a barrier. See e.g. <a href="http://en.wikipedia.org/wiki/Inverse_Gaussian_distribution" rel="nofollow">http://en.wikipedia.org/wiki/Inverse_Gaussian_distribution</a><br>
Usually the pdf is defined in the form pdf(x;d,a) = d / sqrt(2_pi_x**3) * exp(-(a<em>x-d)**2/(2</em>x))<br>
with d = c / sigma, a = m / sigma,<br>
c: distance to barrier at start<br>
and (m,sigma): drift and square vol of the process.</p>
<p dir="auto">In scipy.stats it is defined as<br>
invgauss.pdf(x, mu) = 1 / sqrt(2_pi_x**3) * exp(-(x-mu)<strong>2/(2_x_mu</strong>2))</p>
<p dir="auto">I believe the location and scale transformation x -> (x-loc)/scale cannot capture the actual change in parameter together with the parameter mu. [[BR]]</p>
<p dir="auto">The parameter loc cannot be used different from zero as it introduces a polynomial in the sqrt of the first pdf factor, changing the distribution.[[BR]]</p>
<p dir="auto">A change in parameter scale:<br>
pdf_scale(x,mu) = sqrt(scale<strong>3)/sqrt(2_pi_x</strong>3)_exp(-(sqrt(scale)-x/(mu_sqrt(scale))*_2/(2_x)) [[BR]]</p>
<p dir="auto">In the exponential factor, the parameter mu is multiplied by sqrt(scale), as well as the first term in the numerator. But the first pdf factor is multiplied by sqrt(scale**3).</p>
<p dir="auto">I don't think there exists a transformation betweeen the usual pdf as on wikipedia and the parameters mu,loc,scale in the implementation. Or differently stated, invgauss only captures the distribution when distance to barrier equals standard deviation of the process, a very specific case.</p>
<p dir="auto">I suggest to change to distribution implementation.</p>
<p dir="auto">Should a transformation exist, then please regard this as an enhancement request for the documentation to include this transformation.</p>
<p dir="auto">This question was also asked in the user mailinglist but never answered: <a href="http://mail.scipy.org/pipermail/scipy-user/2012-June/032420.html" rel="nofollow">http://mail.scipy.org/pipermail/scipy-user/2012-June/032420.html</a></p>
<p dir="auto">Ken</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/1339" rel="nofollow">http://projects.scipy.org/scipy/ticket/1339</a> on 2010-12-03 by trac user bjarni.vilhjalmsson, assigned to unknown.</em></p>
<p dir="auto">A rather simple and small bug:</p>
<p dir="auto">File "/sw/lib/python2.6/site-packages/scipy/optimize/zeros.py", line 123, in newton<br>
warnings.warn(msg, RuntimeWarning)<br>
NameError: global name 'warnings' is not defined</p> | 0 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/target-a-specific-child-of-an-element-using-jquery#?solution=%0Afccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.parent%28%29.css%28%22background-color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23right-well%22%29.children%28%29.css%28%22color%22%2C%20%22orange%22%29%3B%0A%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Target a Specific Child of an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red");
$("#right-well").children().css("color", "orange");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">parent</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"background-color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">children</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"orange"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | <p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers" rel="nofollow">http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers</a> has an issue. User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3, WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36</code>. Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">When the page initially loads it only has this much code</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
p {"><pre class="notranslate"><span class="pl-c1"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"http://fonts.googleapis.com/css?family=Lobster"</span> <span class="pl-c1">rel</span><span class="pl-c1">=</span><span class="pl-s">"stylesheet"</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"text/css"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">style</span><span class="pl-c1">></span>
.red-text <span class="pl-kos">{</span>
<span class="pl-s1">color</span>: <span class="pl-s1">red</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
h2 <span class="pl-kos">{</span>
<span class="pl-s1">font</span><span class="pl-c1">-</span><span class="pl-s1">family</span>: <span class="pl-v">Lobster</span><span class="pl-kos">,</span> <span class="pl-v">Monospace</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
p <span class="pl-kos">{</span></pre></div>
<p dir="auto">When you click anywhere on the page t loads the rest. Refresh brings it back to a 'partially' loaded page</p> | 0 |
<p dir="auto">by <strong>armando.dicianno</strong>:</p>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem. Thanks.
What steps will reproduce the problem?
1. amd64, linux on a basic Gentoo install (nothing fancy or weird), gcc-4.4.4, multilib
2. hg clone go
3. cd go/src ; ./all.bash
What is the expected output?
Whatever success is!
What do you see instead?
--- cd cmd/ebnflint
ebnflint -start="SourceFile"
"/home/fafhrd/Projects/go/repos/go"/doc/go_spec.html
make: *** [test] Segmentation fault
Which compiler are you using (5g, 6g, 8g, gccgo)?
This is during install, so whatever that is internally (6g?); I tried with no GOARCH or
GOOS and then GOARCH=amd64 and GOOS=linux.
Which operating system are you using?
Gentoo Linux. I have a very basic amd64 install. gcc-4.4.4 (gentoo -r2)
Which revision are you using? (hg identify)
a7800e20064a tip
Please provide any additional information below.
I spent some time writing an ebuild for wider use. In my tests for seeing what files
were needed (GOROOT v. GOROOT_FINAL), I noticed that godoc also segfaults -- this will
end up being a different bug, I'm sure. ;-) However, it may be related.
-----------
Feel free to let me know about further system or debugging information you need. While
I'm very new to Go, I generally know how to invoke and use various development tools --
I just don't know what I'm looking for in this case.</pre> | <pre class="notranslate"><a href="http://groups.google.com/group/golang-" rel="nofollow">http://groups.google.com/group/golang-</a>
nuts/browse_thread/thread/22d61234aaadfe40</pre> | 0 |
<ul dir="auto">
<li>Electron version: 1.6.6</li>
<li>Operating system: Windows 7 and 8</li>
</ul>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">When selecting content of a text input using a touch device on Windows (double tap), electron crash.<br>
This will not happen using pointer device.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">I've made a super simple test available in <a href="https://github.com/lowki/electron-input-crash">this repo</a></p> | <ul dir="auto">
<li>Electron version: 1.6.2 (also on latest 1.6.6)</li>
<li>Operating system: Windows</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">No crash.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Crash</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Launch electron (default app). Select text using touch gestures.</p>
<p dir="auto">stack trace</p>
<h1 dir="auto">ChildEBP RetAddr</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="00 03b7d854 00b717d0 electron!base::ObserverListBase<aura::client::TransientWindowClientObserver>::begin+0x3
01 03b7d940 008c908f electron!wm::TransientWindowManager::AddTransientChild+0x5a
02 03b7d94c 0062961c electron!wm::AddTransientChild+0x16
03 03b7da48 00602a41 electron!views::NativeWidgetAura::InitNativeWidget+0x10a
04 03b7db74 00b70af5 electron!views::Widget::Init+0x2ba
05 03b7dc6c 00b70a0d electron!views::BubbleDialogDelegateView::CreateBubble+0x10c
06 03b7dc80 008c8b3d electron!views::BubbleDialogDelegateView::CreateBubble+0x24
07 03b7dcc0 008c8ff2 electron!views::TouchSelectionMenuRunnerViews::Menu::Menu+0x136
08 03b7dce0 009ab0d3 electron!views::TouchSelectionMenuRunnerViews::OpenMenu+0x3b
09 03b7dd70 00bea44d electron!content::TouchSelectionControllerClientAura::ShowQuickMenu+0x1ba
0a 03b7e4f8 005fa67c electron!content::RenderWidgetHostViewEventHandler::OnTouchEvent+0x175
0b 03b7e510 008887cd electron!ui::EventHandler::OnEvent+0x6d
0c 03b7e528 00888b0c electron!ui::EventDispatcher::DispatchEvent+0x3d
0d 03b7e544 008889d7 electron!ui::EventDispatcher::ProcessEvent+0x8e
0e 03b7e578 00888874 electron!ui::EventDispatcherDelegate::DispatchEventToTarget+0x2a
0f 03b7e650 00ab718d electron!ui::EventDispatcherDelegate::DispatchEvent+0x87
10 03b7e738 008910fd electron!ui::EventProcessor::OnEventFromSource+0x130
11 03b7e804 0089120f electron!ui::EventSource::DeliverEventToProcessor+0x50
12 03b7e8e8 00614e61 electron!ui::EventSource::SendEventToProcessor+0xd6
13 03b7ec40 008a8653 electron!views::DesktopWindowTreeHostWin::HandleTouchEvent+0x1c2
14 03b7ec6c 008a67a9 electron!views::HWNDMessageHandler::HandleTouchEvents+0x54
15 03b7ec80 008aad49 electron!base::internal::InvokeHelper<1,void>::MakeItSo<void (__thiscall views::HWNDMessageHandler::*const &)(std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > const &),base::WeakPtr<views::HWNDMessageHandler> const &,std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > const &>+0x29
16 03b7ec94 0045382e electron!base::internal::Invoker<base::internal::BindState<void (__thiscall views::HWNDMessageHandler::*)(std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > const &),base::WeakPtr<views::HWNDMessageHandler>,std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > >,void __cdecl(void)>::Run+0x17
17 03b7ecfc 00409b2d electron!base::debug::TaskAnnotator::RunTask+0x11e
18 03b7f960 004089b6 electron!base::MessageLoop::RunTask+0x4cd
19 03b7fad0 0045499d electron!base::MessageLoop::DoWork+0x276
1a 03b7fb00 0045507a electron!base::MessagePumpForUI::DoRunLoop+0x5d
1b 03b7fb28 0040964e electron!base::MessagePumpWin::Run+0x4a
1c 03b7fbf0 00400275 electron!base::MessageLoop::RunHandler+0x5e
1d 03b7fc14 006eebf9 electron!base::RunLoop::Run+0x65
1e 03b7fc4c 006ef9e3 electron!content::BrowserMainLoop::MainMessageLoopRun+0x6e
1f 03b7fc6c 00904462 electron!content::BrowserMainLoop::RunMainMessageLoopParts+0x5b
20 03b7fc84 0063b6af electron!content::BrowserMain+0x82
21 03b7fc98 0063b5ff electron!content::RunNamedProcessTypeMain+0x7f
22 03b7fcec 00490b85 electron!content::ContentMainRunnerImpl::Run+0x91
23 03b7fcfc 002134a2 electron!content::ContentMain+0x23
24 03b7fd9c 0277850d electron!wWinMain+0x163
25 03b7fde8 75058744 electron!operator new[]+0x1c7
26 03b7fdfc 7771587d KERNEL32!BaseThreadInitThunk+0x24
27 03b7fe44 7771584d ntdll_776b0000!__RtlUserThreadStart+0x2f
28 03b7fe54 00000000 ntdll_776b0000!_RtlUserThreadStart+0x1b
"><pre class="notranslate"><code class="notranslate">00 03b7d854 00b717d0 electron!base::ObserverListBase<aura::client::TransientWindowClientObserver>::begin+0x3
01 03b7d940 008c908f electron!wm::TransientWindowManager::AddTransientChild+0x5a
02 03b7d94c 0062961c electron!wm::AddTransientChild+0x16
03 03b7da48 00602a41 electron!views::NativeWidgetAura::InitNativeWidget+0x10a
04 03b7db74 00b70af5 electron!views::Widget::Init+0x2ba
05 03b7dc6c 00b70a0d electron!views::BubbleDialogDelegateView::CreateBubble+0x10c
06 03b7dc80 008c8b3d electron!views::BubbleDialogDelegateView::CreateBubble+0x24
07 03b7dcc0 008c8ff2 electron!views::TouchSelectionMenuRunnerViews::Menu::Menu+0x136
08 03b7dce0 009ab0d3 electron!views::TouchSelectionMenuRunnerViews::OpenMenu+0x3b
09 03b7dd70 00bea44d electron!content::TouchSelectionControllerClientAura::ShowQuickMenu+0x1ba
0a 03b7e4f8 005fa67c electron!content::RenderWidgetHostViewEventHandler::OnTouchEvent+0x175
0b 03b7e510 008887cd electron!ui::EventHandler::OnEvent+0x6d
0c 03b7e528 00888b0c electron!ui::EventDispatcher::DispatchEvent+0x3d
0d 03b7e544 008889d7 electron!ui::EventDispatcher::ProcessEvent+0x8e
0e 03b7e578 00888874 electron!ui::EventDispatcherDelegate::DispatchEventToTarget+0x2a
0f 03b7e650 00ab718d electron!ui::EventDispatcherDelegate::DispatchEvent+0x87
10 03b7e738 008910fd electron!ui::EventProcessor::OnEventFromSource+0x130
11 03b7e804 0089120f electron!ui::EventSource::DeliverEventToProcessor+0x50
12 03b7e8e8 00614e61 electron!ui::EventSource::SendEventToProcessor+0xd6
13 03b7ec40 008a8653 electron!views::DesktopWindowTreeHostWin::HandleTouchEvent+0x1c2
14 03b7ec6c 008a67a9 electron!views::HWNDMessageHandler::HandleTouchEvents+0x54
15 03b7ec80 008aad49 electron!base::internal::InvokeHelper<1,void>::MakeItSo<void (__thiscall views::HWNDMessageHandler::*const &)(std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > const &),base::WeakPtr<views::HWNDMessageHandler> const &,std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > const &>+0x29
16 03b7ec94 0045382e electron!base::internal::Invoker<base::internal::BindState<void (__thiscall views::HWNDMessageHandler::*)(std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > const &),base::WeakPtr<views::HWNDMessageHandler>,std::vector<ui::TouchEvent,std::allocator<ui::TouchEvent> > >,void __cdecl(void)>::Run+0x17
17 03b7ecfc 00409b2d electron!base::debug::TaskAnnotator::RunTask+0x11e
18 03b7f960 004089b6 electron!base::MessageLoop::RunTask+0x4cd
19 03b7fad0 0045499d electron!base::MessageLoop::DoWork+0x276
1a 03b7fb00 0045507a electron!base::MessagePumpForUI::DoRunLoop+0x5d
1b 03b7fb28 0040964e electron!base::MessagePumpWin::Run+0x4a
1c 03b7fbf0 00400275 electron!base::MessageLoop::RunHandler+0x5e
1d 03b7fc14 006eebf9 electron!base::RunLoop::Run+0x65
1e 03b7fc4c 006ef9e3 electron!content::BrowserMainLoop::MainMessageLoopRun+0x6e
1f 03b7fc6c 00904462 electron!content::BrowserMainLoop::RunMainMessageLoopParts+0x5b
20 03b7fc84 0063b6af electron!content::BrowserMain+0x82
21 03b7fc98 0063b5ff electron!content::RunNamedProcessTypeMain+0x7f
22 03b7fcec 00490b85 electron!content::ContentMainRunnerImpl::Run+0x91
23 03b7fcfc 002134a2 electron!content::ContentMain+0x23
24 03b7fd9c 0277850d electron!wWinMain+0x163
25 03b7fde8 75058744 electron!operator new[]+0x1c7
26 03b7fdfc 7771587d KERNEL32!BaseThreadInitThunk+0x24
27 03b7fe44 7771584d ntdll_776b0000!__RtlUserThreadStart+0x2f
28 03b7fe54 00000000 ntdll_776b0000!_RtlUserThreadStart+0x1b
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11049886/25059870/cd957c28-2143-11e7-8f59-db10310bc653.png"><img src="https://cloud.githubusercontent.com/assets/11049886/25059870/cd957c28-2143-11e7-8f59-db10310bc653.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">template plugin</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook 2.2.1.0 (stable-2.2 941552d107) last updated 2017/01/10 08:55:57 (GMT -400)
lib/ansible/modules/core: (detached HEAD a9d844c089) last updated 2017/01/10 09:13:05 (GMT -400)
lib/ansible/modules/extras: (detached HEAD 19d20ca1a0) last updated 2017/01/10 09:13:05 (GMT -400)
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible-playbook 2.2.1.0 (stable-2.2 941552d107) last updated 2017/01/10 08:55:57 (GMT -400)
lib/ansible/modules/core: (detached HEAD a9d844c089) last updated 2017/01/10 09:13:05 (GMT -400)
lib/ansible/modules/extras: (detached HEAD 19d20ca1a0) last updated 2017/01/10 09:13:05 (GMT -400)
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Gentoo linux</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">First of all, sorry, this is an incomplete issue report. I haven't yet properly isolated the problem, but I see that you're approaching a v2.2.1 release and I think it's a release blocker. I'll work on completing the issue soon.</p>
<p dir="auto">jinjia2 recently released its v2.9, but upgrading to jinja2 2.9 causes problems in my provisioning that is fixed by reverting to jinja2 2.8.x</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">None yet, coming soon.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">No error</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'undefined variable: 0'
fatal: [sfl-web-django-ci]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}
"><pre class="notranslate"><code class="notranslate">An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'undefined variable: 0'
fatal: [sfl-web-django-ci]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}
</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">Template</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.0 (devel 0aad46c85b) last updated 2017/01/09 16:11:21 (GMT -400)
config file = /home/jadams/.ansible.cfg
configured module search path = Default w/o overrides
"><pre class="notranslate"><code class="notranslate">ansible 2.3.0 (devel 0aad46c85b) last updated 2017/01/09 16:11:21 (GMT -400)
config file = /home/jadams/.ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Tested on vanilla / no extra configuration</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A but tested from Fedora 25</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">When Jinja2 dependency is >= 2.9.0, nested templates inside of loops defined in a parent template do not receive the local scope. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{% for item in foo %}
{% include "other_template.j2" %}
{% endfor %"><pre class="notranslate"><code class="notranslate">{% for item in foo %}
{% include "other_template.j2" %}
{% endfor %
</code></pre></div>
<p dir="auto">In the above example, other_template.j2 would not have the item variable defined.</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="# Example Playbook
- hosts: localhost
connection: local
vars:
foo:
- bar
- baz
tasks:
- name: Test Template
template: src=parent.j2 dest=/tmp/template.out"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> Example Playbook</span>
- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">connection</span>: <span class="pl-s">local</span>
<span class="pl-ent">vars</span>:
<span class="pl-ent">foo</span>:
- <span class="pl-s">bar</span>
- <span class="pl-s">baz</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">name</span>: <span class="pl-s">Test Template</span>
<span class="pl-ent">template</span>: <span class="pl-s">src=parent.j2 dest=/tmp/template.out</span></pre></div>
<div class="highlight highlight-text-html-django notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# parent.j2
{% for item in foo %}
{% include "subtemplate.j2" %}
{% endfor %}
"><pre class="notranslate"># parent.j2
<span class="pl-e">{%</span> <span class="pl-k">for</span> <span class="pl-s">item</span> <span class="pl-k">in</span> <span class="pl-s">foo</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">include</span> <span class="pl-s">"subtemplate.j2"</span> <span class="pl-e">%}</span>
<span class="pl-e">{%</span> <span class="pl-k">endfor</span> <span class="pl-e">%}</span>
</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#subtemplate.j2
{{ item }}"><pre class="notranslate"><code class="notranslate">#subtemplate.j2
{{ item }}
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Expected the output of the following file:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bar
baz"><pre class="notranslate"><code class="notranslate">bar
baz
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [Test Template] ************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'item' is undefined"}"><pre class="notranslate"><code class="notranslate">TASK [Test Template] ************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'item' is undefined"}
</code></pre></div>
<p dir="auto">I believe this is because of the Jinja2 Context changes mentioned <a href="http://jinja.pocoo.org/docs/2.9/changelog/#version-2-9" rel="nofollow">here</a> in combination with Ansible overriding default Jinja2 functions. I wasn't able to track down the root cause in my limited testing.</p> | 1 |
<ul dir="auto">
<li>VSCode Version: Latest vscode-insiders release</li>
<li>OS Version: Win10</li>
</ul>
<p dir="auto">Is there a way to disable appearing ctor, foreach, function and others from completion list when only inside of JSX tag? This is very annoying,<br>
see screenshot<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8881674/14248454/0604cbe6-fa75-11e5-8fb6-2380625f9eca.png"><img src="https://cloud.githubusercontent.com/assets/8881674/14248454/0604cbe6-fa75-11e5-8fb6-2380625f9eca.png" alt="2016-04-04" style="max-width: 100%;"></a></p> | <p dir="auto">See attached screen shot, I have many snippets defined and they are the only entries that show up when I auto complete inside an object literal, which is weird imho:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/900690/11789872/1c19940e-a299-11e5-9ce8-d36a5289feb3.png"><img width="512" alt="screen shot 2015-12-14 at 19 29 35" src="https://cloud.githubusercontent.com/assets/900690/11789872/1c19940e-a299-11e5-9ce8-d36a5289feb3.png" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">Problem</h3>
<p dir="auto">The program <a href="https://github.com/superjax/plotWindow">plotWindow</a> allows several tabs to be created, and subplots within each tab.</p>
<p dir="auto">The problem is that plotWindow seems unable to display a vertical cursor in several tabs, using <a href="https://matplotlib.org/stable/gallery/widgets/multicursor.html" rel="nofollow">MultiCursor</a>.</p>
<h3 dir="auto">Proposed solution</h3>
<p dir="auto">One solution could be to enable support for tabs natively within MatPlotLib. This would make it possible to use MultiCursor correctly for all subplots, and with all tabs.</p>
<p dir="auto">Otherwise, if anyone has ideas about how to solve the problem of plotWindow integration with MatPlotLib (specifically, how to use a vertical cursor across subplots, and to allow this for all tabs), that would be fine if native tabs support is too hard.</p> | <p dir="auto">If in a code you create many figures, it starts to become inconvenient because each figure creates a new window.<br>
It would be very useful to be able to create workbook of figures organized in tabs.</p> | 1 |
<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No</li>
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 18.04 LTS</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): Docker container tensorflow/tensorflow:2.0.0b1-gpu-py3</li>
<li>TensorFlow version (use command below): 2.0.0-beta1</li>
<li>Python version: 3.6</li>
<li>Bazel version (if compiling from source):</li>
<li>GCC/Compiler version (if compiling from source):</li>
<li>CUDA/cuDNN version:</li>
<li>GPU model and memory: RTX 2080 Ti</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture<br>
<a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">script</a><br>
You can also obtain the TensorFlow version with: 1. TF 1.0: <code class="notranslate">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</code> 2. TF 2.0: <code class="notranslate">python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"</code></p>
<p dir="auto"><strong>Describe the current behavior</strong><br>
Running the the official example <a href="https://www.tensorflow.org/beta/tutorials/quickstart/advanced" rel="nofollow">https://www.tensorflow.org/beta/tutorials/quickstart/advanced</a> in the official container tensorflow/tensorflow:2.0.0b1-gpu-py3 got the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> python advanced.py
2019-06-27 17:09:34.195179: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2019-06-27 17:09:34.231111: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.231786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.635
pciBusID: 0000:01:00.0
2019-06-27 17:09:34.232026: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-27 17:09:34.232777: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-27 17:09:34.233391: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-06-27 17:09:34.233576: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-06-27 17:09:34.234366: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-06-27 17:09:34.235052: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-06-27 17:09:34.236947: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-27 17:09:34.237053: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.237643: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.238201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-27 17:09:34.238443: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-06-27 17:09:34.323017: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.324202: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x39cfd60 executing computations on platform CUDA. Devices:
2019-06-27 17:09:34.324217: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
2019-06-27 17:09:34.342363: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3600000000 Hz
2019-06-27 17:09:34.343364: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3d629c0 executing computations on platform Host. Devices:
2019-06-27 17:09:34.343375: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined>
2019-06-27 17:09:34.343534: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.344103: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.635
pciBusID: 0000:01:00.0
2019-06-27 17:09:34.344121: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-27 17:09:34.344128: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-27 17:09:34.344135: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-06-27 17:09:34.344141: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-06-27 17:09:34.344147: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-06-27 17:09:34.344153: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-06-27 17:09:34.344160: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-27 17:09:34.344188: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.344698: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.345203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-27 17:09:34.345217: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-27 17:09:34.345897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-06-27 17:09:34.345905: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-06-27 17:09:34.345910: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2019-06-27 17:09:34.346029: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.346619: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.347293: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7784 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5)
2019-06-27 17:09:35.539500: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-27 17:09:35.696347: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-27 17:09:36.203198: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2019-06-27 17:09:36.209845: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2019-06-27 17:09:36.209897: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node my_model/conv2d/Conv2D}}]]
[[my_model/dense_1/BiasAdd/_6]]
2019-06-27 17:09:36.209959: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node my_model/conv2d/Conv2D}}]]
Traceback (most recent call last):
File "advanced.py", line 84, in <module>
train_step(images, labels)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py", line 428, in __call__
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 1335, in __call__
return graph_function._filtered_call(args, kwargs) # pylint: disable=protected-access
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 589, in _filtered_call
(t for t in nest.flatten((args, kwargs), expand_composites=True)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 671, in _call_flat
outputs = self._inference_function.call(ctx, args)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 445, in call
ctx=ctx)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
(0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node my_model/conv2d/Conv2D (defined at advanced.py:36) ]]
(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node my_model/conv2d/Conv2D (defined at advanced.py:36) ]]
[[my_model/dense_1/BiasAdd/_6]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_step_848]
Errors may have originated from an input operation.
Input Source operations connected to node my_model/conv2d/Conv2D:
images (defined at advanced.py:84)
Input Source operations connected to node my_model/conv2d/Conv2D:
images (defined at advanced.py:84)
Function call stack:
train_step -> train_step
"><pre class="notranslate"><code class="notranslate">> python advanced.py
2019-06-27 17:09:34.195179: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2019-06-27 17:09:34.231111: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.231786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.635
pciBusID: 0000:01:00.0
2019-06-27 17:09:34.232026: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-27 17:09:34.232777: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-27 17:09:34.233391: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-06-27 17:09:34.233576: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-06-27 17:09:34.234366: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-06-27 17:09:34.235052: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-06-27 17:09:34.236947: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-27 17:09:34.237053: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.237643: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.238201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-27 17:09:34.238443: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-06-27 17:09:34.323017: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.324202: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x39cfd60 executing computations on platform CUDA. Devices:
2019-06-27 17:09:34.324217: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
2019-06-27 17:09:34.342363: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3600000000 Hz
2019-06-27 17:09:34.343364: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3d629c0 executing computations on platform Host. Devices:
2019-06-27 17:09:34.343375: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined>
2019-06-27 17:09:34.343534: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.344103: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.635
pciBusID: 0000:01:00.0
2019-06-27 17:09:34.344121: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-27 17:09:34.344128: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-27 17:09:34.344135: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-06-27 17:09:34.344141: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-06-27 17:09:34.344147: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-06-27 17:09:34.344153: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-06-27 17:09:34.344160: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-27 17:09:34.344188: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.344698: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.345203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-06-27 17:09:34.345217: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-06-27 17:09:34.345897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-06-27 17:09:34.345905: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-06-27 17:09:34.345910: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2019-06-27 17:09:34.346029: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.346619: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] 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-06-27 17:09:34.347293: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7784 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5)
2019-06-27 17:09:35.539500: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-06-27 17:09:35.696347: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-06-27 17:09:36.203198: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2019-06-27 17:09:36.209845: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2019-06-27 17:09:36.209897: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node my_model/conv2d/Conv2D}}]]
[[my_model/dense_1/BiasAdd/_6]]
2019-06-27 17:09:36.209959: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node my_model/conv2d/Conv2D}}]]
Traceback (most recent call last):
File "advanced.py", line 84, in <module>
train_step(images, labels)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py", line 428, in __call__
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 1335, in __call__
return graph_function._filtered_call(args, kwargs) # pylint: disable=protected-access
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 589, in _filtered_call
(t for t in nest.flatten((args, kwargs), expand_composites=True)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 671, in _call_flat
outputs = self._inference_function.call(ctx, args)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 445, in call
ctx=ctx)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
(0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node my_model/conv2d/Conv2D (defined at advanced.py:36) ]]
(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node my_model/conv2d/Conv2D (defined at advanced.py:36) ]]
[[my_model/dense_1/BiasAdd/_6]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_step_848]
Errors may have originated from an input operation.
Input Source operations connected to node my_model/conv2d/Conv2D:
images (defined at advanced.py:84)
Input Source operations connected to node my_model/conv2d/Conv2D:
images (defined at advanced.py:84)
Function call stack:
train_step -> train_step
</code></pre></div>
<p dir="auto"><strong>Describe the expected behavior</strong></p>
<p dir="auto"><strong>Code to reproduce the issue</strong><br>
Provide a reproducible test case that is the bare minimum necessary to generate the problem.</p>
<p dir="auto"><strong>Other info / logs</strong><br>
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.</p> | <p dir="auto">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>: Archlinux</li>
<li><strong>TensorFlow installed from (source or binary)</strong>:source</li>
<li><strong>TensorFlow version (use command below)</strong>:1.3.0</li>
<li><strong>Python version</strong>: 3.6.2</li>
<li><strong>Bazel version (if compiling from source)</strong>: 0.5.4</li>
<li><strong>CUDA/cuDNN version</strong>:8.0.61</li>
<li><strong>GPU model and memory</strong>: GTX 1070 7.92GiB</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from tensorflow.examples.tutorials.mnist import input_data"><pre class="notranslate"><code class="notranslate">from tensorflow.examples.tutorials.mnist import input_data
</code></pre></div>
<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>
<p dir="auto">when I import input_data module from tensorflow.examples.tutorials.mnist, python throws the following errors.And I cannot find the files related to tensorboard under tensorflow/contrib directory.<br>
I dont know if the issue is a tensorboard issue.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "tf_mnist.py", line 1, in <module>
from tensorflow.examples.tutorials.mnist import input_data
File "/usr/lib/python3.6/site-packages/tensorflow/examples/tutorials/mnist/__init__.py", line 21, in <modul
e>
from tensorflow.examples.tutorials.mnist import input_data
File "/usr/lib/python3.6/site-packages/tensorflow/examples/tutorials/mnist/input_data.py", line 29, in <mod
ule>
from tensorflow.contrib.learn.python.learn.datasets.mnist import read_data_sets
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/__init__.py", line 38, in <module>
from tensorflow.contrib import keras
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/__init__.py", line 26, in <module>
from tensorflow.contrib.keras.api.keras import *
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/api/keras/__init__.py", line 25, in <module
>
from tensorflow.contrib.keras.api.keras import activations
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/api/keras/activations/__init__.py", line 22
, in <module>
from tensorflow.contrib.keras.python.keras.activations import elu
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/__init__.py", line 21, in <mod
ule>
from tensorflow.contrib.keras.python.keras import activations
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/activations.py", line 24, in <
module>
from tensorflow.contrib.keras.python.keras.engine import Layer
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/engine/__init__.py", line 26,
in <module>
from tensorflow.contrib.keras.python.keras.engine.training import Model
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/engine/training.py", line 28,
in <module>
from tensorflow.contrib.keras.python.keras import callbacks as cbks
File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/callbacks.py", line 34, in <mo
dule>
from tensorflow.contrib.tensorboard.plugins import projector
ModuleNotFoundError: No module named 'tensorflow.contrib.tensorboard'"><pre class="notranslate">Traceback (most recent call last):
File <span class="pl-s"><span class="pl-pds">"</span>tf_mnist.py<span class="pl-pds">"</span></span>, line 1, <span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
from tensorflow.examples.tutorials.mnist import input_data
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/examples/tutorials/mnist/__init__.py<span class="pl-pds">"</span></span>, line 21, <span class="pl-k">in</span> <span class="pl-k"><</span>modul
e<span class="pl-k">></span>
from tensorflow.examples.tutorials.mnist import input_data
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/examples/tutorials/mnist/input_data.py<span class="pl-pds">"</span></span>, line 29, <span class="pl-k">in</span> <span class="pl-k"><</span>mod
ule<span class="pl-k">></span>
from tensorflow.contrib.learn.python.learn.datasets.mnist import read_data_sets
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/__init__.py<span class="pl-pds">"</span></span>, line 38, <span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
from tensorflow.contrib import keras
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/__init__.py<span class="pl-pds">"</span></span>, line 26, <span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
from tensorflow.contrib.keras.api.keras import <span class="pl-k">*</span>
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/api/keras/__init__.py<span class="pl-pds">"</span></span>, line 25, <span class="pl-k">in</span> <span class="pl-k"><</span>module
<span class="pl-k">></span>
from tensorflow.contrib.keras.api.keras import activations
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/api/keras/activations/__init__.py<span class="pl-pds">"</span></span>, line 22
, <span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
from tensorflow.contrib.keras.python.keras.activations import elu
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/__init__.py<span class="pl-pds">"</span></span>, line 21, <span class="pl-k">in</span> <span class="pl-k"><</span>mod
ule<span class="pl-k">></span>
from tensorflow.contrib.keras.python.keras import activations
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/activations.py<span class="pl-pds">"</span></span>, line 24, <span class="pl-k">in</span> <span class="pl-k"><</span>
module<span class="pl-k">></span>
from tensorflow.contrib.keras.python.keras.engine import Layer
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/engine/__init__.py<span class="pl-pds">"</span></span>, line 26,
<span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
from tensorflow.contrib.keras.python.keras.engine.training import Model
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/engine/training.py<span class="pl-pds">"</span></span>, line 28,
<span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
from tensorflow.contrib.keras.python.keras import callbacks as cbks
File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/callbacks.py<span class="pl-pds">"</span></span>, line 34, <span class="pl-k">in</span> <span class="pl-k"><</span>mo
dule<span class="pl-k">></span>
from tensorflow.contrib.tensorboard.plugins import projector
ModuleNotFoundError: No module named <span class="pl-s"><span class="pl-pds">'</span>tensorflow.contrib.tensorboard<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">And I have installed the tensorboard package.But the problem remains.<br>
Could anyone help me?</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> | 0 |
<h3 dir="auto">Describe the issue:</h3>
<p dir="auto">I'm still not able to generate man page as I've reported that in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1039531458" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/20229" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/20229/hovercard" href="https://github.com/numpy/numpy/issues/20229">#20229</a> however recently I've changed methodology of generate man pages from using sphinx<>setuptools integration (<code class="notranslate">python setup.py build_sphinx</code>) to straight use <code class="notranslate">sphinx-buid</code> command. All because already sphinx<>setuptools is marked as deprecated.<br>
As part of that change I've started using <code class="notranslate">sphinx-build -n</code> switch.<br>
Sphinx still is not able to generate man page however before it crashes it shows many warnings which are mot related to generate man page.<br>
Here is the output</p>
<p dir="auto">You can peak on fixes that kind of issues in other projects<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1234679684" data-permission-text="Title is private" data-url="https://github.com/latchset/jwcrypto/issues/289" data-hovercard-type="pull_request" data-hovercard-url="/latchset/jwcrypto/pull/289/hovercard" href="https://github.com/latchset/jwcrypto/pull/289">latchset/jwcrypto#289</a><br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/click-contrib/sphinx-click/commit/abc31069/hovercard" href="https://github.com/click-contrib/sphinx-click/commit/abc31069">click-contrib/sphinx-click@<tt>abc31069</tt></a></p>
<h3 dir="auto">Reproduce the code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="`/usr/bin/sphinx-build -n -T -b man doc/source build/sphinx/man`"><pre class="notranslate"><span class="pl-s">`/usr/bin/sphinx-build -n -T -b man doc/source build/sphinx/man`</span></pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">1.22.4</p> | <p dir="auto">New parameter needed, to add the columns which need to be skipped.<br>
e.g:<br>
columns = (1,2,3) - to skip columns 2,3,4</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.1 Android SDK</li>
<li>Operating System / Platform => Windows 64 Bit (for coding), arm64-v8a for trying out the app</li>
<li>Compiler => Android studio 3.2.1</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I am trying to make an app for face detection and eye detection on android using opencv.<br>
but every time i try to build the project using ndk-build it is giving me error: undefined reference to 'cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::<em><em>ndk1::vector<cv::Rect</em>, std::<em><em>ndk1::allocator<cv::Rect</em> > >&, double, int, int, cv::Size</em>, cv::Size</em>)'</p>
<p dir="auto">i have attached the files along with the issue</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">just start a new project and add the code</p>
<p dir="auto"><a href="https://github.com/opencv/opencv/files/2608100/OpencvClass.txt">OpencvClass.txt</a><br>
<a href="https://github.com/opencv/opencv/files/2608101/MainActivity.txt">MainActivity .txt</a><br>
<a href="https://github.com/opencv/opencv/files/2608106/jni.zip">jni.zip</a></p>
<p dir="auto">--><br>
My NDK is configured properly because i can run simple programs.</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.1-dev</li>
<li>Operating System / Platform => Windows 64 Bit</li>
<li>Compiler => Visual Studio 2015</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">When trying to run pyramids as the input for the cv2.calcOpticalFlowPyrLK function the program gives out an error. when I run the cv2.buildOpticalFlowPyramid method it returns a pyramid, without any errors but as soon as I use it as input it doesn't run.</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="lk_params = dict(winSize=(21, 21), # Parameters used for cv2.calcOpticalFlowPyrLK (KLT tracker)
maxLevel=3,
criteria=(cv2.TERM_CRITERIA_EPS | cv2.TERM_CRITERIA_COUNT, 30, 0.01))
def KLT_featureTracking(image_ref, image_cur, px_ref):
image_ref = cv2.buildOpticalFlowPyramid(image_ref, (512, 512), 2)
image_cur = cv2.buildOpticalFlowPyramid(image_cur, (512, 512), 2)
kp2, st, err = cv2.calcOpticalFlowPyrLK(image_ref, image_cur, px_ref, None, **lk_params)
kp1, st, err = cv2.calcOpticalFlowPyrLK(image_cur, image_ref, kp2, None, **lk_params)"><pre class="notranslate"><code class="notranslate">lk_params = dict(winSize=(21, 21), # Parameters used for cv2.calcOpticalFlowPyrLK (KLT tracker)
maxLevel=3,
criteria=(cv2.TERM_CRITERIA_EPS | cv2.TERM_CRITERIA_COUNT, 30, 0.01))
def KLT_featureTracking(image_ref, image_cur, px_ref):
image_ref = cv2.buildOpticalFlowPyramid(image_ref, (512, 512), 2)
image_cur = cv2.buildOpticalFlowPyramid(image_cur, (512, 512), 2)
kp2, st, err = cv2.calcOpticalFlowPyrLK(image_ref, image_cur, px_ref, None, **lk_params)
kp1, st, err = cv2.calcOpticalFlowPyrLK(image_cur, image_ref, kp2, None, **lk_params)
</code></pre></div>
<p dir="auto">Error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kp2, st, err = cv2.calcOpticalFlowPyrLK(image_ref, image_cur, px_ref, None, **lk_params)
TypeError: prevImg is not a numerical tuple"><pre class="notranslate"><code class="notranslate">kp2, st, err = cv2.calcOpticalFlowPyrLK(image_ref, image_cur, px_ref, None, **lk_params)
TypeError: prevImg is not a numerical tuple
</code></pre></div> | 0 |
<p dir="auto">What is the correct process to update typings for the "master" and the “types-2.0” branch:</p>
<p dir="auto">This project has a “master” branch, and a “types-2.0” branch.</p>
<p dir="auto">What is the correct process to make a change to a typings file ?<br>
1]<br>
First create the fix as a PR in the “master” branch and then duplicate the code changes in a new PR on the ”types-2.0″ branch ?</p>
<p dir="auto">2]<br>
Or create a PR in the “master” branch and also create a PR on the “types-2.0” branch which does a merge ?</p>
<p dir="auto">3]<br>
Or ?</p>
<p dir="auto">I could not find this information on the Wiki yet ? Maybe an idea to add something here about the process?</p>
<p dir="auto">See also my question here : <a href="https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/#comment-25535" rel="nofollow">https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/#comment-25535</a></p> | <p dir="auto">I propose a simple naming convention for issues that relate to an individual type definition.</p>
<p dir="auto">If I want to file a bug about the jQuery definition, I would name my issue</p>
<blockquote>
<p dir="auto">[jquery] missing method "foo"</p>
</blockquote>
<p dir="auto">The text within square brackets must match the name of the typing's directory in this repository.</p>
<p dir="auto">The motivation is that, when I discover a bug in a type definition, I want to make sure I don't file a duplicate bug. Therefore I need to search the issue queue for any other issues related to that type definition.</p>
<p dir="auto">If this naming convention is explained on definitelytyped.org's <a href="http://definitelytyped.org/guides/contributing.html" rel="nofollow">contribution guide</a>, we can easily link to it when someone makes an issue that doesn't follow the convention. Before long all issues will use the convention, and we'll no longer need to explain it. That's the theory, at least.</p> | 0 |
<p dir="auto">Alternative to <code class="notranslate">--cached-only</code></p>
<p dir="auto">More generally we need to improve vendoring story and documentation around it.</p> | <p dir="auto">Hi all--</p>
<p dir="auto">Inline with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="590886556" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/4539" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/4539/hovercard" href="https://github.com/denoland/deno/issues/4539">#4539</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="621722537" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/5665" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/5665/hovercard" href="https://github.com/denoland/deno/issues/5665">#5665</a>, I've discovered when you declare deno-types in an import directive, it causes the <code class="notranslate">Deno.bundle()</code> command to ignore the imports.</p>
<p dir="auto">Gist example: <a href="https://gist.github.com/randallb/745dd7cdd638f0e1018e3875641b542c">https://gist.github.com/randallb/745dd7cdd638f0e1018e3875641b542c</a></p>
<p dir="auto">If I omit the deno-types declaration, it seems to bundle correctly. Might be a dupe of those other issues or might be unrelated, but I figure all three of these usecases would probably be useful to fix at once.</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.5.4</li>
<li>Operating System version: 2.6.32-504.el6.x86_64</li>
<li>Java version: 1.8.0_45</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">1.偶然发现,无法重现</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">1: 偶然发现,我重启dubbo项目,有个dubbo服务没有刷新,其时间戳tamp没有刷新,其节点<br>
值都正常。<br>
2: 调用这个dubbo服务,发现其报拒绝服务错误。<br>
3: 解决办法:在zookeeper删除这个节点,然后重启项目,项目恢复。<br>
4: 我无法判断,这个bug是zookeeper还是dubbo?<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13092208/61849008-847ae800-aee2-11e9-91a7-6c903e81acb3.png"><img width="1152" alt="企业微信截图_08dd1ecd-6588-4f40-94e4-04b01a9ee02e(1)" src="https://user-images.githubusercontent.com/13092208/61849008-847ae800-aee2-11e9-91a7-6c903e81acb3.png" style="max-width: 100%;"></a></p> | <p dir="auto">In my scenario, some methods in the provider return a large amount of data each time, because the response is internally duplicated, so the serialization and transmission performance can be improved by implementing a new Serialization (protostuff+snappy).I hope that the remaining services or methods in the provider continue to use the default Hessian2 Serialization, however, the Serialization configuration supports only the protocol level.<br>
In dubbo-remoting-netty, NettyServer, when the tcp connection is established, the response serialization type is specified through the NettyCodecAdapter's final url, it seems that Serialization configuration can not support the service or method level now.<br>
Does dubbo subsequently plan to support serialization configuration to service or method?</p>
<p dir="auto">在我们的使用场景中,provider中有些接口返回数据量较大,在M级别,因为数据内部重复数据多,通过实现新的Serialization插件(protostuff+snappy)可以提高序列化和传输的性能。我们希望provider中其余service或者method继续使用默认hessian2 Serialization,但是现有Serialization配置只支持到protocol级别。</p>
<p dir="auto">netty通讯方式中,NettyServer当中,当tcp连接被建立,response序列化方式通过NettyCodecAdapter的final url被指定下来,Serialization配置不能支持到service或者method级别。</p>
<p dir="auto">dubbo后续有计划将Serialization配置支持到service或者method么?</p> | 0 |
<p dir="auto">As Python 2.7 was finally abandoned on January 1st of this year and should no longer be a prerequisite for anything in the computing world (except maybe folks on macos, all of whom should have python3 installed anyway now that 2.7 is dead) it would be a good idea to bump the version of <code class="notranslate">node-gyp</code> to 5.1.0 or higher (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="568666559" data-permission-text="Title is private" data-url="https://github.com/nodejs/node-gyp/issues/2052" data-hovercard-type="issue" data-hovercard-url="/nodejs/node-gyp/issues/2052/hovercard" href="https://github.com/nodejs/node-gyp/issues/2052">nodejs/node-gyp#2052</a>)</p> | <p dir="auto">I created a new node project with npm new. Initialized with default values.</p>
<p dir="auto">While installing 'express' package using command below :<br>
npm install express --save</p>
<p dir="auto">npm exits with error<br>
npm ERR! cb() never called!</p>
<p dir="auto">npm ERR! This is an error with npm itself. Please report this error at:<br>
npm ERR! <a href="https://npm.community" rel="nofollow">https://npm.community</a></p>
<p dir="auto">npm ERR! A complete log of this run can be found in:</p>
<p dir="auto">Earlier I was getting 503 Error. Serivce Unavailable for which I followed the steps from<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="50934154" data-permission-text="Title is private" data-url="https://github.com/npm/npm/issues/6841" data-hovercard-type="issue" data-hovercard-url="/npm/npm/issues/6841/hovercard" href="https://github.com/npm/npm/issues/6841">npm/npm#6841</a></p> | 0 |
<p dir="auto">If I understand things correctly, under ES6, the second line should raise a referenceError due to x not yet having been declared.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""use strict";
let b = x; // should throw a referenceError
console.log('b: ', b);
b = 2;
const x = 'a';"><pre class="notranslate"><code class="notranslate">"use strict";
let b = x; // should throw a referenceError
console.log('b: ', b);
b = 2;
const x = 'a';
</code></pre></div>
<p dir="auto">Running this through Babel, I get no referenceError. But the following code does raise a referenceError:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""use strict";
let b = x; // throws a referenceError
console.log('b: ', b);
b = 2;"><pre class="notranslate"><code class="notranslate">"use strict";
let b = x; // throws a referenceError
console.log('b: ', b);
b = 2;
</code></pre></div> | <p dir="auto">Another one from the defs test suite:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="~/projects/defs.js/tests % cat used-in-same-declaration.js
"use strict";
let x = x; // error
let y = 1, z = y; // ok
let a = b, b = 1; // error"><pre class="notranslate"><span class="pl-c1">~</span><span class="pl-pds"><span class="pl-c1">/</span>projects<span class="pl-c1">/</span>defs</span><span class="pl-kos">.</span><span class="pl-c1">js</span><span class="pl-c1">/</span><span class="pl-s1">tests</span> <span class="pl-c1">%</span> <span class="pl-s1">cat</span> <span class="pl-s1">used</span><span class="pl-c1">-</span><span class="pl-s1">in</span><span class="pl-c1">-</span><span class="pl-s1">same</span><span class="pl-c1">-</span><span class="pl-s1">declaration</span><span class="pl-kos">.</span><span class="pl-c1">js</span>
<span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span><span class="pl-kos">;</span> <span class="pl-c">// error</span>
<span class="pl-k">let</span> <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">y</span><span class="pl-kos">;</span> <span class="pl-c">// ok</span>
<span class="pl-k">let</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-s1">b</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-c">// error</span></pre></div>
<p dir="auto">Babel doesn't complain about this currently but should error something similar to</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="line 2: x is referenced before its declaration
line 4: b is referenced before its declaration"><pre class="notranslate"><code class="notranslate">line 2: x is referenced before its declaration
line 4: b is referenced before its declaration
</code></pre></div>
<p dir="auto">To clarify, I'm asking for static errors.</p> | 1 |
<p dir="auto">Part of the class Private Properties transform is the terribly complicated <a href="https://github.com/CodingItWrong/babel/blob/ccd941057ab297c0f80cacb7c89e892f58e92b00/packages/babel-plugin-proposal-class-properties/src/index.js#L114-L217">"property" to function call visitor</a>. It's strikingly similar to the replace supers (<a href="https://github.com/CodingItWrong/babel/blob/ccd941057ab297c0f80cacb7c89e892f58e92b00/packages/babel-helper-replace-supers/src/index.js#L147-L193">1</a>, <a href="https://github.com/CodingItWrong/babel/blob/ccd941057ab297c0f80cacb7c89e892f58e92b00/packages/babel-helper-replace-supers/src/index.js#L199-L333">2</a>) transform.</p>
<p dir="auto">That's because they're the same thing, just with different functions to call. This needs to be extracted into a new helper visitor, so we can cut down the duplication.</p> | <p dir="auto">From <a href="http://www.ecma-international.org/ecma-262/6.0/#sec-moduledeclarationinstantiation" rel="nofollow">ModuleDeclarationInstantiation( )</a>, step 12.d.iii., parsing <strong>import.js</strong> below should throw a SyntaxError.</p>
<p dir="auto"><strong>export.js</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export {definedExport} from './another-module'"><pre class="notranslate"><code class="notranslate">export {definedExport} from './another-module'
</code></pre></div>
<p dir="auto"><strong>import.js</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import {
undefinedExport,
definedExport
} from './export'"><pre class="notranslate"><code class="notranslate">import {
undefinedExport,
definedExport
} from './export'
</code></pre></div>
<p dir="auto">However, it currently doesn't.</p>
<p dir="auto">If someone confirms this issue, I might take a stab at a fix.</p> | 0 |
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>4.2.6</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>macOS 10.14.5</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>2.0.18</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Render process recovers</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Render process doesn't recover after the second crash</p>
<h3 dir="auto">To Reproduce</h3>
<ol dir="auto">
<li>Open this test repo: <a href="https://github.com/ClaudiaStefan/electron-notification-test">https://github.com/ClaudiaStefan/electron-notification-test</a></li>
<li>Type process.crash() in devtools console and wait for window to recover</li>
<li>Type again process.crash() in devtools console</li>
</ol>
<h3 dir="auto">Test project setup:</h3>
<p dir="auto"><strong>Clone this repository</strong><br>
git clone <a href="https://github.com/ClaudiaStefan/electron-notification-test.git">https://github.com/ClaudiaStefan/electron-notification-test.git</a><br>
<strong>Go into the repository</strong><br>
cd electron-notification-test<br>
<strong>Install dependencies and run the app</strong><br>
npm install && npm start</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">The issue has started in 3.0.0.<br>
In electron 5.0.6 and in 6.0.0-beta.13, when I type process.crash() the first time, the entire process is crashed, not only the render process.</p> | <ul dir="auto">
<li>Electron version:1.8.2-beta.3</li>
<li>Operating system:darwin</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">electron should not crash when a region overflows vertically</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">crash with</p>
<p dir="auto">[87115:0104/143435.970871:FATAL:partition_alloc.cc(934)] Check failed: page->num_allocated_slots != -1.<br>
0 Electron Framework 0x000000010c9f821c crashpad::CloseMultipleNowOrOnExec(int, int) + 970204<br>
1 Electron Framework 0x000000010c9bfa33 crashpad::CloseMultipleNowOrOnExec(int, int) + 738803<br>
2 Electron Framework 0x000000010c9d7491 crashpad::CloseMultipleNowOrOnExec(int, int) + 835665<br>
3 Electron Framework 0x000000010f674b9c crashpad::CloseMultipleNowOrOnExec(int, int) + 47617884<br>
4 libnode.dylib 0x00000001110b442e v8::internal::DeferredHandles::Iterate(v8::internal::ObjectVisitor*) + 20670<br>
5 libnode.dylib 0x00000001110b436e v8::internal::DeferredHandles::Iterate(v8::internal::ObjectVisitor*) + 20478<br>
6 libnode.dylib 0x000000011153f67a v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 27370<br>
7 libnode.dylib 0x0000000111538570 v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits >&, v8::internal::MachineType) + 76800<br>
8 libnode.dylib 0x00000001115388e4 v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits >&, v8::internal::MachineType) + 77684<br>
9 libnode.dylib 0x0000000111548187 v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 62967<br>
10 Electron Framework 0x000000010ca378c2 crashpad::CloseMultipleNowOrOnExec(int, int) + 1229954<br>
11 Electron Framework 0x000000010c9dee37 crashpad::CloseMultipleNowOrOnExec(int, int) + 866807<br>
12 libsystem_pthread.dylib 0x00007fff5af616c1 _pthread_body + 340<br>
13 libsystem_pthread.dylib 0x00007fff5af6156d _pthread_body + 0<br>
14 libsystem_pthread.dylib 0x00007fff5af60c5d thread_start + 13</p>
<p dir="auto">close variant:<br>
[87069:0104/143010.593801:FATAL:partition_alloc.cc(934)] Check failed: page->num_allocated_slots != -1.<br>
0 Electron Framework 0x000000010721121c crashpad::CloseMultipleNowOrOnExec(int, int) + 970204<br>
1 Electron Framework 0x00000001071d8a33 crashpad::CloseMultipleNowOrOnExec(int, int) + 738803<br>
2 Electron Framework 0x00000001071f0491 crashpad::CloseMultipleNowOrOnExec(int, int) + 835665<br>
3 Electron Framework 0x0000000109e8db9c crashpad::CloseMultipleNowOrOnExec(int, int) + 47617884<br>
4 libnode.dylib 0x000000010b8d242e v8::internal::DeferredHandles::Iterate(v8::internal::ObjectVisitor*) + 20670<br>
5 libnode.dylib 0x000000010b8d236e v8::internal::DeferredHandles::Iterate(v8::internal::ObjectVisitor*) + 20478<br>
6 libnode.dylib 0x000000010bd5d67a v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 27370<br>
7 libnode.dylib 0x000000010bd56570 v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits >&, v8::internal::MachineType) + 76800<br>
8 libnode.dylib 0x000000010bd56795 v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits >&, v8::internal::MachineType) + 77349<br>
9 libnode.dylib 0x000000010bfd3d7d v8::internal::PagedSpace::SlowAllocateRaw(int) + 173<br>
10 libnode.dylib 0x000000010bb13304 v8::internal::Factory::SetClassFunctionInstanceDescriptor(v8::internal::Handlev8::internal::Map) + 1172<br>
11 libnode.dylib 0x000000010bd61b5d v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 45005<br>
12 libnode.dylib 0x000000010bd6148a v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 43258<br>
13 libnode.dylib 0x000000010bd5c4ab v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 22811<br>
14 libnode.dylib 0x000000010bd5c16c v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 21980<br>
15 libnode.dylib 0x000000010bd6a2d0 v8::internal::AllocationSpaceName(v8::internal::AllocationSpace) + 79680<br>
16 Electron Framework 0x00000001072508c2 crashpad::CloseMultipleNowOrOnExec(int, int) + 1229954<br>
17 Electron Framework 0x00000001071f7e37 crashpad::CloseMultipleNowOrOnExec(int, int) + 866807<br>
18 libsystem_pthread.dylib 0x00007fff5af616c1 _pthread_body + 340<br>
19 libsystem_pthread.dylib 0x00007fff5af6156d _pthread_body + 0<br>
20 libsystem_pthread.dylib 0x00007fff5af60c5d thread_start + 13</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">these steps require use of openwhisk</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone [email protected]:ibm-functions/shell.git
cd shell/app
<update package.json to point to electron 1.8.2-beta.3>
npm install
./bin/fsh shell
execute commands that eventually cause the region to vertically overflow"><pre class="notranslate"><code class="notranslate">git clone [email protected]:ibm-functions/shell.git
cd shell/app
<update package.json to point to electron 1.8.2-beta.3>
npm install
./bin/fsh shell
execute commands that eventually cause the region to vertically overflow
</code></pre></div> | 0 |
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
>>> time_type = data.index.dtype
>>> time_type
datetime64[ns, tzfile('PRC')]
>>> time_type == np.dtype('int32')
False
>>> time_type in [1,2,3]
False
>>> time_type in {np.dtype('int32')}
False
>>> time_type in [np.dtype('int32')]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Cannot interpret 'datetime64[ns, tzfile('PRC')]' as a data type"><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-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">time_type</span> <span class="pl-c1">=</span> <span class="pl-s1">data</span>.<span class="pl-s1">index</span>.<span class="pl-s1">dtype</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">time_type</span>
<span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>, <span class="pl-en">tzfile</span>(<span class="pl-s">'PRC'</span>)]
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">time_type</span> <span class="pl-c1">==</span> <span class="pl-s1">np</span>.<span class="pl-en">dtype</span>(<span class="pl-s">'int32'</span>)
<span class="pl-c1">False</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">time_type</span> <span class="pl-c1">in</span> [<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]
<span class="pl-c1">False</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">time_type</span> <span class="pl-c1">in</span> {<span class="pl-s1">np</span>.<span class="pl-en">dtype</span>(<span class="pl-s">'int32'</span>)}
<span class="pl-c1">False</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">time_type</span> <span class="pl-c1">in</span> [<span class="pl-s1">np</span>.<span class="pl-en">dtype</span>(<span class="pl-s">'int32'</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-v">File</span> <span class="pl-s">"<stdin>"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1</span>, <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-v">TypeError</span>: <span class="pl-v">Cannot</span> <span class="pl-s1">interpret</span> <span class="pl-s">'datetime64[ns, tzfile('</span><span class="pl-v">PRC</span><span class="pl-s">')]'</span> <span class="pl-k">as</span> <span class="pl-s1">a</span> <span class="pl-s1">data</span> <span class="pl-s1">type</span></pre></div>
<h3 dir="auto">NumPy/Python version information:</h3>
<ul dir="auto">
<li>python3.9 pandas1.2.4 numpy 1.19.3(When I upgrade the numpy version, the problem is solved)</li>
</ul>
<blockquote>
<p dir="auto">I'd like to know why an exception is thrown when trying to use "in List[np.dtype]" judgment in this "special" version, while "in set[np.dtype]" or "==" does not cause this problem.</p>
</blockquote> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dtype = pd.date_range("2016-01-01", periods=2, tz="UTC").dtype
>>> dtype == np.dtype("datetime64[ns]")
False
>>> np.dtype("datetime64[ns]") == dtype
TypeError: Cannot interpret 'datetime64[ns, UTC]' as a data type"><pre class="notranslate"><code class="notranslate">dtype = pd.date_range("2016-01-01", periods=2, tz="UTC").dtype
>>> dtype == np.dtype("datetime64[ns]")
False
>>> np.dtype("datetime64[ns]") == dtype
TypeError: Cannot interpret 'datetime64[ns, UTC]' as a data type
</code></pre></div>
<p dir="auto">It'd be nice if this returned False instead of raising.</p> | 1 |
<p dir="auto">The slider comparison is awesome for visual regression tests but the height of the websites often changes which causes the slider comparison to be disabled. Would it be possible to have it available even if the height are different? Maybe we could add an option to pad images that are different heights?</p> | <p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.23.0</li>
<li>Operating System: Mac</li>
<li>Node.js version: 16.14.0</li>
<li>Browser: Chromium</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<p dir="auto">Playwright config:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const config: PlaywrightTestConfig = {
testDir: 'tests',
fullyParallel: true,
reporter: process.env.CI ? [['github'], ['html']] : [['list'], ['html', { open: 'on-failure' }]],
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
use: {
headless: true,
viewport: { width: 1280, height: 720 },
screenshot: 'only-on-failure',
video: 'retain-on-failure',
trace: 'retain-on-failure',
},
expect: {
toHaveScreenshot: {
threshold: 0.2,
maxDiffPixelRatio: 0.05
},
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
};
export default config;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-c1">=</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">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">reporter</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-kos">[</span><span class="pl-s">'github'</span><span class="pl-kos">]</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-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">'html'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">open</span>: <span class="pl-s">'on-failure'</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">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-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">use</span>: <span class="pl-kos">{</span>
<span class="pl-c1">headless</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">viewport</span>: <span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">1280</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">720</span> <span class="pl-kos">}</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-c1">video</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">expect</span>: <span class="pl-kos">{</span>
<span class="pl-c1">toHaveScreenshot</span>: <span class="pl-kos">{</span>
<span class="pl-c1">threshold</span>: <span class="pl-c1">0.2</span><span class="pl-kos">,</span>
<span class="pl-c1">maxDiffPixelRatio</span>: <span class="pl-c1">0.05</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">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">config</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Method that compares screenshots:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="async matchesScreenshot(
locator: Locator,
options?: LocatorScreenshotOptions,
) {
expect(locator).toHaveScreenshot({timeout: 5000, ...options});
}"><pre class="notranslate"><span class="pl-s1">async</span> <span class="pl-s1">matchesScreenshot</span><span class="pl-kos">(</span>
locator: <span class="pl-v">Locator</span><span class="pl-kos">,</span>
<span class="pl-s1">options</span>?<span class="pl-s1"></span>: <span class="pl-v">LocatorScreenshotOptions</span><span class="pl-kos">,</span>
<span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c1">expect</span><span class="pl-kos">(</span><span class="pl-s1">locator</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">toHaveScreenshot</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">timeout</span>: <span class="pl-c1">5000</span><span class="pl-kos">,</span> ...<span class="pl-s1">options</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>Describe the bug</strong></p>
<p dir="auto">I'm doing visual regression testing. I want to see the difference between screenshots in the report. However, the difference is not present there. Also, in the <code class="notranslate">test-results</code> folder the difference is missing too.</p> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.2</p>
<p dir="auto">When building a Visual Studio solution using a tsconfig.json file, the CompileTypeScriptWithTSConfig task reports "Skipping target "CompileTypeScriptWithTSConfig" because all output files are up-to-date with respect to the input files.", even though I have indeed modified my .ts files since the last build. I see this behavior both building from the command line and from within the IDE. If I select "Rebuild Solution" from within the IDE, the files get compiled correctly. Also, if I remove the tsconfig.json file (thus using the properties in the .csproj file), the files also get compiled correctly.</p>
<p dir="auto">FWIW, I would actually prefer to use the .csproj file rather than a tsconfig.json file, but as it stands now I cannot specify certain options (such as --noImplicitReturns and --noFallthroughCasesInSwitch) in the .csproj file.</p> | <p dir="auto">In the typescript targets:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <VsTsc
ToolPath="$(TscToolPath)"
ToolExe="$(TscToolExe)"
TSConfigFile="%(ConfigFiles.Identity)"
YieldDuringToolExecution="$(TscYieldDuringToolExecution)"
ProjectDir="$(ProjectDir)"
ToolsVersion="$(TypeScriptToolsVersion)"
TypeScriptCompileBlocked="$(TypeScriptCompileBlocked)"
ComputeOutputOnly="false">
<Output TaskParameter="GeneratedJavascript" ItemName="emittedFiles" />
</VsTsc>"><pre class="notranslate"><code class="notranslate"> <VsTsc
ToolPath="$(TscToolPath)"
ToolExe="$(TscToolExe)"
TSConfigFile="%(ConfigFiles.Identity)"
YieldDuringToolExecution="$(TscYieldDuringToolExecution)"
ProjectDir="$(ProjectDir)"
ToolsVersion="$(TypeScriptToolsVersion)"
TypeScriptCompileBlocked="$(TypeScriptCompileBlocked)"
ComputeOutputOnly="false">
<Output TaskParameter="GeneratedJavascript" ItemName="emittedFiles" />
</VsTsc>
</code></pre></div>
<p dir="auto">The output parameter GeneratedJavascript includes a js file for every ts file in the project even if:</p>
<ol dir="auto">
<li>The file is not set to TypeScriptCompile.</li>
<li>The file is excluded or not matched in tsconfig.json.</li>
</ol>
<p dir="auto">Side affect is publish fails trying to copy files that do not exist.</p> | 1 |
<p dir="auto">Issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="206697094" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/7405" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/7405/hovercard" href="https://github.com/tensorflow/tensorflow/issues/7405">#7405</a> was a bug filed that tf.complex_abs() was removed in 1.0. At the bottom it says that tf.abs() now does that work, but the docs for tf.abs() only mention float. I confirmed that tf.abs() does in fact do as the comment on the issue describes (<a href="https://github.com/tensorflow/tensorflow/blob/r1.1/tensorflow/python/ops/math_ops.py#L225">https://github.com/tensorflow/tensorflow/blob/r1.1/tensorflow/python/ops/math_ops.py#L225</a>)</p>
<p dir="auto">Please incorporate the info from <a href="https://www.tensorflow.org/versions/r0.11/api_docs/python/math_ops/complex_number_functions#complex_abs" rel="nofollow">https://www.tensorflow.org/versions/r0.11/api_docs/python/math_ops/complex_number_functions#complex_abs</a></p>
<p dir="auto">into<br>
<a href="https://www.tensorflow.org/api_docs/python/tf/abs" rel="nofollow">https://www.tensorflow.org/api_docs/python/tf/abs</a></p>
<p dir="auto">... specifically the parts about it computing sqrt(a^2 + b^2) for complex numbers.</p> | <p dir="auto">I found one useful tensor operation "tensordot" is missing in tensorflow. <a href="http://deeplearning.net/software/theano/library/tensor/basic.html" rel="nofollow">Theano has an implementation of it</a>. It would be great to have tensordot also in tensorflow.</p> | 0 |
<ul dir="auto">
<li>Electron version: 2.0.0-beta.1</li>
<li>Operating system: MacOS 10.12</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Context menu MenuItem click event fires on click</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Event doesnt fire</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><a href="https://github.com/pfrazee/electron-bug-context-menu-click">https://github.com/pfrazee/electron-bug-context-menu-click</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/pfrazee/electron-bug-context-menu-click
cd electron-bug-context-menu-click
npm install
npm start"><pre class="notranslate"><code class="notranslate">git clone https://github.com/pfrazee/electron-bug-context-menu-click
cd electron-bug-context-menu-click
npm install
npm start
</code></pre></div>
<p dir="auto">Right click, select 'MenuItem1'. A log event should occur but wont.</p> | <ul dir="auto">
<li>Electron version: Electron built at <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/electron/electron/commit/aea06ed95f0ae88b33a5853caa76cf921b11a7af/hovercard" href="https://github.com/electron/electron/commit/aea06ed95f0ae88b33a5853caa76cf921b11a7af"><tt>aea06ed</tt></a></li>
<li>Operating system: macOS 10.13.2</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto"><code class="notranslate">MenuItem</code> click handlers should get called in the popped up context menu.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Click handlers never getting called back.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Open a popup in the main window:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="window.webContents.on('context-menu', (event) => {
const menu = new Menu()
menu.append(new MenuItem({label: 'MenuItem1', click() { console.log('item 1 clicked') }}))
menu.append(new MenuItem({type: 'separator'}))
menu.append(new MenuItem({label: 'MenuItem2', type: 'checkbox', checked: true}))
menu.popup(mainWindow)
})"><pre class="notranslate"><code class="notranslate">window.webContents.on('context-menu', (event) => {
const menu = new Menu()
menu.append(new MenuItem({label: 'MenuItem1', click() { console.log('item 1 clicked') }}))
menu.append(new MenuItem({type: 'separator'}))
menu.append(new MenuItem({label: 'MenuItem2', type: 'checkbox', checked: true}))
menu.popup(mainWindow)
})
</code></pre></div>
<p dir="auto">Right click on the running window and select <code class="notranslate">MenuItem1</code>, the log <code class="notranslate">item 1 clicked</code> should print but doesn't.</p> | 1 |
<p dir="auto">Since a few updates ago, I've noticed that loading the Packages or Install options in the Settings window completely locks up Atom. I have to click "Keep Waiting" up to several times before Atom becomes operable again. This happens every single time I go into these menu options.</p>
<p dir="auto">Atom 211<br>
Windows 7 x86_64</p> | <p dir="auto">I am getting random freezes and crashes on Windows 7. I am using Atom version 0.209.0.</p>
<p dir="auto">Freezing occurs randomly (i.e. not all the time) when:</p>
<ul dir="auto">
<li>changing values in the settings window.</li>
<li>opening files (infrequent, big files seem to cause crashes more often).</li>
<li>installing packages</li>
<li>uninstalling packages</li>
<li>closing tabs</li>
</ul>
<p dir="auto">I can't find any log files to get more information. The program is completely unresponsive and devtools console is not updated.</p> | 1 |
<p dir="auto">I would like to humbly request a componentDidReceiveProps hook, often times I would like to do something on both componentWillMount and componentWillReceiveProps, but because <code class="notranslate">this.props</code> hasn't been set yet I am forced to pass props around instead of reading directly from <code class="notranslate">this.props</code>.</p>
<h2 dir="auto">Before New Hook</h2>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="componentWillMount() {
this.setup(this.props.id);
}
componentWillReceiveProps(next) {
this.setup(next.id);
}
setup(id) {
UserActions.load(id);
}"><pre class="notranslate"><span class="pl-en">componentWillMount</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setup</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">componentWillReceiveProps</span><span class="pl-kos">(</span><span class="pl-s1">next</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">setup</span><span class="pl-kos">(</span><span class="pl-s1">next</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">setup</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-v">UserActions</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<h2 dir="auto">After New Hook</h2>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="componentWillMount() {
this.setup();
}
componentDidReceiveProps() {
this.setup();
}
setup() {
UserActions.load(this.props.id);
}"><pre class="notranslate"><span class="pl-en">componentWillMount</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setup</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">componentDidReceiveProps</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setup</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">setup</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-v">UserActions</span><span class="pl-kos">.</span><span class="pl-en">load</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">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">In this simple example it may seem like a small thing, but often times the passing of props runs deep and instead of conveniently referencing this.props one is forced to plumb the props throughout the component.</p>
<p dir="auto">Please consider adding <code class="notranslate">componentDidReceiveProps</code> as a hook to leverage the same code that is leveraged in componentWillMount without forcing both to plumb props throughout the component.</p> | <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
Feature</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
useContext triggers update if the whole passed store changed</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
add keys argument to trigger update only if specified keys in passed store changed</p>
<p dir="auto">It would be useful to improve application speed.</p>
<p dir="auto">F.e.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function MyComponent() {
// example context value
// I want to ignore age changes (who does't hehe)
// {
// name: 'Max',
// age: 35
// }
// dep's-like style
const {name} = useContext(MyContext, 'name')
// or
// comparator style
const {name} = useContext(MyContext, (current, old) => current.name !== old.name)
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">MyComponent</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// example context value</span>
<span class="pl-c">// I want to ignore age changes (who does't hehe)</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Max',</span>
<span class="pl-c">// age: 35</span>
<span class="pl-c">// }</span>
<span class="pl-c">// dep's-like style</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span>name<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">useContext</span><span class="pl-kos">(</span><span class="pl-v">MyContext</span><span class="pl-kos">,</span> <span class="pl-s">'name'</span><span class="pl-kos">)</span>
<span class="pl-c">// or</span>
<span class="pl-c">// comparator style </span>
<span class="pl-k">const</span> <span class="pl-kos">{</span>name<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">useContext</span><span class="pl-kos">(</span><span class="pl-v">MyContext</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">current</span><span class="pl-kos">,</span> <span class="pl-s1">old</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-s1">current</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">!==</span> <span class="pl-s1">old</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div> | 0 |
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.196.0<br>
<strong>System</strong>: Microsoft Windows 8.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.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\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.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\gogo9_000\AppData\Local\atom\app-0.196.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.<anonymous> (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.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\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At C:\Users\gogo9_000\AppData\Local\atom\app-0.196.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.<anonymous> (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.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\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\gogo9_000\AppData\Local\atom\app-0.196.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=" -0:42.4.0 editor:newline (atom-text-editor.editor)
-0:38.3.0 core:paste (atom-text-editor.editor)
5x -0:35.5.0 core:backspace (atom-text-editor.editor)
-0:29.6.0 core:save (atom-text-editor.editor)
-0:27.8.0 core:backspace (atom-text-editor.editor)
-0:27.2.0 core:save (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -0:42.4.0 editor:newline (atom-text-editor.editor)
-0:38.3.0 core:paste (atom-text-editor.editor)
5x -0:35.5.0 core:backspace (atom-text-editor.editor)
-0:29.6.0 core:save (atom-text-editor.editor)
-0:27.8.0 core:backspace (atom-text-editor.editor)
-0:27.2.0 core:save (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="{
"core": {
"autoHideMenuBar": true,
"themes": [
"seti-ui",
"atom-dark-syntax"
],
"disabledPackages": [
"web-view"
]
},
"editor": {
"fontSize": 13,
"invisibles": {},
"softWrapAtPreferredLineLength": true,
"softTabs": false,
"scrollPastEnd": true,
"tabLength": 3,
"zoomFontWhenCtrlScrolling": false
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>seti-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>atom-dark-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"disabledPackages"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>web-view<span class="pl-pds">"</span></span>
]
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"fontSize"</span>: <span class="pl-c1">13</span>,
<span class="pl-ent">"invisibles"</span>: {},
<span class="pl-ent">"softWrapAtPreferredLineLength"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"softTabs"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"scrollPastEnd"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"tabLength"</span>: <span class="pl-c1">3</span>,
<span class="pl-ent">"zoomFontWhenCtrlScrolling"</span>: <span class="pl-c1">false</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
color-picker, v1.7.0
file-icons, v1.5.4
linter-javac, v0.1.3
minimap, v4.8.0
minimap-color-highlight, v4.1.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.2
minimap-highlight-selected, v4.2.1
minimap-selection, v4.2.0
project-manager, v1.15.5
seti-ui, v0.6.3
web-browser, v1.4.4
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
file<span class="pl-k">-</span>icons, v1.<span class="pl-ii">5</span>.<span class="pl-ii">4</span>
linter<span class="pl-k">-</span>javac, v0.<span class="pl-ii">1</span>.<span class="pl-ii">3</span>
minimap, v4.<span class="pl-ii">8</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>color<span class="pl-k">-</span>highlight, v4.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>find<span class="pl-k">-</span><span class="pl-k">and</span><span class="pl-k">-</span>replace, v4.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>git<span class="pl-k">-</span>diff, v4.<span class="pl-ii">1</span>.<span class="pl-ii">2</span>
minimap<span class="pl-k">-</span>highlight<span class="pl-k">-</span>selected, v4.<span class="pl-ii">2</span>.<span class="pl-ii">1</span>
minimap<span class="pl-k">-</span>selection, v4.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">15</span>.<span class="pl-ii">5</span>
seti<span class="pl-k">-</span>ui, v0.<span class="pl-ii">6</span>.<span class="pl-ii">3</span>
web<span class="pl-k">-</span>browser, v1.<span class="pl-ii">4</span>.<span class="pl-ii">4</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | <p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>Right-click a file in the left column. (The file I used was green, not added to Git, and empty.)</li>
<li>Click Delete.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.186.0<br>
<strong>System</strong>: Mac OS X 10.10.2<br>
<strong>Thrown From</strong>: <a href="https://github.com/atom/tree-view">tree-view</a> package, v0.164.0</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module 'dialog'<br>
Error: Cannot find module 'dialog'<br>
at Function.Module._resolveFilename (module.js:351:15)<br>
at Function.Module._load (module.js:293:25)<br>
at Module.require (module.js:380:17)<br>
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)<br>
at EventEmitter.emit (events.js:119:17)<br>
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)<br>
at EventEmitter.emit (events.js:119:17)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77
Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
at Function.Module._resolveFilename (module.js:351:15)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
at EventEmitter.emit (events.js:119:17)
at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
at Atom.module.exports.Atom.confirm (/Applications/Atom.app/Contents/Resources/app/src/atom.js:705:23)
at TreeView.module.exports.TreeView.removeSelectedEntries (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:895:19)
at atom-workspace.disposables.add.atom.commands.add.tree-view:remove (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/main.js:84:39)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
at jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:80:67)"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77
Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
at Function.Module._resolveFilename (module.js:351:15)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
at EventEmitter.emit (events.js:119:17)
at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
at Atom.module.exports.Atom.confirm (/Applications/Atom.app/Contents/Resources/app/src/atom.js:705:23)
at TreeView.module.exports.TreeView.removeSelectedEntries (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:895:19)
at atom-workspace.disposables.add.atom.commands.add.tree-view:remove (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/main.js:84:39)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
at jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:80:67)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 6x -4:21.1 core:move-up (atom-text-editor.editor)
-4:19.1 core:move-left (atom-text-editor.editor)
-4:15.5 core:save (atom-text-editor.editor)
-2:19.6 core:backspace (atom-text-editor.editor)
3x -2:17.4 core:move-right (atom-text-editor.editor)
2x -2:07.9 editor:move-to-first-character-of-line (atom-text-editor.editor)
-2:07.4 core:select-down (atom-text-editor.editor)
-2:06.5 core:copy (atom-text-editor.editor)
-2:04.1 core:move-up (atom-text-editor.editor)
-2:03.9 core:move-down (atom-text-editor.editor)
-2:03.7 core:select-down (atom-text-editor.editor)
-2:03.4 core:copy (atom-text-editor.editor)
2x -2:00.7 editor:move-to-first-character-of-line (atom-text-editor.editor)
3x -2:00.3 core:select-down (atom-text-editor.editor)
-1:59.8 core:paste (atom-text-editor.editor)
3x -1:58.7 core:save (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> 6x -4:21.1 core:move-up (atom-text-editor.editor)
-4:19.1 core:move-left (atom-text-editor.editor)
-4:15.5 core:save (atom-text-editor.editor)
-2:19.6 core:backspace (atom-text-editor.editor)
3x -2:17.4 core:move-right (atom-text-editor.editor)
2x -2:07.9 editor:move-to-first-character-of-line (atom-text-editor.editor)
-2:07.4 core:select-down (atom-text-editor.editor)
-2:06.5 core:copy (atom-text-editor.editor)
-2:04.1 core:move-up (atom-text-editor.editor)
-2:03.9 core:move-down (atom-text-editor.editor)
-2:03.7 core:select-down (atom-text-editor.editor)
-2:03.4 core:copy (atom-text-editor.editor)
2x -2:00.7 editor:move-to-first-character-of-line (atom-text-editor.editor)
3x -2:00.3 core:select-down (atom-text-editor.editor)
-1:59.8 core:paste (atom-text-editor.editor)
3x -1:58.7 core:save (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="{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
],
"destroyEmptyPanes": false
},
"tree-view": {}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>atom-dark-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"destroyEmptyPanes"</span>: <span class="pl-c1">false</span>
},
<span class="pl-ent">"tree-view"</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-haml, v0.15.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>haml, v0.<span class="pl-ii">15</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"><strong>Is your feature request related to a problem? Please describe.</strong><br>
It's no secret that deno_lint is fast. Like, much, <a href="https://github.com/denoland/deno_lint#performance">much faster than eslint</a>. As such (and as the <a href="https://github.com/denoland/deno_lint/issues/176" data-hovercard-type="issue" data-hovercard-url="/denoland/deno_lint/issues/176/hovercard">deno_lint roadmap</a> heads toward eslint plugin compatibility and autofix), deno will see an increasing number of users and companies adopt deno lint for their linting solution, whether they use node, deno, or any other runtime.</p>
<p dir="auto">Obviously, running lint in CI is nice, but most users want LSP integration, so that they can see lint issues as they write code.</p>
<p dir="auto"><strong>Describe the solution you'd like</strong><br>
If this extension/lsp were to enable users to run the deno lsp <em>purely</em> for linting, <strong>without</strong> disabling normal typescript language features, and without enabling <em>any</em> other deno lsp features, we could have a hybrid world where users who use node, bun, etc, could use deno lint to great success.</p>
<p dir="auto">This would increase adoption and awareness of deno tooling, and make other engineers happy.</p>
<p dir="auto">Essentially, I wish the deno vscode extension would let us do <code class="notranslate">"deno.enable": false, "deno.lint": true</code>. In this sense, we get the linting features of the deno lsp without turning off visual studio code typescript language features.</p>
<p dir="auto">Please consider this request! Let me know if I can provide any further information.</p> | <p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong></p>
<p dir="auto">I wanted to use deno linter instead of eslint in VSCode for the project that is not deno-specific. I run <code class="notranslate">deno lint</code> on my project's code and the issues it finds are very useful for me, but I hate fixing them from the console, and I would greatly appreciate to see them as... well... lint output in the VSCode. But it seems it does not work :(<br>
Is it possible to have this functionality in this extension?</p>
<p dir="auto">My workspace config I tried to use:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"deno.enable": false, // As I don't want to use deno. Deno will not handle imports (standard imports; dependencies defined in package.json)
"deno.lint": true,
"eslint.enable": false
}"><pre class="notranslate">{
<span class="pl-ent">"deno.enable"</span>: <span class="pl-c1">false</span>, <span class="pl-ii">// As I don't want to use deno. Deno will not handle imports (standard imports; dependencies defined in package.json)</span>
<span class="pl-ent">"deno.lint"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"eslint.enable"</span>: <span class="pl-c1">false</span>
}</pre></div>
<p dir="auto">After restarting VSCode I don't see any linting messages in VSCode. It looks like <code class="notranslate">deno.enable: false</code> turns extension off.</p>
<p dir="auto">And screenshot showing that indeed it's not working:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/516709/152682237-4311eeae-0768-4a0b-8c99-0498a1a92193.png"><img src="https://user-images.githubusercontent.com/516709/152682237-4311eeae-0768-4a0b-8c99-0498a1a92193.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Describe the solution you'd like</strong></p>
<p dir="auto">I would love to use deno lint in the VSCode without enabling deno support. It should be possible, because <code class="notranslate">deno lint</code> works fine from the terminal.<br>
And I would love to see these warning/errors marks directly in the code</p> | 1 |
<p dir="auto">I've a <code class="notranslate">$.fn.tooltip</code> plugin (jQuery Tools) and the <code class="notranslate">$.fn.tooltip</code> (Bootstrap). For the moment i can't keep both because of the naming collision.</p>
<p dir="auto">Can all plugins be renamed to something like <code class="notranslate">$.fn.bootstrapTooltip</code> instead of <code class="notranslate">$.fn.tooltip</code> ?</p>
<p dir="auto">I know this is BC break. Also, i haven't find any discussion on this topic, hope i haven't created a duplicate issue.</p> | <p dir="auto">class .text-right not work in table, becase another class overwrite it</p>
<div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=".table th, .table td {
border-top: 1px solid #DDDDDD;
line-height: 20px;
padding: 8px;
text-align: left;
vertical-align: top;
}"><pre class="notranslate">.<span class="pl-c1">table</span> <span class="pl-ent">th</span><span class="pl-kos">,</span> .<span class="pl-c1">table</span> <span class="pl-ent">td</span> {
<span class="pl-c1">border-top</span><span class="pl-kos">:</span> <span class="pl-c1">1<span class="pl-smi">px</span></span> solid <span class="pl-pds"><span class="pl-kos">#</span>DDDDDD</span>;
<span class="pl-c1">line-height</span><span class="pl-kos">:</span> <span class="pl-c1">20<span class="pl-smi">px</span></span>;
<span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">8<span class="pl-smi">px</span></span>;
<span class="pl-c1">text-align</span><span class="pl-kos">:</span> left;
<span class="pl-c1">vertical-align</span><span class="pl-kos">:</span> top;
}</pre></div>
<p dir="auto">This maybe can be fixed with adding <code class="notranslate">.table .text-right</code></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>
<p dir="auto">I have found a very similar issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="232488121" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/7012" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/7012/hovercard" href="https://github.com/mui/material-ui/issues/7012">#7012</a> but that talks about the handler being detached AFTER closing popover. Our popovers do not even open, yet they hook into the onScroll event.</p>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">I expect Popover to not touch scroll events until it is actually on screen.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Every Popover element (including the ones in IconMenu) hooks into the onScroll event. If there are many of these present, the handling of the scroll events is impacted.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Go to <a href="http://www.material-ui.com/#/components/card" rel="nofollow">http://www.material-ui.com/#/components/card</a></li>
<li>Check Chrome's Dev Tools > Elements > Event Listeners > scroll<br>
You will see there is one scroll listener<br>
This is your baseline</li>
<li>Now click on the Popover menu item to see the example Popover page</li>
<li>Check Chrome's Dev Tools > Elements > Event Listeners > scroll<br>
You will see FOUR listeners.<br>
One listener was registered for each Popover on the screen, even though they are not visible at the moment</li>
</ol>
<p dir="auto">This means Popovers are registering even if they are not active at all.</p>
<h2 dir="auto">Context</h2>
<p dir="auto">We are (ab)using Popovers in our app, using hundreds/thousands of IconMenu elements within a table. Each of these contains a Popover and each Popover hooks into onScroll. This leads to bad performance when the table size grows.</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>0.19.4</td>
</tr>
<tr>
<td>React</td>
<td>15.6.2</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 63.0.3239.84</td>
</tr>
</tbody>
</table> | <p dir="auto">When using a Select inside a Dialog i get the error "Uncaught RangeError: Maximum call stack size exceeded." after clicking into the select box.<br>
The error came from <a href="https://github.com/callemall/material-ui/blob/v1-beta/src/internal/Modal.js#L270">here</a>.<br>
Note: I'm using redux-form with redux-form-material-ui, but I don't think that they are related, expected for the fact that redux-form-material-ui is using beta 16 of material-ui for the Select component</p>
<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">To not throw errors</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Errors in console</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</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>15.6.1</td>
</tr>
<tr>
<td>redux-form-material-ui</td>
<td>5.0.0-beta1</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 61</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by somedood (<a href="https://github.com/somedood">@somedood</a>)</strong></p>
<p dir="auto">Where there are cyclical relations in objects, and a new object is created, sometimes the session will try to save the same object twice which results in an IntegrityError exception since the same id is used on both INSERTS. The test uses activemapper to make the table declarations smaller, though as far as I can tell it is unrelated to the extension.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import *
from sqlalchemy.ext.activemapper import *
import sys
_engine = create_engine("postgres://****:****@localhost/issuetracker")
metadata.connect(_engine)
class Answer(ActiveMapper):
class mapping:
__table__ = 'answer'
id = column(Integer, primary_key=True)
label = column(String(80), default=None)
fromquestion_id = column(Integer, foreign_key='question.id', default=None)
fromquestion = relationship('Question', primaryjoin=['answer.fromquestion_id','question.id']('answer.fromquestion_id','question.id'), uselist=False)
toquestion_id = column(Integer, foreign_key='question.id', default=None)
toquestion = relationship('Question', primaryjoin=['answer.toquestion_id','question.id']('answer.toquestion_id','question.id'), uselist=False)
class Issue(ActiveMapper):
class mapping:
__table__ = 'issue'
id = column(Integer, primary_key=True)
name = column(String, default='')
description = column(String, default='')
provider_service_id = column(Integer, foreign_key='provider_service.id')
providerservice = relationship('ProviderService', uselist=False)
firstquestion_id = column(Integer, foreign_key='question.id', default=None)
firstquestion = relationship('Question', primaryjoin=['issue.firstquestion_id','question.id']('issue.firstquestion_id','question.id'), uselist=False)
questions = one_to_many('Question', primaryjoin=['issue.id','question.issue_id']('issue.id','question.issue_id'))
class Provider(ActiveMapper):
class mapping:
__table__ = 'provider'
id = column(Integer, primary_key=True)
firstquestion_id = column(Integer, foreign_key='question.id', default=None)
firstquestion = relationship('Question', primaryjoin=['provider.firstquestion_id','question.id']('provider.firstquestion_id','question.id'), uselist=False)
questions = one_to_many('Question', primaryjoin=['provider.id','question.provider_id']('provider.id','question.provider_id'))
providerservices = one_to_many('ProviderService')
class ProviderService(ActiveMapper):
class mapping:
__table__ = 'provider_service'
id = column(Integer, primary_key=True)
name = column(String(80), default='')
provider_id = column(Integer, foreign_key='provider.id')
provider = relationship('Provider', uselist=False)
issues = one_to_many('Issue')
class Question(ActiveMapper):
class mapping:
__table__ = 'question'
id = column(Integer, primary_key=True)
issue_id = column(Integer, foreign_key='issue.id', default=None)
issue = relationship('Issue', primaryjoin=['question.issue_id','issue.id']('question.issue_id','issue.id'), uselist=False)
provider_id = column(Integer, foreign_key='provider.id', default=None)
provider = relationship('Provider', primaryjoin=['question.provider_id','provider.id']('question.provider_id','provider.id'), uselist=False)
provider_service_id = column(Integer, foreign_key='provider_service.id', default=None)
providerservice = relationship('ProviderService', uselist=False)
description = column(String(250))
answers = one_to_many('Answer', primaryjoin=['question.id','answer.fromquestion_id']('question.id','answer.fromquestion_id'))
wikilink = column(String(80))
import logging
logging.getLogger('sqlalchemy').setLevel(logging.DEBUG)
logging.getLogger('sqlalchemy').addHandler(logging.FileHandler("c:\\temp\\sqalog.txt","w"))
q = Question(description="testtest")
q.flush()"><pre class="notranslate"><code class="notranslate">from sqlalchemy import *
from sqlalchemy.ext.activemapper import *
import sys
_engine = create_engine("postgres://****:****@localhost/issuetracker")
metadata.connect(_engine)
class Answer(ActiveMapper):
class mapping:
__table__ = 'answer'
id = column(Integer, primary_key=True)
label = column(String(80), default=None)
fromquestion_id = column(Integer, foreign_key='question.id', default=None)
fromquestion = relationship('Question', primaryjoin=['answer.fromquestion_id','question.id']('answer.fromquestion_id','question.id'), uselist=False)
toquestion_id = column(Integer, foreign_key='question.id', default=None)
toquestion = relationship('Question', primaryjoin=['answer.toquestion_id','question.id']('answer.toquestion_id','question.id'), uselist=False)
class Issue(ActiveMapper):
class mapping:
__table__ = 'issue'
id = column(Integer, primary_key=True)
name = column(String, default='')
description = column(String, default='')
provider_service_id = column(Integer, foreign_key='provider_service.id')
providerservice = relationship('ProviderService', uselist=False)
firstquestion_id = column(Integer, foreign_key='question.id', default=None)
firstquestion = relationship('Question', primaryjoin=['issue.firstquestion_id','question.id']('issue.firstquestion_id','question.id'), uselist=False)
questions = one_to_many('Question', primaryjoin=['issue.id','question.issue_id']('issue.id','question.issue_id'))
class Provider(ActiveMapper):
class mapping:
__table__ = 'provider'
id = column(Integer, primary_key=True)
firstquestion_id = column(Integer, foreign_key='question.id', default=None)
firstquestion = relationship('Question', primaryjoin=['provider.firstquestion_id','question.id']('provider.firstquestion_id','question.id'), uselist=False)
questions = one_to_many('Question', primaryjoin=['provider.id','question.provider_id']('provider.id','question.provider_id'))
providerservices = one_to_many('ProviderService')
class ProviderService(ActiveMapper):
class mapping:
__table__ = 'provider_service'
id = column(Integer, primary_key=True)
name = column(String(80), default='')
provider_id = column(Integer, foreign_key='provider.id')
provider = relationship('Provider', uselist=False)
issues = one_to_many('Issue')
class Question(ActiveMapper):
class mapping:
__table__ = 'question'
id = column(Integer, primary_key=True)
issue_id = column(Integer, foreign_key='issue.id', default=None)
issue = relationship('Issue', primaryjoin=['question.issue_id','issue.id']('question.issue_id','issue.id'), uselist=False)
provider_id = column(Integer, foreign_key='provider.id', default=None)
provider = relationship('Provider', primaryjoin=['question.provider_id','provider.id']('question.provider_id','provider.id'), uselist=False)
provider_service_id = column(Integer, foreign_key='provider_service.id', default=None)
providerservice = relationship('ProviderService', uselist=False)
description = column(String(250))
answers = one_to_many('Answer', primaryjoin=['question.id','answer.fromquestion_id']('question.id','answer.fromquestion_id'))
wikilink = column(String(80))
import logging
logging.getLogger('sqlalchemy').setLevel(logging.DEBUG)
logging.getLogger('sqlalchemy').addHandler(logging.FileHandler("c:\\temp\\sqalog.txt","w"))
q = Question(description="testtest")
q.flush()
</code></pre></div>
<p dir="auto">After a new question is created, and then flush() is called, an IntegrityError exception is raised. If I remove one of the classes, such as Issue (and it's relating columns \ relations) I don't get the error. And example of Issue being removed:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import *
from sqlalchemy.ext.activemapper import *
import sys
_engine = create_engine("postgres://****:****@localhost/issuetracker")
metadata.connect(_engine)
class Answer(ActiveMapper):
class mapping:
__table__ = 'answer'
id = column(Integer, primary_key=True)
label = column(String(80), default=None)
fromquestion_id = column(Integer, foreign_key='question.id', default=None)
fromquestion = relationship('Question', primaryjoin=['answer.fromquestion_id','question.id']('answer.fromquestion_id','question.id'), uselist=False)
toquestion_id = column(Integer, foreign_key='question.id', default=None)
toquestion = relationship('Question', primaryjoin=['answer.toquestion_id','question.id']('answer.toquestion_id','question.id'), uselist=False)
class Provider(ActiveMapper):
class mapping:
__table__ = 'provider'
id = column(Integer, primary_key=True)
firstquestion_id = column(Integer, foreign_key='question.id', default=None)
firstquestion = relationship('Question', primaryjoin=['provider.firstquestion_id','question.id']('provider.firstquestion_id','question.id'), uselist=False)
questions = one_to_many('Question', primaryjoin=['provider.id','question.provider_id']('provider.id','question.provider_id'))
providerservices = one_to_many('ProviderService')
class ProviderService(ActiveMapper):
class mapping:
__table__ = 'provider_service'
id = column(Integer, primary_key=True)
name = column(String(80), default='')
provider_id = column(Integer, foreign_key='provider.id')
provider = relationship('Provider', uselist=False)
issues = one_to_many('Issue')
class Question(ActiveMapper):
class mapping:
__table__ = 'question'
id = column(Integer, primary_key=True)
provider_id = column(Integer, foreign_key='provider.id', default=None)
provider = relationship('Provider', primaryjoin=['question.provider_id','provider.id']('question.provider_id','provider.id'), uselist=False)
provider_service_id = column(Integer, foreign_key='provider_service.id', default=None)
providerservice = relationship('ProviderService', uselist=False)
description = column(String(250))
answers = one_to_many('Answer', primaryjoin=['question.id','answer.fromquestion_id']('question.id','answer.fromquestion_id'))
wikilink = column(String(80))
import logging
logging.getLogger('sqlalchemy').setLevel(logging.DEBUG)
logging.getLogger('sqlalchemy').addHandler(logging.FileHandler("c:\\temp\\sqalog.txt","w"))
q = Question(description="testtest")
q.flush()"><pre class="notranslate"><code class="notranslate">from sqlalchemy import *
from sqlalchemy.ext.activemapper import *
import sys
_engine = create_engine("postgres://****:****@localhost/issuetracker")
metadata.connect(_engine)
class Answer(ActiveMapper):
class mapping:
__table__ = 'answer'
id = column(Integer, primary_key=True)
label = column(String(80), default=None)
fromquestion_id = column(Integer, foreign_key='question.id', default=None)
fromquestion = relationship('Question', primaryjoin=['answer.fromquestion_id','question.id']('answer.fromquestion_id','question.id'), uselist=False)
toquestion_id = column(Integer, foreign_key='question.id', default=None)
toquestion = relationship('Question', primaryjoin=['answer.toquestion_id','question.id']('answer.toquestion_id','question.id'), uselist=False)
class Provider(ActiveMapper):
class mapping:
__table__ = 'provider'
id = column(Integer, primary_key=True)
firstquestion_id = column(Integer, foreign_key='question.id', default=None)
firstquestion = relationship('Question', primaryjoin=['provider.firstquestion_id','question.id']('provider.firstquestion_id','question.id'), uselist=False)
questions = one_to_many('Question', primaryjoin=['provider.id','question.provider_id']('provider.id','question.provider_id'))
providerservices = one_to_many('ProviderService')
class ProviderService(ActiveMapper):
class mapping:
__table__ = 'provider_service'
id = column(Integer, primary_key=True)
name = column(String(80), default='')
provider_id = column(Integer, foreign_key='provider.id')
provider = relationship('Provider', uselist=False)
issues = one_to_many('Issue')
class Question(ActiveMapper):
class mapping:
__table__ = 'question'
id = column(Integer, primary_key=True)
provider_id = column(Integer, foreign_key='provider.id', default=None)
provider = relationship('Provider', primaryjoin=['question.provider_id','provider.id']('question.provider_id','provider.id'), uselist=False)
provider_service_id = column(Integer, foreign_key='provider_service.id', default=None)
providerservice = relationship('ProviderService', uselist=False)
description = column(String(250))
answers = one_to_many('Answer', primaryjoin=['question.id','answer.fromquestion_id']('question.id','answer.fromquestion_id'))
wikilink = column(String(80))
import logging
logging.getLogger('sqlalchemy').setLevel(logging.DEBUG)
logging.getLogger('sqlalchemy').addHandler(logging.FileHandler("c:\\temp\\sqalog.txt","w"))
q = Question(description="testtest")
q.flush()
</code></pre></div>
<p dir="auto">The test succeeds with that class removed. It also works if Provider, or ProviderService is removed (along with the relations that point to them). The log for when the IntegrityError is raised is as follows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Dependency sort:
Mapper|ProviderService|provider_service (cycles: [Mapper|Question|question, Mapper|Provider|provider](Mapper|ProviderService|provider_service,))
Mapper|Issue|issue (cycles: [Mapper|Question|question](Mapper|Issue|issue,))
Mapper|Answer|answer
Task dump:
UOWTask(0xc96230, ProviderService/provider_service/None) (contains cyclical sub-tasks) (save/update phase)
|- Save (placeholder)
|
|- UOWTask(0xc96230->0xc9de90, Question/question/None) (save/update phase)
| |- Save Question(0xc8a7b0)
| |----
|
| |- Process Question(0xc8a7b0).answers
|
|- UOWTask(0xc967d0, Issue/issue/None) (contains cyclical sub-tasks) (save/update phase)
| |- Save (placeholder)
| |
| |- UOWTask(0xc967d0->0xca1310, Question/question/None) (save/update phase)
| | |- Save Question(0xc8a7b0)
| | |----
| |
| | |- Process Question(0xc8a7b0).answers
| |
| |- UOWTask(0xc9def0, Answer/answer/None) (save/update phase)
| | |- (empty task)
| |
| |----
|
|
|- UOWTask(0xc967d0, Issue/issue/None) (contains cyclical sub-tasks) (delete phase)
| |
| |- UOWTask(0xc9def0, Answer/answer/None) (delete phase)
| | |- (empty task)
| |
| |
| |- UOWTask(0xc967d0->0xca1310, Question/question/None) (delete phase)
| | |----
| |
| |----
|
|
|- UOWTask(0xc96230->0xc9de90, Question/question/None) (delete phase)
| |----
|
|----
(ProviderService|provider_service) save_obj() start, batched
Created new connection <connection object at 0x00BACF90; dsn: 'dbname=issuetracker host=localhost user=**** password=****', closed: 0>
Connection <connection object at 0x00BACF90; dsn: 'dbname=issuetracker host=localhost user=**** password=****', closed: 0> checked out from pool
BEGIN
(Question|question) save_obj() start, batched
(Question|question) save_obj() table 'question' instance Question@0xc8a7b0 identity (<class '__main__.Question'>, (None,), None)
select nextval('"question_id_seq"')
None
INSERT INTO question (description, id, issue_id, provider_id, provider_service_id, wikilink) VALUES (%(description)s, %(id)s, %(issue_id)s, %(provider_id)s, %(provider_service_id)s, %(wikilink)s)
{'provider_id': None, 'description': 'testtest', 'provider_service_id': None, 'issue_id': None, 'wikilink': None, 'id': 2628L}
(Issue|issue) save_obj() start, batched
(Question|question) save_obj() start, batched
(Question|question) save_obj() table 'question' instance Question@0xc8a7b0 identity (<class '__main__.Question'>, (2628L,), None)
INSERT INTO question (description, id, issue_id, provider_id, provider_service_id, wikilink) VALUES (%(description)s, %(id)s, %(issue_id)s, %(provider_id)s, %(provider_service_id)s, %(wikilink)s)
{'provider_id': None, 'description': 'testtest', 'provider_service_id': None, 'issue_id': None, 'wikilink': None, 'id': 2628L}
ROLLBACK
Connection <connection object at 0x00BACF90; dsn: 'dbname=issuetracker host=localhost user=**** password=****', closed: 0> being returned to pool"><pre class="notranslate"><code class="notranslate">Dependency sort:
Mapper|ProviderService|provider_service (cycles: [Mapper|Question|question, Mapper|Provider|provider](Mapper|ProviderService|provider_service,))
Mapper|Issue|issue (cycles: [Mapper|Question|question](Mapper|Issue|issue,))
Mapper|Answer|answer
Task dump:
UOWTask(0xc96230, ProviderService/provider_service/None) (contains cyclical sub-tasks) (save/update phase)
|- Save (placeholder)
|
|- UOWTask(0xc96230->0xc9de90, Question/question/None) (save/update phase)
| |- Save Question(0xc8a7b0)
| |----
|
| |- Process Question(0xc8a7b0).answers
|
|- UOWTask(0xc967d0, Issue/issue/None) (contains cyclical sub-tasks) (save/update phase)
| |- Save (placeholder)
| |
| |- UOWTask(0xc967d0->0xca1310, Question/question/None) (save/update phase)
| | |- Save Question(0xc8a7b0)
| | |----
| |
| | |- Process Question(0xc8a7b0).answers
| |
| |- UOWTask(0xc9def0, Answer/answer/None) (save/update phase)
| | |- (empty task)
| |
| |----
|
|
|- UOWTask(0xc967d0, Issue/issue/None) (contains cyclical sub-tasks) (delete phase)
| |
| |- UOWTask(0xc9def0, Answer/answer/None) (delete phase)
| | |- (empty task)
| |
| |
| |- UOWTask(0xc967d0->0xca1310, Question/question/None) (delete phase)
| | |----
| |
| |----
|
|
|- UOWTask(0xc96230->0xc9de90, Question/question/None) (delete phase)
| |----
|
|----
(ProviderService|provider_service) save_obj() start, batched
Created new connection <connection object at 0x00BACF90; dsn: 'dbname=issuetracker host=localhost user=**** password=****', closed: 0>
Connection <connection object at 0x00BACF90; dsn: 'dbname=issuetracker host=localhost user=**** password=****', closed: 0> checked out from pool
BEGIN
(Question|question) save_obj() start, batched
(Question|question) save_obj() table 'question' instance Question@0xc8a7b0 identity (<class '__main__.Question'>, (None,), None)
select nextval('"question_id_seq"')
None
INSERT INTO question (description, id, issue_id, provider_id, provider_service_id, wikilink) VALUES (%(description)s, %(id)s, %(issue_id)s, %(provider_id)s, %(provider_service_id)s, %(wikilink)s)
{'provider_id': None, 'description': 'testtest', 'provider_service_id': None, 'issue_id': None, 'wikilink': None, 'id': 2628L}
(Issue|issue) save_obj() start, batched
(Question|question) save_obj() start, batched
(Question|question) save_obj() table 'question' instance Question@0xc8a7b0 identity (<class '__main__.Question'>, (2628L,), None)
INSERT INTO question (description, id, issue_id, provider_id, provider_service_id, wikilink) VALUES (%(description)s, %(id)s, %(issue_id)s, %(provider_id)s, %(provider_service_id)s, %(wikilink)s)
{'provider_id': None, 'description': 'testtest', 'provider_service_id': None, 'issue_id': None, 'wikilink': None, 'id': 2628L}
ROLLBACK
Connection <connection object at 0x00BACF90; dsn: 'dbname=issuetracker host=localhost user=**** password=****', closed: 0> being returned to pool
</code></pre></div>
<p dir="auto">The log shows the the UOWTask is doing:</p>
<p dir="auto">Save Question(0xc8a7b0)</p>
<p dir="auto">Twice in this case, and both times saving the Question with the same id. I haven't checked out the UOW code at all, and have simplified the test as much as possible. If more information is needed, fell free to contact me at warren at serverplus dot com.</p>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/362/test2.py">test2.py</a> | <a href="../wiki/imported_issue_attachments/362/sqalog.txt">sqalog.txt</a> | <a href="../wiki/imported_issue_attachments/362/test.py">test.py</a></p> | <p dir="auto"><strong>Migrated issue, originally created by Mario Benito Ríos (<a href="https://github.com/Maberi">@Maberi</a>)</strong></p>
<p dir="auto">With MySQL backend, on commit after creating a new object with "autoincrement" PK, key updating is triggering validator. See <a href="https://bitbucket.org/zzzeek/sqlalchemy/src/2de7f94739ec1873e1dce48797e1e6f12044cf4c/lib/sqlalchemy/orm/persistence.py?at=master#cl-650" rel="nofollow">https://bitbucket.org/zzzeek/sqlalchemy/src/2de7f94739ec1873e1dce48797e1e6f12044cf4c/lib/sqlalchemy/orm/persistence.py?at=master#cl-650</a></p>
<p dir="auto">Documentation says only user assignments trigger validations, so this case shouldn't trigger validation.</p> | 0 |
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1549069/80130965-bb377900-85ae-11ea-9ccf-0050af4f5d81.gif"><img src="https://user-images.githubusercontent.com/1549069/80130965-bb377900-85ae-11ea-9ccf-0050af4f5d81.gif" alt="y" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">React version: 16.13.1</p>
<h2 dir="auto">Steps To Reproduce</h2>
<p dir="auto">1- The first render is correct<br>
2- The second re-render is correct because <code class="notranslate">X</code> changes from <code class="notranslate">1</code> to <code class="notranslate">2</code><br>
3- The third re-render in the wrong</p>
<p dir="auto">Link to code example:<br>
<a href="https://codesandbox.io/s/bug-in-render-ldycb" rel="nofollow">https://codesandbox.io/s/bug-in-render-ldycb</a></p>
<h2 dir="auto">The current behavior</h2>
<p dir="auto">The third re-render is unnecessary but happen</p>
<h2 dir="auto">The expected behavior</h2>
<p dir="auto">The third re-render should not happen</p> | <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Bug</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">As demonstrated in <a href="https://codesandbox.io/s/1r539z96r3" rel="nofollow">this</a> codesandbox, trying to implement a pattern similar to the one discussed in <a href="https://reactjs.org/docs/hooks-faq.html#how-do-i-implement-getderivedstatefromprops" rel="nofollow">https://reactjs.org/docs/hooks-faq.html#how-do-i-implement-getderivedstatefromprops</a> results in an infinite loop, even if the value of the state does not change. This seems like a bug, because, as documented <a href="https://reactjs.org/docs/hooks-reference.html#bailing-out-of-a-state-update" rel="nofollow">here</a>, <code class="notranslate">If you update a State Hook to the same value as the current state, React will bail out without rendering the children or firing effects.</code></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (<a href="https://jsfiddle.net/Luktwrdm/" rel="nofollow">https://jsfiddle.net/Luktwrdm/</a>) or CodeSandbox (<a href="https://codesandbox.io/s/new" rel="nofollow">https://codesandbox.io/s/new</a>) example below:</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Since the state does not change, bail out on the re-render.<br>
This can be worked around by adding a check before <code class="notranslate">setState</code> to check if the state has changed before calling the function.</p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p> | 1 |
<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">How can I remove the background colour on the hover of a menu item, and change the font-color?</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 issues of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Print "ref is ok" in console.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Warning printed:</p>
<blockquote>
<p dir="auto">Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.</p>
<p dir="auto">Check the render method of <code class="notranslate">withStyles(Toolbar)</code>.<br>
in Toolbar (created by withStyles(Toolbar))<br>
in withStyles(Toolbar) (created by Page)</p>
</blockquote>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><code class="notranslate"><Toolbar innerRef={() => console.log("ref is ok"} /></code></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></td>
</tr>
<tr>
<td>React</td>
<td></td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>
<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</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 62</td>
</tr>
<tr>
<td>ts</td>
<td>2.6.1</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">I'm having some difficulties to do a custom rendering for expanded choices. I'm using an entity type wich is ordering entities by a relation table, and for each different relation I have to do a group of chexkboxes, with another one at the top allowing to select all or none of the group.</p>
<p dir="auto">My issue is that I can't do the correlation between the form views and choice views. So I think it's really complicated to do custom rendering on expanded choices.</p>
<p dir="auto">I'm suggesting to pass the ChoiceView as a var for each choice subForm so that when iterating on the choice formview we can get access to the choice view data, giving more information to be able to render custom stuffs (when the original data is an object).</p> | <p dir="auto">When using <code class="notranslate">"expanded" => true</code> on a <code class="notranslate">choice</code> field that contains groups, the default form theme simply renders all radio buttons/checkboxes sequentially, without headings or any other indication of the group structure (at least under Twig).</p>
<p dir="auto">From what I can tell, this issue stems from the fact that the choices in an expanded choice field are written directly from the <code class="notranslate">FormView</code>'s <code class="notranslate">choices</code> variable, which is structured into groups. By contrast, expanded choice fields are represented using a series of checkbox/radio button fields, which are treated as children of the choice field - the problem being that the children are not arranged in any hierarchical structure.</p>
<p dir="auto">The <code class="notranslate">FormView</code> for an expanded choice field does still have a <code class="notranslate">choices</code> variable like that of a collapsed choice field, but currently there is no effective way to match up the <code class="notranslate">ChoiceView</code> object with the corresponding child <code class="notranslate">FormView</code> in the template, so rendering the fields from the <code class="notranslate">choices</code> variable as with a collapsed choice field is not a viable option.</p> | 1 |
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function decorator(container, key) {}
class A {
@decorator // OK
fn(){}
}
let a = {
b: class B {
@decorator // Error TS1206: Decorators are not valid here
fn(){}
}
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">decorator</span><span class="pl-kos">(</span><span class="pl-s1">container</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">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
@<span class="pl-s1">decorator</span> <span class="pl-c">// OK</span>
<span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">b</span>: <span class="pl-k">class</span> <span class="pl-smi">B</span> <span class="pl-kos">{</span>
@<span class="pl-s1">decorator</span> <span class="pl-c">// Error TS1206: Decorators are not valid here</span>
<span class="pl-en">fn</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">My use case is a controller class in an Angular 1.5 component:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const MyComponent = {
bindings: {...},
template: `...`,
controller: class MyComponentController extends BaseComponent {
@override
foo() {...}
}
}
abstract class BaseComponent {
protected foo() {...}
}"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-smi">MyComponent</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">bindings</span>: <span class="pl-kos">{</span>...<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>: <span class="pl-s">`...`</span><span class="pl-kos">,</span>
<span class="pl-c1">controller</span>: <span class="pl-k">class</span> <span class="pl-smi">MyComponentController</span> <span class="pl-k">extends</span> <span class="pl-smi">BaseComponent</span> <span class="pl-kos">{</span>
@<span class="pl-s1">override</span>
<span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>...<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">abstract</span> <span class="pl-k">class</span> <span class="pl-smi">BaseComponent</span> <span class="pl-kos">{</span>
<span class="pl-k">protected</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>...<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div> | <p dir="auto"><strong>TypeScript Version:</strong> 1.8.10</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="export default new class Foo {
@someDecorator
someMethod() {}
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">new</span> <span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
@<span class="pl-s1">someDecorator</span>
<span class="pl-en">someMethod</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">Will result in an error on <code class="notranslate">@someDecorator</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error TS1206: Decorators are not valid here."><pre class="notranslate"><code class="notranslate">error TS1206: Decorators are not valid here.
</code></pre></div>
<hr>
<p dir="auto">It can be worked around via</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Foo {
@someDecorator
someMethod() {}
}
export default new Foo();"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
@<span class="pl-s1">someDecorator</span>
<span class="pl-en">someMethod</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">export</span> <span class="pl-k">default</span> <span class="pl-k">new</span> <span class="pl-smi">Foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 1 |
<p dir="auto">Under <strong>What do I need?</strong> click should also be listed.</p> | <p dir="auto">This is a major backwards-compat breaking change, but I suspect not the intended design and hopefully easy to fix.</p>
<p dir="auto">The issue is related to PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="296333921" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/2629" data-hovercard-type="pull_request" data-hovercard-url="/pallets/flask/pull/2629/hovercard" href="https://github.com/pallets/flask/pull/2629">#2629</a>, and this example follows from that:</p>
<p dir="auto">Given blueprint <code class="notranslate">bp</code> and app <code class="notranslate">app</code>:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@bp.route('b/')
def tmp():
return "URI should be '/a/b/"
app.register_blueprint(bp, url_prefix='/a/')"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">bp</span>.<span class="pl-en">route</span>(<span class="pl-s">'b/'</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">tmp</span>():
<span class="pl-k">return</span> <span class="pl-s">"URI should be '/a/b/"</span>
<span class="pl-s1">app</span>.<span class="pl-en">register_blueprint</span>(<span class="pl-s1">bp</span>, <span class="pl-s1">url_prefix</span><span class="pl-c1">=</span><span class="pl-s">'/a/'</span>)</pre></div>
<p dir="auto">In Flask 0.12 the URL is correctly <code class="notranslate">/a/b</code>, but in Flask 1.0 it's <code class="notranslate">/ab</code>.</p>
<p dir="auto">Since issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="296333921" data-permission-text="Title is private" data-url="https://github.com/pallets/flask/issues/2629" data-hovercard-type="pull_request" data-hovercard-url="/pallets/flask/pull/2629/hovercard" href="https://github.com/pallets/flask/pull/2629">#2629</a> relates to resolve double-slashes, I imagine this is a bug (and not a design decision) - and the correct solution would be to remove a slash only when there are two.</p> | 0 |
<p dir="auto">Trying to use Input groups in inline form (single form or in Nav bar).<br>
There are expected behaviour in FireFox (v26.0), but Chrom (v34.0.1809.0 dev-m) dumbs.<br>
Trying to solve it but can't guess problem point.</p>
<p dir="auto">Here are live example: <a href="http://jsbin.com/EreJodAC/1/" rel="nofollow">http://jsbin.com/EreJodAC/1/</a></p>
<p dir="auto">Here are screenshots:<br>
FireFox (as expected)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/37b05bdd696729e212ab2375f1bf59dd0ea6793a0387af571232ead7180147b2/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313030393932362f323033393639362f33376630316564612d383961372d313165332d383233612d3161383564656364636237332e706e67"><img src="https://camo.githubusercontent.com/37b05bdd696729e212ab2375f1bf59dd0ea6793a0387af571232ead7180147b2/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313030393932362f323033393639362f33376630316564612d383961372d313165332d383233612d3161383564656364636237332e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/1009926/2039696/37f01eda-89a7-11e3-823a-1a85decdcb73.png" style="max-width: 100%;"></a></p>
<p dir="auto">Chrome<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/78e35af0cefb42bbd46665b68925c096356a5c5e9ca45d76561d1fadbd0c323c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313030393932362f323033393639302f32356166346664652d383961372d313165332d393838302d3734396466323730313136632e706e67"><img src="https://camo.githubusercontent.com/78e35af0cefb42bbd46665b68925c096356a5c5e9ca45d76561d1fadbd0c323c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313030393932362f323033393639302f32356166346664652d383961372d313165332d393838302d3734396466323730313136632e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/1009926/2039690/25af4fde-89a7-11e3-9880-749df270116c.png" style="max-width: 100%;"></a></p>
<p dir="auto">Checked on latest from master and still gets the same.</p> | <p dir="auto">When you have an input-group (I've only tested it with a button) inside a navbar the form doesn't align and makes the navbar height way longer.</p> | 1 |
<h1 dir="auto">Bug report</h1>
<p dir="auto">Webpack supports the <a href="https://webpack.js.org/configuration/resolve/#resolvealiasfields" rel="nofollow"><code class="notranslate">browser</code> alias</a> but it doesn't apply it to exports map.</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">This pattern is supported</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"main": "./index.js",
"browser": "./browser.js"
}"><pre class="notranslate">{
<span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>./index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"browser"</span>: <span class="pl-s"><span class="pl-pds">"</span>./browser.js<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto">but this pattern isn't:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"exports": {
".": "./index.js",
"./browser": "./browser.js"
}
}"><pre class="notranslate">{
<span class="pl-ent">"exports"</span>: {
<span class="pl-ent">"."</span>: <span class="pl-s"><span class="pl-pds">"</span>./index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./browser"</span>: <span class="pl-s"><span class="pl-pds">"</span>./browser.js<span class="pl-pds">"</span></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">You can check out this folder: <a href="https://github.com/fregante/webpack-sandbox/tree/main/exports-browser">https://github.com/fregante/webpack-sandbox/tree/main/exports-browser</a></p>
<p dir="auto">It also includes the webpack output (log and dist)</p>
<p dir="auto">This is part of the output file that demoes which of the 2 files are imported for the "exports map" and "old style" imports respectively:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(() => {
var e = {
507: () => {
console.log('field: exports["."]');
},
933: () => {
console.log('field: browser');
},
},
r = {};
[clipped]"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">e</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">507</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">'field: exports["."]'</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">933</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></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">'field: browser'</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">r</span> <span class="pl-c1">=</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">clipped</span><span class="pl-kos">]</span></pre></div>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><code class="notranslate">exports.browser</code> should be picked up just like <code class="notranslate">browser</code> is<br>
<strong>Other relevant information:</strong><br>
webpack 5.31.0<br>
webpack-cli 4.6.0<br>
Node.js version: v16.4.2<br>
Operating System: macOS 11.5</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">When generating a bundle with <code class="notranslate">devtool: eval-source-map</code>, the source maps don't work with the Firefox Dev Tools' console. Instead of seeing the expected file when I have an error in my code, I see <code class="notranslate">bundle.js line 11739 > eval:52:29</code> (or equivalent).</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">Bundle a <code class="notranslate">react</code> app with an obvious bug that should break your code in it, bundle your code with <code class="notranslate">devtools: eval-source-map</code> as one of the options, and open Firefox Dev Tools & load the bundle in your browser.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">When an error occurs, the Firefox Dev Tools console log should show the actual file in my source code where things have gone wrong.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 4.33<br>
Node.js version: 10.8.0<br>
Operating System: Ubuntu 18.04<br>
Additional tools: Firefox 67.0.1</p>
<p dir="auto">It is worth noting that this worked fine as recently as last week (when I last used Firefox Dev Tools). I have updated Firefox since then. Using <code class="notranslate">devtool: source-map</code> works without issue currently. I have not tested on any other browsers.</p> | 0 |
<p dir="auto">Hi, When I build dockerfile, I see error message about git submodule.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Step 10/14 : RUN git submodule update --init
---> Running in 0633cd9d62c6
fatal: Not a git repository (or any of the parent directories): .git
The command '/bin/sh -c git submodule update --init' returned a non-zero code: 128"><pre class="notranslate"><code class="notranslate">Step 10/14 : RUN git submodule update --init
---> Running in 0633cd9d62c6
fatal: Not a git repository (or any of the parent directories): .git
The command '/bin/sh -c git submodule update --init' returned a non-zero code: 128
</code></pre></div>
<p dir="auto">Ubuntu16.04 and git version 2.16.1.</p> | <h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="672516878" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/42514" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/42514/hovercard" href="https://github.com/pytorch/pytorch/pull/42514">#42514</a> added NCCL Alltoall support to NCCL process group using NCCL Send/Recv. This seems to cause unrelated NCCL tests to time-out. This feature has been disabled by default.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<p dir="auto">Set ENABLE_NCCL_A2A=1 to enable NCCL A2A support using NCCL send/recv. See: <a href="https://github.com/pytorch/pytorch/pull/42514/files#diff-5e6ecb5ae373ed102c2d012ea8847336R21">https://github.com/pytorch/pytorch/pull/42514/files#diff-5e6ecb5ae373ed102c2d012ea8847336R21</a></p>
<p dir="auto">This will cause few/all of the following jobs to time-out:<br>
pytorch_linux_xenial_cuda10_2_cudnn7_py3_ge_config_profiling_test<br>
pytorch_linux_xenial_cuda10_2_cudnn7_py3_ge_config_legacy_test<br>
pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test</p>
<p dir="auto">This happens even if the test_all_to_all_single_equal_split_cuda and other NCCL alltoall tests are not enabled:<br>
<a href="https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1575">https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1575</a><br>
<a href="https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1599">https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1599</a><br>
<a href="https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1599">https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1599</a><br>
<a href="https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1599">https://github.com/pytorch/pytorch/pull/42514/files#diff-3469d9b41904e6ed24347065234034e2R1599</a></p>
<p dir="auto">The issue can be reproduced by ssh'ing into one of the containers for the above jobs and running:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python test_nn.py --verbose TestNN.test_broadcast_double_backwards_gpu
frame #1: 0x00007fffac982755 libtorch_cuda.so`ncclBarrierEnqueueWait(ncclComm*) + 43 at enqueue.cc:162
frame #2: 0x00007fffac98272a libtorch_cuda.so`ncclBarrierEnqueueWait(comm=0x00007fff10000e00) + 218 at enqueue.cc:217
frame #3: 0x00007fffac98345e libtorch_cuda.so`ncclEnqueueCheck(info=0x00007fffffff9510) + 1998 at enqueue.cc:566
frame #4: 0x00007fffac999ce9 libtorch_cuda.so`::ncclBroadcast(sendbuff=<unavailable>, recvbuff=<unavailable>, count=<unavailable>, datatype=<unavailable>, root=<unavailable>, comm=<unavailable>, stream=0x000055555775eea0) + 121 at broadcast.cc:17
frame #5: 0x00007fffac999d29 libtorch_cuda.so`::ncclBcast(buff=<unavailable>, count=<unavailable>, datatype=<unavailable>, root=<unavailable>, comm=<unavailable>, stream=<unavailable>) + 25 at broadcast.cc:24
frame #6: 0x00007fffaa8490ee libtorch_cuda.so`torch::cuda::nccl::broadcast(c10::ArrayRef<at::Tensor>, std::vector<c10::optional<c10::cuda::CUDAStream>, std::allocator<c10::optional<c10::cuda::CUDAStream> > > const&, std::vector<ncclComm*, std::allocator<ncclComm*> > const&) + 622
frame #7: 0x00007fffaa7067fd libtorch_cuda.so`torch::cuda::_broadcast_out_impl(at::Tensor const&, std::vector<at::Tensor, std::allocator<at::Tensor> >&) + 445
frame #8: 0x00007fffaa706c4f libtorch_cuda.so`torch::cuda::broadcast(at::Tensor const&, c10::ArrayRef<long>) + 975
frame #9: 0x00007fffaa707a4a libtorch_cuda.so`torch::cuda::broadcast_coalesced(c10::ArrayRef<at::Tensor>, c10::ArrayRef<long>, unsigned long) + 2746"><pre class="notranslate"><code class="notranslate">python test_nn.py --verbose TestNN.test_broadcast_double_backwards_gpu
frame #1: 0x00007fffac982755 libtorch_cuda.so`ncclBarrierEnqueueWait(ncclComm*) + 43 at enqueue.cc:162
frame #2: 0x00007fffac98272a libtorch_cuda.so`ncclBarrierEnqueueWait(comm=0x00007fff10000e00) + 218 at enqueue.cc:217
frame #3: 0x00007fffac98345e libtorch_cuda.so`ncclEnqueueCheck(info=0x00007fffffff9510) + 1998 at enqueue.cc:566
frame #4: 0x00007fffac999ce9 libtorch_cuda.so`::ncclBroadcast(sendbuff=<unavailable>, recvbuff=<unavailable>, count=<unavailable>, datatype=<unavailable>, root=<unavailable>, comm=<unavailable>, stream=0x000055555775eea0) + 121 at broadcast.cc:17
frame #5: 0x00007fffac999d29 libtorch_cuda.so`::ncclBcast(buff=<unavailable>, count=<unavailable>, datatype=<unavailable>, root=<unavailable>, comm=<unavailable>, stream=<unavailable>) + 25 at broadcast.cc:24
frame #6: 0x00007fffaa8490ee libtorch_cuda.so`torch::cuda::nccl::broadcast(c10::ArrayRef<at::Tensor>, std::vector<c10::optional<c10::cuda::CUDAStream>, std::allocator<c10::optional<c10::cuda::CUDAStream> > > const&, std::vector<ncclComm*, std::allocator<ncclComm*> > const&) + 622
frame #7: 0x00007fffaa7067fd libtorch_cuda.so`torch::cuda::_broadcast_out_impl(at::Tensor const&, std::vector<at::Tensor, std::allocator<at::Tensor> >&) + 445
frame #8: 0x00007fffaa706c4f libtorch_cuda.so`torch::cuda::broadcast(at::Tensor const&, c10::ArrayRef<long>) + 975
frame #9: 0x00007fffaa707a4a libtorch_cuda.so`torch::cuda::broadcast_coalesced(c10::ArrayRef<at::Tensor>, c10::ArrayRef<long>, unsigned long) + 2746
</code></pre></div>
<p dir="auto">In other words, it appears simply adding NCCL a2a code using NCCL send/recv calls (without any tests calling NCCL a2a) seems to trigger the issue. For instance, the issue has been isolated to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="669258815" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/42339" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/42339/hovercard" href="https://github.com/pytorch/pytorch/pull/42339">#42339</a> which adds the code but does not call it from tests.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="669261695" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/42340" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/42340/hovercard" href="https://github.com/pytorch/pytorch/pull/42340">#42340</a> [Don't Review] Adding one all2all test<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="669258815" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/42339" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/42339/hovercard" href="https://github.com/pytorch/pytorch/pull/42339">#42339</a> [Don't Review] Adding ProcessGroupNCCL::alltoall_base<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="669257444" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/42338" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/42338/hovercard" href="https://github.com/pytorch/pytorch/pull/42338">#42338</a> [Don't Review] Adding ProcessGroupNCCL::alltoall<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="669254456" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/42337" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/42337/hovercard" href="https://github.com/pytorch/pytorch/pull/42337">#42337</a> [Don't Review] Move all2all helper functions to base class</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Given NCCL 2.7.0 support, it is expected NCCL Alltoall support and the respective tests in test_distributed.py to execute without any issues. This has been confirmed in stand-alone environments like DGX-1.</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">This issue seems to specifically arise in Github/CircleCI test environment.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malfet/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malfet">@malfet</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/seemethere/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/seemethere">@seemethere</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/walterddr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/walterddr">@walterddr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngimel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngimel">@ngimel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/osalpekar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/osalpekar">@osalpekar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jiayisuse/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jiayisuse">@jiayisuse</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/agolynski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/agolynski">@agolynski</a></p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">yum_repository</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">2.3.1.0</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Control host: Fedora 26<br>
Servers: CentOS 7.3</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Some public Yum repositories use multiple GPG keys and yum_repository does not support that currently.</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=" - name: Enable Kubernetes yum repository
yum_repository:
name: kubernetes
description: Kubernetes
baseurl: https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
enabled: yes
gpgcheck: yes
repo_gpgcheck: yes
gpgkey:
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
state: present"><pre class="notranslate"> - <span class="pl-ent">name</span>: <span class="pl-s">Enable Kubernetes yum repository</span>
<span class="pl-ent">yum_repository</span>:
<span class="pl-ent">name</span>: <span class="pl-s">kubernetes</span>
<span class="pl-ent">description</span>: <span class="pl-s">Kubernetes</span>
<span class="pl-ent">baseurl</span>: <span class="pl-s">https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64</span>
<span class="pl-ent">enabled</span>: <span class="pl-s">yes</span>
<span class="pl-ent">gpgcheck</span>: <span class="pl-s">yes</span>
<span class="pl-ent">repo_gpgcheck</span>: <span class="pl-s">yes</span>
<span class="pl-ent">gpgkey</span>:
- <span class="pl-s">https://packages.cloud.google.com/yum/doc/yum-key.gpg</span>
- <span class="pl-s">https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg</span>
<span class="pl-ent">state</span>: <span class="pl-s">present</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Multiple entries would be added for the "gpgkey" key in the Yum repository configuration.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg"><pre class="notranslate"><code class="notranslate">gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gpgkey = ['https://packages.cloud.google.com/yum/doc/yum-key.gpg', 'https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg']"><pre class="notranslate"><code class="notranslate">gpgkey = ['https://packages.cloud.google.com/yum/doc/yum-key.gpg', 'https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg']
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.0.0
config file = ansible.cfg
configured module search path = [u'modules']
python version = 2.7.13 (default, Jun 9 2017, 12:31:00) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.0.0
config file = ansible.cfg
configured module search path = [u'modules']
python version = 2.7.13 (default, Jun 9 2017, 12:31:00) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Serializer seems to convert 1_ to 1 as a dictionary key</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="- hosts: localhost
connection: local
tasks:
- debug:
var: my_dict
vars:
my_dict:
0_9_2: value
1_1_0: value1
0000001: value2
1_: value3
12: value4"><pre class="notranslate">- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">connection</span>: <span class="pl-s">local</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">debug</span>:
<span class="pl-ent">var</span>: <span class="pl-s">my_dict</span>
<span class="pl-ent">vars</span>:
<span class="pl-ent">my_dict</span>:
<span class="pl-ent">0_9_2</span>: <span class="pl-s">value</span>
<span class="pl-ent">1_1_0</span>: <span class="pl-s">value1</span>
<span class="pl-ent">0000001</span>: <span class="pl-s">value2</span>
<span class="pl-ent">1_</span>: <span class="pl-s">value3</span>
<span class="pl-ent">12</span>: <span class="pl-s">value4</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [debug] *********************************************************************************************************************************************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"my_dict": {
"0_9_2": "value"
"1_1_0": "value1"
"0000001": "value2"
"1_": "value3"
"12": "value4"
}
}"><pre class="notranslate"><code class="notranslate">TASK [debug] *********************************************************************************************************************************************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"my_dict": {
"0_9_2": "value"
"1_1_0": "value1"
"0000001": "value2"
"1_": "value3"
"12": "value4"
}
}
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">keys casted to integers when it contains '1'?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [debug] TASK [debug] *********************************************************************************************************************************************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"my_dict": {
"1": "value3",
"12": "value4",
"110": "value1",
"0_9_2": "value"
}
}
"><pre class="notranslate"><code class="notranslate">TASK [debug] TASK [debug] *********************************************************************************************************************************************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"my_dict": {
"1": "value3",
"12": "value4",
"110": "value1",
"0_9_2": "value"
}
}
</code></pre></div> | 0 |
<p dir="auto">Following code passes borrow checking leading to serious memory unsafety.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() {
let mut v = Vec::new();
for _ in v.iter() {
v.push('j');
}
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-k">mut</span> v = <span class="pl-smi">Vec</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> _ <span class="pl-k">in</span> v<span class="pl-kos">.</span><span class="pl-en">iter</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
v<span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s">'j'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Code compiles with <code class="notranslate">&c</code> instead of <code class="notranslate">_</code> too. Loop fails to compile only in <code class="notranslate">for c in v.iter()</code> case where there's an explicit variable with reference or when the loop is desugared manually.</p> | <p dir="auto">This simple code compiles on current master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/0d3bd7720c50e3ada4bac77331d43926493be4fe/hovercard" href="https://github.com/rust-lang/rust/commit/0d3bd7720c50e3ada4bac77331d43926493be4fe"><tt>0d3bd77</tt></a>) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() {
let mut vector = vec!(1u, 2u);
for &x in vector.iter() {
let cap = vector.capacity();
println!("Capacity was: {}", cap);
vector.grow(cap, &0u); // be sure to cause reallocation
*vector.get_mut(1u) = 5u;
println!("Value: {}", x);
}
}"><pre class="notranslate"><code class="notranslate">fn main() {
let mut vector = vec!(1u, 2u);
for &x in vector.iter() {
let cap = vector.capacity();
println!("Capacity was: {}", cap);
vector.grow(cap, &0u); // be sure to cause reallocation
*vector.get_mut(1u) = 5u;
println!("Value: {}", x);
}
}
</code></pre></div>
<p dir="auto">and outputs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Capacity was: 4
Value: 1
Capacity was: 8
Value: 2"><pre class="notranslate"><code class="notranslate">Capacity was: 4
Value: 1
Capacity was: 8
Value: 2
</code></pre></div>
<p dir="auto">while on 0.11 the borrow checker would complain that <code class="notranslate">vector</code> is already immutably borrowed by <code class="notranslate">vector.iter()</code>.<br>
It allows me to write <code class="notranslate">5u</code> in <code class="notranslate">vector[1]</code> and then read it as <code class="notranslate">2u</code>, because reallocation of the vector caused the iterator's slice to refer to freed memory.</p>
<p dir="auto">(was found in a StackOverflow question : <a href="http://stackoverflow.com/q/25528271/2536143" rel="nofollow">http://stackoverflow.com/q/25528271/2536143</a> )</p> | 1 |
<h1 dir="auto">Command Queue language or simple Commands Queue</h1>
<p dir="auto">To be able to in a single command time queue up multiple commands that can either run sequentially or based on conditions(especially if integrated well).</p>
<p dir="auto">for example, in my program, I use Mercurial, with Perl for build environment and python to run tests. Sometimes I want to locally run it like</p>
<div class="highlight highlight-source-batchfile notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="→ C:\Users\project› q-commands (perl build.pl workspace --androidSupport=true >
if("build sucessful"),
[py tests.py --test-project=Android --test-filter=GradelTests]
| hg up -r fixedBranch)"><pre class="notranslate">→ C:\Users\project› q-commands (perl build.pl workspace --androidSupport=true <span class="pl-k">></span>
if(<span class="pl-s"><span class="pl-pds">"</span>build sucessful<span class="pl-pds">"</span></span>),
[py tests.py --test-project=Android --test-filter=GradelTests]
<span class="pl-k">|</span> hg up -r fixedBranch)</pre></div>
<h1 dir="auto">Proposed technical implementation details</h1>
<p dir="auto">personally not sure how can we implement it but this seems super useful and new build dev friendly and overall expandable over time.<br>
Allowing python or other languages that we can build pipelines in to have the ability to provide <code class="notranslate">explicit.terminal.outs</code><br>
where you can basically have on a function in python that simple returns</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" def isBuildSucessful():
wte.explicitoutbool("isBuildSucessful",True)"><pre class="notranslate"> <span class="pl-k">def</span> <span class="pl-en">isBuildSucessful</span>():
<span class="pl-s1">wte</span>.<span class="pl-en">explicitoutbool</span>(<span class="pl-s">"isBuildSucessful"</span>,<span class="pl-c1">True</span>)</pre></div>
<p dir="auto">and in the terminal we can have</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="→ C:\Users\project›py main.py .explicit-return("isBuildSuccessful")
→ C:\Users\project› True"><pre lang="Terminal" class="notranslate"><code class="notranslate">→ C:\Users\project›py main.py .explicit-return("isBuildSuccessful")
→ C:\Users\project› True
</code></pre></div> | <h1 dir="auto">Environment</h1>
<p dir="auto">SSH</p>
<p dir="auto">Any other software?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
# Steps to reproduce
on an SSH connection, paste the text on the screen tab position incorrectly
# Actual behavior
on an SSH connection, paste the text on the screen tab position incorrectly"><pre class="notranslate"><code class="notranslate">
# Steps to reproduce
on an SSH connection, paste the text on the screen tab position incorrectly
# Actual behavior
on an SSH connection, paste the text on the screen tab position incorrectly
</code></pre></div> | 0 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.10</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="export class BaseLayoutModel extends BaseModel {
constructor(attributes?: any, options?: any) {
super(attributes, options);
}
}
export class BaseModel extends Backbone.Model {
constructor(attributes?: any, options?: any) {
super(attributes, options);
}
destroy(options?: Backbone.ModelDestroyOptions): any {
const opts = _.extend({
contentType: "application/json",
dataType: "text"
}, options || {});
super.destroy(opts);
}
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">BaseLayoutModel</span> <span class="pl-k">extends</span> <span class="pl-smi">BaseModel</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">attributes</span>?: <span class="pl-smi">any</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>?: <span class="pl-smi">any</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">attributes</span><span class="pl-kos">,</span> <span class="pl-s1">options</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">export</span> <span class="pl-k">class</span> <span class="pl-smi">BaseModel</span> <span class="pl-k">extends</span> <span class="pl-smi">Backbone</span><span class="pl-kos">.</span><span class="pl-c1">Model</span> <span class="pl-kos">{</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">attributes</span>?: <span class="pl-smi">any</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>?: <span class="pl-smi">any</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">attributes</span><span class="pl-kos">,</span> <span class="pl-s1">options</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">destroy</span><span class="pl-kos">(</span><span class="pl-s1">options</span>?: <span class="pl-smi">Backbone</span><span class="pl-kos">.</span><span class="pl-smi">ModelDestroyOptions</span><span class="pl-kos">)</span>: <span class="pl-smi">any</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">opts</span> <span class="pl-c1">=</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">extend</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">contentType</span>: <span class="pl-s">"application/json"</span><span class="pl-kos">,</span>
<span class="pl-c1">dataType</span>: <span class="pl-s">"text"</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">options</span> <span class="pl-c1">||</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">super</span><span class="pl-kos">.</span><span class="pl-en">destroy</span><span class="pl-kos">(</span><span class="pl-s1">opts</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto"><strong>Actual behavior:</strong><br>
Runtime error. BaseModel is undefined</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
class B extends A {
constructor(msg:string) {
super(msg);
}
}
class A {
constructor(public msg:string) {
}
}
"><pre class="notranslate"><code class="notranslate">
class B extends A {
constructor(msg:string) {
super(msg);
}
}
class A {
constructor(public msg:string) {
}
}
</code></pre></div>
<p dir="auto">If the super class of B is defined after A you'll get a runtime error.</p>
<p dir="auto">Just tested the above code in the typescript playground and I get the same error</p> | 1 |
<p dir="auto">When a callback is called by GLFW I get no line information about where the error was thrown. Here's an example:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import GLFW
GLFW.Init()
w = GLFW.CreateWindow(640, 480, "")
function foo()
GLFW.Terminate()
throw(InexactError())
end
GLFW.SetWindowSizeCallback(w, (a, b, c) -> foo())
while GLFW.WindowShouldClose(w) == 0
GLFW.PollEvents()
end"><pre class="notranslate"><span class="pl-k">import</span> GLFW
GLFW<span class="pl-k">.</span><span class="pl-c1">Init</span>()
w <span class="pl-k">=</span> GLFW<span class="pl-k">.</span><span class="pl-c1">CreateWindow</span>(<span class="pl-c1">640</span>, <span class="pl-c1">480</span>, <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>)
<span class="pl-k">function</span> <span class="pl-en">foo</span>()
GLFW<span class="pl-k">.</span><span class="pl-c1">Terminate</span>()
<span class="pl-c1">throw</span>(<span class="pl-c1">InexactError</span>())
<span class="pl-k">end</span>
GLFW<span class="pl-k">.</span><span class="pl-c1">SetWindowSizeCallback</span>(w, (a, b, c) <span class="pl-k">-></span> <span class="pl-c1">foo</span>())
<span class="pl-k">while</span> GLFW<span class="pl-k">.</span><span class="pl-c1">WindowShouldClose</span>(w) <span class="pl-k">==</span> <span class="pl-c1">0</span>
GLFW<span class="pl-k">.</span><span class="pl-c1">PollEvents</span>()
<span class="pl-k">end</span></pre></div>
<p dir="auto">When resizing the window, the error message is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: InexactError()
in error at error.jl:21
in anonymous at /home/jhasse/.julia/v0.3/GLFW/src/GLFW.jl:22
in ErrorCallback at /home/jhasse/.julia/v0.3/GLFW/src/util.jl:90
in WindowSizeCallback at /home/jhasse/.julia/v0.3/GLFW/src/util.jl:56
in anonymous at no file:13
in include at ./boot.jl:245
in include_from_node1 at loading.jl:128
in process_options at ./client.jl:285
in _start at ./client.jl:354
in _start_3B_1718 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
while loading /home/jhasse/test.jl, in expression starting on line 12"><pre class="notranslate"><code class="notranslate">ERROR: InexactError()
in error at error.jl:21
in anonymous at /home/jhasse/.julia/v0.3/GLFW/src/GLFW.jl:22
in ErrorCallback at /home/jhasse/.julia/v0.3/GLFW/src/util.jl:90
in WindowSizeCallback at /home/jhasse/.julia/v0.3/GLFW/src/util.jl:56
in anonymous at no file:13
in include at ./boot.jl:245
in include_from_node1 at loading.jl:128
in process_options at ./client.jl:285
in _start at ./client.jl:354
in _start_3B_1718 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so
while loading /home/jhasse/test.jl, in expression starting on line 12
</code></pre></div>
<p dir="auto">I should point me to line 7 (<code class="notranslate">throw(InexactError())</code>).</p>
<p dir="auto">Unfortunately I wasn't able to create a minimal working example without using GLFW, sorry. I'm not sure what exactly causes this.</p> | <p dir="auto">It seems that julia error tracebacks sometimes leave out some lines, including the one with the actual error.<br>
When I load the following code from a script,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module M
function f()
x # line 3: error occurs here
end
function g()
f() # line 6
end
g() # line 8
end"><pre class="notranslate"><code class="notranslate">module M
function f()
x # line 3: error occurs here
end
function g()
f() # line 6
end
g() # line 8
end
</code></pre></div>
<p dir="auto">it produces the output</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="in g: x not defined
in load at util.jl:230
in load at util.jl:242
at /work/toivo/code/juliastuff/code/errorline.jl:8
in load at util.jl:253"><pre class="notranslate"><code class="notranslate">in g: x not defined
in load at util.jl:230
in load at util.jl:242
at /work/toivo/code/juliastuff/code/errorline.jl:8
in load at util.jl:253
</code></pre></div>
<p dir="auto">Note that both line 3, where the error occurs, and line 6, which calls it, are missing from the traceback.</p> | 1 |
<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<p dir="auto"><code class="notranslate">psum</code> will fail when using <code class="notranslate">value_and_grads</code> but it will succeed if call it directly</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax
def fn(arg_0):
return jax.lax.psum(arg_0, [-1]).sum()
mykey = jax.random.PRNGKey(21847582)
array = jax.random.uniform(mykey, [2], jax.numpy.float32, minval=-8, maxval=64)
arg_0 = array.clone()
print(fn(arg_0))
# 25.462376
arg_0 = array.clone()
jax.value_and_grad(fn, (0))(arg_0)
# ValueError: reduction axes (-1,) contains out-of-bounds indices for ShapedArray(float32[2])."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>):
<span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">psum</span>(<span class="pl-s1">arg_0</span>, [<span class="pl-c1">-</span><span class="pl-c1">1</span>]).<span class="pl-en">sum</span>()
<span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">21847582</span>)
<span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">8</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">64</span>)
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-en">print</span>(<span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>))
<span class="pl-c"># 25.462376</span>
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>)
<span class="pl-c"># ValueError: reduction axes (-1,) contains out-of-bounds indices for ShapedArray(float32[2]).</span></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-22-c6dfa3d16c05> in <module>
11
12 arg_0 = array.clone()
---> 13 jax.value_and_grad(fn, (0))(arg_0)
[... skipping hidden 8 frame]
<ipython-input-22-c6dfa3d16c05> in fn(arg_0)
2 results = dict()
3 def fn(arg_0):
----> 4 return jax.lax.psum(arg_0, [-1]).sum()
5
6 mykey = jax.random.PRNGKey(21847582)
[... skipping hidden 14 frame]
/usr/local/lib/python3.9/site-packages/jax/_src/lax/lax.py in _reduce_op_shape_rule(***failed resolving arguments***)
3488 raise ValueError(f"duplicate value in 'axes' of reduction: {axes}")
3489 if not all(0 <= a < operand.ndim for a in axes):
-> 3490 raise ValueError(f"reduction axes {axes} contains out-of-bounds indices for {operand}.")
3491 axes = frozenset(axes)
3492 return tuple(d for i, d in enumerate(operand.shape) if i not in axes)
ValueError: reduction axes (-1,) contains out-of-bounds indices for ShapedArray(float32[2])."><pre class="notranslate"><code class="notranslate">---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-22-c6dfa3d16c05> in <module>
11
12 arg_0 = array.clone()
---> 13 jax.value_and_grad(fn, (0))(arg_0)
[... skipping hidden 8 frame]
<ipython-input-22-c6dfa3d16c05> in fn(arg_0)
2 results = dict()
3 def fn(arg_0):
----> 4 return jax.lax.psum(arg_0, [-1]).sum()
5
6 mykey = jax.random.PRNGKey(21847582)
[... skipping hidden 14 frame]
/usr/local/lib/python3.9/site-packages/jax/_src/lax/lax.py in _reduce_op_shape_rule(***failed resolving arguments***)
3488 raise ValueError(f"duplicate value in 'axes' of reduction: {axes}")
3489 if not all(0 <= a < operand.ndim for a in axes):
-> 3490 raise ValueError(f"reduction axes {axes} contains out-of-bounds indices for {operand}.")
3491 axes = frozenset(axes)
3492 return tuple(d for i, d in enumerate(operand.shape) if i not in axes)
ValueError: reduction axes (-1,) contains out-of-bounds indices for ShapedArray(float32[2]).
</code></pre></div> | <p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<p dir="auto"><code class="notranslate">cummax, cummin, cumprod</code> will succeed when using <code class="notranslate">value_and_grads</code> but fail if directly call</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax
def fn(arg_0):
axis = -1
return jax.lax.cummax(arg_0, axis=axis).sum()
mykey = jax.random.PRNGKey(14830444)
array = jax.random.uniform(mykey, [2, 3], jax.numpy.float32, minval=0, maxval=128)
try:
arg_0 = array.clone()
res1 = fn(arg_0)
except Exception as e:
print(e)
arg_0 = array.clone()
res2, _ = jax.value_and_grad(fn, (0))(arg_0)
print(res2)
# axis -1 is out of bounds for array of shape (2, 3)
# 676.8106"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>):
<span class="pl-s1">axis</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span>
<span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">cummax</span>(<span class="pl-s1">arg_0</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>).<span class="pl-en">sum</span>()
<span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">14830444</span>)
<span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">128</span>)
<span class="pl-k">try</span>:
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">res1</span> <span class="pl-c1">=</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>)
<span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>:
<span class="pl-en">print</span>(<span class="pl-s1">e</span>)
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">res2</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>)
<span class="pl-en">print</span>(<span class="pl-s1">res2</span>)
<span class="pl-c"># axis -1 is out of bounds for array of shape (2, 3)</span>
<span class="pl-c"># 676.8106</span></pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax
def fn(arg_0):
axis = -1
return jax.lax.cummin(arg_0, axis=axis).sum()
mykey = jax.random.PRNGKey(14830444)
array = jax.random.uniform(mykey, [2, 3], jax.numpy.float32, minval=0, maxval=128)
try:
arg_0 = array.clone()
res1 = fn(arg_0)
except Exception as e:
print(e)
arg_0 = array.clone()
res2, _ = jax.value_and_grad(fn, (0))(arg_0)
print(res2)
# axis -1 is out of bounds for array of shape (2, 3)
# 549.35925"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>):
<span class="pl-s1">axis</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span>
<span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">cummin</span>(<span class="pl-s1">arg_0</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>).<span class="pl-en">sum</span>()
<span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">14830444</span>)
<span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">128</span>)
<span class="pl-k">try</span>:
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">res1</span> <span class="pl-c1">=</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>)
<span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>:
<span class="pl-en">print</span>(<span class="pl-s1">e</span>)
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">res2</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>)
<span class="pl-en">print</span>(<span class="pl-s1">res2</span>)
<span class="pl-c"># axis -1 is out of bounds for array of shape (2, 3)</span>
<span class="pl-c"># 549.35925</span></pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax
def fn(arg_0):
axis = -1
return jax.lax.cumprod(arg_0, axis=axis).sum()
mykey = jax.random.PRNGKey(14830444)
array = jax.random.uniform(mykey, [2, 3], jax.numpy.float32, minval=0, maxval=128)
try:
arg_0 = array.clone()
res1 = fn(arg_0)
except Exception as e:
print(e)
arg_0 = array.clone()
res2, _ = jax.value_and_grad(fn, (0))(arg_0)
print(res2)
# axis -1 is out of bounds for array of shape (2, 3)
# 1533018.6"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>):
<span class="pl-s1">axis</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span>
<span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">cumprod</span>(<span class="pl-s1">arg_0</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>).<span class="pl-en">sum</span>()
<span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">14830444</span>)
<span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">128</span>)
<span class="pl-k">try</span>:
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">res1</span> <span class="pl-c1">=</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>)
<span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>:
<span class="pl-en">print</span>(<span class="pl-s1">e</span>)
<span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>()
<span class="pl-s1">res2</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>)
<span class="pl-en">print</span>(<span class="pl-s1">res2</span>)
<span class="pl-c"># axis -1 is out of bounds for array of shape (2, 3)</span>
<span class="pl-c"># 1533018.6</span></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-9-b034345b2caa> in <module>
15
16 arg_0 = array.clone()
---> 17 res1 = fn(arg_0)
<ipython-input-9-b034345b2caa> in fn(arg_0)
3 def fn(arg_0):
4 axis = -1
----> 5 return jax.lax.cummin(arg_0, axis=axis).sum()
6
7 mykey = jax.random.PRNGKey(14830444)
/usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in cummin(operand, axis, reverse)
2869 def cummin(operand: Array, axis: int = 0, reverse: bool = False) -> Array:
2870 """Computes a cumulative minimum along `axis`."""
-> 2871 return cummin_p.bind(operand, axis=int(axis), reverse=bool(reverse))
2872
2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool):
/usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params)
321 assert (not config.jax_enable_checks or
322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args
--> 323 return self.bind_with_trace(find_top_trace(args), args, params)
324
325 def bind_with_trace(self, trace, args, params):
/usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params)
324
325 def bind_with_trace(self, trace, args, params):
--> 326 out = trace.process_primitive(self, map(trace.full_raise, args), params)
327 return map(full_lower, out) if self.multiple_results else full_lower(out)
328
/usr/local/lib/python3.9/site-packages/jax/core.py in process_primitive(self, primitive, tracers, params)
673
674 def process_primitive(self, primitive, tracers, params):
--> 675 return primitive.impl(*tracers, **params)
676
677 def process_call(self, primitive, f, tracers, params):
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in apply_primitive(prim, *args, **params)
96 def apply_primitive(prim, *args, **params):
97 """Impl rule that compiles and runs a single primitive 'prim' using XLA."""
---> 98 compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args),
99 **params)
100 return compiled_fun(*args)
/usr/local/lib/python3.9/site-packages/jax/_src/util.py in wrapper(*args, **kwargs)
217 return f(*args, **kwargs)
218 else:
--> 219 return cached(config._trace_context(), *args, **kwargs)
220
221 wrapper.cache_clear = cached.cache_clear
/usr/local/lib/python3.9/site-packages/jax/_src/util.py in cached(_, *args, **kwargs)
210 @functools.lru_cache(max_size)
211 def cached(_, *args, **kwargs):
--> 212 return f(*args, **kwargs)
213
214 @functools.wraps(f)
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in xla_primitive_callable(prim, *arg_specs, **params)
146 else:
147 return out,
--> 148 compiled = _xla_callable_uncached(lu.wrap_init(prim_fun), device, None,
149 prim.name, donated_invars, False, *arg_specs)
150 if not prim.multiple_results:
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in _xla_callable_uncached(fun, device, backend, name, donated_invars, keep_unused, *arg_specs)
228 def _xla_callable_uncached(fun: lu.WrappedFun, device, backend, name,
229 donated_invars, keep_unused, *arg_specs):
--> 230 return lower_xla_callable(fun, device, backend, name, donated_invars, False,
231 keep_unused, *arg_specs).compile().unsafe_call
232
/usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs)
204 def wrapper(*args, **kwargs):
205 with TraceAnnotation(name, **decorator_kwargs):
--> 206 return func(*args, **kwargs)
207 return wrapper
208 return wrapper
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in lower_xla_callable(fun, device, backend, name, donated_invars, always_lower, keep_unused, *arg_specs)
270 with log_elapsed_time(f"Finished tracing + transforming {fun.__name__} "
271 "for jit in {elapsed_time} sec"):
--> 272 jaxpr, out_avals, consts = pe.trace_to_jaxpr_final(
273 fun, abstract_args, pe.debug_info_final(fun, "jit"), which_explicit)
274 if any(isinstance(c, core.Tracer) for c in consts):
/usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs)
204 def wrapper(*args, **kwargs):
205 with TraceAnnotation(name, **decorator_kwargs):
--> 206 return func(*args, **kwargs)
207 return wrapper
208 return wrapper
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr_final(fun, in_avals, debug_info, keep_inputs)
1891 main.jaxpr_stack = () # type: ignore
1892 with core.new_sublevel():
-> 1893 jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(
1894 fun, main, in_avals, keep_inputs=keep_inputs)
1895 del fun, main
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_subjaxpr_dynamic(fun, main, in_avals, keep_inputs)
1863 in_tracers = _input_type_to_tracers(trace, in_avals)
1864 in_tracers_ = [t for t, keep in zip(in_tracers, keep_inputs) if keep]
-> 1865 ans = fun.call_wrapped(*in_tracers_)
1866 out_tracers = map(trace.full_raise, ans)
1867 jaxpr, consts = frame.to_jaxpr(out_tracers)
/usr/local/lib/python3.9/site-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs)
166
167 try:
--> 168 ans = self.f(*args, **dict(self.params, **kwargs))
169 except:
170 # Some transformations yield from inside context managers, so we have to
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in prim_fun(*args)
141 device = _device_from_arg_devices(arg_devices)
142 def prim_fun(*args):
--> 143 out = prim.bind(*args, **params)
144 if prim.multiple_results:
145 return out
/usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params)
321 assert (not config.jax_enable_checks or
322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args
--> 323 return self.bind_with_trace(find_top_trace(args), args, params)
324
325 def bind_with_trace(self, trace, args, params):
/usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params)
324
325 def bind_with_trace(self, trace, args, params):
--> 326 out = trace.process_primitive(self, map(trace.full_raise, args), params)
327 return map(full_lower, out) if self.multiple_results else full_lower(out)
328
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in process_primitive(self, primitive, tracers, params)
1558 if primitive in custom_staging_rules:
1559 return custom_staging_rules[primitive](self, *tracers, **params)
-> 1560 return self.default_process_primitive(primitive, tracers, params)
1561
1562 def default_process_primitive(self, primitive, tracers, params):
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in default_process_primitive(self, primitive, tracers, params)
1562 def default_process_primitive(self, primitive, tracers, params):
1563 avals = [t.aval for t in tracers]
-> 1564 out_avals, effects = primitive.abstract_eval(*avals, **params)
1565 out_avals = [out_avals] if not primitive.multiple_results else out_avals
1566 source_info = source_info_util.current()
/usr/local/lib/python3.9/site-packages/jax/core.py in abstract_eval_(*args, **kwargs)
357 def _effect_free_abstract_eval(abstract_eval):
358 def abstract_eval_(*args, **kwargs):
--> 359 return abstract_eval(*args, **kwargs), no_effects
360 return abstract_eval_
361
/usr/local/lib/python3.9/site-packages/jax/_src/lax/utils.py in standard_abstract_eval(prim, shape_rule, dtype_rule, weak_type_rule, named_shape_rule, *avals, **kwargs)
64 return core.ConcreteArray(out.dtype, out, weak_type=weak_type)
65 elif least_specialized is core.ShapedArray:
---> 66 return core.ShapedArray(shape_rule(*avals, **kwargs),
67 dtype_rule(*avals, **kwargs), weak_type=weak_type,
68 named_shape=named_shape_rule(*avals, **kwargs))
/usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in _cumred_shape_rule(x, axis, reverse)
2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool):
2874 if axis < 0 or axis >= x.ndim:
-> 2875 raise ValueError(
2876 "axis {} is out of bounds for array of shape {}".format(axis, x.shape))
2877 return x.shape
ValueError: axis -1 is out of bounds for array of shape (2, 3)"><pre class="notranslate"><code class="notranslate">---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-9-b034345b2caa> in <module>
15
16 arg_0 = array.clone()
---> 17 res1 = fn(arg_0)
<ipython-input-9-b034345b2caa> in fn(arg_0)
3 def fn(arg_0):
4 axis = -1
----> 5 return jax.lax.cummin(arg_0, axis=axis).sum()
6
7 mykey = jax.random.PRNGKey(14830444)
/usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in cummin(operand, axis, reverse)
2869 def cummin(operand: Array, axis: int = 0, reverse: bool = False) -> Array:
2870 """Computes a cumulative minimum along `axis`."""
-> 2871 return cummin_p.bind(operand, axis=int(axis), reverse=bool(reverse))
2872
2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool):
/usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params)
321 assert (not config.jax_enable_checks or
322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args
--> 323 return self.bind_with_trace(find_top_trace(args), args, params)
324
325 def bind_with_trace(self, trace, args, params):
/usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params)
324
325 def bind_with_trace(self, trace, args, params):
--> 326 out = trace.process_primitive(self, map(trace.full_raise, args), params)
327 return map(full_lower, out) if self.multiple_results else full_lower(out)
328
/usr/local/lib/python3.9/site-packages/jax/core.py in process_primitive(self, primitive, tracers, params)
673
674 def process_primitive(self, primitive, tracers, params):
--> 675 return primitive.impl(*tracers, **params)
676
677 def process_call(self, primitive, f, tracers, params):
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in apply_primitive(prim, *args, **params)
96 def apply_primitive(prim, *args, **params):
97 """Impl rule that compiles and runs a single primitive 'prim' using XLA."""
---> 98 compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args),
99 **params)
100 return compiled_fun(*args)
/usr/local/lib/python3.9/site-packages/jax/_src/util.py in wrapper(*args, **kwargs)
217 return f(*args, **kwargs)
218 else:
--> 219 return cached(config._trace_context(), *args, **kwargs)
220
221 wrapper.cache_clear = cached.cache_clear
/usr/local/lib/python3.9/site-packages/jax/_src/util.py in cached(_, *args, **kwargs)
210 @functools.lru_cache(max_size)
211 def cached(_, *args, **kwargs):
--> 212 return f(*args, **kwargs)
213
214 @functools.wraps(f)
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in xla_primitive_callable(prim, *arg_specs, **params)
146 else:
147 return out,
--> 148 compiled = _xla_callable_uncached(lu.wrap_init(prim_fun), device, None,
149 prim.name, donated_invars, False, *arg_specs)
150 if not prim.multiple_results:
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in _xla_callable_uncached(fun, device, backend, name, donated_invars, keep_unused, *arg_specs)
228 def _xla_callable_uncached(fun: lu.WrappedFun, device, backend, name,
229 donated_invars, keep_unused, *arg_specs):
--> 230 return lower_xla_callable(fun, device, backend, name, donated_invars, False,
231 keep_unused, *arg_specs).compile().unsafe_call
232
/usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs)
204 def wrapper(*args, **kwargs):
205 with TraceAnnotation(name, **decorator_kwargs):
--> 206 return func(*args, **kwargs)
207 return wrapper
208 return wrapper
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in lower_xla_callable(fun, device, backend, name, donated_invars, always_lower, keep_unused, *arg_specs)
270 with log_elapsed_time(f"Finished tracing + transforming {fun.__name__} "
271 "for jit in {elapsed_time} sec"):
--> 272 jaxpr, out_avals, consts = pe.trace_to_jaxpr_final(
273 fun, abstract_args, pe.debug_info_final(fun, "jit"), which_explicit)
274 if any(isinstance(c, core.Tracer) for c in consts):
/usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs)
204 def wrapper(*args, **kwargs):
205 with TraceAnnotation(name, **decorator_kwargs):
--> 206 return func(*args, **kwargs)
207 return wrapper
208 return wrapper
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr_final(fun, in_avals, debug_info, keep_inputs)
1891 main.jaxpr_stack = () # type: ignore
1892 with core.new_sublevel():
-> 1893 jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(
1894 fun, main, in_avals, keep_inputs=keep_inputs)
1895 del fun, main
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_subjaxpr_dynamic(fun, main, in_avals, keep_inputs)
1863 in_tracers = _input_type_to_tracers(trace, in_avals)
1864 in_tracers_ = [t for t, keep in zip(in_tracers, keep_inputs) if keep]
-> 1865 ans = fun.call_wrapped(*in_tracers_)
1866 out_tracers = map(trace.full_raise, ans)
1867 jaxpr, consts = frame.to_jaxpr(out_tracers)
/usr/local/lib/python3.9/site-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs)
166
167 try:
--> 168 ans = self.f(*args, **dict(self.params, **kwargs))
169 except:
170 # Some transformations yield from inside context managers, so we have to
/usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in prim_fun(*args)
141 device = _device_from_arg_devices(arg_devices)
142 def prim_fun(*args):
--> 143 out = prim.bind(*args, **params)
144 if prim.multiple_results:
145 return out
/usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params)
321 assert (not config.jax_enable_checks or
322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args
--> 323 return self.bind_with_trace(find_top_trace(args), args, params)
324
325 def bind_with_trace(self, trace, args, params):
/usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params)
324
325 def bind_with_trace(self, trace, args, params):
--> 326 out = trace.process_primitive(self, map(trace.full_raise, args), params)
327 return map(full_lower, out) if self.multiple_results else full_lower(out)
328
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in process_primitive(self, primitive, tracers, params)
1558 if primitive in custom_staging_rules:
1559 return custom_staging_rules[primitive](self, *tracers, **params)
-> 1560 return self.default_process_primitive(primitive, tracers, params)
1561
1562 def default_process_primitive(self, primitive, tracers, params):
/usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in default_process_primitive(self, primitive, tracers, params)
1562 def default_process_primitive(self, primitive, tracers, params):
1563 avals = [t.aval for t in tracers]
-> 1564 out_avals, effects = primitive.abstract_eval(*avals, **params)
1565 out_avals = [out_avals] if not primitive.multiple_results else out_avals
1566 source_info = source_info_util.current()
/usr/local/lib/python3.9/site-packages/jax/core.py in abstract_eval_(*args, **kwargs)
357 def _effect_free_abstract_eval(abstract_eval):
358 def abstract_eval_(*args, **kwargs):
--> 359 return abstract_eval(*args, **kwargs), no_effects
360 return abstract_eval_
361
/usr/local/lib/python3.9/site-packages/jax/_src/lax/utils.py in standard_abstract_eval(prim, shape_rule, dtype_rule, weak_type_rule, named_shape_rule, *avals, **kwargs)
64 return core.ConcreteArray(out.dtype, out, weak_type=weak_type)
65 elif least_specialized is core.ShapedArray:
---> 66 return core.ShapedArray(shape_rule(*avals, **kwargs),
67 dtype_rule(*avals, **kwargs), weak_type=weak_type,
68 named_shape=named_shape_rule(*avals, **kwargs))
/usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in _cumred_shape_rule(x, axis, reverse)
2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool):
2874 if axis < 0 or axis >= x.ndim:
-> 2875 raise ValueError(
2876 "axis {} is out of bounds for array of shape {}".format(axis, x.shape))
2877 return x.shape
ValueError: axis -1 is out of bounds for array of shape (2, 3)
</code></pre></div>
<p dir="auto">version: 0.3.13</p> | 1 |
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol dir="auto">
<li>Start Atom.</li>
<li>Right-click on anything.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.196.0<br>
<strong>System</strong>: Microsoft Windows 8.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users[redacted]\AppData\Local\atom\app-0.196.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[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users[redacted]\AppData\Local\atom\app-0.196.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\[redacted]\AppData\Local\atom\app-0.196.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.<anonymous> (C:\Users\[redacted]\AppData\Local\atom\app-0.196.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\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At C:\Users\[redacted]\AppData\Local\atom\app-0.196.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.<anonymous> (C:\Users\[redacted]\AppData\Local\atom\app-0.196.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\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\[redacted]\AppData\Local\atom\app-0.196.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 2x -0:21.8.0 core:backspace (atom-text-editor.editor.is-focused)
2x -0:16.5.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> 2x -0:21.8.0 core:backspace (atom-text-editor.editor.is-focused)
2x -0:16.5.0 core:save (atom-text-editor.editor.is-focused)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"themes": [
"seti-ui",
"solarized-dark-syntax"
],
"audioBeep": false
},
"editor": {
"invisibles": {},
"showIndentGuide": true
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>seti-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>solarized-dark-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"audioBeep"</span>: <span class="pl-c1">false</span>
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"invisibles"</span>: {},
<span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
atom-beautify, v0.24.1
autocomplete-css, v0.6.0
autocomplete-emojis, v2.2.0
autocomplete-html, v0.6.0
autocomplete-plus, v2.12.1
color-picker, v1.7.0
docblockr, v0.6.3
editor-stats, v0.17.0
emmet, v2.3.8
hashrocket, v0.4.8
hex, v0.6.1
highlight-line, v0.10.2
javascript-snippets, v1.0.0
language-latex, v0.6.1
latex, v0.22.0
linter, v0.12.1
linter-bootlint, v0.0.5
linter-coffeelint, v0.2.2
linter-csslint, v0.0.12
linter-javac, v0.1.3
linter-jshint, v0.1.2
linter-less, v0.3.1
linter-scss-lint, v0.0.14
minimap, v4.8.0
minimap-color-highlight, v4.1.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.2
minimap-highlight-selected, v4.2.1
minimap-selection, v4.2.0
seti-ui, v0.6.3
SFTP-deployment, v1.0.0
terminal-status, v1.6.6
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">24</span>.<span class="pl-ii">1</span>
autocomplete<span class="pl-k">-</span>css, v0.<span class="pl-ii">6</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>emojis, v2.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>html, v0.<span class="pl-ii">6</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">1</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
docblockr, v0.<span class="pl-ii">6</span>.<span class="pl-ii">3</span>
editor<span class="pl-k">-</span>stats, v0.<span class="pl-ii">17</span>.<span class="pl-ii">0</span>
emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">8</span>
hashrocket, v0.<span class="pl-ii">4</span>.<span class="pl-ii">8</span>
hex, v0.<span class="pl-ii">6</span>.<span class="pl-ii">1</span>
highlight<span class="pl-k">-</span>line, v0.<span class="pl-ii">10</span>.<span class="pl-ii">2</span>
javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
language<span class="pl-k">-</span>latex, v0.<span class="pl-ii">6</span>.<span class="pl-ii">1</span>
latex, v0.<span class="pl-ii">22</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span>
linter<span class="pl-k">-</span>bootlint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">5</span>
linter<span class="pl-k">-</span>coffeelint, v0.<span class="pl-ii">2</span>.<span class="pl-ii">2</span>
linter<span class="pl-k">-</span>csslint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">12</span>
linter<span class="pl-k">-</span>javac, v0.<span class="pl-ii">1</span>.<span class="pl-ii">3</span>
linter<span class="pl-k">-</span>jshint, v0.<span class="pl-ii">1</span>.<span class="pl-ii">2</span>
linter<span class="pl-k">-</span>less, v0.<span class="pl-ii">3</span>.<span class="pl-ii">1</span>
linter<span class="pl-k">-</span>scss<span class="pl-k">-</span>lint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">14</span>
minimap, v4.<span class="pl-ii">8</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>color<span class="pl-k">-</span>highlight, v4.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>find<span class="pl-k">-</span><span class="pl-k">and</span><span class="pl-k">-</span>replace, v4.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>git<span class="pl-k">-</span>diff, v4.<span class="pl-ii">1</span>.<span class="pl-ii">2</span>
minimap<span class="pl-k">-</span>highlight<span class="pl-k">-</span>selected, v4.<span class="pl-ii">2</span>.<span class="pl-ii">1</span>
minimap<span class="pl-k">-</span>selection, v4.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
seti<span class="pl-k">-</span>ui, v0.<span class="pl-ii">6</span>.<span class="pl-ii">3</span>
SFTP<span class="pl-k">-</span>deployment, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
terminal<span class="pl-k">-</span>status, v1.<span class="pl-ii">6</span>.<span class="pl-ii">6</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.<anonymous> (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.<anonymous> (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.<anonymous> (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.<anonymous> (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.<anonymous> (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.<anonymous> (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="{
"core": {
"ignoredNames": [
"node_modules"
],
"themes": [
"atom-dark-ui",
"seti-syntax"
],
"disabledPackages": [
"Tern"
],
"projectHome": "Y:\\app-tfoumax"
},
"editor": {
"invisibles": {},
"softWrap": true,
"showIndentGuide": 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">Here: <a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.where.html" rel="nofollow">http://docs.scipy.org/doc/numpy/reference/generated/numpy.where.html</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x, y : array_like, optional
Values from which to choose. x and y need to have the same shape as condition."><pre class="notranslate"><code class="notranslate">x, y : array_like, optional
Values from which to choose. x and y need to have the same shape as condition.
</code></pre></div>
<p dir="auto">Do they actually need to have the same shape as condition? Also from the docs:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> x = np.arange(9.).reshape(3, 3)
>>> np.where( x > 5 )
(array([2, 2, 2]), array([0, 1, 2]))
>>> x[np.where( x > 3.0 )] # Note: result is 1D.
array([ 4., 5., 6., 7., 8.])
>>> np.where(x < 5, x, -1) # Note: broadcasting.
array([[ 0., 1., 2.],
[ 3., 4., -1.],
[-1., -1., -1.]])"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">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">></span> <span class="pl-s1">np</span>.<span class="pl-en">where</span>( <span class="pl-s1">x</span> <span class="pl-c1">></span> <span class="pl-c1">5</span> )
(<span class="pl-en">array</span>([<span class="pl-c1">2</span>, <span class="pl-c1">2</span>, <span class="pl-c1">2</span>]), <span class="pl-en">array</span>([<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>]))
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">x</span>[<span class="pl-s1">np</span>.<span class="pl-en">where</span>( <span class="pl-s1">x</span> <span class="pl-c1">></span> <span class="pl-c1">3.0</span> )] <span class="pl-c"># Note: result is 1D.</span>
<span class="pl-en">array</span>([ <span class="pl-c1">4.</span>, <span class="pl-c1">5.</span>, <span class="pl-c1">6.</span>, <span class="pl-c1">7.</span>, <span class="pl-c1">8.</span>])
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">np</span>.<span class="pl-en">where</span>(<span class="pl-s1">x</span> <span class="pl-c1"><</span> <span class="pl-c1">5</span>, <span class="pl-s1">x</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>) <span class="pl-c"># Note: broadcasting.</span>
<span class="pl-en">array</span>([[ <span class="pl-c1">0.</span>, <span class="pl-c1">1.</span>, <span class="pl-c1">2.</span>],
[ <span class="pl-c1">3.</span>, <span class="pl-c1">4.</span>, <span class="pl-c1">-</span><span class="pl-c1">1.</span>],
[<span class="pl-c1">-</span><span class="pl-c1">1.</span>, <span class="pl-c1">-</span><span class="pl-c1">1.</span>, <span class="pl-c1">-</span><span class="pl-c1">1.</span>]])</pre></div> | <p dir="auto">I often use something like this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="NumpySlice = Tuple[Union[int, None, slice, ndarray], ...]"><pre class="notranslate"><span class="pl-v">NumpySlice</span> <span class="pl-c1">=</span> <span class="pl-v">Tuple</span>[<span class="pl-v">Union</span>[<span class="pl-s1">int</span>, <span class="pl-c1">None</span>, <span class="pl-s1">slice</span>, <span class="pl-s1">ndarray</span>], ...]</pre></div>
<p dir="auto">but I guess this is more general?</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="NumpySlice = Union[ndarray, Tuple[Union[int, None, slice, ndarray], ...]]"><pre class="notranslate"><span class="pl-v">NumpySlice</span> <span class="pl-c1">=</span> <span class="pl-v">Union</span>[<span class="pl-s1">ndarray</span>, <span class="pl-v">Tuple</span>[<span class="pl-v">Union</span>[<span class="pl-s1">int</span>, <span class="pl-c1">None</span>, <span class="pl-s1">slice</span>, <span class="pl-s1">ndarray</span>], ...]]</pre></div>
<p dir="auto">Also, why aren't <code class="notranslate">_Shape</code> and <code class="notranslate">_ShapeLike</code> exposed as <code class="notranslate">Shape</code> and <code class="notranslate">ShapeLike</code>? It would be nice to use those and the leading underscore makes them seem private and internal.</p> | 0 |
<p dir="auto"><a href="http://jsbin.com/habucayi/2/" rel="nofollow">http://jsbin.com/habucayi/2/</a></p>
<p dir="auto">If I use "top" or "bottom" placement, everything is ok, but with "left" and "right" the popover is shown on the wrong place.</p> | <p dir="auto">look here:<br>
<a href="http://jsbin.com/yalohofo/1/" rel="nofollow">http://jsbin.com/yalohofo/1/</a></p>
<p dir="auto">The layout of the tooltips gets screwed up, if the tooltips are created when outside of the viewport !</p> | 1 |
<p dir="auto">Currently, <code class="notranslate">numpy.random.multivariate_normal</code> makes use of SVD decomposition, <code class="notranslate">numpy.dual.svd</code>, on the provided covariance matrix to perform the sampling. This approach allows the use of positive semi-definite covariance matrix. However, it is not unique as the singular vectors are not guaranteed to be. In fact,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[[-1, 0],
[0, -1]]"><pre class="notranslate"><code class="notranslate">[[-1, 0],
[0, -1]]
</code></pre></div>
<p dir="auto">and</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[[1, 0],
[0, 1]]"><pre class="notranslate"><code class="notranslate">[[1, 0],
[0, 1]]
</code></pre></div>
<p dir="auto">can be the singular-vectors of a 2-by-2 identity matrix.</p>
<p dir="auto">A Cholesky decomposition instead would result in an unique decomposition with the down side of only working on positive definite matrices. We could use instead a Cholesky decomposition with complete pivoting: <a href="http://www.netlib.org/lapack/explore-html/da/dba/group__double_o_t_h_e_rcomputational_ga31cdc13a7f4ad687f4aefebff870e1cc.html" rel="nofollow">http://www.netlib.org/lapack/explore-html/da/dba/group__double_o_t_h_e_rcomputational_ga31cdc13a7f4ad687f4aefebff870e1cc.html</a><br>
It provides both advantages: works on positive semi-definite matrices and are unique (as far as I know).</p>
<p dir="auto">Any thoughts?</p>
<p dir="auto">Related issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="434285705" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/13358" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/13358/hovercard" href="https://github.com/numpy/numpy/issues/13358">#13358</a></p> | <p dir="auto">Reported on the distutils-sig by Paul Moore.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="A quick test later:
No BLAS/ATLAS/LAPACK causes a string of warnings, And ignoring the
rest of the error stack (which I'm frankly not interested in investing
the time to diagnose and fix) I get "RuntimeError: Broken toolchain:
cannot link a simple C program". Which is utter rubbish - I routinely
build extensions with this installation."><pre class="notranslate"><code class="notranslate">A quick test later:
No BLAS/ATLAS/LAPACK causes a string of warnings, And ignoring the
rest of the error stack (which I'm frankly not interested in investing
the time to diagnose and fix) I get "RuntimeError: Broken toolchain:
cannot link a simple C program". Which is utter rubbish - I routinely
build extensions with this installation.
</code></pre></div> | 0 |
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:"1", Minor:"4+", GitVersion:"v1.4.0-beta.8", GitCommit:"3040f87c570a772ce94349b379f41f329494a4f7", GitTreeState:"clean", BuildDate:"2016-09-18T21:06:37Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4+", GitVersion:"v1.4.0-beta.8", GitCommit:"3040f87c570a772ce94349b379f41f329494a4f7", GitTreeState:"clean", BuildDate:"2016-09-18T21:00:36Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"4+", GitVersion:"v1.4.0-beta.8", GitCommit:"3040f87c570a772ce94349b379f41f329494a4f7", GitTreeState:"clean", BuildDate:"2016-09-18T21:06:37Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4+", GitVersion:"v1.4.0-beta.8", GitCommit:"3040f87c570a772ce94349b379f41f329494a4f7", GitTreeState:"clean", BuildDate:"2016-09-18T21:00:36Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: GCE+CoreOS+custom k8s</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): CoreOS</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 4.6.3-coreos</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
Could not access service via external LB from a kubernetes pod on the node that does not host a pod for that service.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
Traffic should have gone to the external LB which would pick the node that is running a pod for that service.</p>
<p dir="auto"><strong>TL;DR</strong> External load balancer kube-proxy iptable rules should only match on traffic originating from outside the cluster/pod networks i.e. from the external load balancer.<br>
Otherwise traffic originating from within k8s cluster to external load balanced ip addresses can get blackholed.</p>
<p dir="auto">We are having an other issue with <code class="notranslate">OnlyLocal</code>.<br>
I have a service with the following definition</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"annotations": {
"service.alpha.kubernetes.io/external-traffic": "OnlyLocal"
},
"labels": {
"k8s-app": "my-app",
"kubernetes.io/cluster-service": "true"
},
"name": "my-app",
"namespace": "default"
},
"spec": {
"loadBalancerIP": "1.2.3.4",
"ports": [
{
"name": "http",
"port": 80,
"targetPort": 80
}
],
"selector": {
"k8s-app": "my-app"
},
"type": "LoadBalancer"
}
}"><pre class="notranslate"><code class="notranslate">{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"annotations": {
"service.alpha.kubernetes.io/external-traffic": "OnlyLocal"
},
"labels": {
"k8s-app": "my-app",
"kubernetes.io/cluster-service": "true"
},
"name": "my-app",
"namespace": "default"
},
"spec": {
"loadBalancerIP": "1.2.3.4",
"ports": [
{
"name": "http",
"port": 80,
"targetPort": 80
}
],
"selector": {
"k8s-app": "my-app"
},
"type": "LoadBalancer"
}
}
</code></pre></div>
<p dir="auto">If I run</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="curl http://1.2.3.4/test "><pre class="notranslate"><code class="notranslate">curl http://1.2.3.4/test
</code></pre></div>
<p dir="auto">From my local box that is outside of the k8s cluster I get a response.</p>
<p dir="auto">When I run the same command from a k8s node that is not the node that is hosting the pod for <code class="notranslate">my-app</code> I get no response.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="curl http://1.2.3.4/test -v
* Trying 1.2.3.4
"><pre class="notranslate"><code class="notranslate">curl http://1.2.3.4/test -v
* Trying 1.2.3.4
</code></pre></div>
<p dir="auto">Checking the iptables rules. Some stuff truncated:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-A KUBE-SERVICES -d 1.2.3.4/32 -p tcp -m comment --comment "default/my-app:http loadbalancer IP" -m tcp --dport 80 -j KUBE-FW-ABZR2FBH2NLOJM2K
-A KUBE-FW-ABZR2FBH2NLOJM2K -m comment --comment "default/my-app:http loadbalancer IP" -j KUBE-XLB-ABZR2FBH2NLOJM2K
-A KUBE-XLB-ABZR2FBH2NLOJM2K -m comment --comment "default/my-app:http has no local endpoints" -j KUBE-MARK-DROP"><pre class="notranslate"><code class="notranslate">-A KUBE-SERVICES -d 1.2.3.4/32 -p tcp -m comment --comment "default/my-app:http loadbalancer IP" -m tcp --dport 80 -j KUBE-FW-ABZR2FBH2NLOJM2K
-A KUBE-FW-ABZR2FBH2NLOJM2K -m comment --comment "default/my-app:http loadbalancer IP" -j KUBE-XLB-ABZR2FBH2NLOJM2K
-A KUBE-XLB-ABZR2FBH2NLOJM2K -m comment --comment "default/my-app:http has no local endpoints" -j KUBE-MARK-DROP
</code></pre></div>
<p dir="auto">So it looks like the traffic gets dropped by the <code class="notranslate">kube-proxy</code>.<br>
The <code class="notranslate">KUBE-SERVICES</code> seems to match packets that originate from pods on this machine and not only external traffic. This means that if a pod on this machine wants to call a service through the external LB<br>
(e.g. when using external DNS registrations of services) the traffic will be blackholed if the given node does not have a pod in question.<br>
Proposed solution would be to augment the <code class="notranslate">KUBE-SERVICES</code> rule to filter out traffic originating from clusters/pods private network.</p>
<p dir="auto">This is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="166941466" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29409" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/29409/hovercard" href="https://github.com/kubernetes/kubernetes/pull/29409">#29409</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/girishkalele/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/girishkalele">@girishkalele</a></p> | <p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto">No</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<p dir="auto">watch leak</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto">BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto">1.4.0</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: vagrant on Mac OS X</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): CoreOS 1164.1.0</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): <code class="notranslate">Linux core-01 4.7.3-coreos #1 SMP Sat Sep 10 08:21:12 UTC 2016 x86_64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz GenuineIntel GNU/Linux</code></li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">We ran controller which handles our own ThirdPartyResource.<br>
When we hit "watch of ... ended with: 401: The event in requested index is outdated and cleared (the requested history has been cleared" error, "forcing resync" log is duplicated.<br>
This log message comes from <a href="https://github.com/kubernetes/kubernetes/blob/1d323adade5fc6ecd898908d2c6cb391c8748835/pkg/client/cache/reflector.go#L284">here</a>. It looks like this goroutine does not exit when we hit the above mentioned error, and continued to work, and running "resync" more frequently.</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">The resync goroutine must be terminated when watch is closed (i.e., ListAndWatch function returned), instead of leaking it.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto">I just run our controller for ~15 minutes. I'm not sure why "401: The event in requested index is outdated and cleared (the requested history has been cleared" happens, but from the issues I read, it should be harmless.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p> | 0 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<p dir="auto"><a href="https://stackoverflow.com/questions/38383127/updating-a-pandas-dataframe-row-with-a-dictionary" rel="nofollow">Link to StackOverflow example</a></p>
<p dir="auto">Using pd.series works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = pd.DataFrame(np.random.randint(1, 10, (3, 3)), index=['one', 'one', 'two'], columns=['col1', 'col2', 'col3'])
new_data = pd.Series({'col1': 'new', 'col2': 'new', 'col3': 'new'})
df.iloc[0] = new_data
# resulting df looks like:
# col1 col2 col3
#one new new new
#one 9 6 1
#two 8 3 7"><pre class="notranslate"><code class="notranslate">df = pd.DataFrame(np.random.randint(1, 10, (3, 3)), index=['one', 'one', 'two'], columns=['col1', 'col2', 'col3'])
new_data = pd.Series({'col1': 'new', 'col2': 'new', 'col3': 'new'})
df.iloc[0] = new_data
# resulting df looks like:
# col1 col2 col3
#one new new new
#one 9 6 1
#two 8 3 7
</code></pre></div>
<p dir="auto">But if I try to add a dictionary instead, I get this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new_data = {'col1': 'new', 'col2': 'new', 'col3': 'new'}
df.iloc[0] = new_data
#
# col1 col2 col3
#one col2 col3 col1
#one 2 1 7
#two 5 8 6"><pre class="notranslate"><code class="notranslate">new_data = {'col1': 'new', 'col2': 'new', 'col3': 'new'}
df.iloc[0] = new_data
#
# col1 col2 col3
#one col2 col3 col1
#one 2 1 7
#two 5 8 6
</code></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">Considering that a dataframe can be created using a dictionary, it seems odd that adding to a dataframe using a dictionary would result in shuffled columns when they have been explicitly labeled.</p>
<p dir="auto">This seems like an unexpected behaviour which, although may not be a bug, doesn't seem like the optimal way of making this process function.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">Adding a row to a dataframe using a dictionary which gives column headers results in the same thing as adding a row using pd.series</p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.13.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-83-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C
LANG: en_GB.UTF-8
LOCALE: None.None
<p dir="auto">pandas: 0.20.2<br>
pytest: None<br>
pip: 9.0.1<br>
setuptools: 33.1.1.post20170320<br>
Cython: None<br>
numpy: 1.12.1<br>
scipy: 0.19.0<br>
xarray: None<br>
IPython: 5.3.0<br>
sphinx: 1.6.1<br>
patsy: None<br>
dateutil: 2.6.0<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: 2.4.7<br>
xlrd: 1.0.0<br>
xlwt: 1.2.0<br>
xlsxwriter: None<br>
lxml: 3.7.3<br>
bs4: None<br>
html5lib: 0.999<br>
sqlalchemy: 1.1.5<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.9.5<br>
s3fs: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import pandas as pd
persons = [
{
'name': ''.join([
np.random.choice([chr(x) for x in range(97, 97 + 26)])
for i in range(5)
]),
'age': np.random.randint(0, 100),
'sex': np.random.choice(['male', 'female']),
'job': np.random.choice(['staff', 'cook', 'student']),
'birthday': np.random.choice(pd.date_range('1990-01-01', '2010-01-01')),
'hobby': np.random.choice(['cs', 'war3', 'dota'])
}
for i in range(10)
]
df = pd.DataFrame(persons)
df.set_index('birthday', inplace=True)
print(df)
df.iloc[0] = {
'name': 'john',
'age': int(10),
'sex': 'male',
'hobby': 'nohobby',
'job': 'haha'
}
print(df)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">persons</span> <span class="pl-c1">=</span> [
{
<span class="pl-s">'name'</span>: <span class="pl-s">''</span>.<span class="pl-en">join</span>([
<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-en">chr</span>(<span class="pl-s1">x</span>) <span class="pl-k">for</span> <span class="pl-s1">x</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">97</span>, <span class="pl-c1">97</span> <span class="pl-c1">+</span> <span class="pl-c1">26</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">5</span>)
]),
<span class="pl-s">'age'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-c1">100</span>),
<span class="pl-s">'sex'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-s">'male'</span>, <span class="pl-s">'female'</span>]),
<span class="pl-s">'job'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-s">'staff'</span>, <span class="pl-s">'cook'</span>, <span class="pl-s">'student'</span>]),
<span class="pl-s">'birthday'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>(<span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'1990-01-01'</span>, <span class="pl-s">'2010-01-01'</span>)),
<span class="pl-s">'hobby'</span>: <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">choice</span>([<span class="pl-s">'cs'</span>, <span class="pl-s">'war3'</span>, <span class="pl-s">'dota'</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-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">persons</span>)
<span class="pl-s1">df</span>.<span class="pl-en">set_index</span>(<span class="pl-s">'birthday'</span>, <span class="pl-s1">inplace</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-en">print</span>(<span class="pl-s1">df</span>)
<span class="pl-s1">df</span>.<span class="pl-s1">iloc</span>[<span class="pl-c1">0</span>] <span class="pl-c1">=</span> {
<span class="pl-s">'name'</span>: <span class="pl-s">'john'</span>,
<span class="pl-s">'age'</span>: <span class="pl-en">int</span>(<span class="pl-c1">10</span>),
<span class="pl-s">'sex'</span>: <span class="pl-s">'male'</span>,
<span class="pl-s">'hobby'</span>: <span class="pl-s">'nohobby'</span>,
<span class="pl-s">'job'</span>: <span class="pl-s">'haha'</span>
}
<span class="pl-en">print</span>(<span class="pl-s1">df</span>)</pre></div>
<h4 dir="auto">Problem description</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" age hobby job name sex
birthday
2007-12-31 name age sex hobby job
2004-07-31 20 dota student uwxhn female
2001-10-22 34 war3 cook udknv female
2002-10-13 91 dota cook bofcv female
1992-05-25 54 war3 cook tcqew male
2009-09-02 95 war3 staff jcolr female
1998-12-15 61 war3 student dibkw female
2004-07-03 4 war3 student mntqh male
2000-06-08 88 war3 staff jknxm female
2006-10-19 82 cs student asrpz male
"><pre class="notranslate"><code class="notranslate"> age hobby job name sex
birthday
2007-12-31 name age sex hobby job
2004-07-31 20 dota student uwxhn female
2001-10-22 34 war3 cook udknv female
2002-10-13 91 dota cook bofcv female
1992-05-25 54 war3 cook tcqew male
2009-09-02 95 war3 staff jcolr female
1998-12-15 61 war3 student dibkw female
2004-07-03 4 war3 student mntqh male
2000-06-08 88 war3 staff jknxm female
2006-10-19 82 cs student asrpz male
</code></pre></div>
<p dir="auto">Have no idea why the keys are set to the rows.</p>
<h4 dir="auto">Expected Output</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" age hobby job name sex
birthday
2007-12-31 10 nohobby haha john male
2004-07-31 20 dota student uwxhn female
2001-10-22 34 war3 cook udknv female
2002-10-13 91 dota cook bofcv female
1992-05-25 54 war3 cook tcqew male
2009-09-02 95 war3 staff jcolr female
1998-12-15 61 war3 student dibkw female
2004-07-03 4 war3 student mntqh male
2000-06-08 88 war3 staff jknxm female
2006-10-19 82 cs student asrpz male"><pre class="notranslate"><code class="notranslate"> age hobby job name sex
birthday
2007-12-31 10 nohobby haha john male
2004-07-31 20 dota student uwxhn female
2001-10-22 34 war3 cook udknv female
2002-10-13 91 dota cook bofcv female
1992-05-25 54 war3 cook tcqew male
2009-09-02 95 war3 staff jcolr female
1998-12-15 61 war3 student dibkw female
2004-07-03 4 war3 student mntqh male
2000-06-08 88 war3 staff jknxm female
2006-10-19 82 cs student asrpz male
</code></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.6.1.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 16.6.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: en_US.UTF-8<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.20.1<br>
pytest: 3.0.7<br>
pip: 9.0.1<br>
setuptools: 35.0.2<br>
Cython: 0.25.2<br>
numpy: 1.12.1<br>
scipy: 0.19.0<br>
xarray: 0.9.5<br>
IPython: 6.0.0<br>
sphinx: 1.5.5<br>
patsy: 0.4.1<br>
dateutil: 2.6.0<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: 1.2.0<br>
tables: 3.4.2<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: None<br>
xlsxwriter: None<br>
lxml: 3.7.3<br>
bs4: 4.6.0<br>
html5lib: 0.999999999<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> | 1 |
<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="[x] bug report
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
I'm subscribing to queryParam changes in a component in order to update and save the app state based on it. Clicking on links, which points to the different states works fine. Using the browsers back button for getting the prev. state does not work in IE11 and Safari.</p>
<p dir="auto">When I'm using the browser back button in IE 11 or Safari the code in my component get's executed, but not reflected in the DOM. When I run the changes inside the NgZone.run(callback) callback function, it get's reflected.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
Changes should get reflected in the DOM as happening in all the other browsers.</p>
<p dir="auto"><strong>Reproduction of the problem</strong></p>
<ul dir="auto">
<li>Open your DevTools console</li>
<li>Click through the list randomly and take a look at the URL (?selectedIndex=1)</li>
<li>Use the browser's back button to get back to the prev. state and monitor the logging in the console.</li>
<li>The code gets executed but not reflected in the browsers DOM</li>
</ul>
<p dir="auto"><a href="http://plnkr.co/edit/2sTW28Ql6Vq8GxtT22ne?p=preview" rel="nofollow">http://plnkr.co/edit/2sTW28Ql6Vq8GxtT22ne?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
A consistent behaviour through all the 'modern' browsers</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.4</li>
<li><strong>Browser:</strong> [ IE 11 | Safari 9.1.1 ]</li>
<li><strong>Language:</strong> [ TypeScript 1.8.10 / ES5 ]</li>
</ul> | <p dir="auto">Getting the below error.</p>
<blockquote>
<p dir="auto">ERROR in ./src/app/+dashboard/+analytics/analytics.component.ts<br>
Module not found: Error: Can't resolve './dashboard/dashboard' in 'D:\MySample\web\src\mysample\src\app+dashboard+analytics'<br>
@ ./src/app/+dashboard/+analytics/analytics.component.ts 17:18-50<br>
@ ./src/app/+dashboard/+analytics/analytics.module.ts<br>
@ ./src/app/+dashboard/dashboard.routing.ts<br>
@ ./src/app/+dashboard/dashboard.module.ts<br>
@ ./src/app/app.routing.ts<br>
@ ./src/app/app.module.ts<br>
@ ./src/main.browser.ts</p>
<p dir="auto">ERROR in ./src/app/+auth/+login/login.component.ts<br>
Module not found: Error: Can't resolve './account/login' in 'D:\MySample\web\src\mysample.Web\src\app+auth+login'<br>
@ ./src/app/+auth/+login/login.component.ts 20:18-44<br>
@ ./src/app/+auth/+login/login.module.ts<br>
@ ./src/app/+auth/auth.routing.ts<br>
@ ./src/app/+auth/auth.module.ts<br>
@ ./src/app/app.routing.ts<br>
@ ./src/app/app.module.ts<br>
@ ./src/main.browser.ts</p>
</blockquote>
<p dir="auto">This is webpack webpack common.js</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/**
* @author: @AngularClass
*/
const webpack = require('webpack');
const helpers = require('./helpers');
/*
* Webpack Plugins
*/
// problem with copy-webpack-plugin
const AssetsPlugin = require('assets-webpack-plugin');
const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin');
const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin');
const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;
const HtmlElementsPlugin = require('./html-elements-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
/*
* Webpack Constants
*/
const HMR = helpers.hasProcessFlag('hot');
const METADATA = {
title: 'Smartadmin Angular2 template',
baseUrl: '/',
isDevServer: helpers.isWebpackDevServer()
};
/*
* Webpack configuration
*
* See: http://webpack.github.io/docs/configuration.html#cli
*/
module.exports = function (options) {
isProd = options.env === 'production';
return {
/*
* Cache generated modules and chunks to improve performance for multiple incremental builds.
* This is enabled by default in watch mode.
* You can pass false to disable it.
*
* See: http://webpack.github.io/docs/configuration.html#cache
*/
//cache: false,
/*
* The entry point for the bundle
* Our Angular.js app
*
* See: http://webpack.github.io/docs/configuration.html#entry
*/
entry: {
'polyfills': './src/polyfills.browser.ts',
'vendor': './src/vendor.browser.ts',
'main': './src/main.browser.ts'
},
/*
* Options affecting the resolving of modules.
*
* See: http://webpack.github.io/docs/configuration.html#resolve
*/
resolve: {
/*
* An array of extensions that should be used to resolve modules.
*
* See: http://webpack.github.io/docs/configuration.html#resolve-extensions
*/
extensions: ['.ts', '.js', '.json'],
// An array of directory names to be resolved to the current directory
modules: [helpers.root('src'), helpers.root('node_modules')],
},
/*
* Options affecting the normal modules.
*
* See: http://webpack.github.io/docs/configuration.html#module
*/
module: {
rules: [
/*
* Typescript loader support for .ts and Angular 2 async routes via .async.ts
* Replace templateUrl and stylesUrl with require()
*
* See: https://github.com/s-panferov/awesome-typescript-loader
* See: https://github.com/TheLarkInn/angular2-template-loader
*/
{
test: /\.ts$/,
use: [
'@angularclass/hmr-loader?pretty=' + !isProd + '&prod=' + isProd,
'awesome-typescript-loader',
'angular2-template-loader',
'angular-router-loader'
],
exclude: [/\.(spec|e2e)\.ts$/]
},
/*
* Json loader support for *.json files.
*
* See: https://github.com/webpack/json-loader
*/
{
test: /\.json$/,
use: 'json-loader'
},
/*
* to string and css loader support for *.css files
* Returns file content as string
*
*/
{
test: /\.css$/,
use: ['to-string-loader', 'css-loader']
},
/* Raw loader support for *.html
* Returns file content as string
*
* See: https://github.com/webpack/raw-loader
*/
{
test: /\.html$/,
use: ['raw-loader'].concat(isProd ? [
// @todo minify templates
] : []),
exclude: [helpers.root('src/index.html')]
},
/* File loader for supporting images, for example, in CSS files.
*/
{
test: /\.(jpg|png|gif)$/,
use: 'file-loader'
},
],
},
/*
* Add additional plugins to the compiler.
*
* See: http://webpack.github.io/docs/configuration.html#plugins
*/
plugins: [
new AssetsPlugin({
path: helpers.root('wwwroot'),
filename: 'webpack-assets.json',
prettyPrint: true
}),
/*
* Plugin: ForkCheckerPlugin
* Description: Do type checking in a separate process, so webpack don't need to wait.
*
* See: https://github.com/s-panferov/awesome-typescript-loader#forkchecker-boolean-defaultfalse
*/
new ForkCheckerPlugin(),
/*
* Plugin: CommonsChunkPlugin
* Description: Shares common code between the pages.
* It identifies common modules and put them into a commons chunk.
*
* See: https://webpack.github.io/docs/list-of-plugins.html#commonschunkplugin
* See: https://github.com/webpack/docs/wiki/optimization#multi-page-app
*/
new CommonsChunkPlugin({
name: ['polyfills', 'vendor'].reverse()
}),
/**
* Plugin: ContextReplacementPlugin
* Description: Provides context to Angular's use of System.import
*
* See: https://webpack.github.io/docs/list-of-plugins.html#contextreplacementplugin
* See: https://github.com/angular/angular/issues/11580
*/
new ContextReplacementPlugin(
// The (\\|\/) piece accounts for path separators in *nix and Windows
/angular(\\|\/)core(\\|\/)src(\\|\/)linker/,
helpers.root('src'), // location of your src
{
// your Angular Async Route paths relative to this root directory
}
),
/*
* Plugin: CopyWebpackPlugin
* Description: Copy files and directories in webpack.
*
* Copies project static assets.
*
* See: https://www.npmjs.com/package/copy-webpack-plugin
*/
new CopyWebpackPlugin([
{ from: 'src/assets', to: 'assets' },
{ from: 'src/meta'}
]),
/*
* Plugin: HtmlWebpackPlugin
* Description: Simplifies creation of HTML files to serve your webpack bundles.
* This is especially useful for webpack bundles that include a hash in the filename
* which changes every compilation.
*
* See: https://github.com/ampedandwired/html-webpack-plugin
*/
//////new HtmlWebpackPlugin({
////// template: 'src/index.html',
////// title: METADATA.title,
////// chunksSortMode: 'dependency',
////// metadata: METADATA,
////// inject: 'head',
////// filename:"../Views/Shared/_Layout.cshtml"
//////}),
/*
* Plugin: ScriptExtHtmlWebpackPlugin
* Description: Enhances html-webpack-plugin functionality
* with different deployment options for your scripts including:
*
* See: https://github.com/numical/script-ext-html-webpack-plugin
*/
new ScriptExtHtmlWebpackPlugin({
defaultAttribute: 'defer'
}),
/*
* Plugin: HtmlElementsPlugin
* Description: Generate html tags based on javascript maps.
*
* If a publicPath is set in the webpack output configuration, it will be automatically added to
* href attributes, you can disable that by adding a "=href": false property.
* You can also enable it to other attribute by settings "=attName": true.
*
* The configuration supplied is map between a location (key) and an element definition object (value)
* The location (key) is then exported to the template under then htmlElements property in webpack configuration.
*
* Example:
* Adding this plugin configuration
* new HtmlElementsPlugin({
* headTags: { ... }
* })
*
* Means we can use it in the template like this:
* <%= webpackConfig.htmlElements.headTags %>
*
* Dependencies: HtmlWebpackPlugin
*/
new HtmlElementsPlugin({
}),
/**
* Plugin LoaderOptionsPlugin (experimental)
*
* See: https://gist.github.com/sokra/27b24881210b56bbaff7
*/
new LoaderOptionsPlugin({}),
// Fix Angular 2
new NormalModuleReplacementPlugin(
/facade(\\|\/)async/,
helpers.root('node_modules/@angular/core/src/facade/async.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)collection/,
helpers.root('node_modules/@angular/core/src/facade/collection.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)errors/,
helpers.root('node_modules/@angular/core/src/facade/errors.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)lang/,
helpers.root('node_modules/@angular/core/src/facade/lang.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)math/,
helpers.root('node_modules/@angular/core/src/facade/math.js')
),
],
/*
* Include polyfills or mocks for various node stuff
* Description: Node configuration
*
* See: https://webpack.github.io/docs/configuration.html#node
*/
node: {
global: true,
crypto: 'empty',
process: true,
module: false,
clearImmediate: false,
setImmediate: false
},
performance: {
hints: false
},
stats: {
assets: true,
chunks: true,
errors: true,
}
};
}
"><pre class="notranslate"><code class="notranslate">/**
* @author: @AngularClass
*/
const webpack = require('webpack');
const helpers = require('./helpers');
/*
* Webpack Plugins
*/
// problem with copy-webpack-plugin
const AssetsPlugin = require('assets-webpack-plugin');
const NormalModuleReplacementPlugin = require('webpack/lib/NormalModuleReplacementPlugin');
const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin');
const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;
const HtmlElementsPlugin = require('./html-elements-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
/*
* Webpack Constants
*/
const HMR = helpers.hasProcessFlag('hot');
const METADATA = {
title: 'Smartadmin Angular2 template',
baseUrl: '/',
isDevServer: helpers.isWebpackDevServer()
};
/*
* Webpack configuration
*
* See: http://webpack.github.io/docs/configuration.html#cli
*/
module.exports = function (options) {
isProd = options.env === 'production';
return {
/*
* Cache generated modules and chunks to improve performance for multiple incremental builds.
* This is enabled by default in watch mode.
* You can pass false to disable it.
*
* See: http://webpack.github.io/docs/configuration.html#cache
*/
//cache: false,
/*
* The entry point for the bundle
* Our Angular.js app
*
* See: http://webpack.github.io/docs/configuration.html#entry
*/
entry: {
'polyfills': './src/polyfills.browser.ts',
'vendor': './src/vendor.browser.ts',
'main': './src/main.browser.ts'
},
/*
* Options affecting the resolving of modules.
*
* See: http://webpack.github.io/docs/configuration.html#resolve
*/
resolve: {
/*
* An array of extensions that should be used to resolve modules.
*
* See: http://webpack.github.io/docs/configuration.html#resolve-extensions
*/
extensions: ['.ts', '.js', '.json'],
// An array of directory names to be resolved to the current directory
modules: [helpers.root('src'), helpers.root('node_modules')],
},
/*
* Options affecting the normal modules.
*
* See: http://webpack.github.io/docs/configuration.html#module
*/
module: {
rules: [
/*
* Typescript loader support for .ts and Angular 2 async routes via .async.ts
* Replace templateUrl and stylesUrl with require()
*
* See: https://github.com/s-panferov/awesome-typescript-loader
* See: https://github.com/TheLarkInn/angular2-template-loader
*/
{
test: /\.ts$/,
use: [
'@angularclass/hmr-loader?pretty=' + !isProd + '&prod=' + isProd,
'awesome-typescript-loader',
'angular2-template-loader',
'angular-router-loader'
],
exclude: [/\.(spec|e2e)\.ts$/]
},
/*
* Json loader support for *.json files.
*
* See: https://github.com/webpack/json-loader
*/
{
test: /\.json$/,
use: 'json-loader'
},
/*
* to string and css loader support for *.css files
* Returns file content as string
*
*/
{
test: /\.css$/,
use: ['to-string-loader', 'css-loader']
},
/* Raw loader support for *.html
* Returns file content as string
*
* See: https://github.com/webpack/raw-loader
*/
{
test: /\.html$/,
use: ['raw-loader'].concat(isProd ? [
// @todo minify templates
] : []),
exclude: [helpers.root('src/index.html')]
},
/* File loader for supporting images, for example, in CSS files.
*/
{
test: /\.(jpg|png|gif)$/,
use: 'file-loader'
},
],
},
/*
* Add additional plugins to the compiler.
*
* See: http://webpack.github.io/docs/configuration.html#plugins
*/
plugins: [
new AssetsPlugin({
path: helpers.root('wwwroot'),
filename: 'webpack-assets.json',
prettyPrint: true
}),
/*
* Plugin: ForkCheckerPlugin
* Description: Do type checking in a separate process, so webpack don't need to wait.
*
* See: https://github.com/s-panferov/awesome-typescript-loader#forkchecker-boolean-defaultfalse
*/
new ForkCheckerPlugin(),
/*
* Plugin: CommonsChunkPlugin
* Description: Shares common code between the pages.
* It identifies common modules and put them into a commons chunk.
*
* See: https://webpack.github.io/docs/list-of-plugins.html#commonschunkplugin
* See: https://github.com/webpack/docs/wiki/optimization#multi-page-app
*/
new CommonsChunkPlugin({
name: ['polyfills', 'vendor'].reverse()
}),
/**
* Plugin: ContextReplacementPlugin
* Description: Provides context to Angular's use of System.import
*
* See: https://webpack.github.io/docs/list-of-plugins.html#contextreplacementplugin
* See: https://github.com/angular/angular/issues/11580
*/
new ContextReplacementPlugin(
// The (\\|\/) piece accounts for path separators in *nix and Windows
/angular(\\|\/)core(\\|\/)src(\\|\/)linker/,
helpers.root('src'), // location of your src
{
// your Angular Async Route paths relative to this root directory
}
),
/*
* Plugin: CopyWebpackPlugin
* Description: Copy files and directories in webpack.
*
* Copies project static assets.
*
* See: https://www.npmjs.com/package/copy-webpack-plugin
*/
new CopyWebpackPlugin([
{ from: 'src/assets', to: 'assets' },
{ from: 'src/meta'}
]),
/*
* Plugin: HtmlWebpackPlugin
* Description: Simplifies creation of HTML files to serve your webpack bundles.
* This is especially useful for webpack bundles that include a hash in the filename
* which changes every compilation.
*
* See: https://github.com/ampedandwired/html-webpack-plugin
*/
//////new HtmlWebpackPlugin({
////// template: 'src/index.html',
////// title: METADATA.title,
////// chunksSortMode: 'dependency',
////// metadata: METADATA,
////// inject: 'head',
////// filename:"../Views/Shared/_Layout.cshtml"
//////}),
/*
* Plugin: ScriptExtHtmlWebpackPlugin
* Description: Enhances html-webpack-plugin functionality
* with different deployment options for your scripts including:
*
* See: https://github.com/numical/script-ext-html-webpack-plugin
*/
new ScriptExtHtmlWebpackPlugin({
defaultAttribute: 'defer'
}),
/*
* Plugin: HtmlElementsPlugin
* Description: Generate html tags based on javascript maps.
*
* If a publicPath is set in the webpack output configuration, it will be automatically added to
* href attributes, you can disable that by adding a "=href": false property.
* You can also enable it to other attribute by settings "=attName": true.
*
* The configuration supplied is map between a location (key) and an element definition object (value)
* The location (key) is then exported to the template under then htmlElements property in webpack configuration.
*
* Example:
* Adding this plugin configuration
* new HtmlElementsPlugin({
* headTags: { ... }
* })
*
* Means we can use it in the template like this:
* <%= webpackConfig.htmlElements.headTags %>
*
* Dependencies: HtmlWebpackPlugin
*/
new HtmlElementsPlugin({
}),
/**
* Plugin LoaderOptionsPlugin (experimental)
*
* See: https://gist.github.com/sokra/27b24881210b56bbaff7
*/
new LoaderOptionsPlugin({}),
// Fix Angular 2
new NormalModuleReplacementPlugin(
/facade(\\|\/)async/,
helpers.root('node_modules/@angular/core/src/facade/async.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)collection/,
helpers.root('node_modules/@angular/core/src/facade/collection.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)errors/,
helpers.root('node_modules/@angular/core/src/facade/errors.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)lang/,
helpers.root('node_modules/@angular/core/src/facade/lang.js')
),
new NormalModuleReplacementPlugin(
/facade(\\|\/)math/,
helpers.root('node_modules/@angular/core/src/facade/math.js')
),
],
/*
* Include polyfills or mocks for various node stuff
* Description: Node configuration
*
* See: https://webpack.github.io/docs/configuration.html#node
*/
node: {
global: true,
crypto: 'empty',
process: true,
module: false,
clearImmediate: false,
setImmediate: false
},
performance: {
hints: false
},
stats: {
assets: true,
chunks: true,
errors: true,
}
};
}
</code></pre></div>
<p dir="auto"><strong>### This is the webpack dev.js</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
/**
* @author: @AngularClass
*/
const helpers = require('./helpers');
const webpackMerge = require('webpack-merge'); // used to merge webpack configs
const commonConfig = require('./webpack.common.js'); // the settings that are common to prod and dev
/**
* Webpack Plugins
*/
const DefinePlugin = require('webpack/lib/DefinePlugin');
const NamedModulesPlugin = require('webpack/lib/NamedModulesPlugin');
const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
/**
* Webpack Constants
*/
const ENV = process.env.ENV = process.env.NODE_ENV = 'development';
const HOST = process.env.HOST || 'localhost';
const PORT = process.env.PORT || 4200;
const HMR = helpers.hasProcessFlag('hot');
const METADATA = webpackMerge(commonConfig({env: ENV}).metadata, {
host: HOST,
port: PORT,
ENV: ENV,
HMR: HMR
});
/**
* Webpack configuration
*
* See: http://webpack.github.io/docs/configuration.html#cli
*/
module.exports = function (options) {
return webpackMerge(commonConfig({env: ENV}), {
/**
* Developer tool to enhance debugging
*
* See: http://webpack.github.io/docs/configuration.html#devtool
* See: https://github.com/webpack/docs/wiki/build-performance#sourcemaps
*/
devtool: 'cheap-module-source-map',
/**
* Options affecting the output of the compilation.
*
* See: http://webpack.github.io/docs/configuration.html#output
*/
output: {
/**
* The output directory as absolute path (required).
*
* See: http://webpack.github.io/docs/configuration.html#output-path
*/
path: helpers.root('wwwroot'),
/**
* Specifies the name of each output file on disk.
* IMPORTANT: You must not specify an absolute path here!
*
* See: http://webpack.github.io/docs/configuration.html#output-filename
*/
filename: 'js/[name].bundle.js',
/**
* The filename of the SourceMaps for the JavaScript files.
* They are inside the output.path directory.
*
* See: http://webpack.github.io/docs/configuration.html#output-sourcemapfilename
*/
sourceMapFilename: 'js/[name].map',
/** The filename of non-entry chunks as relative path
* inside the output.path directory.
*
* See: http://webpack.github.io/docs/configuration.html#output-chunkfilename
*/
chunkFilename: 'js/[id].chunk.js',
library: 'ac_[name]',
libraryTarget: 'var',
},
plugins: [
/**
* Plugin: DefinePlugin
* Description: Define free variables.
* Useful for having development builds with debug logging or adding global constants.
*
* Environment helpers
*
* See: https://webpack.github.io/docs/list-of-plugins.html#defineplugin
*/
// NOTE: when adding more properties, make sure you include them in custom-typings.d.ts
new DefinePlugin({
'ENV': JSON.stringify(METADATA.ENV),
'HMR': METADATA.HMR,
'process.env': {
'ENV': JSON.stringify(METADATA.ENV),
'NODE_ENV': JSON.stringify(METADATA.ENV),
'HMR': METADATA.HMR,
}
}),
/**
* Plugin: NamedModulesPlugin (experimental)
* Description: Uses file names as module name.
*
* See: https://github.com/webpack/webpack/commit/a04ffb928365b19feb75087c63f13cadfc08e1eb
*/
// new NamedModulesPlugin(),
/**
* Plugin LoaderOptionsPlugin (experimental)
*
* See: https://gist.github.com/sokra/27b24881210b56bbaff7
*/
new LoaderOptionsPlugin({
debug: true,
options: {
}
}),
],
/**
* Webpack Development Server configuration
* Description: The webpack-dev-server is a little node.js Express server.
* The server emits information about the compilation state to the client,
* which reacts to those events.
*
* See: https://webpack.github.io/docs/webpack-dev-server.html
*/
devServer: {
port: METADATA.port,
host: METADATA.host,
historyApiFallback: true,
watchOptions: {
aggregateTimeout: 300,
poll: 1000
}
},
/*
* Include polyfills or mocks for various node stuff
* Description: Node configuration
*
* See: https://webpack.github.io/docs/configuration.html#node
*/
node: {
global: true,
crypto: 'empty',
process: true,
module: false,
clearImmediate: false,
setImmediate: false
}
});
}
"><pre class="notranslate"><code class="notranslate">
/**
* @author: @AngularClass
*/
const helpers = require('./helpers');
const webpackMerge = require('webpack-merge'); // used to merge webpack configs
const commonConfig = require('./webpack.common.js'); // the settings that are common to prod and dev
/**
* Webpack Plugins
*/
const DefinePlugin = require('webpack/lib/DefinePlugin');
const NamedModulesPlugin = require('webpack/lib/NamedModulesPlugin');
const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
/**
* Webpack Constants
*/
const ENV = process.env.ENV = process.env.NODE_ENV = 'development';
const HOST = process.env.HOST || 'localhost';
const PORT = process.env.PORT || 4200;
const HMR = helpers.hasProcessFlag('hot');
const METADATA = webpackMerge(commonConfig({env: ENV}).metadata, {
host: HOST,
port: PORT,
ENV: ENV,
HMR: HMR
});
/**
* Webpack configuration
*
* See: http://webpack.github.io/docs/configuration.html#cli
*/
module.exports = function (options) {
return webpackMerge(commonConfig({env: ENV}), {
/**
* Developer tool to enhance debugging
*
* See: http://webpack.github.io/docs/configuration.html#devtool
* See: https://github.com/webpack/docs/wiki/build-performance#sourcemaps
*/
devtool: 'cheap-module-source-map',
/**
* Options affecting the output of the compilation.
*
* See: http://webpack.github.io/docs/configuration.html#output
*/
output: {
/**
* The output directory as absolute path (required).
*
* See: http://webpack.github.io/docs/configuration.html#output-path
*/
path: helpers.root('wwwroot'),
/**
* Specifies the name of each output file on disk.
* IMPORTANT: You must not specify an absolute path here!
*
* See: http://webpack.github.io/docs/configuration.html#output-filename
*/
filename: 'js/[name].bundle.js',
/**
* The filename of the SourceMaps for the JavaScript files.
* They are inside the output.path directory.
*
* See: http://webpack.github.io/docs/configuration.html#output-sourcemapfilename
*/
sourceMapFilename: 'js/[name].map',
/** The filename of non-entry chunks as relative path
* inside the output.path directory.
*
* See: http://webpack.github.io/docs/configuration.html#output-chunkfilename
*/
chunkFilename: 'js/[id].chunk.js',
library: 'ac_[name]',
libraryTarget: 'var',
},
plugins: [
/**
* Plugin: DefinePlugin
* Description: Define free variables.
* Useful for having development builds with debug logging or adding global constants.
*
* Environment helpers
*
* See: https://webpack.github.io/docs/list-of-plugins.html#defineplugin
*/
// NOTE: when adding more properties, make sure you include them in custom-typings.d.ts
new DefinePlugin({
'ENV': JSON.stringify(METADATA.ENV),
'HMR': METADATA.HMR,
'process.env': {
'ENV': JSON.stringify(METADATA.ENV),
'NODE_ENV': JSON.stringify(METADATA.ENV),
'HMR': METADATA.HMR,
}
}),
/**
* Plugin: NamedModulesPlugin (experimental)
* Description: Uses file names as module name.
*
* See: https://github.com/webpack/webpack/commit/a04ffb928365b19feb75087c63f13cadfc08e1eb
*/
// new NamedModulesPlugin(),
/**
* Plugin LoaderOptionsPlugin (experimental)
*
* See: https://gist.github.com/sokra/27b24881210b56bbaff7
*/
new LoaderOptionsPlugin({
debug: true,
options: {
}
}),
],
/**
* Webpack Development Server configuration
* Description: The webpack-dev-server is a little node.js Express server.
* The server emits information about the compilation state to the client,
* which reacts to those events.
*
* See: https://webpack.github.io/docs/webpack-dev-server.html
*/
devServer: {
port: METADATA.port,
host: METADATA.host,
historyApiFallback: true,
watchOptions: {
aggregateTimeout: 300,
poll: 1000
}
},
/*
* Include polyfills or mocks for various node stuff
* Description: Node configuration
*
* See: https://webpack.github.io/docs/configuration.html#node
*/
node: {
global: true,
crypto: 'empty',
process: true,
module: false,
clearImmediate: false,
setImmediate: false
}
});
}
</code></pre></div>
<p dir="auto"><strong>### Package.json file</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"name": "mysample",
"version": "0.2.1",
"license": "ISC",
"scripts": {
"build:dev": "./node_modules/.bin/webpack --config config/webpack.dev.js --progress --profile",
"build:prod": "./node_modules/.bin/webpack --config config/webpack.prod.js --progress --profile --bail",
"build": "npm run build:dev",
"ci": "npm run lint && npm test && npm run e2e",
"clean:dist": "npm run rimraf -- dist",
"clean:install": "npm set progress=false && npm install",
"clean:start": "npm start",
"clean": "npm cache clean && npm run rimraf -- node_modules doc coverage dist",
"docs": "npm run typedoc -- --options typedoc.json --exclude '**/*.spec.ts' ./src/",
"e2e:live": "npm run e2e -- --elementExplorer",
"e2e": "npm run protractor",
"github-deploy:dev": "./node_modules/.bin/webpack --config config/webpack.github-deploy.js --progress --profile --env.githubDev",
"github-deploy:prod": "./node_modules/.bin/webpack --config config/webpack.github-deploy.js --progress --profile --env.githubProd",
"github-deploy": "npm run github-deploy:dev",
"lint": "npm run tslint \"src/**/*.ts\"",
"postversion": "git push && git push --tags",
"prebuild:dev": "npm run clean:dist",
"prebuild:prod": "npm run clean:dist",
"preclean:install": "npm run clean",
"preclean:start": "npm run clean",
"pree2e": "npm run webdriver:update -- --standalone",
"preversion": "npm test",
"protractor": "protractor",
"rimraf": "rimraf",
"server:dev:hmr": "npm run server:dev -- --inline --hot",
"server:dev": "./node_modules/.bin/webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/",
"server": "npm run server:dev",
"start:hmr": "npm run server:dev:hmr",
"start": "npm run server:dev",
"test": "karma start config/karma",
"tslint": "tslint",
"typedoc": "typedoc",
"version": "npm run build",
"watch:dev:hmr": "npm run watch:dev -- --hot",
"watch:dev": "npm run build:dev -- --watch",
"watch:prod": "npm run build:prod -- --watch",
"watch:test": "npm run test -- --auto-watch --no-single-run",
"watch": "npm run watch:dev"
},
"private": true,
"dependencies": {
"@angular-redux/store": "^6.0.0",
"@angular/common": "^2.4.6",
"@angular/compiler": "^2.4.6",
"@angular/core": "^2.4.6",
"@angular/forms": "^2.4.6",
"@angular/http": "^2.4.6",
"@angular/platform-browser": "^2.4.6",
"@angular/platform-browser-dynamic": "^2.4.6",
"@angular/router": "^3.4.6",
"@types/jasmine": "^2.5.41",
"X-editable": "github:vitalets/x-editable",
"angular-in-memory-web-api": "^0.2.1",
"bootstrap": "^3.3.7",
"bootstrap-colorpicker": "^2.3.5",
"bootstrap-duallistbox": "github:istvan-ujjmeszaros/bootstrap-duallistbox",
"bootstrap-markdown": "^2.10.0",
"bootstrap-progressbar": "^0.9.0",
"bootstrap-slider": "^9.1.3",
"bootstrap-tagsinput": "^0.7.1",
"bootstrap-timepicker": "^0.5.2",
"chart.js": "2.4.0",
"clockpicker": "0.0.7",
"clone": "~2.0.0",
"codelyzer": "^2.0.0-beta.4",
"debounce": "^1.0.0",
"dropzone": "^4.3.0",
"dygraphs": "^2.0.0",
"fuelux": "^3.15.8",
"he": "^1.1.0",
"highcharts": "^5.0.7",
"ion-rangeslider": "^2.1.4",
"jasmine-core": "^2.5.2",
"jquery": "^2.2.4",
"jquery-color": "^1.0.0",
"jquery-jcrop": "^0.9.13",
"jquery-knob": "^1.2.11",
"jquery-ui-npm": "^1.12.0",
"jquery-validation": "^1.15.1",
"jquery.maskedinput": "^1.4.1",
"karma-jasmine": "^1.1.0",
"markdown": "^0.5.0",
"minimatch": "^3.0.3",
"morris.js": "^0.5.0",
"ng2-bootstrap": "^1.1.16-9",
"ng2-redux": "^5.0.0-beta.2",
"ngx-popover": "0.0.16",
"nouislider": "^8.5.1",
"raphael": "^2.2.1",
"redux": "^3.6.0",
"rxjs": "^5.1.0",
"scriptjs": "^2.5.8",
"select2": "^4.0.3",
"smartadmin-plugins": "^1.0.15",
"summernote": "^0.8.1",
"to-markdown": "^3.0.1",
"ts-helpers": "^1.1.1",
"tslint": "^4.0.0",
"tslint-loader": "^3.2.1",
"webpack": "^2.2.0-rc.3",
"zone.js": "^0.7.2"
},
"devDependencies": {
"@angular/compiler": "^2.4.6",
"@angularclass/hmr": "~1.2.2",
"@angularclass/hmr-loader": "~3.0.2",
"@types/hammerjs": "^2.0.33",
"@types/jasmine": "^2.5.41",
"@types/node": "^6.0.38",
"@types/source-map": "^0.1.27",
"@types/uglify-js": "^2.0.27",
"@types/webpack": "^1.12.34",
"angular-router-loader": "^0.4.0",
"angular2-template-loader": "^0.6.0",
"assets-webpack-plugin": "^3.5.0",
"awesome-typescript-loader": "^2.2.1",
"codelyzer": "~1.0.0-beta.4",
"copy-webpack-plugin": "^4.0.0",
"css-loader": "^0.26.0",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"file-loader": "^0.9.0",
"gh-pages": "^0.12.0",
"html-minify-loader": "^1.1.0",
"html-webpack-plugin": "^2.21.0",
"ie-shim": "^0.1.0",
"imports-loader": "^0.6.5",
"istanbul-instrumenter-loader": "0.2.0",
"json-loader": "^0.5.4",
"karma": "^1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.0.2",
"karma-mocha-reporter": "^2.0.0",
"karma-remap-coverage": "^0.1.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "1.8.0",
"parse5": "^2.2.2",
"raw-loader": "0.5.1",
"reflect-metadata": "^0.1.9",
"rimraf": "~2.5.4",
"script-ext-html-webpack-plugin": "^1.3.2",
"script-loader": "^0.7.0",
"source-map-loader": "^0.1.5",
"string-replace-loader": "1.0.5",
"style-loader": "^0.13.1",
"to-string-loader": "^1.1.4",
"ts-helpers": "1.1.2",
"ts-node": "^1.7.0",
"tslint": "^4.0.0",
"tslint-loader": "^3.2.1",
"typedoc": "^0.5.0",
"typescript": "2.1.1",
"url-loader": "^0.5.7",
"v8-lazy-parse-webpack-plugin": "^0.3.0",
"webpack": "^2.2.1",
"webpack-dev-middleware": "^1.10.0",
"webpack-dev-server": "^2.3.0",
"webpack-md5-hash": "^0.0.5",
"webpack-merge": "^2.6.1"
},
"engines": {
"node": ">= 4.2.1",
"npm": ">= 3"
}
}
"><pre class="notranslate"><code class="notranslate">{
"name": "mysample",
"version": "0.2.1",
"license": "ISC",
"scripts": {
"build:dev": "./node_modules/.bin/webpack --config config/webpack.dev.js --progress --profile",
"build:prod": "./node_modules/.bin/webpack --config config/webpack.prod.js --progress --profile --bail",
"build": "npm run build:dev",
"ci": "npm run lint && npm test && npm run e2e",
"clean:dist": "npm run rimraf -- dist",
"clean:install": "npm set progress=false && npm install",
"clean:start": "npm start",
"clean": "npm cache clean && npm run rimraf -- node_modules doc coverage dist",
"docs": "npm run typedoc -- --options typedoc.json --exclude '**/*.spec.ts' ./src/",
"e2e:live": "npm run e2e -- --elementExplorer",
"e2e": "npm run protractor",
"github-deploy:dev": "./node_modules/.bin/webpack --config config/webpack.github-deploy.js --progress --profile --env.githubDev",
"github-deploy:prod": "./node_modules/.bin/webpack --config config/webpack.github-deploy.js --progress --profile --env.githubProd",
"github-deploy": "npm run github-deploy:dev",
"lint": "npm run tslint \"src/**/*.ts\"",
"postversion": "git push && git push --tags",
"prebuild:dev": "npm run clean:dist",
"prebuild:prod": "npm run clean:dist",
"preclean:install": "npm run clean",
"preclean:start": "npm run clean",
"pree2e": "npm run webdriver:update -- --standalone",
"preversion": "npm test",
"protractor": "protractor",
"rimraf": "rimraf",
"server:dev:hmr": "npm run server:dev -- --inline --hot",
"server:dev": "./node_modules/.bin/webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/",
"server": "npm run server:dev",
"start:hmr": "npm run server:dev:hmr",
"start": "npm run server:dev",
"test": "karma start config/karma",
"tslint": "tslint",
"typedoc": "typedoc",
"version": "npm run build",
"watch:dev:hmr": "npm run watch:dev -- --hot",
"watch:dev": "npm run build:dev -- --watch",
"watch:prod": "npm run build:prod -- --watch",
"watch:test": "npm run test -- --auto-watch --no-single-run",
"watch": "npm run watch:dev"
},
"private": true,
"dependencies": {
"@angular-redux/store": "^6.0.0",
"@angular/common": "^2.4.6",
"@angular/compiler": "^2.4.6",
"@angular/core": "^2.4.6",
"@angular/forms": "^2.4.6",
"@angular/http": "^2.4.6",
"@angular/platform-browser": "^2.4.6",
"@angular/platform-browser-dynamic": "^2.4.6",
"@angular/router": "^3.4.6",
"@types/jasmine": "^2.5.41",
"X-editable": "github:vitalets/x-editable",
"angular-in-memory-web-api": "^0.2.1",
"bootstrap": "^3.3.7",
"bootstrap-colorpicker": "^2.3.5",
"bootstrap-duallistbox": "github:istvan-ujjmeszaros/bootstrap-duallistbox",
"bootstrap-markdown": "^2.10.0",
"bootstrap-progressbar": "^0.9.0",
"bootstrap-slider": "^9.1.3",
"bootstrap-tagsinput": "^0.7.1",
"bootstrap-timepicker": "^0.5.2",
"chart.js": "2.4.0",
"clockpicker": "0.0.7",
"clone": "~2.0.0",
"codelyzer": "^2.0.0-beta.4",
"debounce": "^1.0.0",
"dropzone": "^4.3.0",
"dygraphs": "^2.0.0",
"fuelux": "^3.15.8",
"he": "^1.1.0",
"highcharts": "^5.0.7",
"ion-rangeslider": "^2.1.4",
"jasmine-core": "^2.5.2",
"jquery": "^2.2.4",
"jquery-color": "^1.0.0",
"jquery-jcrop": "^0.9.13",
"jquery-knob": "^1.2.11",
"jquery-ui-npm": "^1.12.0",
"jquery-validation": "^1.15.1",
"jquery.maskedinput": "^1.4.1",
"karma-jasmine": "^1.1.0",
"markdown": "^0.5.0",
"minimatch": "^3.0.3",
"morris.js": "^0.5.0",
"ng2-bootstrap": "^1.1.16-9",
"ng2-redux": "^5.0.0-beta.2",
"ngx-popover": "0.0.16",
"nouislider": "^8.5.1",
"raphael": "^2.2.1",
"redux": "^3.6.0",
"rxjs": "^5.1.0",
"scriptjs": "^2.5.8",
"select2": "^4.0.3",
"smartadmin-plugins": "^1.0.15",
"summernote": "^0.8.1",
"to-markdown": "^3.0.1",
"ts-helpers": "^1.1.1",
"tslint": "^4.0.0",
"tslint-loader": "^3.2.1",
"webpack": "^2.2.0-rc.3",
"zone.js": "^0.7.2"
},
"devDependencies": {
"@angular/compiler": "^2.4.6",
"@angularclass/hmr": "~1.2.2",
"@angularclass/hmr-loader": "~3.0.2",
"@types/hammerjs": "^2.0.33",
"@types/jasmine": "^2.5.41",
"@types/node": "^6.0.38",
"@types/source-map": "^0.1.27",
"@types/uglify-js": "^2.0.27",
"@types/webpack": "^1.12.34",
"angular-router-loader": "^0.4.0",
"angular2-template-loader": "^0.6.0",
"assets-webpack-plugin": "^3.5.0",
"awesome-typescript-loader": "^2.2.1",
"codelyzer": "~1.0.0-beta.4",
"copy-webpack-plugin": "^4.0.0",
"css-loader": "^0.26.0",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"file-loader": "^0.9.0",
"gh-pages": "^0.12.0",
"html-minify-loader": "^1.1.0",
"html-webpack-plugin": "^2.21.0",
"ie-shim": "^0.1.0",
"imports-loader": "^0.6.5",
"istanbul-instrumenter-loader": "0.2.0",
"json-loader": "^0.5.4",
"karma": "^1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.0.2",
"karma-mocha-reporter": "^2.0.0",
"karma-remap-coverage": "^0.1.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "1.8.0",
"parse5": "^2.2.2",
"raw-loader": "0.5.1",
"reflect-metadata": "^0.1.9",
"rimraf": "~2.5.4",
"script-ext-html-webpack-plugin": "^1.3.2",
"script-loader": "^0.7.0",
"source-map-loader": "^0.1.5",
"string-replace-loader": "1.0.5",
"style-loader": "^0.13.1",
"to-string-loader": "^1.1.4",
"ts-helpers": "1.1.2",
"ts-node": "^1.7.0",
"tslint": "^4.0.0",
"tslint-loader": "^3.2.1",
"typedoc": "^0.5.0",
"typescript": "2.1.1",
"url-loader": "^0.5.7",
"v8-lazy-parse-webpack-plugin": "^0.3.0",
"webpack": "^2.2.1",
"webpack-dev-middleware": "^1.10.0",
"webpack-dev-server": "^2.3.0",
"webpack-md5-hash": "^0.0.5",
"webpack-merge": "^2.6.1"
},
"engines": {
"node": ">= 4.2.1",
"npm": ">= 3"
}
}
</code></pre></div>
<p dir="auto"><strong>### TS config</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" {
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noEmitHelpers": true,
"strictNullChecks": false,
"baseUrl": "./src",
"paths": {
},
"lib": [
"dom",
"es6"
],
"types": [
"hammerjs",
"jasmine",
"node",
"source-map",
"uglify-js",
"webpack"
]
},
"exclude": [
"node_modules",
"dist"
],
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
"useWebpackText": true
},
"compileOnSave": false,
"buildOnSave": false,
"atom": { "rewriteTsconfig": false }**
}"><pre class="notranslate"><code class="notranslate"> {
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noEmitHelpers": true,
"strictNullChecks": false,
"baseUrl": "./src",
"paths": {
},
"lib": [
"dom",
"es6"
],
"types": [
"hammerjs",
"jasmine",
"node",
"source-map",
"uglify-js",
"webpack"
]
},
"exclude": [
"node_modules",
"dist"
],
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
"useWebpackText": true
},
"compileOnSave": false,
"buildOnSave": false,
"atom": { "rewriteTsconfig": false }**
}
</code></pre></div>
<p dir="auto"><strong>### TS Lint File</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"member-access": false,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-any": false,
"no-inferrable-types": false,
"no-internal-module": true,
"no-var-requires": false,
"typedef": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "space",
"index-signature": "space",
"parameter": "space",
"property-declaration": "space",
"variable-declaration": "space"
}
],
"ban": false,
"curly": false,
"forin": true,
"label-position": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"no-null-keyword": false,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-unreachable": true,
"no-unused-expression": true,
"no-unused-variable": false,
"no-use-before-declare": true,
"no-var-keyword": true,
"radix": true,
"switch-default": true,
"triple-equals": [
true,
"allow-null-check"
],
"eofline": true,
"indent": [
true,
"spaces"
],
"max-line-length": [
true,
100
],
"no-require-imports": false,
"no-trailing-whitespace": true,
"object-literal-sort-keys": false,
"trailing-comma": [
true,
{
"multiline": false,
"singleline": "never"
}
],
"align": false,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"interface-name": false,
"jsdoc-format": true,
"no-consecutive-blank-lines": false,
"one-line": [
false,
"check-open-brace",
"check-catch",
"check-else",
"check-finally",
"check-whitespace"
],
"quotemark": [
true,
"single",
"avoid-escape"
],
"semicolon": [true, "always"],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"import-destructuring-spacing": true
}
}
"><pre class="notranslate"><code class="notranslate">
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"member-access": false,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-any": false,
"no-inferrable-types": false,
"no-internal-module": true,
"no-var-requires": false,
"typedef": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "space",
"index-signature": "space",
"parameter": "space",
"property-declaration": "space",
"variable-declaration": "space"
}
],
"ban": false,
"curly": false,
"forin": true,
"label-position": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"no-null-keyword": false,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-unreachable": true,
"no-unused-expression": true,
"no-unused-variable": false,
"no-use-before-declare": true,
"no-var-keyword": true,
"radix": true,
"switch-default": true,
"triple-equals": [
true,
"allow-null-check"
],
"eofline": true,
"indent": [
true,
"spaces"
],
"max-line-length": [
true,
100
],
"no-require-imports": false,
"no-trailing-whitespace": true,
"object-literal-sort-keys": false,
"trailing-comma": [
true,
{
"multiline": false,
"singleline": "never"
}
],
"align": false,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"interface-name": false,
"jsdoc-format": true,
"no-consecutive-blank-lines": false,
"one-line": [
false,
"check-open-brace",
"check-catch",
"check-else",
"check-finally",
"check-whitespace"
],
"quotemark": [
true,
"single",
"avoid-escape"
],
"semicolon": [true, "always"],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"import-destructuring-spacing": true
}
}
</code></pre></div>
<p dir="auto">Can anyone guide me what I'm missing in this.</p> | 0 |
<p dir="auto">Hi, when I'm trying to run kube-up.sh with aws and coreos i get</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Attempt 1 to check for SSH to master [ssh to master not working yet]
Attempt 2 to check for SSH to master [ssh to master working]
Attempt 1 to check for salt-master [salt-master not working yet]
Attempt 2 to check for salt-master [salt-master not working yet]
Attempt 3 to check for salt-master [salt-master not working yet]
Attempt 4 to check for salt-master [salt-master not working yet]
Attempt 5 to check for salt-master [salt-master not working yet]
Attempt 6 to check for salt-master [salt-master not working yet]
Attempt 7 to check for salt-master [salt-master not working yet]
Attempt 8 to check for salt-master [salt-master running]
Creating minion configuration
./../cluster/aws/../../cluster/../cluster/aws/coreos/util.sh: line 32: $1: unbound variable"><pre class="notranslate"><code class="notranslate">Attempt 1 to check for SSH to master [ssh to master not working yet]
Attempt 2 to check for SSH to master [ssh to master working]
Attempt 1 to check for salt-master [salt-master not working yet]
Attempt 2 to check for salt-master [salt-master not working yet]
Attempt 3 to check for salt-master [salt-master not working yet]
Attempt 4 to check for salt-master [salt-master not working yet]
Attempt 5 to check for salt-master [salt-master not working yet]
Attempt 6 to check for salt-master [salt-master not working yet]
Attempt 7 to check for salt-master [salt-master not working yet]
Attempt 8 to check for salt-master [salt-master running]
Creating minion configuration
./../cluster/aws/../../cluster/../cluster/aws/coreos/util.sh: line 32: $1: unbound variable
</code></pre></div>
<p dir="auto">And when I'm looking at <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/aws/util.sh#L945">https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/aws/util.sh#L945</a> it looks like it don't sends any arguments.</p>
<p dir="auto">I'm on mac os x, the config I use is</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export KUBE_AWS_ZONE=eu-west-1a
export AWS_S3_REGION=eu-west-1
export AWS_REGION=eu-west-1
export MASTER_SIZE=c4.large
export MINION_SIZE=r3.large
export KUBE_OS_DISTRIBUTION=coreos
export KUBERNETES_PROVIDER=aws"><pre class="notranslate"><span class="pl-k">export</span> KUBE_AWS_ZONE=eu-west-1a
<span class="pl-k">export</span> AWS_S3_REGION=eu-west-1
<span class="pl-k">export</span> AWS_REGION=eu-west-1
<span class="pl-k">export</span> MASTER_SIZE=c4.large
<span class="pl-k">export</span> MINION_SIZE=r3.large
<span class="pl-k">export</span> KUBE_OS_DISTRIBUTION=coreos
<span class="pl-k">export</span> KUBERNETES_PROVIDER=aws</pre></div> | <p dir="auto">Hello,</p>
<p dir="auto">Is there more documentation on how to run a Kubernetes cluster using CoreOS on AWS ??</p>
<p dir="auto">I tried the script for AWS specifying KUBE_OS_DISTRIBUTION=coreos, it started a master on ubuntu, and then tried to launch my minions but they all crashed.</p>
<p dir="auto">I first had to modify the cluster/aws/coreos/util.sh script and delete those lines to make the script go this far:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" i=$1
# TODO(bakins): Is this actually used?
MINION_PRIVATE_IP=$INTERNAL_IP_BASE.1${i}
MINION_IP=$(yaml-quote ${MINION_PRIVATE_IP})"><pre class="notranslate"> i=<span class="pl-smi">$1</span>
<span class="pl-c"><span class="pl-c">#</span> TODO(bakins): Is this actually used?</span>
MINION_PRIVATE_IP=<span class="pl-smi">$INTERNAL_IP_BASE</span>.1<span class="pl-smi">${i}</span>
MINION_IP=<span class="pl-s"><span class="pl-pds">$(</span>yaml-quote <span class="pl-smi">${MINION_PRIVATE_IP}</span><span class="pl-pds">)</span></span></pre></div>
<p dir="auto">That crashed because you dont use a loop anymore to create the minions.</p>
<p dir="auto">Do you have a solution to use the script to start a cluster automatically, like create credentials and give me access to the cluster directly. I dont want to use the other guide in the multi-node coreos page, because it is basically useless as is. What do i do once the masters and minions are running ? SSH to get the credentials ?</p>
<p dir="auto">I would love to be able to use the autoscaling group approach from the other script :)</p>
<p dir="auto">I am on kubernetes version 1.0.1.</p> | 1 |
<p dir="auto">Since upgrading from beta 19 to beta 21, our jest tests are failinng due to the following error:</p>
<p dir="auto">TypeError: window.__NEXT_REGISTER_PAGE is not a function</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" at Object.<anonymous> (.next/bundles/pages/__tests__/create.test.js:2:8)
at handle (node_modules/worker-farm/lib/child/index.js:44:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:51:3)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)"><pre class="notranslate"><code class="notranslate"> at Object.<anonymous> (.next/bundles/pages/__tests__/create.test.js:2:8)
at handle (node_modules/worker-farm/lib/child/index.js:44:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:51:3)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)
</code></pre></div>
<ul dir="auto">
<li>[x ] I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">I should not get this error</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">TypeError: window.__NEXT_REGISTER_PAGE is not a function</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" at Object.<anonymous> (.next/bundles/pages/__tests__/create.test.js:2:8)
at handle (node_modules/worker-farm/lib/child/index.js:44:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:51:3)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)"><pre class="notranslate"><code class="notranslate"> at Object.<anonymous> (.next/bundles/pages/__tests__/create.test.js:2:8)
at handle (node_modules/worker-farm/lib/child/index.js:44:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:51:3)
at emitTwo (events.js:125:13)
at process.emit (events.js:213:7)
</code></pre></div>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { shallow, mount } from 'enzyme'
import React from 'react'
import renderer from 'react-test-renderer'
import sinon from 'sinon'
import ConnectedLogoutPage from '../logout.js'
describe('Page: /logout', () => {
describe('Snapshot Testing', () => {
it('/logout renders"', () => {
const component = renderer.create(
<ConnectedLogoutPage url={{ pathname: '/logout' }} />
)
const tree = component.toJSON()
expect(tree).toMatchSnapshot()
})
})
"><pre class="notranslate"><code class="notranslate">import { shallow, mount } from 'enzyme'
import React from 'react'
import renderer from 'react-test-renderer'
import sinon from 'sinon'
import ConnectedLogoutPage from '../logout.js'
describe('Page: /logout', () => {
describe('Snapshot Testing', () => {
it('/logout renders"', () => {
const component = renderer.create(
<ConnectedLogoutPage url={{ pathname: '/logout' }} />
)
const tree = component.toJSON()
expect(tree).toMatchSnapshot()
})
})
</code></pre></div>
<h2 dir="auto">Context</h2>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>3.0.0-beta21</td>
</tr>
<tr>
<td>node</td>
<td>8.2.1</td>
</tr>
<tr>
<td>OS</td>
<td>Mac OS 10.12.4</td>
</tr>
<tr>
<td>browser</td>
<td>command line</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">Hi! I am having some trouble getting set up with Redux and Apollo.</p>
<p dir="auto">The existing <code class="notranslate">with-redux-and-apollo</code> example is only compatible with Apollo 1. Apollo 2 severs out-of-the-box support for redux in favor of Apollo's client side state management, but luckily <a href="https://github.com/rportugal/apollo-cache-redux">https://github.com/rportugal/apollo-cache-redux</a> gives you a way to still use redux with Apollo 2. That being said, I'm brand new to Nextjs and setting up the dev environment with Apollo 2 and Redux has been challenging, if anyone has ideas about how to accomplish this please let me know! An updated example would be greatly appreciated :)</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">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>beta</td>
</tr>
<tr>
<td>node</td>
<td>9.0.0</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
</tbody>
</table> | 0 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.