text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=ianso" rel="nofollow">Ian Sollars</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8368?redirect=false" rel="nofollow">SPR-8368</a></strong> and commented</p>
<p dir="auto">With the splitting of Spring Framework into multiple jar files in v3.0, there are now several files named "META-INF/spring.handlers", "spring.schemas" and "spring.tooling". This is not a problem when running in a normal servlet container, but poses problems when e.g. creating an executable JAR file from a webapp using an embedded web server such as Jetty, or running GWT in "Dev Mode", which uses a custom class loader.</p>
<p dir="auto">In the former scenario, a typical approach is to use a Maven assembly to extract all .class files from the project dependencies and merge them into one hierarchy, as a way of packaging all the dependencies and the webapp itself into one JAR file.</p>
<p dir="auto">However, in this case only one copy of "spring.handlers/schemas/tooling" can exist, and so any schemas that are used and /not/ in the one copy cannot be validated. This leads to exceptions such as this one:</p>
<p dir="auto">org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 65 in XML document from class path resource [spring/beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-config'.<br>
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)<br>
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)<br>
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)<br>
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:218)<br>
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:147)</p>
<p dir="auto">Other people reporting similar problems can be found at Stack Overflow here and here.</p>
<p dir="auto">The workaround is to construct your own "custom" version of these three files, merging all the copies into one like so:</p>
<p dir="auto">//IOUtils and FileUtils come from Apache Commons IOfor(String s : new String[] {"spring.schemas", "spring.handlers", "spring.tooling"}) {<br>
Enumeration<?> e = Test.class.getClassLoader().getResources("META-INF/"+s);<br>
StringBuilder out = new StringBuilder();while(e.hasMoreElements()) {<br>
URL u = (URL) e.nextElement();<br>
out.append(IOUtils.toString(u.openStream())).append("\n");<br>
}<br>
File outf = new File(s);<br>
FileUtils.writeStringToFile(outf, out.toString(), "UTF-8");<br>
}</p>
<p dir="auto">However, the proper fix would be to use a different file-name for each instance of the schemas/handlers/tooling files. For example, inside "org.springframework.aop-3.0.5.RELEASE.jar/META-INF" you would find "spring-aop.schemas", "spring-aop.handlers" and "spring-aop.tooling".</p>
<p dir="auto">I'm afraid I'm not sufficiently up-to-speed with the Spring code-base to give you a patch to do this, however a brief investigation shows that "spring.handlers" and "spring.schemas" are specified in org.springframework.beans.factory.xml.PluggableSchemaResolver and DefaultNamespaceHandlerResolver, and that constructors exist for specifying different locations for these files. I hope you find this information useful.</p>
<p dir="auto">Best regards,</p>
<ul dir="auto">
<li>Ian</li>
</ul>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5</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="398113528" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13175" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13175/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13175">#13175</a> META-INF/spring.handlers are hidden resources when running with special isolated ClassLoader, for example as osgi Netbeans plugins or javawebstart (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">1 votes, 4 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=vpernin" rel="nofollow">Vladislav Pernin</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8256?redirect=false" rel="nofollow">SPR-8256</a></strong> and commented</p>
<p dir="auto">The documentation of the great Cache Abstraction feature has some errors :</p>
<ul dir="auto">
<li>the namespace declaration <a href="http://www.springframework.org/schema/cache/spring-cache.xsd" rel="nofollow">http://www.springframework.org/schema/cache/spring-cache.xsd</a> does not exists, replace with <a href="http://www.springframework.org/schema/cache/spring-cache-3.1.xsd" rel="nofollow">http://www.springframework.org/schema/cache/spring-cache-3.1.xsd</a></li>
<li>duplicate block description of proxy-target-class with the note</li>
<li>the <code class="notranslate">@Cacheable</code> and <code class="notranslate">@CacheEvict</code> annotation key attribute must start with #, as already corrected in the blog <a href="http://blog.springsource.com/2011/02/23/spring-3-1-m1-caching/" rel="nofollow">http://blog.springsource.com/2011/02/23/spring-3-1-m1-caching/</a></li>
</ul>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 M1</p> | 0 |
<p dir="auto">I recently updated to the new version of code (0.10.10) on OS X, and I was asked to remove an existing <code class="notranslate">code</code> alias I had set up in bash. I did so by modifying my <code class="notranslate">.bashrc</code> and then allowed code to apply its own. But the new one doesn't work after restarting code and bash:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ code
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory"><pre class="notranslate"><code class="notranslate">$ code
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory
</code></pre></div> | <p dir="auto">Just installed 0.10.10 and installed the <code class="notranslate">code</code> shell command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ code --help
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory"><pre class="notranslate"><code class="notranslate">$ code --help
File "<string>", line 1
import os,sys; print os.path.realpath(sys.argv[1])
^
SyntaxError: invalid syntax
/usr/local/bin/code: line 10: ./MacOS/Electron: No such file or directory
</code></pre></div>
<p dir="auto">VS Code itself works fine if I launch it via Spotlight.</p>
<p dir="auto">I believe the problem is that I had a Python virtual environment active, and <code class="notranslate">python</code> points to Python 3. If I try <code class="notranslate">code</code> outside of that virtualenv, where <code class="notranslate">python</code> means Python 2, everything works fine.</p>
<p dir="auto">I guess the options are:</p>
<ol dir="auto">
<li>Make the launch script Python 2/3 compatible. (Step one would probably be to add <code class="notranslate">from __future__ import print_function</code> and update the <code class="notranslate">print</code> statements accordingly.)</li>
<li>Do some extra work to guarantee that you launch the system Python and not the user's configured Python, though this is probably not a viable long-term approach since distributions like Fedora now <a href="https://fedoraproject.org/wiki/Changes/Python_3_as_Default" rel="nofollow">default to Python 3</a> and don't even install Python 2 by default.</li>
</ol> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.5-SNAPSHOT</li>
<li>Operating System version: macos</li>
<li>Java version: 1.8.0_131</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">We could run the following UT, then we could find the issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ApplicationConfig application = new ApplicationConfig("provider");
ServiceConfig<DemoService> service = new ServiceConfig<DemoService>();
service.setProtocol(new ProtocolConfig("dubbo", 20880));
service.setRegistry(new RegistryConfig(RegistryConfig.NO_AVAILABLE));
service.setInterface(DemoService.class);
service.setRef(new DemoServiceImpl());
ConsumerConfig consumer = new ConsumerConfig();
consumer.setLazy(true);
ReferenceConfig<DemoService> reference = new ReferenceConfig<DemoService>();
reference.setConsumer(consumer);
reference.setRegistry(new RegistryConfig(RegistryConfig.NO_AVAILABLE));
reference.setInterface(DemoService.class);
reference.setUrl("dubbo://" + NetUtils.getLocalHost() + ":20880?" + DemoService.class.getName());
DubboBootstrap bootstrap = DubboBootstrap.getInstance()
.application(application)
.service(service)
.reference(reference)
.start();
Assert.assertEquals("true", reference.toUrls().get(0).getParameter("lazy"));"><pre class="notranslate"><code class="notranslate"> ApplicationConfig application = new ApplicationConfig("provider");
ServiceConfig<DemoService> service = new ServiceConfig<DemoService>();
service.setProtocol(new ProtocolConfig("dubbo", 20880));
service.setRegistry(new RegistryConfig(RegistryConfig.NO_AVAILABLE));
service.setInterface(DemoService.class);
service.setRef(new DemoServiceImpl());
ConsumerConfig consumer = new ConsumerConfig();
consumer.setLazy(true);
ReferenceConfig<DemoService> reference = new ReferenceConfig<DemoService>();
reference.setConsumer(consumer);
reference.setRegistry(new RegistryConfig(RegistryConfig.NO_AVAILABLE));
reference.setInterface(DemoService.class);
reference.setUrl("dubbo://" + NetUtils.getLocalHost() + ":20880?" + DemoService.class.getName());
DubboBootstrap bootstrap = DubboBootstrap.getInstance()
.application(application)
.service(service)
.reference(reference)
.start();
Assert.assertEquals("true", reference.toUrls().get(0).getParameter("lazy"));
</code></pre></div>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">Expected "lazy" : true</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Actual "lazy": false</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: macOS Sierra 10.12</li>
<li>Java version: 1.8.0_111</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>start provider and specific async as true, <dubbo:service interface="" async="true"></li>
<li>start consumer without async specific.</li>
<li>send a request</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?<br>
We are able to get the value from the CompletableFuture.<br>
service.sayHello(input);<br>
CompletableFuture future = RpcContext.getContext().getCompletableFuture();<br>
future.whenComplete((retValue, error) -> {<br>
System.out.println(retValue);<br>
});</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?<br>
It throws NPE exception as following, as we are not able to get the future.<br>
Exception in thread "main" java.lang.NullPointerException</p>
<p dir="auto">With investigation, it's an issue in RegistryDirectory.<br>
Also, we are able to get async=true from providerUrl, but the querymap's async is false from consumer side. It changed the async from true to false, and caused the issue.</p>
<p dir="auto">private URL mergeUrl(URL providerUrl) {<br>
providerUrl = ClusterUtils.mergeUrl(providerUrl, queryMap);<br>
}</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | 0 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">It would be a nice feature to exclude some programs to show up in the list. To give you a concrete case, I write "steam" and two applications with the same name appear. The first one doesn't seem to work, but the second one works.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6953099/84563519-cb750480-ad64-11ea-82ba-466d5c6be928.png"><img src="https://user-images.githubusercontent.com/6953099/84563519-cb750480-ad64-11ea-82ba-466d5c6be928.png" alt="image" style="max-width: 100%;"></a></p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">The main idea is to have some "remove from search" button that will never show again that result.</p>
<p dir="auto">Or to show it in a separate "show more (x) hidden results" list.</p>
<p dir="auto">Sorry if I didn't explain it very well. I hope you got the idea.</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">The run command would be truly ubiquitous if it translated URLs to an action to open the user's default browser.</p>
<p dir="auto">'www.microsoft.com' should navigate to <a href="https://www.microsoft.com" rel="nofollow">https://www.microsoft.com</a>. Entries which start with www denote a url. Assume navigation with the https protocol.</p> | 0 |
<p dir="auto">A require hook, when installed, will hook into the require-function, replace the current functionality, to make TypeScript compiler transpile files on-the-fly (through Node.js) when required.</p>
<p dir="auto">Should be configurable.</p>
<p dir="auto">Babel (formerly e6to5) has this feature: <a href="https://babeljs.io/docs/usage/require/" rel="nofollow">https://babeljs.io/docs/usage/require/</a></p>
<p dir="auto">Required for a Node CLI <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="60147673" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2231" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2231/hovercard" href="https://github.com/microsoft/TypeScript/issues/2231">#2231</a>.</p> | <h1 dir="auto">Proposal</h1>
<p dir="auto">You simply do <code class="notranslate">require('typescript').register()</code> and then all <code class="notranslate">require</code> calls e.g. <code class="notranslate">var foo = require('./foo')</code> would load <code class="notranslate">foo.ts</code> if <code class="notranslate">foo.js/json/etc</code> are not found.</p>
<p dir="auto">This would mean we would compile in-memory and completely skip all type checking and do a fast emit. This would however greatly help increase <code class="notranslate">.ts</code> adaption IMHO.</p>
<p dir="auto">Currently there is a userland maintained : <a href="https://github.com/TypeStrong/ts-node">https://github.com/TypeStrong/ts-node</a></p>
<h1 dir="auto">Motivation</h1>
<p dir="auto">CoffeeScript supports this via <code class="notranslate">require('coffee-script').register();</code> (synonym for <code class="notranslate">require('coffee-script/register');</code>) so that once you call this function it patches <code class="notranslate">require</code> to support <code class="notranslate">.coffee</code> files.</p>
<p dir="auto">E.g.</p>
<ul dir="auto">
<li>Atom does this for coffee : <a href="https://github.com/atom/atom/blob/a9d215970f042f9454ff74bcfb678664a582f8e2/static/index.js#L24-L26">here</a> and <a href="https://github.com/atom/atom/blob/a9d215970f042f9454ff74bcfb678664a582f8e2/static/index.js#L43-L45">here</a></li>
<li>Grunt does this <a href="https://github.com/gruntjs/grunt/blob/d47c75543b09218be95869eed4c285d6044b538b/lib/grunt.js#L15-L16">here</a></li>
</ul>
<p dir="auto">The implementation for coffeescript can be found here : <a href="http://coffeescript.org/documentation/docs/register.html" rel="nofollow">http://coffeescript.org/documentation/docs/register.html</a></p>
<h1 dir="auto">Where in <code class="notranslate">typescript</code></h1>
<p dir="auto">This can potentially be done in an external NPM package, but:</p>
<ul dir="auto">
<li>having it officially support would enhance adaption.</li>
<li>give better statistics for <code class="notranslate">typescript</code> npm package as users would start <code class="notranslate">require</code>ing <code class="notranslate">typescript</code> (coffeescript downloads <a href="https://www.npmjs.com/package/coffee-script" rel="nofollow">https://www.npmjs.com/package/coffee-script</a>)</li>
</ul> | 1 |
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<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">openstack swift<br>
openstack swift_server_url</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">v1.4.3</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
</ul>
<p dir="auto">OVH / OpenStack</p>
<ul dir="auto">
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
</ul>
<p dir="auto">NAME="Ubuntu"<br>
VERSION="16.04.1 LTS (Xenial Xerus)"<br>
ID=ubuntu<br>
ID_LIKE=debian<br>
PRETTY_NAME="Ubuntu 16.04.1 LTS"<br>
VERSION_ID="16.04"<br>
HOME_URL="<a href="http://www.ubuntu.com/" rel="nofollow">http://www.ubuntu.com/</a>"<br>
SUPPORT_URL="<a href="http://help.ubuntu.com/" rel="nofollow">http://help.ubuntu.com/</a>"<br>
BUG_REPORT_URL="<a href="http://bugs.launchpad.net/ubuntu/" rel="nofollow">http://bugs.launchpad.net/ubuntu/</a>"<br>
UBUNTU_CODENAME=xenial</p>
<ul dir="auto">
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
</ul>
<p dir="auto">Linux my-laptop 4.4.0-42-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35512112" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/62" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/62/hovercard" href="https://github.com/kubernetes/kubernetes/issues/62">#62</a>-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</p>
<ul dir="auto">
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Running ./cluster/kube-up.sh raises an error with:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="usage: openstack stack create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [-e <environment>]
[--timeout <timeout>] [--pre-create <resource>]
[--enable-rollback] [--parameter <key=value>]
[--parameter-file <key=file>] [--wait]
[--tags <tag1,tag2...>] [--dry-run] -t
<template>
<stack-name>
openstack stack create: error: unrecognized arguments: https://storage.sbg1.cloud.ovh.net/v1/AUTH_123456789/kubernetes/kubernetes-salt.tar.gz https://storage.bhs1.cloud.ovh.net/v1/AUTH_123456789 https://storage.sbg1.cloud.ovh.net/v1/AUTH_123456789/kubernetes/kubernetes-server.tar.gz KubernetesStack"><pre class="notranslate">usage: openstack stack create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <span class="pl-k"><</span>integer<span class="pl-k">></span>] [--noindent]
[--prefix PREFIX] [-e <span class="pl-k"><</span>environment<span class="pl-k">></span>]
[--timeout <span class="pl-k"><</span>timeout<span class="pl-k">></span>] [--pre-create <span class="pl-k"><</span>resource<span class="pl-k">></span>]
[--enable-rollback] [--parameter <span class="pl-k"><</span>key<span class="pl-k">=</span>value<span class="pl-k">></span>]
[--parameter-file <span class="pl-k"><</span>key<span class="pl-k">=</span>file<span class="pl-k">></span>] [--wait]
[--tags <span class="pl-k"><</span>tag1,tag2...<span class="pl-k">></span>] [--dry-run] -t
<span class="pl-k"><</span>template<span class="pl-k">></span>
<span class="pl-k"><</span>stack-name<span class="pl-k">></span>
openstack stack create: error: unrecognized arguments: https://storage.sbg1.cloud.ovh.net/v1/AUTH_123456789/kubernetes/kubernetes-salt.tar.gz https://storage.bhs1.cloud.ovh.net/v1/AUTH_123456789 https://storage.sbg1.cloud.ovh.net/v1/AUTH_123456789/kubernetes/kubernetes-server.tar.gz KubernetesStack</pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">The command to succeed!</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto">You probably need a setup on OVH which is not very minimal…However see below.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">I've investigated a bit and found that the bug came from <code class="notranslate">cluster/openstack-heat/util.sh</code> trying to automatically detect swift url as it wasn't specified. For that it uses the command <code class="notranslate">openstack catalog show object-store</code> which, in my case, returns three results. I think a simple fix would be to only get the first one by piping <code class="notranslate">head -n 1</code></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SWIFT_SERVER_URL=$(openstack catalog show object-store --format value | egrep -o "publicURL: (.+)$" | cut -d" " -f2 | head -n 1)"><pre class="notranslate">SWIFT_SERVER_URL=<span class="pl-s"><span class="pl-pds">$(</span>openstack catalog show object-store --format value <span class="pl-k">|</span> egrep -o <span class="pl-s"><span class="pl-pds">"</span>publicURL: (.+)$<span class="pl-pds">"</span></span> <span class="pl-k">|</span> cut -d<span class="pl-s"><span class="pl-pds">"</span> <span class="pl-pds">"</span></span> -f2 <span class="pl-k">|</span> head -n 1<span class="pl-pds">)</span></span></pre></div>
<p dir="auto">If that sounds good to you, I'll send a PR.</p> | <p dir="auto">We have a number of tests which randomize values for API types, and each of them has their own table of functions for "special types" that have limited valid values.</p>
<p dir="auto">pkg/api/serialization_test.go<br>
pkg/api/validation/schema_test.go<br>
pkg/api/latest/latest_test.go</p>
<p dir="auto">These should all get folded together.</p> | 0 |
<p dir="auto">The format macros seem to be having some trouble parsing an argument that contains <code class="notranslate">super ::</code> and <code class="notranslate">self ::</code> paths, where the white space is significant. Here's an example:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn bar() -> int { 5 }
mod foo {
pub fn foo1() { let _ = format!("{}", super :: bar()); }
pub fn foo2() { println!("{}", super :: bar()); }
pub fn foo3() { panic!("{}", super :: bar()); }
pub fn foo4() { 5 }
pub fn foo5() { panic!("{}", self :: foo4()); }
}
fn main() {
foo::foo1();
foo::foo2();
foo::foo3();
println!("{}", foo :: foo4())
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -> <span class="pl-smi">int</span> <span class="pl-kos">{</span> <span class="pl-c1">5</span> <span class="pl-kos">}</span>
<span class="pl-k">mod</span> foo <span class="pl-kos">{</span>
<span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">foo1</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-en">format</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, <span class="pl-k">super</span> :: bar<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">pub</span> <span class="pl-k">fn</span> <span class="pl-en">foo2</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, <span class="pl-k">super</span> :: bar<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">pub</span> <span class="pl-k">fn</span> <span class="pl-en">foo3</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">panic</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, <span class="pl-k">super</span> :: bar<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">pub</span> <span class="pl-k">fn</span> <span class="pl-en">foo4</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c1">5</span> <span class="pl-kos">}</span>
<span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">foo5</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">panic</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, <span class="pl-smi">self</span> :: foo4<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">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
foo<span class="pl-kos">::</span><span class="pl-en">foo1</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
foo<span class="pl-kos">::</span><span class="pl-en">foo2</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
foo<span class="pl-kos">::</span><span class="pl-en">foo3</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, foo :: foo4<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">Errors with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test.rs:4:43: 4:48 error: expected identifier, found keyword `super`
test.rs:4 pub fn foo1() { let _ = format!("{}", super :: bar()); }
^~~~~
test.rs:5:36: 5:41 error: expected identifier, found keyword `super`
test.rs:5 pub fn foo2() { println!("{}", super :: bar()); }
^~~~~
test.rs:6:34: 6:39 error: expected identifier, found keyword `super`
test.rs:6 pub fn foo3() { panic!("{}", super :: bar()); }
^~~~~
test.rs:8:21: 8:50 error: expected token: `,`
test.rs:8 pub fn foo5() { panic!("{}", self :: foo4()); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~"><pre class="notranslate"><code class="notranslate">test.rs:4:43: 4:48 error: expected identifier, found keyword `super`
test.rs:4 pub fn foo1() { let _ = format!("{}", super :: bar()); }
^~~~~
test.rs:5:36: 5:41 error: expected identifier, found keyword `super`
test.rs:5 pub fn foo2() { println!("{}", super :: bar()); }
^~~~~
test.rs:6:34: 6:39 error: expected identifier, found keyword `super`
test.rs:6 pub fn foo3() { panic!("{}", super :: bar()); }
^~~~~
test.rs:8:21: 8:50 error: expected token: `,`
test.rs:8 pub fn foo5() { panic!("{}", self :: foo4()); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</code></pre></div>
<p dir="auto">Notice that a regular module paths work, but the special <code class="notranslate">super</code> and <code class="notranslate">self</code> tokens do not.</p> | <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub struct A;
mod test {
use super :: A;
}"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">struct</span> <span class="pl-smi">A</span><span class="pl-kos">;</span>
<span class="pl-k">mod</span> test <span class="pl-kos">{</span>
<span class="pl-k">use</span> <span class="pl-k">super</span> <span class="pl-kos">::</span> <span class="pl-v">A</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="foo.rs:4:9: 4:14 error: found `super` in ident position
foo.rs:4 use super :: A;
^~~~~
error: aborting due to previous error "><pre class="notranslate"><code class="notranslate">foo.rs:4:9: 4:14 error: found `super` in ident position
foo.rs:4 use super :: A;
^~~~~
error: aborting due to previous error
</code></pre></div> | 1 |
<p dir="auto"><strong>Apache Airflow version</strong>:<br>
1.10.10</p>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Hi All,<br>
when trying to trigger my dag which has a two-level nested subdags from another dag</p>
<p dir="auto">the task is failing with an error that one of the subdags key already exist although the dag is eventually get triggered,</p>
<p dir="auto">from the airflow code, I saw that when calling main_dag.subdags it returns all the subdags inside including the ones that are nested on its subdags,</p>
<p dir="auto">so when I run the TriggerDagRunOperator it tries to trigger the second level subdags twice due to this airflow code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" while dags_to_trigger:
dag = dags_to_trigger.pop()
trigger = dag.create_dagrun(
run_id=run_id,
execution_date=execution_date,
state=State.RUNNING,
conf=run_conf,
external_trigger=True,
)
triggers.append(trigger)
if dag.subdags:
dags_to_trigger.extend(dag.subdags)"><pre class="notranslate"> <span class="pl-k">while</span> <span class="pl-s1">dags_to_trigger</span>:
<span class="pl-s1">dag</span> <span class="pl-c1">=</span> <span class="pl-s1">dags_to_trigger</span>.<span class="pl-en">pop</span>()
<span class="pl-s1">trigger</span> <span class="pl-c1">=</span> <span class="pl-s1">dag</span>.<span class="pl-en">create_dagrun</span>(
<span class="pl-s1">run_id</span><span class="pl-c1">=</span><span class="pl-s1">run_id</span>,
<span class="pl-s1">execution_date</span><span class="pl-c1">=</span><span class="pl-s1">execution_date</span>,
<span class="pl-s1">state</span><span class="pl-c1">=</span><span class="pl-v">State</span>.<span class="pl-v">RUNNING</span>,
<span class="pl-s1">conf</span><span class="pl-c1">=</span><span class="pl-s1">run_conf</span>,
<span class="pl-s1">external_trigger</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
)
<span class="pl-s1">triggers</span>.<span class="pl-en">append</span>(<span class="pl-s1">trigger</span>)
<span class="pl-k">if</span> <span class="pl-s1">dag</span>.<span class="pl-s1">subdags</span>:
<span class="pl-s1">dags_to_trigger</span>.<span class="pl-en">extend</span>(<span class="pl-s1">dag</span>.<span class="pl-s1">subdags</span>)</pre></div>
<p dir="auto">under airflow/api/common/experimental/trigger_dag.py:91</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">the TriggerDagRunOperator should finish with success state</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<p dir="auto">Trigger Dag code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from airflow import DAG
from airflow.operators.dagrun_operator import TriggerDagRunOperator
from airflow.utils.dates import days_ago
interval = '30 8 * * *'
default_args = {
'owner': 'airflow',
"depends_on_past": False,
"start_date": days_ago(1),
"catchup": False,
}
with DAG("TriggerExample",
default_args=default_args,
catchup=False,
schedule_interval=interval,
max_active_runs=1,
) as dag:
dag_trigger_task = TriggerDagRunOperator(
task_id='trigger_dag',
trigger_dag_id='TriggeredDag',
execution_date='{{ ds }}')"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">airflow</span> <span class="pl-k">import</span> <span class="pl-v">DAG</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">dagrun_operator</span> <span class="pl-k">import</span> <span class="pl-v">TriggerDagRunOperator</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">dates</span> <span class="pl-k">import</span> <span class="pl-s1">days_ago</span>
<span class="pl-s1">interval</span> <span class="pl-c1">=</span> <span class="pl-s">'30 8 * * *'</span>
<span class="pl-s1">default_args</span> <span class="pl-c1">=</span> {
<span class="pl-s">'owner'</span>: <span class="pl-s">'airflow'</span>,
<span class="pl-s">"depends_on_past"</span>: <span class="pl-c1">False</span>,
<span class="pl-s">"start_date"</span>: <span class="pl-en">days_ago</span>(<span class="pl-c1">1</span>),
<span class="pl-s">"catchup"</span>: <span class="pl-c1">False</span>,
}
<span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s">"TriggerExample"</span>,
<span class="pl-s1">default_args</span><span class="pl-c1">=</span><span class="pl-s1">default_args</span>,
<span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,
<span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-s1">interval</span>,
<span class="pl-s1">max_active_runs</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
) <span class="pl-k">as</span> <span class="pl-s1">dag</span>:
<span class="pl-s1">dag_trigger_task</span> <span class="pl-c1">=</span> <span class="pl-v">TriggerDagRunOperator</span>(
<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">'trigger_dag'</span>,
<span class="pl-s1">trigger_dag_id</span><span class="pl-c1">=</span><span class="pl-s">'TriggeredDag'</span>,
<span class="pl-s1">execution_date</span><span class="pl-c1">=</span><span class="pl-s">'{{ ds }}'</span>)</pre></div>
<p dir="auto">Triggered Dag code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.subdag_operator import SubDagOperator
from airflow.utils.dates import days_ago
default_args = {
'owner': 'airflow',
"depends_on_past": False,
"start_date": days_ago(1),
"catchup": False,
}
def create_sub_dag2(parent_dag, name):
dag_name = "{}.{}".format(parent_dag.dag_id, name)
with DAG(dag_name,
default_args=default_args,
catchup=False,
schedule_interval=None,
max_active_runs=1,
) as dag:
BashOperator(
task_id='print_date',
bash_command='date',
)
return SubDagOperator(
subdag=dag,
task_id=name)
def create_sub_dag(parent_dag, name):
dag_name = "{}.{}".format(parent_dag.dag_id, name)
with DAG(dag_name,
default_args=default_args,
catchup=False,
schedule_interval=None,
max_active_runs=1,
) as dag:
t1 = BashOperator(
task_id='print_date',
bash_command='date',
)
t2 = create_sub_dag2(dag, "sub2")
t1 >> t2
return SubDagOperator(
subdag=dag,
task_id=name)
with DAG("TriggeredDag",
default_args=default_args,
catchup=False,
schedule_interval=None,
max_active_runs=1,
) as dag:
t1 = BashOperator(
task_id='print_date',
bash_command='date',
)
t2 = create_sub_dag(dag, "sub1")
t1 >> t2"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">airflow</span> <span class="pl-k">import</span> <span class="pl-v">DAG</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">bash_operator</span> <span class="pl-k">import</span> <span class="pl-v">BashOperator</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">subdag_operator</span> <span class="pl-k">import</span> <span class="pl-v">SubDagOperator</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">dates</span> <span class="pl-k">import</span> <span class="pl-s1">days_ago</span>
<span class="pl-s1">default_args</span> <span class="pl-c1">=</span> {
<span class="pl-s">'owner'</span>: <span class="pl-s">'airflow'</span>,
<span class="pl-s">"depends_on_past"</span>: <span class="pl-c1">False</span>,
<span class="pl-s">"start_date"</span>: <span class="pl-en">days_ago</span>(<span class="pl-c1">1</span>),
<span class="pl-s">"catchup"</span>: <span class="pl-c1">False</span>,
}
<span class="pl-k">def</span> <span class="pl-en">create_sub_dag2</span>(<span class="pl-s1">parent_dag</span>, <span class="pl-s1">name</span>):
<span class="pl-s1">dag_name</span> <span class="pl-c1">=</span> <span class="pl-s">"{}.{}"</span>.<span class="pl-en">format</span>(<span class="pl-s1">parent_dag</span>.<span class="pl-s1">dag_id</span>, <span class="pl-s1">name</span>)
<span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s1">dag_name</span>,
<span class="pl-s1">default_args</span><span class="pl-c1">=</span><span class="pl-s1">default_args</span>,
<span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,
<span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-c1">None</span>,
<span class="pl-s1">max_active_runs</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
) <span class="pl-k">as</span> <span class="pl-s1">dag</span>:
<span class="pl-v">BashOperator</span>(
<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">'print_date'</span>,
<span class="pl-s1">bash_command</span><span class="pl-c1">=</span><span class="pl-s">'date'</span>,
)
<span class="pl-k">return</span> <span class="pl-v">SubDagOperator</span>(
<span class="pl-s1">subdag</span><span class="pl-c1">=</span><span class="pl-s1">dag</span>,
<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s1">name</span>)
<span class="pl-k">def</span> <span class="pl-en">create_sub_dag</span>(<span class="pl-s1">parent_dag</span>, <span class="pl-s1">name</span>):
<span class="pl-s1">dag_name</span> <span class="pl-c1">=</span> <span class="pl-s">"{}.{}"</span>.<span class="pl-en">format</span>(<span class="pl-s1">parent_dag</span>.<span class="pl-s1">dag_id</span>, <span class="pl-s1">name</span>)
<span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s1">dag_name</span>,
<span class="pl-s1">default_args</span><span class="pl-c1">=</span><span class="pl-s1">default_args</span>,
<span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,
<span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-c1">None</span>,
<span class="pl-s1">max_active_runs</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
) <span class="pl-k">as</span> <span class="pl-s1">dag</span>:
<span class="pl-s1">t1</span> <span class="pl-c1">=</span> <span class="pl-v">BashOperator</span>(
<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">'print_date'</span>,
<span class="pl-s1">bash_command</span><span class="pl-c1">=</span><span class="pl-s">'date'</span>,
)
<span class="pl-s1">t2</span> <span class="pl-c1">=</span> <span class="pl-en">create_sub_dag2</span>(<span class="pl-s1">dag</span>, <span class="pl-s">"sub2"</span>)
<span class="pl-s1">t1</span> <span class="pl-c1">>></span> <span class="pl-s1">t2</span>
<span class="pl-k">return</span> <span class="pl-v">SubDagOperator</span>(
<span class="pl-s1">subdag</span><span class="pl-c1">=</span><span class="pl-s1">dag</span>,
<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s1">name</span>)
<span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s">"TriggeredDag"</span>,
<span class="pl-s1">default_args</span><span class="pl-c1">=</span><span class="pl-s1">default_args</span>,
<span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,
<span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-c1">None</span>,
<span class="pl-s1">max_active_runs</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
) <span class="pl-k">as</span> <span class="pl-s1">dag</span>:
<span class="pl-s1">t1</span> <span class="pl-c1">=</span> <span class="pl-v">BashOperator</span>(
<span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">'print_date'</span>,
<span class="pl-s1">bash_command</span><span class="pl-c1">=</span><span class="pl-s">'date'</span>,
)
<span class="pl-s1">t2</span> <span class="pl-c1">=</span> <span class="pl-en">create_sub_dag</span>(<span class="pl-s1">dag</span>, <span class="pl-s">"sub1"</span>)
<span class="pl-s1">t1</span> <span class="pl-c1">>></span> <span class="pl-s1">t2</span></pre></div>
<p dir="auto"><strong>Failed operator log</strong>:</p>
<p dir="auto">[2021-04-20 20:11:18,501] {taskinstance.py:900} INFO - Executing <Task(TriggerDagRunOperator): trigger_dag> on 2021-04-19T08:30:00+00:00<br>
[2021-04-20 20:11:18,503] {standard_task_runner.py:53} INFO - Started process 62669 to run task<br>
[2021-04-20 20:11:18,633] {logging_mixin.py:112} INFO - Running %s on host %s <TaskInstance: TriggerExample.trigger_dag 2021-04-19T08:30:00+00:00 [running]> ip-192-168-1-10.ec2.internal<br>
[2021-04-20 20:11:18,692] {logging_mixin.py:112} INFO - [2021-04-20 20:11:18,691] {dagbag.py:396} INFO - Filling up the DagBag from /*****/airflow/dags/triggeredDag.py<br>
[2021-04-20 20:11:18,880] {taskinstance.py:1145} ERROR - (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "dag_run_dag_id_run_id_key"<br>
DETAIL: Key (dag_id, run_id)=(TriggeredDag.sub1.sub2, trig__2021-04-19) already exists.</p>
<p dir="auto">[SQL: INSERT INTO dag_run (dag_id, execution_date, start_date, end_date, state, run_id, external_trigger, conf) VALUES (%(dag_id)s, %(execution_date)s, %(start_date)s, %(end_date)s, %(state)s, %(run_id)s, %(external_trigger)s, %(conf)s) RETURNING dag_run.id]<br>
[parameters: {'dag_id': 'TriggeredDag.sub1.sub2', 'execution_date': <Pendulum [2021-04-19T00:00:00+00:00]>, 'start_date': datetime.datetime(2021, 4, 20, 17, 11, 18, 875681, tzinfo=<Timezone [UTC]>), 'end_date': None, 'state': 'running', 'run_id': 'trig__2021-04-19', 'external_trigger': True, 'conf': None}]</p>
<p dir="auto">am I missing something? or is this a real bug?</p> | <p dir="auto"><strong>Apache Airflow version</strong>: 2.0.0<br>
<strong>Environment</strong>: Ubuntu 20.04 LTS, Python 3.8.6 via pyenv, in a virtual env via Poetry</p>
<ul dir="auto">
<li><strong>OS</strong> (e.g. from /etc/os-release): 20.04.1 LTS (Focal Fossa)</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): Linux DESKTOP-QBFDUA0 4.19.104-microsoft-standard <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="69689814" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/1" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/1/hovercard" href="https://github.com/apache/airflow/pull/1">#1</a> SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux</li>
<li><strong>Install tools</strong>: Following steps in <a href="https://airflow.apache.org/docs/apache-airflow/stable/start.html" rel="nofollow">https://airflow.apache.org/docs/apache-airflow/stable/start.html</a></li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Following the quick start (<a href="https://airflow.apache.org/docs/apache-airflow/stable/start.html" rel="nofollow">https://airflow.apache.org/docs/apache-airflow/stable/start.html</a>), I encountered an error. My steps:</p>
<ul dir="auto">
<li>Run <code class="notranslate">pyenv global 3.8.6</code> to set my Python version to 3.8.6, since I see that Airflow doesn't yet support 3.9 explicitly.</li>
<li>Create an empty directory to hold a test project for Airflow. I intend to keep my Poetry config, DAGs, and any files the quickstart creates here.</li>
<li>cd into that directory.</li>
<li>Run <code class="notranslate">poetry init</code> to begin the project. During the interactive prompt, add <code class="notranslate">apache-airflow</code> as a dependency.</li>
<li>Run <code class="notranslate">poetry install</code> to install the Airflow dependency.</li>
<li>Run <code class="notranslate">poetry run airflow db init</code> to run the Airflow init command in a new virtual env managed by Poetry.</li>
</ul>
<p dir="auto">I saw the following error at the end:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: object of type 'map' has no len()"><pre class="notranslate"><code class="notranslate">TypeError: object of type 'map' has no len()
</code></pre></div>
<p dir="auto">The error was at the end of a long stack trace. The complete output of running that command was:</p>
<details>
DB: sqlite:///./airflow.db
[2021-01-15 19:51:32,719] {db.py:678} INFO - Creating tables
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade 849da589634d -> 2c6edca13270, Resource based permissions.
Traceback (most recent call last):
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/bin/airflow", line 8, in
sys.exit(main())
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/__main__.py", line 40, in main
args.func(args)
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/cli/cli_parser.py", line 48, in command
return func(*args, **kwargs)
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/cli/commands/db_command.py", line 31, in initdb
db.initdb()
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/utils/db.py", line 549, in initdb
upgradedb()
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/utils/db.py", line 688, in upgradedb
command.upgrade(config, 'heads')
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/alembic/command.py", line 298, in upgrade
script.run_env()
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/alembic/script/base.py", line 489, in run_env
util.load_python_file(self.dir, "env.py")
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file
module = load_module_py(module_id, path)
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/alembic/util/compat.py", line 184, in load_module_py
spec.loader.exec_module(module)
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/migrations/env.py", line 108, in
run_migrations_online()
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/migrations/env.py", line 102, in run_migrations_online
context.run_migrations()
File "", line 8, in run_migrations
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/alembic/runtime/environment.py", line 846, in run_migrations
self.get_context().run_migrations(**kw)
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/alembic/runtime/migration.py", line 522, in run_migrations
step.migration_fn(**kw)
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/migrations/versions/2c6edca13270_resource_based_permissions.py", line 310, in upgrade
remap_permissions()
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/migrations/versions/2c6edca13270_resource_based_permissions.py", line 287, in remap_permissions
appbuilder = create_app(config={'FAB_UPDATE_PERMS': False}).appbuilder
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/www/app.py", line 113, in create_app
init_appbuilder(flask_app)
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/www/extensions/init_appbuilder.py", line 26, in init_appbuilder
from airflow.www.security import AirflowSecurityManager
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/airflow/www/security.py", line 24, in
from flask_appbuilder.security.sqla.manager import SecurityManager
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/flask_appbuilder/security/sqla/manager.py", line 19, in
from ..manager import BaseSecurityManager
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/flask_appbuilder/security/manager.py", line 13, in
from flask_openid import OpenID
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/flask_openid.py", line 26, in
from openid.store.filestore import FileOpenIDStore
File "/home/matt/.cache/pypoetry/virtualenvs/airflow-test-nj8CH3s_-py3.8/lib/python3.8/site-packages/openid/__init__.py", line 52, in
if len(version_info) != 3:
TypeError: object of type 'map' has no len()
</details>
<p dir="auto">(sorry, code formatting doesn't appear to work with <code class="notranslate"><details></code>)</p>
<p dir="auto">Notably, if I repeat the above steps except that instead of using pyenv to control my Python version and Poetry to control a virtual environment, I use pyenv to control my Python version <em>but do not</em> use a virtual environment, instead installing the Airflow dependency to my Python 3.8.6 shim managed by pyenv, it works. I can run <code class="notranslate">airflow db init</code> successfully:</p>
<details>
~ > mkdir airflow-test-no-virtual-env
~ > export AIRFLOW_HOME=~/airflow-test-no-virtual-env/
~ > pip install apache-airflow
Collecting apache-airflow
Downloading apache_airflow-2.0.0-py3-none-any.whl (4.5 MB)
|████████████████████████████████| 4.5 MB 3.9 MB/s
Collecting jsonschema~=3.0
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 6.2 MB/s
Collecting dill<0.4,>=0.2.2
Downloading dill-0.3.3-py2.py3-none-any.whl (81 kB)
|████████████████████████████████| 81 kB 13.4 MB/s
Collecting connexion[flask,swagger-ui]<3,>=2.6.0
Downloading connexion-2.7.0-py2.py3-none-any.whl (77 kB)
|████████████████████████████████| 77 kB 9.6 MB/s
Collecting gunicorn<20.0,>=19.5.0
Downloading gunicorn-19.10.0-py2.py3-none-any.whl (113 kB)
|████████████████████████████████| 113 kB 80.3 MB/s
Collecting python-nvd3~=0.15.0
Downloading python-nvd3-0.15.0.tar.gz (31 kB)
Collecting flask-caching<2.0.0,>=1.5.0
Downloading Flask_Caching-1.9.0-py2.py3-none-any.whl (33 kB)
Collecting funcsigs<2.0.0,>=1.0.0
Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Collecting flask-appbuilder~=3.1.1
Downloading Flask_AppBuilder-3.1.1-py3-none-any.whl (1.7 MB)
|████████████████████████████████| 1.7 MB 62.0 MB/s
Collecting setproctitle<2,>=1.1.8
Downloading setproctitle-1.2.1-cp38-cp38-manylinux1_x86_64.whl (36 kB)
Collecting tzlocal<2.0.0,>=1.4
Downloading tzlocal-1.5.1.tar.gz (16 kB)
Collecting apache-airflow-providers-sqlite
Downloading apache_airflow_providers_sqlite-1.0.0-py3-none-any.whl (15 kB)
Collecting thrift>=0.9.2
Downloading thrift-0.13.0.tar.gz (59 kB)
|████████████████████████████████| 59 kB 11.2 MB/s
Collecting apache-airflow-providers-ftp
Downloading apache_airflow_providers_ftp-1.0.0-py3-none-any.whl (17 kB)
Collecting python-daemon>=2.1.1
Downloading python_daemon-2.2.4-py2.py3-none-any.whl (35 kB)
Collecting rich==9.2.0
Downloading rich-9.2.0-py3-none-any.whl (164 kB)
|████████████████████████████████| 164 kB 68.3 MB/s
Collecting apache-airflow-providers-http
Downloading apache_airflow_providers_http-1.0.0-py3-none-any.whl (24 kB)
Collecting psutil<6.0.0,>=4.2.0
Downloading psutil-5.8.0-cp38-cp38-manylinux2010_x86_64.whl (296 kB)
|████████████████████████████████| 296 kB 66.5 MB/s
Collecting werkzeug>=1.0.1,~=1.0
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
|████████████████████████████████| 298 kB 94.3 MB/s
Collecting croniter<0.4,>=0.3.17
Downloading croniter-0.3.37-py2.py3-none-any.whl (13 kB)
Collecting colorlog==4.0.2
Downloading colorlog-4.0.2-py2.py3-none-any.whl (17 kB)
Collecting python-dateutil<3,>=2.3
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting termcolor>=1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting argcomplete~=1.10
Downloading argcomplete-1.12.2-py2.py3-none-any.whl (38 kB)
Collecting importlib-resources~=1.4
Downloading importlib_resources-1.5.0-py2.py3-none-any.whl (21 kB)
Collecting flask<2.0,>=1.1.0
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
|████████████████████████████████| 94 kB 4.3 MB/s
Collecting sqlalchemy-jsonfield~=1.0
Downloading SQLAlchemy_JSONField-1.0.0-py3-none-any.whl (10 kB)
Collecting iso8601>=0.1.12
Downloading iso8601-0.1.13-py2.py3-none-any.whl (9.3 kB)
Collecting cattrs<2.0,>=1.0; python_version > "3.6"
Downloading cattrs-1.1.2-py3-none-any.whl (17 kB)
Collecting flask-wtf<0.15,>=0.14.3
Downloading Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting marshmallow-oneofschema>=2.0.1
Downloading marshmallow_oneofschema-2.1.0-py2.py3-none-any.whl (5.7 kB)
Collecting tenacity~=6.2.0
Downloading tenacity-6.2.0-py2.py3-none-any.whl (24 kB)
Collecting requests<2.24.0,>=2.20.0
Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 8.7 MB/s
Collecting graphviz>=0.12
Downloading graphviz-0.16-py2.py3-none-any.whl (19 kB)
Collecting json-merge-patch==0.2
Downloading json-merge-patch-0.2.tar.gz (3.1 kB)
Collecting lazy-object-proxy<1.5.0
Downloading lazy_object_proxy-1.4.3-cp38-cp38-manylinux1_x86_64.whl (58 kB)
|████████████████████████████████| 58 kB 8.1 MB/s
Collecting python-slugify<5.0,>=3.0.0
Downloading python-slugify-4.0.1.tar.gz (11 kB)
Collecting importlib-metadata~=1.7; python_version < "3.9"
Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting pendulum~=2.0
Downloading pendulum-2.1.2-cp38-cp38-manylinux1_x86_64.whl (155 kB)
|████████████████████████████████| 155 kB 71.0 MB/s
Collecting cryptography>=0.9.3
Downloading cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB)
|████████████████████████████████| 2.6 MB 73.6 MB/s
Collecting attrs<21.0,>=20.0
Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
|████████████████████████████████| 49 kB 9.4 MB/s
Collecting flask-login<0.5,>=0.3
Downloading Flask-Login-0.4.1.tar.gz (14 kB)
Collecting markupsafe<2.0,>=1.1.1
Downloading MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl (32 kB)
Collecting lockfile>=0.12.2
Downloading lockfile-0.12.2-py2.py3-none-any.whl (13 kB)
Collecting urllib3<1.26
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
|████████████████████████████████| 127 kB 89.0 MB/s
Collecting itsdangerous>=1.1.0
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting unicodecsv>=0.14.1
Downloading unicodecsv-0.14.1.tar.gz (10 kB)
Collecting alembic<2.0,>=1.2
Downloading alembic-1.4.3-py2.py3-none-any.whl (159 kB)
|████████████████████████████████| 159 kB 82.1 MB/s
Collecting tabulate<0.9,>=0.7.5
Downloading tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting pygments<3.0,>=2.0.1
Downloading Pygments-2.7.4-py3-none-any.whl (950 kB)
|████████████████████████████████| 950 kB 62.8 MB/s
Collecting cached-property~=1.5
Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting pandas<2.0,>=0.17.1
Downloading pandas-1.2.0-cp38-cp38-manylinux1_x86_64.whl (9.7 MB)
|████████████████████████████████| 9.7 MB 45.8 MB/s
Collecting apache-airflow-providers-imap
Downloading apache_airflow_providers_imap-1.0.0-py3-none-any.whl (18 kB)
Collecting flask-swagger==0.2.13
Downloading flask-swagger-0.2.13.tar.gz (8.0 kB)
Collecting jinja2<2.12.0,>=2.10.1
Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
|████████████████████████████████| 125 kB 37.4 MB/s
Collecting sqlalchemy<2,>=1.3.18
Downloading SQLAlchemy-1.3.22-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 80.4 MB/s
Collecting markdown<4.0,>=2.5.2
Downloading Markdown-3.3.3-py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 9.9 MB/s
Collecting six>=1.11.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyrsistent>=0.14.0
Downloading pyrsistent-0.17.3.tar.gz (106 kB)
|████████████████████████████████| 106 kB 66.7 MB/s
Requirement already satisfied: setuptools in ./.pyenv/versions/3.8.6/lib/python3.8/site-packages (from jsonschema~=3.0->apache-airflow) (49.2.1)
Collecting PyYAML>=5.1
Downloading PyYAML-5.3.1.tar.gz (269 kB)
|████████████████████████████████| 269 kB 87.8 MB/s
Collecting openapi-spec-validator>=0.2.4
Downloading openapi_spec_validator-0.2.9-py3-none-any.whl (25 kB)
Collecting inflection>=0.3.1
Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting clickclick>=1.2
Downloading clickclick-20.10.2-py2.py3-none-any.whl (7.4 kB)
Collecting swagger-ui-bundle>=0.0.2; extra == "swagger-ui"
Downloading swagger_ui_bundle-0.0.8-py3-none-any.whl (3.8 MB)
|████████████████████████████████| 3.8 MB 87.2 MB/s
Collecting Flask-SQLAlchemy<3,>=2.4
Downloading Flask_SQLAlchemy-2.4.4-py2.py3-none-any.whl (17 kB)
Collecting marshmallow<4,>=3
Downloading marshmallow-3.10.0-py2.py3-none-any.whl (46 kB)
|████████████████████████████████| 46 kB 7.3 MB/s
Collecting colorama<1,>=0.3.9
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting Flask-OpenID<2,>=1.2.5
Downloading Flask-OpenID-1.2.5.tar.gz (43 kB)
|████████████████████████████████| 43 kB 3.9 MB/s
Collecting click<8,>=6.7
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
|████████████████████████████████| 82 kB 1.6 MB/s
Collecting email-validator<2,>=1.0.5
Downloading email_validator-1.1.2-py2.py3-none-any.whl (17 kB)
Collecting Flask-JWT-Extended<4,>=3.18
Downloading Flask-JWT-Extended-3.25.0.tar.gz (31 kB)
Collecting sqlalchemy-utils<1,>=0.32.21
Downloading SQLAlchemy-Utils-0.36.8.tar.gz (138 kB)
|████████████████████████████████| 138 kB 82.3 MB/s
Collecting marshmallow-sqlalchemy<0.24.0,>=0.22.0
Downloading marshmallow_sqlalchemy-0.23.1-py2.py3-none-any.whl (18 kB)
Collecting Flask-Babel<2,>=1
Downloading Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB)
Collecting PyJWT>=1.7.1
Downloading PyJWT-2.0.0-py3-none-any.whl (15 kB)
Collecting apispec[yaml]<4,>=3.3
Downloading apispec-3.3.2-py2.py3-none-any.whl (27 kB)
Collecting prison<1.0.0,>=0.1.3
Downloading prison-0.1.3-py2.py3-none-any.whl (5.8 kB)
Collecting marshmallow-enum<2,>=1.5.1
Downloading marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
Collecting pytz
Downloading pytz-2020.5-py2.py3-none-any.whl (510 kB)
|████████████████████████████████| 510 kB 81.7 MB/s
Collecting docutils
Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
|████████████████████████████████| 548 kB 84.0 MB/s
Collecting commonmark<0.10.0,>=0.9.0
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
|████████████████████████████████| 51 kB 12.8 MB/s
Collecting typing-extensions<4.0.0,>=3.7.4
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting natsort
Downloading natsort-7.1.0-py3-none-any.whl (35 kB)
Collecting WTForms
Downloading WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
|████████████████████████████████| 169 kB 45.0 MB/s
Collecting certifi>=2017.4.17
Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 87.2 MB/s
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 9.9 MB/s
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 95.4 MB/s
Collecting text-unidecode>=1.3
Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting zipp>=0.5
Downloading zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting pytzdata>=2020.1
Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
|████████████████████████████████| 489 kB 58.1 MB/s
Collecting cffi>=1.12
Downloading cffi-1.14.4-cp38-cp38-manylinux1_x86_64.whl (411 kB)
|████████████████████████████████| 411 kB 63.6 MB/s
Collecting python-editor>=0.3
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting Mako
Downloading Mako-1.1.4.tar.gz (479 kB)
|████████████████████████████████| 479 kB 58.4 MB/s
Collecting numpy>=1.16.5
Downloading numpy-1.19.5-cp38-cp38-manylinux2010_x86_64.whl (14.9 MB)
|████████████████████████████████| 14.9 MB 51.5 MB/s
Collecting python3-openid>=2.0
Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 67.0 MB/s
Collecting dnspython>=1.15.0
Downloading dnspython-2.1.0-py3-none-any.whl (241 kB)
|████████████████████████████████| 241 kB 63.7 MB/s
Collecting Babel>=2.3
Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB)
|████████████████████████████████| 8.8 MB 62.1 MB/s
Collecting pycparser
Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
|████████████████████████████████| 112 kB 92.8 MB/s
Collecting defusedxml
Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Using legacy 'setup.py install' for python-nvd3, since package 'wheel' is not installed.
Using legacy 'setup.py install' for tzlocal, since package 'wheel' is not installed.
Using legacy 'setup.py install' for thrift, since package 'wheel' is not installed.
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Using legacy 'setup.py install' for json-merge-patch, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-slugify, since package 'wheel' is not installed.
Using legacy 'setup.py install' for flask-login, since package 'wheel' is not installed.
Using legacy 'setup.py install' for unicodecsv, since package 'wheel' is not installed.
Using legacy 'setup.py install' for flask-swagger, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyrsistent, since package 'wheel' is not installed.
Using legacy 'setup.py install' for PyYAML, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Flask-OpenID, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Flask-JWT-Extended, since package 'wheel' is not installed.
Using legacy 'setup.py install' for sqlalchemy-utils, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Mako, since package 'wheel' is not installed.
Installing collected packages: attrs, six, pyrsistent, jsonschema, dill, PyYAML, openapi-spec-validator, inflection, click, clickclick, werkzeug, itsdangerous, markupsafe, jinja2, flask, certifi, idna, chardet, urllib3, requests, swagger-ui-bundle, connexion, gunicorn, text-unidecode, python-slugify, python-nvd3, flask-caching, funcsigs, sqlalchemy, Flask-SQLAlchemy, marshmallow, colorama, WTForms, flask-wtf, defusedxml, python3-openid, Flask-OpenID, dnspython, email-validator, python-dateutil, PyJWT, Flask-JWT-Extended, sqlalchemy-utils, marshmallow-sqlalchemy, pytz, Babel, Flask-Babel, flask-login, apispec, prison, marshmallow-enum, flask-appbuilder, setproctitle, tzlocal, apache-airflow-providers-sqlite, thrift, apache-airflow-providers-ftp, lockfile, docutils, python-daemon, commonmark, pygments, typing-extensions, rich, apache-airflow-providers-http, psutil, natsort, croniter, colorlog, termcolor, argcomplete, importlib-resources, sqlalchemy-jsonfield, iso8601, cattrs, marshmallow-oneofschema, tenacity, graphviz, json-merge-patch, lazy-object-proxy, zipp, importlib-metadata, pytzdata, pendulum, pycparser, cffi, cryptography, unicodecsv, python-editor, Mako, alembic, tabulate, cached-property, numpy, pandas, apache-airflow-providers-imap, flask-swagger, markdown, apache-airflow
Running setup.py install for pyrsistent ... done
Running setup.py install for PyYAML ... done
Running setup.py install for python-slugify ... done
Running setup.py install for python-nvd3 ... done
Running setup.py install for Flask-OpenID ... done
Running setup.py install for Flask-JWT-Extended ... done
Running setup.py install for sqlalchemy-utils ... done
Running setup.py install for flask-login ... done
Running setup.py install for tzlocal ... done
Running setup.py install for thrift ... done
Running setup.py install for termcolor ... done
Running setup.py install for json-merge-patch ... done
Running setup.py install for unicodecsv ... done
Running setup.py install for Mako ... done
Running setup.py install for flask-swagger ... done
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
<p dir="auto">We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.</p>
<p dir="auto">flask-jwt-extended 3.25.0 requires PyJWT<2.0,>=1.6.4, but you'll have pyjwt 2.0.0 which is incompatible.<br>
Successfully installed Babel-2.9.0 Flask-Babel-1.0.0 Flask-JWT-Extended-3.25.0 Flask-OpenID-1.2.5 Flask-SQLAlchemy-2.4.4 Mako-1.1.4 PyJWT-2.0.0 PyYAML-5.3.1 WTForms-2.3.3 alembic-1.4.3 apache-<a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://issues.apache.org/jira/browse/AIRFLOW-2">airflow-2</a>.0.0 apache-airflow-providers-ftp-1.0.0 apache-airflow-providers-http-1.0.0 apache-airflow-providers-imap-1.0.0 apache-airflow-providers-sqlite-1.0.0 apispec-3.3.2 argcomplete-1.12.2 attrs-20.3.0 cached-property-1.5.2 cattrs-1.1.2 certifi-2020.12.5 cffi-1.14.4 chardet-3.0.4 click-7.1.2 clickclick-20.10.2 colorama-0.4.4 colorlog-4.0.2 commonmark-0.9.1 connexion-2.7.0 croniter-0.3.37 cryptography-3.3.1 defusedxml-0.6.0 dill-0.3.3 dnspython-2.1.0 docutils-0.16 email-validator-1.1.2 flask-1.1.2 flask-appbuilder-3.1.1 flask-caching-1.9.0 flask-login-0.4.1 flask-swagger-0.2.13 flask-wtf-0.14.3 funcsigs-1.0.2 graphviz-0.16 gunicorn-19.10.0 idna-2.10 importlib-metadata-1.7.0 importlib-resources-1.5.0 inflection-0.5.1 iso8601-0.1.13 itsdangerous-1.1.0 jinja2-2.11.2 json-merge-patch-0.2 jsonschema-3.2.0 lazy-object-proxy-1.4.3 lockfile-0.12.2 markdown-3.3.3 markupsafe-1.1.1 marshmallow-3.10.0 marshmallow-enum-1.5.1 marshmallow-oneofschema-2.1.0 marshmallow-sqlalchemy-0.23.1 natsort-7.1.0 numpy-1.19.5 openapi-spec-validator-0.2.9 pandas-1.2.0 pendulum-2.1.2 prison-0.1.3 psutil-5.8.0 pycparser-2.20 pygments-2.7.4 pyrsistent-0.17.3 python-daemon-2.2.4 python-dateutil-2.8.1 python-editor-1.0.4 python-nvd3-0.15.0 python-slugify-4.0.1 python3-openid-3.2.0 pytz-2020.5 pytzdata-2020.1 requests-2.23.0 rich-9.2.0 setproctitle-1.2.1 six-1.15.0 sqlalchemy-1.3.22 sqlalchemy-jsonfield-1.0.0 sqlalchemy-utils-0.36.8 swagger-ui-bundle-0.0.8 tabulate-0.8.7 tenacity-6.2.0 termcolor-1.1.0 text-unidecode-1.3 thrift-0.13.0 typing-extensions-3.7.4.3 tzlocal-1.5.1 unicodecsv-0.14.1 urllib3-1.25.11 werkzeug-1.0.1 zipp-3.4.0<br>
WARNING: You are using pip version 20.2.1; however, version 20.3.3 is available.<br>
You should consider upgrading via the '/home/matt/.pyenv/versions/3.8.6/bin/python3.8 -m pip install --upgrade pip' command.<br>
~ > which airflow<br>
/home/matt/.pyenv/shims/airflow<br>
~ > cd airflow-test-no-virtual-env/<br>
~/airflow-test-no-virtual-env > airflow db init<br>
DB: sqlite:////home/matt/airflow-test-no-virtual-env//airflow.db<br>
[2021-01-15 19:46:59,757] {db.py:678} INFO - Creating tables<br>
INFO [alembic.runtime.migration] Context impl SQLiteImpl.<br>
INFO [alembic.runtime.migration] Will assume non-transactional DDL.<br>
INFO [alembic.runtime.migration] Running upgrade -> e3a246e0dc1, current schema<br>
INFO [alembic.runtime.migration] Running upgrade e3a246e0dc1 -> 1507a7289a2f, create is_encrypted<br>
/home/matt/.pyenv/versions/3.8.6/lib/python3.8/site-packages/alembic/ddl/sqlite.py:43 UserWarning: Skipping unsupported ALTER for creation of implicit constraintPlease refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy.<br>
INFO [alembic.runtime.migration] Running upgrade 1507a7289a2f -> 13eb55f81627, maintain history for compatibility with earlier migrations<br>
INFO [alembic.runtime.migration] Running upgrade 13eb55f81627 -> 338e90f54d61, More logging into task_instance<br>
INFO [alembic.runtime.migration] Running upgrade 338e90f54d61 -> 52d714495f0, job_id indices<br>
INFO [alembic.runtime.migration] Running upgrade 52d714495f0 -> 502898887f84, Adding extra to Log<br>
INFO [alembic.runtime.migration] Running upgrade 502898887f84 -> 1b38cef5b76e, add dagrun<br>
INFO [alembic.runtime.migration] Running upgrade 1b38cef5b76e -> 2e541a1dcfed, task_duration<br>
INFO [alembic.runtime.migration] Running upgrade 2e541a1dcfed -> 40e67319e3a9, dagrun_config<br>
INFO [alembic.runtime.migration] Running upgrade 40e67319e3a9 -> 561833c1c74b, add password column to user<br>
INFO [alembic.runtime.migration] Running upgrade 561833c1c74b -> 4446e08588, dagrun start end<br>
INFO [alembic.runtime.migration] Running upgrade 4446e08588 -> bbc73705a13e, Add notification_sent column to sla_miss<br>
INFO [alembic.runtime.migration] Running upgrade bbc73705a13e -> bba5a7cfc896, Add a column to track the encryption state of the 'Extra' field in connection<br>
INFO [alembic.runtime.migration] Running upgrade bba5a7cfc896 -> 1968acfc09e3, add is_encrypted column to variable table<br>
INFO [alembic.runtime.migration] Running upgrade 1968acfc09e3 -> 2e82aab8ef20, rename user table<br>
INFO [alembic.runtime.migration] Running upgrade 2e82aab8ef20 -> 211e584da130, add TI state index<br>
INFO [alembic.runtime.migration] Running upgrade 211e584da130 -> 64de9cddf6c9, add task fails journal table<br>
INFO [alembic.runtime.migration] Running upgrade 64de9cddf6c9 -> f2ca10b85618, add dag_stats table<br>
INFO [alembic.runtime.migration] Running upgrade f2ca10b85618 -> 4addfa1236f1, Add fractional seconds to mysql tables<br>
INFO [alembic.runtime.migration] Running upgrade 4addfa1236f1 -> 8504051e801b, xcom dag task indices<br>
INFO [alembic.runtime.migration] Running upgrade 8504051e801b -> 5e7d17757c7a, add pid field to TaskInstance<br>
INFO [alembic.runtime.migration] Running upgrade 5e7d17757c7a -> 127d2bf2dfa7, Add dag_id/state index on dag_run table<br>
INFO [alembic.runtime.migration] Running upgrade 127d2bf2dfa7 -> cc1e65623dc7, add max tries column to task instance<br>
WARNI [unusual_prefix_7c969f2cbb12c110385be97d88cb24052dba3ae5_example_kubernetes_executor_config] Could not import DAGs in example_kubernetes_executor_config.py: No module named 'kubernetes'<br>
WARNI [unusual_prefix_7c969f2cbb12c110385be97d88cb24052dba3ae5_example_kubernetes_executor_config] Install kubernetes dependencies with: pip install apache-airflow['cncf.kubernetes']<br>
INFO [alembic.runtime.migration] Running upgrade cc1e65623dc7 -> bdaa763e6c56, Make xcom value column a large binary<br>
INFO [alembic.runtime.migration] Running upgrade bdaa763e6c56 -> 947454bf1dff, add ti job_id index<br>
INFO [alembic.runtime.migration] Running upgrade 947454bf1dff -> d2ae31099d61, Increase text size for MySQL (not relevant for other DBs' text types)<br>
INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 0e2a74e0fc9f, Add time zone awareness<br>
INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 33ae817a1ff4, kubernetes_resource_checkpointing<br>
INFO [alembic.runtime.migration] Running upgrade 33ae817a1ff4 -> 27c6a30d7c24, kubernetes_resource_checkpointing<br>
INFO [alembic.runtime.migration] Running upgrade 27c6a30d7c24 -> 86770d1215c0, add kubernetes scheduler uniqueness<br>
INFO [alembic.runtime.migration] Running upgrade 86770d1215c0, 0e2a74e0fc9f -> 05f30312d566, merge heads<br>
INFO [alembic.runtime.migration] Running upgrade 05f30312d566 -> f23433877c24, fix mysql not null constraint<br>
INFO [alembic.runtime.migration] Running upgrade f23433877c24 -> 856955da8476, fix sqlite foreign key<br>
INFO [alembic.runtime.migration] Running upgrade 856955da8476 -> 9635ae0956e7, index-faskfail<br>
INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> dd25f486b8ea, add idx_log_dag<br>
INFO [alembic.runtime.migration] Running upgrade dd25f486b8ea -> bf00311e1990, add index to taskinstance<br>
INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> 0a2a5b66e19d, add task_reschedule table<br>
INFO [alembic.runtime.migration] Running upgrade 0a2a5b66e19d, bf00311e1990 -> 03bc53e68815, merge_heads_2<br>
INFO [alembic.runtime.migration] Running upgrade 03bc53e68815 -> 41f5f12752f8, add superuser field<br>
INFO [alembic.runtime.migration] Running upgrade 41f5f12752f8 -> c8ffec048a3b, add fields to dag<br>
INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> dd4ecb8fbee3, Add schedule interval to dag<br>
INFO [alembic.runtime.migration] Running upgrade dd4ecb8fbee3 -> 939bb1e647c8, task reschedule fk on cascade delete<br>
INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 6e96a59344a4, Make TaskInstance.pool not nullable<br>
INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table<br>
INFO [alembic.runtime.migration] Running upgrade d38e04c12aa2 -> b3b105409875, add root_dag_id to DAG<br>
INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> 74effc47d867, change datetime to datetime2(6) on MSSQL tables<br>
INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 004c1210f153, increase queue name size limit<br>
INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> a56c9515abdc, Remove dag_stat table<br>
INFO [alembic.runtime.migration] Running upgrade a56c9515abdc, 004c1210f153, 74effc47d867, b3b105409875 -> 08364691d074, Merge the four heads back together<br>
INFO [alembic.runtime.migration] Running upgrade 08364691d074 -> fe461863935f, increase_length_for_connection_password<br>
INFO [alembic.runtime.migration] Running upgrade fe461863935f -> 7939bcff74ba, Add DagTags table<br>
INFO [alembic.runtime.migration] Running upgrade 7939bcff74ba -> a4c2fd67d16b, add pool_slots field to task_instance<br>
INFO [alembic.runtime.migration] Running upgrade a4c2fd67d16b -> 852ae6c715af, Add RenderedTaskInstanceFields table<br>
INFO [alembic.runtime.migration] Running upgrade 852ae6c715af -> 952da73b5eff, add dag_code table<br>
INFO [alembic.runtime.migration] Running upgrade 952da73b5eff -> a66efa278eea, Add Precision to execution_date in RenderedTaskInstanceFields table<br>
INFO [alembic.runtime.migration] Running upgrade a66efa278eea -> da3f683c3a5a, Add dag_hash Column to serialized_dag table<br>
INFO [alembic.runtime.migration] Running upgrade da3f683c3a5a -> 92c57b58940d, Create FAB Tables<br>
INFO [alembic.runtime.migration] Running upgrade 92c57b58940d -> 03afc6b6f902, Increase length of FAB ab_view_menu.name column<br>
INFO [alembic.runtime.migration] Running upgrade 03afc6b6f902 -> cf5dc11e79ad, drop_user_and_chart<br>
INFO [alembic.runtime.migration] Running upgrade cf5dc11e79ad -> bbf4a7ad0465, Remove id column from xcom<br>
INFO [alembic.runtime.migration] Running upgrade bbf4a7ad0465 -> b25a55525161, Increase length of pool name<br>
INFO [alembic.runtime.migration] Running upgrade b25a55525161 -> 3c20cacc0044, Add DagRun run_type<br>
INFO [alembic.runtime.migration] Running upgrade 3c20cacc0044 -> 8f966b9c467a, Set conn_type as non-nullable<br>
INFO [alembic.runtime.migration] Running upgrade 8f966b9c467a -> 8d48763f6d53, add unique constraint to conn_id<br>
INFO [alembic.runtime.migration] Running upgrade 8d48763f6d53 -> e38be357a868, Add sensor_instance table<br>
INFO [alembic.runtime.migration] Running upgrade e38be357a868 -> b247b1e3d1ed, Add queued by Job ID to TI<br>
INFO [alembic.runtime.migration] Running upgrade b247b1e3d1ed -> e1a11ece99cc, Add external executor ID to TI<br>
INFO [alembic.runtime.migration] Running upgrade e1a11ece99cc -> bef4f3d11e8b, Drop KubeResourceVersion and KubeWorkerId<br>
INFO [alembic.runtime.migration] Running upgrade bef4f3d11e8b -> 98271e7606e2, Add scheduling_decision to DagRun and DAG<br>
INFO [alembic.runtime.migration] Running upgrade 98271e7606e2 -> 52d53670a240, fix_mssql_exec_date_rendered_task_instance_fields_for_MSSQL<br>
INFO [alembic.runtime.migration] Running upgrade 52d53670a240 -> 364159666cbd, Add creating_job_id to DagRun table<br>
INFO [alembic.runtime.migration] Running upgrade 364159666cbd -> 45ba3f1493b9, add-k8s-yaml-to-rendered-templates<br>
INFO [alembic.runtime.migration] Running upgrade 45ba3f1493b9 -> 849da589634d, Prefix DAG permissions.<br>
INFO [alembic.runtime.migration] Running upgrade 849da589634d -> 2c6edca13270, Resource based permissions.<br>
[2021-01-15 19:47:01,953] {manager.py:727} WARNING - No user yet created, use flask fab command to do it.<br>
[2021-01-15 19:47:04,784] {migration.py:517} INFO - Running upgrade 2c6edca13270 -> 61ec73d9401f, Add description field to connection<br>
[2021-01-15 19:47:04,793] {migration.py:517} INFO - Running upgrade 61ec73d9401f -> 64a7d6477aae, fix description field in connection to be text<br>
[2021-01-15 19:47:04,798] {migration.py:517} INFO - Running upgrade 64a7d6477aae -> e959f08ac86c, Change field in DagCode to MEDIUMTEXT for MySql<br>
[2021-01-15 19:47:05,097] {dagbag.py:440} INFO - Filling up the DagBag from /home/matt/airflow-test-no-virtual-env//dags<br>
[2021-01-15 19:47:05,116] {example_kubernetes_executor_config.py:174} WARNING - Could not import DAGs in example_kubernetes_executor_config.py: No module named 'kubernetes'<br>
[2021-01-15 19:47:05,117] {example_kubernetes_executor_config.py:175} WARNING - Install kubernetes dependencies with: pip install apache-airflow['cncf.kubernetes']<br>
[2021-01-15 19:47:05,133] {dag.py:1813} INFO - Sync 28 DAGs<br>
[2021-01-15 19:47:05,136] {dag.py:1832} INFO - Creating ORM DAG for example_subdag_operator.section-1<br>
[2021-01-15 19:47:05,136] {dag.py:1832} INFO - Creating ORM DAG for example_branch_dop_operator_v3<br>
[2021-01-15 19:47:05,136] {dag.py:1832} INFO - Creating ORM DAG for example_xcom_args<br>
[2021-01-15 19:47:05,136] {dag.py:1832} INFO - Creating ORM DAG for example_external_task_marker_parent<br>
[2021-01-15 19:47:05,137] {dag.py:1832} INFO - Creating ORM DAG for tutorial_taskflow_api_etl<br>
[2021-01-15 19:47:05,137] {dag.py:1832} INFO - Creating ORM DAG for example_xcom<br>
[2021-01-15 19:47:05,137] {dag.py:1832} INFO - Creating ORM DAG for example_xcom_args_with_operators<br>
[2021-01-15 19:47:05,137] {dag.py:1832} INFO - Creating ORM DAG for example_kubernetes_executor<br>
[2021-01-15 19:47:05,137] {dag.py:1832} INFO - Creating ORM DAG for example_python_operator<br>
[2021-01-15 19:47:05,138] {dag.py:1832} INFO - Creating ORM DAG for example_branch_operator<br>
[2021-01-15 19:47:05,138] {dag.py:1832} INFO - Creating ORM DAG for tutorial<br>
[2021-01-15 19:47:05,138] {dag.py:1832} INFO - Creating ORM DAG for test_utils<br>
[2021-01-15 19:47:05,138] {dag.py:1832} INFO - Creating ORM DAG for example_passing_params_via_test_command<br>
[2021-01-15 19:47:05,138] {dag.py:1832} INFO - Creating ORM DAG for latest_only_with_trigger<br>
[2021-01-15 19:47:05,138] {dag.py:1832} INFO - Creating ORM DAG for example_short_circuit_operator<br>
[2021-01-15 19:47:05,139] {dag.py:1832} INFO - Creating ORM DAG for example_dag_decorator<br>
[2021-01-15 19:47:05,139] {dag.py:1832} INFO - Creating ORM DAG for example_skip_dag<br>
[2021-01-15 19:47:05,139] {dag.py:1832} INFO - Creating ORM DAG for example_subdag_operator.section-2<br>
[2021-01-15 19:47:05,139] {dag.py:1832} INFO - Creating ORM DAG for example_bash_operator<br>
[2021-01-15 19:47:05,139] {dag.py:1832} INFO - Creating ORM DAG for example_subdag_operator<br>
[2021-01-15 19:47:05,140] {dag.py:1832} INFO - Creating ORM DAG for example_task_group<br>
[2021-01-15 19:47:05,140] {dag.py:1832} INFO - Creating ORM DAG for latest_only<br>
[2021-01-15 19:47:05,140] {dag.py:1832} INFO - Creating ORM DAG for example_nested_branch_dag<br>
[2021-01-15 19:47:05,140] {dag.py:1832} INFO - Creating ORM DAG for example_external_task_marker_child<br>
[2021-01-15 19:47:05,140] {dag.py:1832} INFO - Creating ORM DAG for example_trigger_controller_dag<br>
[2021-01-15 19:47:05,141] {dag.py:1832} INFO - Creating ORM DAG for tutorial_etl_dag<br>
[2021-01-15 19:47:05,141] {dag.py:1832} INFO - Creating ORM DAG for example_complex<br>
[2021-01-15 19:47:05,141] {dag.py:1832} INFO - Creating ORM DAG for example_trigger_target_dag<br>
[2021-01-15 19:47:05,146] {dag.py:2266} INFO - Setting next_dagrun for example_bash_operator to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,156] {dag.py:2266} INFO - Setting next_dagrun for example_branch_dop_operator_v3 to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,159] {dag.py:2266} INFO - Setting next_dagrun for example_branch_operator to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,160] {dag.py:2266} INFO - Setting next_dagrun for example_complex to None<br>
[2021-01-15 19:47:05,160] {dag.py:2266} INFO - Setting next_dagrun for example_dag_decorator to None<br>
[2021-01-15 19:47:05,160] {dag.py:2266} INFO - Setting next_dagrun for example_external_task_marker_child to None<br>
[2021-01-15 19:47:05,160] {dag.py:2266} INFO - Setting next_dagrun for example_external_task_marker_parent to None<br>
[2021-01-15 19:47:05,160] {dag.py:2266} INFO - Setting next_dagrun for example_kubernetes_executor to None<br>
[2021-01-15 19:47:05,164] {dag.py:2266} INFO - Setting next_dagrun for example_nested_branch_dag to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,174] {dag.py:2266} INFO - Setting next_dagrun for example_passing_params_via_test_command to 2021-01-15 00:00:00+00:00<br>
[2021-01-15 19:47:05,174] {dag.py:2266} INFO - Setting next_dagrun for example_python_operator to None<br>
[2021-01-15 19:47:05,174] {dag.py:2266} INFO - Setting next_dagrun for example_short_circuit_operator to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,174] {dag.py:2266} INFO - Setting next_dagrun for example_skip_dag to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,174] {dag.py:2266} INFO - Setting next_dagrun for example_subdag_operator to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,174] {dag.py:2266} INFO - Setting next_dagrun for example_subdag_operator.section-1 to None<br>
[2021-01-15 19:47:05,175] {dag.py:2266} INFO - Setting next_dagrun for example_subdag_operator.section-2 to None<br>
[2021-01-15 19:47:05,175] {dag.py:2266} INFO - Setting next_dagrun for example_task_group to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,175] {dag.py:2266} INFO - Setting next_dagrun for example_trigger_controller_dag to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,175] {dag.py:2266} INFO - Setting next_dagrun for example_trigger_target_dag to None<br>
[2021-01-15 19:47:05,175] {dag.py:2266} INFO - Setting next_dagrun for example_xcom to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,175] {dag.py:2266} INFO - Setting next_dagrun for example_xcom_args to None<br>
[2021-01-15 19:47:05,176] {dag.py:2266} INFO - Setting next_dagrun for example_xcom_args_with_operators to None<br>
[2021-01-15 19:47:05,176] {dag.py:2266} INFO - Setting next_dagrun for latest_only to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,176] {dag.py:2266} INFO - Setting next_dagrun for latest_only_with_trigger to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,176] {dag.py:2266} INFO - Setting next_dagrun for test_utils to None<br>
[2021-01-15 19:47:05,176] {dag.py:2266} INFO - Setting next_dagrun for tutorial to 2021-01-14 00:00:00+00:00<br>
[2021-01-15 19:47:05,177] {dag.py:2266} INFO - Setting next_dagrun for tutorial_etl_dag to None<br>
[2021-01-15 19:47:05,177] {dag.py:2266} INFO - Setting next_dagrun for tutorial_taskflow_api_etl to None<br>
[2021-01-15 19:47:05,192] {dag.py:1813} INFO - Sync 2 DAGs<br>
[2021-01-15 19:47:05,195] {dag.py:2266} INFO - Setting next_dagrun for example_subdag_operator.section-1 to None<br>
[2021-01-15 19:47:05,195] {dag.py:2266} INFO - Setting next_dagrun for example_subdag_operator.section-2 to None<br>
Initialization done</p>
</details>
<p dir="auto"><strong>What you expected to happen</strong>: The <code class="notranslate">airflow db init</code> command succeeds when run within my virtual env (using the command <code class="notranslate">poetry run airflow db init</code>).</p>
<p dir="auto"><strong>What do you think went wrong?</strong></p>
<p dir="auto">Googling the error let me to find a Stack Overflow page that describes it as ultimately an error related to Python 2 vs. Python 3. Something to do with something called "map". I looked at Airflow supported versions though and found that it supports Python 3, so I found it strange since I was using Python 3. I also tried using the command <code class="notranslate">pyenv local 3.8.6</code> to try to be extra thorough in locking in a particular supported Python version.</p>
<p dir="auto">Because it doesn't work inside my virtual environment, but works outside it, I think there's something wrong with how all the tooling is working together. I could just stop using a virtual environment to continue. However, what I've learned so far as I learn how to develop in Python is that using virtual environments is a good idea to make my code portable and keep it separate from other stuff on my machine. For example, as I learn Airflow, I might want to bounce back and forth between Airflow 1 and Airflow 2 to see how the installation methods (non-modular vs. modular) work.</p>
<p dir="auto"><strong>How to reproduce it</strong>: Run the steps I described above on Ubuntu 20.04 LTS or a similar Linux operating system, using Python 3.</p>
<p dir="auto"><strong>How often does this problem occur? Once? Every time etc?</strong><br>
Every time I try to run the <code class="notranslate">airflow db init</code> command to finish the quickstart.</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 <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">12.0.6</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">windows 10</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Hi,</p>
<p dir="auto">The response header set-cookie is not present in the response. Pls check the below code. you can directly execute the code because url is used in the code has been exposed for public usage.</p>
<p dir="auto">Code :</p>
<p dir="auto">const { app, BrowserWindow } = require('electron');<br>
let mainWindow;<br>
app.commandLine.appendSwitch('ignore-certificate-errors', 'true');</p>
<p dir="auto">app.whenReady().then(() => {<br>
const { net } = require('electron')<br>
var option = {<br>
method: "POST",<br>
uri: "<a href="http://testhtml5.vulnweb.com/login" rel="nofollow">http://testhtml5.vulnweb.com/login</a>",<br>
headers: {<br>
"Content-Type": "application/x-www-form-urlencoded"<br>
},<br>
body: "username=admin&password=",<br>
redirect: "manual",<br>
useSessionCookies: true,<br>
credentials: "include"<br>
}<br>
const request = net.request(option)<br>
request.on('response', (response) => {<br>
console.log(response.statusCode);<br>
response.on('data', (chunk) => {<br>
//console.log(<code class="notranslate">BODY: ${chunk}</code>)<br>
})<br>
response.on('end', () => {<br>
})<br>
})<br>
request.on("redirect", (statusCode, method, redirectUrl, responseHeaders) => {<br>
if (option.redirect == "follow") {<br>
request.followRedirect();<br>
} else {<br>
console.log(responseHeaders["Set-Cookie"]);<br>
request.abort();<br>
}<br>
});<br>
request.write(option.body || "");<br>
request.end()<br>
})</p>
<p dir="auto">Ouptput is undefined. But i can assure you that set-cookie is exposed on response while using browser. I have attached a browser screenshot.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/57345061/117121846-ccff4f00-adb2-11eb-80a6-d3e19fcbd879.png"><img src="https://user-images.githubusercontent.com/57345061/117121846-ccff4f00-adb2-11eb-80a6-d3e19fcbd879.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Please let me know if you need further inputs.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">set-cookie is not exposed on response header.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto"><em>No response</em></p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>
v9.0.0
</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>
macOS 10.15.5
</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>
5.x.y
</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="request.on('redirect', (statusCode, method, redirectUrl, responseHeaders) => {
console.log(responseHeaders['set-cookie']); // should not be undefined
});"><pre class="notranslate"><span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'redirect'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">statusCode</span><span class="pl-kos">,</span> <span class="pl-s1">method</span><span class="pl-kos">,</span> <span class="pl-s1">redirectUrl</span><span class="pl-kos">,</span> <span class="pl-s1">responseHeaders</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-s1">responseHeaders</span><span class="pl-kos">[</span><span class="pl-s">'set-cookie'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// should not be undefined</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h3 dir="auto">Actual Behavior</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="request.on('redirect', (statusCode, method, redirectUrl, responseHeaders) => {
console.log(responseHeaders['set-cookie']); // is undefined no matter what
});"><pre class="notranslate"><span class="pl-s1">request</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'redirect'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">statusCode</span><span class="pl-kos">,</span> <span class="pl-s1">method</span><span class="pl-kos">,</span> <span class="pl-s1">redirectUrl</span><span class="pl-kos">,</span> <span class="pl-s1">responseHeaders</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-s1">responseHeaders</span><span class="pl-kos">[</span><span class="pl-s">'set-cookie'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// is undefined no matter what</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">I've put together a small proof of concept using the electron-quick-start demo found <a href="https://github.com/walmat/electron-quick-start">here</a>.</p>
<p dir="auto">To run the example:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/walmat/electron-quick-start.git && yarn && yarn start"><pre class="notranslate">git clone https://github.com/walmat/electron-quick-start.git <span class="pl-k">&&</span> yarn <span class="pl-k">&&</span> yarn start</pre></div>
<h3 dir="auto">Screenshots</h3>
<h3 dir="auto">Additional Information</h3> | 1 |
<p dir="auto">I'm using Dart 2 and when I try to make an HTTP GET request, This error is shown</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (21922): type '_BoundSinkStream<dynamic, List<int>>' is not a subtype of type '_HttpIncoming' where
E/flutter (21922): _BoundSinkStream is from dart:async
E/flutter (21922): List is from dart:core
E/flutter (21922): int is from dart:core
E/flutter (21922): List is from dart:core
E/flutter (21922): int is from dart:core
E/flutter (21922): _HttpIncoming is from dart:_http
E/flutter (21922): List is from dart:core
E/flutter (21922): int is from dart:core"><pre class="notranslate"><code class="notranslate">[ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (21922): type '_BoundSinkStream<dynamic, List<int>>' is not a subtype of type '_HttpIncoming' where
E/flutter (21922): _BoundSinkStream is from dart:async
E/flutter (21922): List is from dart:core
E/flutter (21922): int is from dart:core
E/flutter (21922): List is from dart:core
E/flutter (21922): int is from dart:core
E/flutter (21922): _HttpIncoming is from dart:_http
E/flutter (21922): List is from dart:core
E/flutter (21922): int is from dart:core
</code></pre></div>
<p dir="auto">this is my code</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Future<Stream<Device>> getDevices() async {
var httpClient = HttpClient();
var uri = Uri.http('x.aba.ae', '/x.php');
HttpClientRequest request = await httpClient.getUrl(uri);
HttpClientResponse response = await request.close();
return response
.transform(UTF8.decoder)
.transform(JSON.decoder)
.asyncMap((json) => Device.fromJson(json));
}"><pre class="notranslate"><span class="pl-c1">Future</span><<span class="pl-c1">Stream</span><<span class="pl-c1">Device</span>>> <span class="pl-en">getDevices</span>() <span class="pl-k">async</span> {
<span class="pl-k">var</span> httpClient <span class="pl-k">=</span> <span class="pl-c1">HttpClient</span>();
<span class="pl-k">var</span> uri <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">http</span>(<span class="pl-s">'x.aba.ae'</span>, <span class="pl-s">'/x.php'</span>);
<span class="pl-c1">HttpClientRequest</span> request <span class="pl-k">=</span> <span class="pl-k">await</span> httpClient.<span class="pl-en">getUrl</span>(uri);
<span class="pl-c1">HttpClientResponse</span> response <span class="pl-k">=</span> <span class="pl-k">await</span> request.<span class="pl-en">close</span>();
<span class="pl-k">return</span> response
.<span class="pl-en">transform</span>(<span class="pl-c1">UTF8</span>.decoder)
.<span class="pl-en">transform</span>(<span class="pl-c1">JSON</span>.decoder)
.<span class="pl-en">asyncMap</span>((json) <span class="pl-k">=></span> <span class="pl-c1">Device</span>.<span class="pl-en">fromJson</span>(json));
}</pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Add a PopupMenuButton.</li>
<li>Long press and swipe.</li>
<li>A tooltip will be shown instead of opening the menu like it does with native widgets.</li>
</ol> | 0 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">nightly (1.9.0-dev.20160429)</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class AAA {
fieldA: string;
}
class BBB {
fieldB: string;
}
class AA {
data: AAA;
}
class BB {
data: BBB;
}
class A {
d: AA;
}
class B {
d: BB;
}
function main(x: A | B) {
for (let i of [1, 1]) {
if (x instanceof A) {
x.d.data.fieldA;
} else if (x instanceof B) {
x.d.data.fieldB; // Not compiles here.
}
}
}
"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">AAA</span> <span class="pl-kos">{</span>
<span class="pl-c1">fieldA</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">BBB</span> <span class="pl-kos">{</span>
<span class="pl-c1">fieldB</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">AA</span> <span class="pl-kos">{</span>
<span class="pl-c1">data</span>: <span class="pl-smi">AAA</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">BB</span> <span class="pl-kos">{</span>
<span class="pl-c1">data</span>: <span class="pl-smi">BBB</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-c1">d</span>: <span class="pl-smi">AA</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">B</span> <span class="pl-kos">{</span>
<span class="pl-c1">d</span>: <span class="pl-smi">BB</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">A</span> <span class="pl-c1">|</span> <span class="pl-smi">B</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-k">of</span> <span class="pl-kos">[</span><span class="pl-c1">1</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-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-k">instanceof</span> <span class="pl-smi">A</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">d</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">.</span><span class="pl-c1">fieldA</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-k">instanceof</span> <span class="pl-smi">B</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">d</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">.</span><span class="pl-c1">fieldB</span><span class="pl-kos">;</span> <span class="pl-c">// Not compiles here. </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">To access to the <code class="notranslate">fieldB</code> field of <code class="notranslate">BBB</code> class inside of block <code class="notranslate">} else if (x instanceof B) {</code></p>
<p dir="auto"><strong>Actual behavior:</strong></p>
<p dir="auto">The compiler raises the follow error: <code class="notranslate">TS2339: Property 'fieldB' does not exist on type 'AAA'.</code>.<br>
The behavior in the version 1.8.10 is correct.</p> | <p dir="auto"><strong>TypeScript Version:</strong><br>
1.8.6</p>
<p dir="auto"><strong>Visual Studio Version:</strong><br>
2015 Enterprise Update 1</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=""use strict";
function giveString(): Promise<string> {
return new Promise((resolve, reject) => {
resolve("Yay");
});
}
async function main() {
let awaited = await giveString();
console.log(awaited);
}
main();"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">giveString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">Promise</span><span class="pl-kos"><</span><span class="pl-smi">string</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">Promise</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">"Yay"</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">async</span> <span class="pl-k">function</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-s1">awaited</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-en">giveString</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">awaited</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
No IntelliSense Errors, since I think this is valid for ECMAScript 6 (which is set as target version in the Project Properties), and when I choose start, it compiles and runs fine, too.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
Instead, I get multiple IntelliSense errors including</p>
<blockquote>
<p dir="auto">TS1311 Async functions are only available when targeting ECMAScript 6 and higher.</p>
<p dir="auto">TS2304 Cannot find name 'Promise'.</p>
</blockquote> | 0 |
<p dir="auto">Does a way exist to allow a user to edit or delete a Datasource created in a (PostgreSQL) database with the Upload CSV feature, but not allowing him/her to edit or delete Datasources that have not been created by that same user?</p>
<p dir="auto">For example, admin user could have created some demo Datasources. Also, some users may have created some useful Datasources.<br>
A new registered user could have permissions to upload CSV and create a new Datasource, but shouldn't be able to delete or edit existing ones. Is that already feasible?</p> | <p dir="auto">Does a way exist to allow a user to edit or delete a Datasource created in a (PostgreSQL) database with the Upload CSV feature, but not allowing him/her to edit or delete Datasources that have not been created by that same user?</p>
<p dir="auto">For example, admin user could have created some demo Datasources. Also, some users may have created some useful Datasources.<br>
A new registered user could have permissions to upload CSV and create a new Datasource, but shouldn't be able to delete or edit existing ones. Is that already feasible?</p> | 1 |
<h2 dir="auto">📝 Provide a description of the new feature</h2>
<p dir="auto">I have been asked on a couple of occasions to find a way to stop Caps lock from get hit accidentally, or stop it from being used completely.</p>
<p dir="auto">So a way to set Cap lock to a "Do Nothing" option in Keyboard Manager would be useful for for this, Just use the Shift key to Uppercase a letter as needed.</p>
<p dir="auto">Thanks for the Great work you all have been doing so far on this project.</p>
<p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p> | <h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Ability to "Split" a Fancy Zones zone in 2 (vert/horiz).</h2>
<p dir="auto">Similar to how you can merge 2 zones, maybe if you only select 1 zone, give it a 'split' option for vertical / horizontal, or even a little popup for setting width/height via pixels and an info box showing it's current size?</p>
<hr>
<p dir="auto">If you'd like to see this feature implemented, add a 👍 reaction to this post.</p> | 0 |
<p dir="auto">Describe what you were doing when the bug occurred:</p>
<ol dir="auto">
<li>Working on an app and Components tab goes empty</li>
<li>Tried to force it and ended up with a retry button and an error</li>
<li></li>
</ol>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.10.1-f160547f47</p>
<p dir="auto">Call stack: at store_Store.getElementAtIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21226:35)<br>
at store_Store.getElementIDAtIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21242:26)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28678:63<br>
at List.render (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:22934:18)<br>
at vi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13515:76)<br>
at ui (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13506:10)<br>
at mk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16077:86)<br>
at lk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15459:11)<br>
at kk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15451:23)<br>
at ck (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:15435:5)</p>
<p dir="auto">Component stack: at List (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:22629:30)<br>
at div<br>
at AutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:3003:5)<br>
at div<br>
at div<br>
at Tree_Tree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28429:47)<br>
at div<br>
at div<br>
at InspectedElementContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28921:3)<br>
at OwnersListContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:27558:3)<br>
at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28206:3)<br>
at Components_Components (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:33383:52)<br>
at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29219:5)<br>
at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29336:32)<br>
at div<br>
at div<br>
at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32934:3)<br>
at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24322:3)<br>
at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:24811:3)<br>
at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29404:3)<br>
at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:36207:3)</p> | <p dir="auto">Describe what you were doing when the bug occurred:</p>
<ol dir="auto">
<li>Open React Devtool</li>
<li>Select the Component tab</li>
<li>Got below error</li>
</ol>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.8.2-fed4ae024</p>
<p dir="auto">Call stack: at Store.getElementAtIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:19359:35)<br>
at Store.getElementIDAtIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:19376:26)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26594:18<br>
at List.render (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21229:18)<br>
at li (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11802:76)<br>
at ki (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11793:10)<br>
at ck (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:14433:86)<br>
at bk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13779:11)<br>
at ak (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13768:5)<br>
at Sj (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13750:7)</p>
<p dir="auto">Component stack: at List (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20924:30)<br>
at div<br>
at AutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:2786:5)<br>
at div<br>
at div<br>
at Tree_Tree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26368:45)<br>
at div<br>
at div<br>
at InspectedElementContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26848:23)<br>
at OwnersListContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25520:23)<br>
at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26139:23)<br>
at Components_Components (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30926:50)<br>
at ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:27172:5)<br>
at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:27303:32)<br>
at div<br>
at div<br>
at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:30463:23)<br>
at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:22538:23)<br>
at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:23040:27)<br>
at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:28328:23)<br>
at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:33797:21)</p> | 1 |
<p dir="auto"><a href="https://github.com/Microsoft/TypeScript/blob/738b26f065a4d859c19b4c417b359baf1d74900a/doc/spec.md#4193-the--------and--operators">To quote 4.19.1 of the spec</a>:</p>
<blockquote>
<h3 dir="auto"><section name="user-content-4.19.3">4.19.3 The <, >, <=, >=, ==, !=, ===, and !== operators</section></h3>
<p dir="auto">These operators require one or both of the operand types to be assignable to the other. The result is always of the Boolean primitive type.</p>
<table role="table">
<thead>
<tr>
<th align="center"></th>
<th align="center">Any</th>
<th align="center">Boolean</th>
<th align="center">Number</th>
<th align="center">String</th>
<th align="center">Other</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">Any</td>
<td align="center">Boolean</td>
<td align="center">Boolean</td>
<td align="center">Boolean</td>
<td align="center">Boolean</td>
<td align="center">Boolean</td>
</tr>
<tr>
<td align="center">Boolean</td>
<td align="center">Boolean</td>
<td align="center">Boolean</td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">Number</td>
<td align="center">Boolean</td>
<td align="center"></td>
<td align="center">Boolean</td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td align="center">String</td>
<td align="center">Boolean</td>
<td align="center"></td>
<td align="center"></td>
<td align="center">Boolean</td>
<td align="center"></td>
</tr>
<tr>
<td align="center">Other</td>
<td align="center">Boolean</td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center">Boolean</td>
</tr>
</tbody>
</table>
</blockquote>
<p dir="auto">This has probably unintended consequences in the case of union types:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var x: string | number = "hello";
var y: number = 10;
var z: string | number = -1;
if (x < y && x <= z) {
}"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">x</span>: <span class="pl-smi">string</span> <span class="pl-c1">|</span> <span class="pl-smi">number</span> <span class="pl-c1">=</span> <span class="pl-s">"hello"</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">y</span>: <span class="pl-smi">number</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">z</span>: <span class="pl-smi">string</span> <span class="pl-c1">|</span> <span class="pl-smi">number</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1"><</span> <span class="pl-s1">y</span> <span class="pl-c1">&&</span> <span class="pl-s1">x</span> <span class="pl-c1"><=</span> <span class="pl-s1">z</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The question is: is this still desirable behavior?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ahejlsberg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ahejlsberg">@ahejlsberg</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RyanCavanaugh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RyanCavanaugh">@RyanCavanaugh</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/danquirk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/danquirk">@danquirk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mhegazy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mhegazy">@mhegazy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JsonFreeman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JsonFreeman">@JsonFreeman</a></p> | <p dir="auto"><strong>TypeScript Version:</strong><br>
1.8.10</p>
<p dir="auto">Now that VS Code can nicely log the traffic to the tsserver in an output window a failed request should return a stack trace if the request failed because of an exception. This would ease tracking down problem.</p>
<p dir="auto">The TS team could also consider setting up an AppInsight end point for logging. The TS extension in VS Code could then log telemetry data to that end point.</p> | 0 |
<p dir="auto">I create menu in render process. But the <code class="notranslate">console.log</code> below is not executed for top level menu items.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var remote = require('remote'),
Menu = remote.require('menu'),
MenuItem = remote.require('menu-item');
var tmp = [{
label: 'menu item',
click: function() {
console.log('menu item clicked'); // not executed
}
}];
var menu = Menu.buildFromTemplate(tmp);
Menu.setApplicationMenu(menu);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">remote</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'remote'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">Menu</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'menu'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-v">MenuItem</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'menu-item'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">tmp</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-c1">label</span>: <span class="pl-s">'menu item'</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-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">'menu item clicked'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// not executed</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">menu</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">tmp</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">Menu</span><span class="pl-kos">.</span><span class="pl-en">setApplicationMenu</span><span class="pl-kos">(</span><span class="pl-s1">menu</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <p dir="auto">It looks like there are plenty of options like <code class="notranslate">visible</code>, <code class="notranslate">enable</code>, etc in the <a href="https://github.com/atom/electron/blob/master/docs/api/menu-item.md">menu-item</a> but I couldn't find any way to do something with the menu after creating it. One of many failed attemps..</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var menu = Menu.buildFromTemplate(template);
menu.items[3].visible = false;
menu.items[3].enable = false;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">menu</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">menu</span><span class="pl-kos">.</span><span class="pl-c1">items</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">visible</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-s1">menu</span><span class="pl-kos">.</span><span class="pl-c1">items</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">enable</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span></pre></div> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.6</li>
<li>Operating System version: win10 x64</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>dubbo从2.8.4 的版本升级到2.7.6的版本,生产者启动正常,消费者调用多个应用的生产实例化dubbo的bean时抛出异常。 低版本启动正常,使用正常。</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="堆栈异常如下:
[stack trace.txt](https://github.com/apache/dubbo/files/4786508/stack.trace.txt)
"><pre class="notranslate"><code class="notranslate">堆栈异常如下:
[stack trace.txt](https://github.com/apache/dubbo/files/4786508/stack.trace.txt)
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.6</li>
<li>Operating System version: linux/windows</li>
<li>Java version: 1.8</li>
</ul>
<p dir="auto">简述一下问题<br>
启动一个consumer和一个provider<br>
在consumer中重复调用一个provider n次(执行时间长一点容易发现)<br>
这时向consumer发送kill -15 命令<br>
可能会报错:<br>
<code class="notranslate">org.apache.dubbo.rpc.RpcException: Failed to invoke the method sayHello in the service com.dubbo.springboot.demo.provider.service.DemoService. Tried 3 times of the providers [x.x.x.x:xxxx] (1/1) from the registry localhost:2181 on the consumer x.x.x.x using the dubbo version 2.7.6. Last error is: Failed to invoke remote method: sayHello, provider......</code><br>
导致程序提前中断</p>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>provider service<br>
`<br>
package org.apache.dubbo.spring.boot.sample.provider.service;</li>
</ol>
<p dir="auto">import org.apache.dubbo.config.annotation.Service;<br>
import org.springframework.beans.factory.annotation.Value;</p>
<p dir="auto">import com.dubbo.springboot.demo.provider.service.DemoService;</p>
<p dir="auto">/**</p>
<ul dir="auto">
<li>
<p dir="auto">Default {<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/link/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/link">@link</a> DemoService}</p>
</li>
<li>
</li><li>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/see/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/see">@see</a> DemoService</p>
</li>
<li>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SInCE/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SInCE">@SInCE</a> 2.7.0<br>
*/<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(version = "${demo.service.version}", timeout = 30000)<br>
public class DefaultDemoService implements DemoService {</p>
<p dir="auto">/**</p>
<ul dir="auto">
<li>The default value of ${dubbo.application.name} is ${spring.application.name}<br>
*/<br>
<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/value/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/value">@value</a>("${dubbo.application.name}")<br>
private String serviceName;</li>
</ul>
<p dir="auto">// <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/resource/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/resource">@resource</a><br>
// private KafkaTemplate<String, Object> kafkaTemplate;</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/OverRide/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/OverRide">@OverRide</a><br>
public String sayHello(String name) {<br>
try {<br>
Thread.sleep(1000);<br>
} catch (InterruptedException e) {<br>
e.printStackTrace();<br>
}<br>
System.out.println("sayHello");<br>
return String.format("[%s] : Hello, %s", serviceName, name);<br>
}<br>
}<br>
`</p>
</li>
</ul>
<ol start="2" dir="auto">
<li>consumer service<br>
`<br>
package com.dubbo.springboot.demo.consumer.service;</li>
</ol>
<p dir="auto">import org.apache.dubbo.config.annotation.Reference;<br>
import org.springframework.stereotype.Service;</p>
<p dir="auto">import com.dubbo.springboot.demo.provider.service.DemoService;</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a><br>
public class DemoConsumerService {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Reference(version = "${demo.service.version}")
private DemoService demoService;
public String sayHello(String name) {
for (int i = 0; i < 10; i++) {
try {
demoService.sayHello(name);
} catch (Exception e) {
e.printStackTrace();
}
}
return "nb";
}"><pre class="notranslate"><code class="notranslate">@Reference(version = "${demo.service.version}")
private DemoService demoService;
public String sayHello(String name) {
for (int i = 0; i < 10; i++) {
try {
demoService.sayHello(name);
} catch (Exception e) {
e.printStackTrace();
}
}
return "nb";
}
</code></pre></div>
<p dir="auto">}<br>
`</p>
<ol start="3" dir="auto">
<li>cause<br>
`</li>
</ol>
<ol dir="auto">
<li>
<p dir="auto">org.apache.dubbo.remoting.exchange.support.DefaultFuture ==> 184行<br>
private static final Map<Long, Channel> CHANNELS = new ConcurrentHashMap<>();<br>
public static void received(Channel channel, Response response, boolean timeout) {<br>
try {<br>
DefaultFuture future = FUTURES.remove(response.getId());<br>
if (future != null) {<br>
Timeout t = future.timeoutCheckTask;<br>
if (!timeout) {<br>
// decrease Time<br>
t.cancel();<br>
}<br>
future.doReceived(response);<br>
} else {<br>
logger.warn("The timeout response finally returned at "<br>
+ (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS").format(new Date()))<br>
+ ", response " + response<br>
+ (channel == null ? "" : ", channel: " + channel.getLocalAddress()<br>
+ " -> " + channel.getRemoteAddress()));<br>
}<br>
} finally {<br>
CHANNELS.remove(response.getId());// <== 这里会把channel删掉<br>
}<br>
}</p>
</li>
<li>
<p dir="auto">org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeChannel ==> 168行<br>
private volatile boolean closed = false;<br>
public void close(int timeout) {<br>
if (closed) {<br>
return;<br>
}<br>
closed = true; // <== 这里会导致在下面循环进行时,其他请求进不来,<br>
if (timeout > 0) {<br>
long start = System.currentTimeMillis();<br>
while (DefaultFuture.hasFuture(channel) // <== 因为1的原因这里会返回false<br>
&& System.currentTimeMillis() - start < timeout) {<br>
try {<br>
Thread.sleep(10); // <==可能存在10ms,channle已经从1中的CHANNELS里remove掉了,但是没有被close掉,导致下一次请求时closed还是true,而不是新创建一个channel,导致4出现问题<br>
} catch (InterruptedException e) {<br>
logger.warn(e.getMessage(), e);<br>
}<br>
}<br>
}<br>
close();<br>
}</p>
</li>
<li>
<p dir="auto">org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeChannel ==> 93行<br>
public void send(Object message, boolean sent) throws RemotingException {<br>
if (closed) {<br>
throw new RemotingException(this.getLocalAddress(), null, "Failed to send message " + message + ", cause: The channel " + this + " is closed!"); // <== 这里会因为2的原因报错<br>
}<br>
if (message instanceof Request<br>
|| message instanceof Response<br>
|| message instanceof String) {<br>
channel.send(message, sent);<br>
} else {<br>
Request request = new Request();<br>
request.setVersion(Version.getProtocolVersion());<br>
request.setTwoWay(false);<br>
request.setData(message);<br>
channel.send(request, sent);<br>
}<br>
}</p>
</li>
<li>
<p dir="auto">org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeChannel ==> 63行<br>
static HeaderExchangeChannel getOrAddChannel(Channel ch) {<br>
if (ch == null) {<br>
return null;<br>
}<br>
HeaderExchangeChannel ret = (HeaderExchangeChannel) ch.getAttribute(CHANNEL_KEY); // 因为channle没有被关闭,这里能取到ret而不是重新创建channle<br>
if (ret == null) {<br>
ret = new HeaderExchangeChannel(ch);<br>
if (ch.isConnected()) {<br>
ch.setAttribute(CHANNEL_KEY, ret);<br>
}<br>
}<br>
return ret;<br>
}<br>
`</p>
</li>
</ol>
<ol start="4" dir="auto">
<li></li>
</ol>
<p dir="auto">出现这种问题的原因:<br>
DefaultFuture 中有 CHANNELS ,在每次初始化 DefaultFuture 的时候会向里面添加数据<br>
有用在 HeaderExchangeChannel中 close(int timeout) DefaultFuture.hasFuture(channel)<br>
这里有一个循环,每隔10ms判断 CHANNELS 中是否还存在当前的 channel ,如果不存在则关闭当前channel,<br>
这就导致可能会存在10ms的误差,期间 CHANNELS 中已经没有了当前channel,但是当前channel并未关闭,closed = true,<br>
进而导致下一次调用该provider时,closed=true,在HeaderExchangeChannel 93行会抛出异常<br>
原本的逻辑应该是HeaderExchangeChannel 的 63行,当rat不存在的时候 创建一个HeaderExchangeChannel 进行通信.</p>
<p dir="auto">个人技术有限,现在没有完善的解决方案,希望各位大佬能解决一下</p>
<p dir="auto">第一次写的乱、草率还请见谅</p> | 0 |
<p dir="auto">React version: <code class="notranslate">16.13.0</code><br>
eslint-plugin-react-hooks version: <code class="notranslate">4.0.2</code></p>
<p dir="auto">When I upgraded from <code class="notranslate">^2.0.0</code> to <code class="notranslate">4.0.2</code>, this bug started happening:</p>
<h2 dir="auto">Steps To Reproduce</h2>
<p dir="auto">When you optionally chain, there is a bug with <code class="notranslate">exhaustive-deps</code>:</p>
<ol dir="auto">
<li>With no optional chaining, there is no issue</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24969218/82704534-9aecef80-9c2a-11ea-8eb9-b312b7cb951a.png"><img width="463" alt="Screen Shot 2020-05-22 at 12 48 55 PM" src="https://user-images.githubusercontent.com/24969218/82704534-9aecef80-9c2a-11ea-8eb9-b312b7cb951a.png" style="max-width: 100%;"></a></p>
<ol start="2" dir="auto">
<li>With optional chaining, we see an eslint error</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24969218/82704613-c8399d80-9c2a-11ea-91d0-b4f361114852.png"><img width="462" alt="Screen Shot 2020-05-22 at 12 50 12 PM" src="https://user-images.githubusercontent.com/24969218/82704613-c8399d80-9c2a-11ea-91d0-b4f361114852.png" style="max-width: 100%;"></a></p>
<p dir="auto">The error is</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="React Hook useEffect has a missing dependency: 'test?.includes'. Either include it or remove the dependency array. eslint(react-hooks/exhaustive-deps)"><pre class="notranslate"><code class="notranslate">React Hook useEffect has a missing dependency: 'test?.includes'. Either include it or remove the dependency array. eslint(react-hooks/exhaustive-deps)
</code></pre></div>
<p dir="auto">Which auto fixes to:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24969218/82704749-19499180-9c2b-11ea-9b5b-c539ac7beb45.png"><img width="465" alt="Screen Shot 2020-05-22 at 12 52 25 PM" src="https://user-images.githubusercontent.com/24969218/82704749-19499180-9c2b-11ea-9b5b-c539ac7beb45.png" style="max-width: 100%;"></a></p>
<p dir="auto">(in addition to being incorrect, this causes issues with the eslint <code class="notranslate">eslint@typescript-eslint/unbound-method</code> rule)</p> | <p dir="auto">Please add these files with full license text to the NPM distribution packages. Unfortunately, from the legal standpoint, simply specifying the name of the license is not enough, because it's unclear where to get the EXACT (legally binding) text of that license. This is a major roadblock on our way to using the module, seriously.</p>
<p dir="auto">Thanks a lot for the great code, and thanks in advance for fixing this blocker.</p> | 0 |
<p dir="auto">In this example, a line has been removed after line 13:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1072131/6334722/862032d0-bb64-11e4-8404-45b71c9ec587.png"><img src="https://cloud.githubusercontent.com/assets/1072131/6334722/862032d0-bb64-11e4-8404-45b71c9ec587.png" alt="screen shot 2015-02-23 at 2 01 26 pm" style="max-width: 100%;"></a></p> | <p dir="auto">You can't select multiple lines and press Cmd-shift-D and have them duplicated unlike Sublime or Textmate. In fact duplicate doesn't work if there is anything selected and duplicated only single line.</p>
<p dir="auto">I expect:</p>
<ol dir="auto">
<li>To be able to duplicate multiple lines.</li>
<li>To duplicate current line regardless of the selected text. Or just duplicate the selection, but not silently ignore the command.</li>
</ol>
<p dir="auto">From support/b89ae7f4a02211e3886a0ac80a315a00#C3</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/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/wiki/FAQ">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.3</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<ol dir="auto">
<li>configurators 里面的参数不能动态生效</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">动态生效</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">不生效</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.3</li>
<li>Operating System version: macOs sierra</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>define two dubbo protocols with different port, like below.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Configuration
public class DubboConfiguration {
@Bean
public ProtocolConfig config1() {
ProtocolConfig config = new ProtocolConfig();
config.setId("dubbo1");
config.setName("dubbo");
config.setPort(20880);
return config;
}
@Bean
public ProtocolConfig config2() {
ProtocolConfig config = new ProtocolConfig();
config.setId("dubbo2");
config.setName("dubbo");
config.setPort(20770);
return config;
}
}"><pre class="notranslate"><code class="notranslate">@Configuration
public class DubboConfiguration {
@Bean
public ProtocolConfig config1() {
ProtocolConfig config = new ProtocolConfig();
config.setId("dubbo1");
config.setName("dubbo");
config.setPort(20880);
return config;
}
@Bean
public ProtocolConfig config2() {
ProtocolConfig config = new ProtocolConfig();
config.setId("dubbo2");
config.setName("dubbo");
config.setPort(20770);
return config;
}
}
</code></pre></div>
<ol start="2" dir="auto">
<li>specify dubbo bean id "dubbo1" as Service annotation protocol, but not spring bean name "config1".</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Service(protocol = "dubbo1")"><pre class="notranslate"><code class="notranslate">@Service(protocol = "dubbo1")
</code></pre></div>
<ol start="3" dir="auto">
<li>startup the provider and see output log, and see application failed to start without dubbo1 protocol.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="***************************
APPLICATION FAILED TO START
***************************
Description:
A component required a bean named 'dubbo1' that could not be found."><pre class="notranslate"><code class="notranslate">***************************
APPLICATION FAILED TO START
***************************
Description:
A component required a bean named 'dubbo1' that could not be found.
</code></pre></div>
<p dir="auto">If we are specify config1 as the protocol, the application can start up succeed. When ServiceBean initialize, it will get reference bean from spring, cannot recognize dubbo properties.<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/service/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/service">@service</a>(protocol = "config1")</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">The application start up succeed.</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">The application start up failed without dubbo1 protocol.</p> | 0 |
<p dir="auto">After installing <code class="notranslate">Firestore</code>, Android app won't compile.</p>
<p dir="auto">Error says like these</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="D8: Program type already present: android.arch.core.util.Function
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/2.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/3.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/4.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/5.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/6.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/7.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/8.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/9.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/10.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/11.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/12.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/13.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/14.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/15.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/16.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/17.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/18.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/19.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/20.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/21.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/22.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/23.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/24.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/25.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/26.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/27.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/28.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/29.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/30.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/31.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/32.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/33.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/34.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/35.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/36.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/37.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/38.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/39.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/40.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/41.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/42.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/43.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/44.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/45.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/46.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/47.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/48.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/49.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.arch.core.util.Function
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 33s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)"><pre class="notranslate"><code class="notranslate">D8: Program type already present: android.arch.core.util.Function
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/2.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/3.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/4.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/5.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/6.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/7.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/8.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/9.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/10.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/11.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/12.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/13.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/14.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/15.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/16.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/17.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/18.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/19.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/20.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/21.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/22.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/23.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/24.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/25.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/26.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/27.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/28.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/29.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/30.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/31.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/32.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/33.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/34.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/35.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/36.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/37.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/38.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/39.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/40.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/41.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/42.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/43.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/44.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/45.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/46.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/47.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/48.jar, /Users/kotin/Desktop/flutter/nandebu/build/app/intermediates/transforms/dexBuilder/debug/49.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.arch.core.util.Function
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 33s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
</code></pre></div>
<p dir="auto"><strong>flutter doctor</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.11.13, on Mac OS X 10.13.6 17G3025, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.29.1)
[✓] Connected device (2 available)
• No issues found!"><pre class="notranslate"><code class="notranslate">[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.11.13, on Mac OS X 10.13.6 17G3025, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.29.1)
[✓] Connected device (2 available)
• No issues found!
</code></pre></div> | <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
/*
reading and writing data from a file is showcased in the following steps:
steps 1-4: the foundation for saving/reading data to/from txt files
*/
void main() async {
var data = await readData();
if (data != null) {
String message = await readData();
print(message);
}
runApp(new MaterialApp(
title: "IO",
home: new Home(),
));
}
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
var _enterDataField = new TextEditingController();
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text("Read/Write"),
centerTitle: true,
backgroundColor: Colors.greenAccent,
),
body: new Container(
padding: const EdgeInsets.all(13.0),
alignment: Alignment.topCenter,
child: new ListTile(
title: new TextField(
controller: _enterDataField,
decoration: new InputDecoration(
labelText: 'Write Something here'
),
),
subtitle: new FlatButton(
onPressed: () {
if (_enterDataField.text.isNotEmpty)
writeData(_enterDataField.text);
},
child: new Column(
children: <Widget>[
new Text('Save Data'),
new Padding(padding: new EdgeInsets.all(14.0)),
new Text('Saved data goes here')
],
)),
),
),
);
}
}
// 1st step:
// this gets the path to local directory
Future<String> get _localPath async {
final directory = await getApplicationDocumentsDirectory();
return directory.path;
}
// 2nd step:
// this is to create a file
Future<File> get _localFile async {
final path = await _localPath;
// the name is what's after $path/
return new File('$path/data.txt');
}
// 3rd step:
// write data to file
Future<File> writeData(String message) async {
final file = await _localFile;
//write to file
return file.writeAsString('$message');
}
// 4th step:
// read data from file
Future<String> readData() async {
try {
final file = await _localFile;
//read from file
String data = await file.readAsString();
return data;
}
catch(e) {
debugPrint(e.toString());
return "nothing saved yet!";
}
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'dart:async'</span>;
<span class="pl-k">import</span> <span class="pl-s">'dart:io'</span>;
<span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">import</span> <span class="pl-s">'package:path_provider/path_provider.dart'</span>;
<span class="pl-c">/*</span>
<span class="pl-c">reading and writing data from a file is showcased in the following steps:</span>
<span class="pl-c"> steps 1-4: the foundation for saving/reading data to/from txt files</span>
<span class="pl-c"></span>
<span class="pl-c">*/</span>
<span class="pl-k">void</span> <span class="pl-en">main</span>() <span class="pl-k">async</span> {
<span class="pl-k">var</span> data <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-en">readData</span>();
<span class="pl-k">if</span> (data <span class="pl-k">!=</span> <span class="pl-c1">null</span>) {
<span class="pl-c1">String</span> message <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-en">readData</span>();
<span class="pl-en">print</span>(message);
}
<span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MaterialApp</span>(
title<span class="pl-k">:</span> <span class="pl-s">"IO"</span>,
home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Home</span>(),
));
}
<span class="pl-k">class</span> <span class="pl-c1">Home</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> {
<span class="pl-k">@override</span>
<span class="pl-c1">_HomeState</span> <span class="pl-en">createState</span>() <span class="pl-k">=></span> <span class="pl-c1">_HomeState</span>();
}
<span class="pl-k">class</span> <span class="pl-c1">_HomeState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span><<span class="pl-c1">Home</span>> {
<span class="pl-k">var</span> _enterDataField <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>();
<span class="pl-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>(
appBar<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">AppBar</span>(
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">"Read/Write"</span>),
centerTitle<span class="pl-k">:</span> <span class="pl-c1">true</span>,
backgroundColor<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.greenAccent,
),
body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Container</span>(
padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">all</span>(<span class="pl-c1">13.0</span>),
alignment<span class="pl-k">:</span> <span class="pl-c1">Alignment</span>.topCenter,
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ListTile</span>(
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
controller<span class="pl-k">:</span> _enterDataField,
decoration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">InputDecoration</span>(
labelText<span class="pl-k">:</span> <span class="pl-s">'Write Something here'</span>
),
),
subtitle<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">FlatButton</span>(
onPressed<span class="pl-k">:</span> () {
<span class="pl-k">if</span> (_enterDataField.text.isNotEmpty)
<span class="pl-en">writeData</span>(_enterDataField.text);
},
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Column</span>(
children<span class="pl-k">:</span> <span class="pl-k"><</span><span class="pl-c1">Widget</span><span class="pl-k">></span>[
<span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Save Data'</span>),
<span class="pl-k">new</span> <span class="pl-c1">Padding</span>(padding<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">all</span>(<span class="pl-c1">14.0</span>)),
<span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Saved data goes here'</span>)
],
)),
),
),
);
}
}
<span class="pl-c">// 1st step:</span>
<span class="pl-c">// this gets the path to local directory</span>
<span class="pl-c1">Future</span><<span class="pl-c1">String</span>> <span class="pl-k">get</span> _localPath <span class="pl-k">async</span> {
<span class="pl-k">final</span> directory <span class="pl-k">=</span> <span class="pl-k">await</span> <span class="pl-en">getApplicationDocumentsDirectory</span>();
<span class="pl-k">return</span> directory.path;
}
<span class="pl-c">// 2nd step:</span>
<span class="pl-c">// this is to create a file</span>
<span class="pl-c1">Future</span><<span class="pl-c1">File</span>> <span class="pl-k">get</span> _localFile <span class="pl-k">async</span> {
<span class="pl-k">final</span> path <span class="pl-k">=</span> <span class="pl-k">await</span> _localPath;
<span class="pl-c">// the name is what's after $path/</span>
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">File</span>(<span class="pl-s">'$<span class="pl-v">path</span>/data.txt'</span>);
}
<span class="pl-c">// 3rd step:</span>
<span class="pl-c">// write data to file</span>
<span class="pl-c1">Future</span><<span class="pl-c1">File</span>> <span class="pl-en">writeData</span>(<span class="pl-c1">String</span> message) <span class="pl-k">async</span> {
<span class="pl-k">final</span> file <span class="pl-k">=</span> <span class="pl-k">await</span> _localFile;
<span class="pl-c">//write to file</span>
<span class="pl-k">return</span> file.<span class="pl-en">writeAsString</span>(<span class="pl-s">'$<span class="pl-v">message</span>'</span>);
}
<span class="pl-c">// 4th step:</span>
<span class="pl-c">// read data from file</span>
<span class="pl-c1">Future</span><<span class="pl-c1">String</span>> <span class="pl-en">readData</span>() <span class="pl-k">async</span> {
<span class="pl-k">try</span> {
<span class="pl-k">final</span> file <span class="pl-k">=</span> <span class="pl-k">await</span> _localFile;
<span class="pl-c">//read from file</span>
<span class="pl-c1">String</span> data <span class="pl-k">=</span> <span class="pl-k">await</span> file.<span class="pl-en">readAsString</span>();
<span class="pl-k">return</span> data;
}
<span class="pl-k">catch</span>(e) {
<span class="pl-en">debugPrint</span>(e.<span class="pl-en">toString</span>());
<span class="pl-k">return</span> <span class="pl-s">"nothing saved yet!"</span>;
}
}
</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Console:
Initializing hot reload...
I/flutter ( 4813): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 4813): The following assertion was thrown during performLayout():
I/flutter ( 4813): 'package:flutter/src/rendering/box.dart': Failed assertion: line 1604 pos 12:
I/flutter ( 4813): '!_debugDoingBaseline': is not true.
I/flutter ( 4813):
I/flutter ( 4813): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 4813): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 4813): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 4813): https://github.com/flutter/flutter/issues/new
I/flutter ( 4813):
I/flutter ( 4813): When the exception was thrown, this was the stack:
I/flutter ( 4813): #2 RenderBox.getDistanceToBaseline (package:flutter/src/rendering/box.dart)
I/flutter ( 4813): #3 _RenderDecoration._layout.layoutLineBox (package:flutter/src/material/input_decorator.dart:751:35)
I/flutter ( 4813): #4 _RenderDecoration._layout (package:flutter/src/material/input_decorator.dart:782:18)
I/flutter ( 4813): #5 _RenderDecoration.performLayout (package:flutter/src/material/input_decorator.dart:905:44)
I/flutter ( 4813): #6 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #7 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #8 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #9 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #10 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #11 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #12 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #13 _RenderListTile._layoutBox (package:flutter/src/material/list_tile.dart:726:9)
I/flutter ( 4813): #14 _RenderListTile.performLayout (package:flutter/src/material/list_tile.dart:756:28)
I/flutter ( 4813): #15 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #16 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 4813): #17 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #18 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #19 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #20 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #21 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #22 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #23 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #24 RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:381:13)
I/flutter ( 4813): #25 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #26 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 4813): #27 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #28 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:141:11)
I/flutter ( 4813): #29 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:399:7)
I/flutter ( 4813): #30 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:211:7)
I/flutter ( 4813): #31 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:355:14)
I/flutter ( 4813): #32 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #33 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #34 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #35 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #36 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1143:11)
I/flutter ( 4813): #37 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #38 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #39 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #40 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #41 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #42 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #43 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #44 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #45 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #46 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #47 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #48 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #49 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #50 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #51 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #52 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #53 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2831:13)
I/flutter ( 4813): #54 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #55 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:520:15)
I/flutter ( 4813): #56 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #57 __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #58 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #59 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #60 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #61 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #62 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #63 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #64 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #65 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #66 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #67 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #68 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #69 RenderView.performLayout (package:flutter/src/rendering/view.dart:125:13)
I/flutter ( 4813): #70 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1445:7)
I/flutter ( 4813): #71 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:709:18)
I/flutter ( 4813): #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
I/flutter ( 4813): #73 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:627:13)
I/flutter ( 4813): #74 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 4813): #75 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 4813): #76 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 4813): #77 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 4813): #79 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 4813): #80 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 4813): #81 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 4813): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter ( 4813):
I/flutter ( 4813): The following RenderObject was being processed when the exception was fired:
I/flutter ( 4813): _RenderDecoration#2ed2f relayoutBoundary=up11 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4813): creator: _Decorator ← InputDecorator ← AnimatedBuilder ← Listener ← RawGestureDetector ←
I/flutter ( 4813): GestureDetector ← IgnorePointer ← Semantics ← TextField ← DefaultTextStyle ←
I/flutter ( 4813): AnimatedDefaultTextStyle ← _ListTile ← ⋯
I/flutter ( 4813): parentData: <none> (can use size)
I/flutter ( 4813): constraints: BoxConstraints(w=353.4, 0.0<=h<=577.4)
I/flutter ( 4813): size: Size(353.4, 59.0)
I/flutter ( 4813): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 4813): RenderRepaintBoundary#53a61 relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 4813): RenderRepaintBoundary#dfec3 relayoutBoundary=up13 NEEDS-PAINT
I/flutter ( 4813): RenderCustomPaint#d1b2d relayoutBoundary=up14 NEEDS-PAINT
I/flutter ( 4813): RenderRepaintBoundary#790bc relayoutBoundary=up15 NEEDS-PAINT
I/flutter ( 4813): RenderPointerListener#45d71 relayoutBoundary=up16 NEEDS-PAINT
I/flutter ( 4813): RenderTransform#5d68a relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 4813): RenderParagraph#539b5 relayoutBoundary=up13 NEEDS-PAINT
I/flutter ( 4813): RenderConstrainedBox#e3086 relayoutBoundary=up12 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4813): RenderCustomPaint#37e69 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4813): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 4813): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1604 pos 12: '!_debugDoingBaseline': is not true.
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: _RenderListTile#285aa relayoutBoundary=up7 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: RenderPadding#7f10e relayoutBoundary=up6 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#3363e relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#31536 relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 310 pos 12: 'child.hasSize': is not true.
Reloaded 1 of 392 libraries in 945ms."><pre class="notranslate"><code class="notranslate">Console:
Initializing hot reload...
I/flutter ( 4813): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 4813): The following assertion was thrown during performLayout():
I/flutter ( 4813): 'package:flutter/src/rendering/box.dart': Failed assertion: line 1604 pos 12:
I/flutter ( 4813): '!_debugDoingBaseline': is not true.
I/flutter ( 4813):
I/flutter ( 4813): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 4813): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 4813): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 4813): https://github.com/flutter/flutter/issues/new
I/flutter ( 4813):
I/flutter ( 4813): When the exception was thrown, this was the stack:
I/flutter ( 4813): #2 RenderBox.getDistanceToBaseline (package:flutter/src/rendering/box.dart)
I/flutter ( 4813): #3 _RenderDecoration._layout.layoutLineBox (package:flutter/src/material/input_decorator.dart:751:35)
I/flutter ( 4813): #4 _RenderDecoration._layout (package:flutter/src/material/input_decorator.dart:782:18)
I/flutter ( 4813): #5 _RenderDecoration.performLayout (package:flutter/src/material/input_decorator.dart:905:44)
I/flutter ( 4813): #6 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #7 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #8 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #9 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #10 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #11 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #12 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #13 _RenderListTile._layoutBox (package:flutter/src/material/list_tile.dart:726:9)
I/flutter ( 4813): #14 _RenderListTile.performLayout (package:flutter/src/material/list_tile.dart:756:28)
I/flutter ( 4813): #15 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #16 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 4813): #17 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #18 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #19 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #20 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #21 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #22 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #23 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #24 RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:381:13)
I/flutter ( 4813): #25 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #26 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter ( 4813): #27 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #28 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:141:11)
I/flutter ( 4813): #29 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:399:7)
I/flutter ( 4813): #30 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:211:7)
I/flutter ( 4813): #31 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:355:14)
I/flutter ( 4813): #32 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #33 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #34 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #35 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #36 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1143:11)
I/flutter ( 4813): #37 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #38 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #39 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #40 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #41 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #42 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #43 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #44 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #45 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #46 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #47 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #48 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #49 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #50 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #51 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #52 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #53 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2831:13)
I/flutter ( 4813): #54 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #55 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:520:15)
I/flutter ( 4813): #56 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #57 __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #58 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #59 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #60 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #61 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #62 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #63 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #64 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #65 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #66 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #67 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter ( 4813): #68 RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter ( 4813): #69 RenderView.performLayout (package:flutter/src/rendering/view.dart:125:13)
I/flutter ( 4813): #70 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1445:7)
I/flutter ( 4813): #71 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:709:18)
I/flutter ( 4813): #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
I/flutter ( 4813): #73 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:627:13)
I/flutter ( 4813): #74 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 4813): #75 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 4813): #76 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 4813): #77 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 4813): #79 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 4813): #80 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 4813): #81 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 4813): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter ( 4813):
I/flutter ( 4813): The following RenderObject was being processed when the exception was fired:
I/flutter ( 4813): _RenderDecoration#2ed2f relayoutBoundary=up11 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4813): creator: _Decorator ← InputDecorator ← AnimatedBuilder ← Listener ← RawGestureDetector ←
I/flutter ( 4813): GestureDetector ← IgnorePointer ← Semantics ← TextField ← DefaultTextStyle ←
I/flutter ( 4813): AnimatedDefaultTextStyle ← _ListTile ← ⋯
I/flutter ( 4813): parentData: <none> (can use size)
I/flutter ( 4813): constraints: BoxConstraints(w=353.4, 0.0<=h<=577.4)
I/flutter ( 4813): size: Size(353.4, 59.0)
I/flutter ( 4813): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 4813): RenderRepaintBoundary#53a61 relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 4813): RenderRepaintBoundary#dfec3 relayoutBoundary=up13 NEEDS-PAINT
I/flutter ( 4813): RenderCustomPaint#d1b2d relayoutBoundary=up14 NEEDS-PAINT
I/flutter ( 4813): RenderRepaintBoundary#790bc relayoutBoundary=up15 NEEDS-PAINT
I/flutter ( 4813): RenderPointerListener#45d71 relayoutBoundary=up16 NEEDS-PAINT
I/flutter ( 4813): RenderTransform#5d68a relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 4813): RenderParagraph#539b5 relayoutBoundary=up13 NEEDS-PAINT
I/flutter ( 4813): RenderConstrainedBox#e3086 relayoutBoundary=up12 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4813): RenderCustomPaint#37e69 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4813): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 4813): Another exception was thrown: 'package:flutter/src/rendering/box.dart': Failed assertion: line 1604 pos 12: '!_debugDoingBaseline': is not true.
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: _RenderListTile#285aa relayoutBoundary=up7 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: RenderPadding#7f10e relayoutBoundary=up6 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#3363e relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#31536 relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 4813): Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 310 pos 12: 'child.hasSize': is not true.
Reloaded 1 of 392 libraries in 945ms.
</code></pre></div> | 0 |
<p dir="auto">Often I'll have Code open and then try to open a new file either through code.bat, "Open With Code", or even from the Start Menu and nothing will happen. I assume this has been reported several times before, but couldn't find anything as there are lots of issues reported here.</p>
<ul dir="auto">
<li>VSCode Version: 1.0.0</li>
<li>OS Version: 10.14335</li>
</ul>
<p dir="auto">Steps to Reproduce:<br>
Not 100% sure of the steps to get this to happen every time</p>
<ol dir="auto">
<li>Have code running already with some files open (1 or more instances of it)</li>
<li>Right click on a file and select <code class="notranslate">Open with Code</code></li>
<li>Nothing starts up - no additional <code class="notranslate">code.exe</code>s show up in Task Manager</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1149244/15053789/126e454a-12b9-11e6-9382-92cf2350672c.png"><img src="https://cloud.githubusercontent.com/assets/1149244/15053789/126e454a-12b9-11e6-9382-92cf2350672c.png" alt="Task Manager when code is not working - only 1 window" style="max-width: 100%;"></a></p>
<p dir="auto">If I then close all of the active Code windows and try again, things work.<br>
This means that I then lose my active files :(</p> | <ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Windows 10</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<p dir="auto">Open VS Code<br>
In Explorer, double click a file that's associated with VS Code or right click and use "Open in Code".<br>
Often, nothing happens unless I close the previous instance of Code. Sometimes, it works.</p> | 1 |
<p dir="auto"><a href="https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/v/973915_407301976052310_852666674_n.jpg?oh=a5b563d74a06911ff7f752a397a4df52&oe=51C2C120&__gda__=1371717602_c1ad37717bc1f318d637c94e233a8b41" rel="nofollow">https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn2/v/973915_407301976052310_852666674_n.jpg?oh=a5b563d74a06911ff7f752a397a4df52&oe=51C2C120&__gda__=1371717602_c1ad37717bc1f318d637c94e233a8b41</a></p> | <p dir="auto">When looking at the carousel example on my iPhone, and open the responsive menu, the carousel indicators are not hidden and are visible (bleed through) inside the menu.</p> | 1 |
<p dir="auto">Sorry if this issue exists already, I searched but couldn't find anything.</p>
<p dir="auto"><strong>Issue:</strong> Currently I have atom 0.123.0 installed on windows 8. If I launch atom from the start menu, Help>Version shows 0.123.0. If I launch atom by opening a file from Windows Explorer, Help>Version shows 0.115.0. This may be the first version of atom I installed, but I think it was a few versions before that (110-113, I'd guess).<br>
<strong>Expected Behavior:</strong> Regardless of how atom launches, the most current version should launch.<br>
<strong>Attempted Solutions:</strong> I've tried telling windows to Open With atom from a few different locations, including the shim in /ProgramData/chocolatey/, and the shortcut on the start menu, which I know launches the right version.</p>
<p dir="auto">Any assistance is appreciated. I'm currently in between projects, so I am not writing much code, so I don't mind trying any suggestions, debug, etc, even if it kills things for a little bit.</p> | <p dir="auto">I've just updated Atom via Chocolatey to 0.123. Version still shows 0.116.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5153378/3941971/14a2f4a6-254d-11e4-91b4-46d95961fd94.png"><img src="https://cloud.githubusercontent.com/assets/5153378/3941971/14a2f4a6-254d-11e4-91b4-46d95961fd94.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">For some small example data, on my system (and one other), <code class="notranslate">operator.lshift</code> and <code class="notranslate">operator.rshift</code> randomly return incorrect results.</p>
<p dir="auto">PC 1:</p>
<ul dir="auto">
<li>macOS 10.13.2</li>
<li>Anaconda (latest)</li>
<li>Python 3.6.4</li>
<li>Numpy 1.13.3</li>
</ul>
<p dir="auto">PC 2:</p>
<ul dir="auto">
<li>Same as PC 1, except Numpy 1.14.0</li>
<li>New Conda env</li>
</ul>
<p dir="auto">Third config:</p>
<ul dir="auto">
<li>PC 1, but with system Python 2.7 and a clean VENV</li>
<li>Numpy 1.14.0</li>
</ul>
<p dir="auto">Simple test (only fails on some data) and doesn't fail on third configuration. But it can be reproduced reliably.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
if __name__ == '__main__':
x = np.load('x.npy')
y = np.load('y.npy')
print(x.shape) # (2, 3, 4)
print(y.shape) # (2, 3, 4)
print(x.shape == y.shape) # True
print(x[0, 2, 0] << y[0, 2, 0]) # 1476395008
print((x << y)[0, 2, 0]) # 0
print(x[0, 2, 0] << y[0, 2, 0] == (x << y)[0, 2, 0]) # False"><pre class="notranslate"><code class="notranslate">import numpy as np
if __name__ == '__main__':
x = np.load('x.npy')
y = np.load('y.npy')
print(x.shape) # (2, 3, 4)
print(y.shape) # (2, 3, 4)
print(x.shape == y.shape) # True
print(x[0, 2, 0] << y[0, 2, 0]) # 1476395008
print((x << y)[0, 2, 0]) # 0
print(x[0, 2, 0] << y[0, 2, 0] == (x << y)[0, 2, 0]) # False
</code></pre></div>
<p dir="auto">Attaching example data/project on which this happens (produced with <code class="notranslate">np.save</code>):<br>
<a href="https://github.com/numpy/numpy/files/1626656/numpy_test.zip">numpy_test.zip</a></p>
<p dir="auto">I strongly suspect this isn't really a Numpy bug, but maybe Python 3 related or possibly related to the compiler Anaconda uses.</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1856" rel="nofollow">http://projects.scipy.org/numpy/ticket/1856</a> on 2011-06-02 by trac user klasj, assigned to unknown.</em></p>
<p dir="auto">The bitshift operations, both right and left cycles when they are shifted more bits than<br>
the length of the datatype. This happens for both int32 and int64 but not for int16,<br>
unsigned integers works as expected. In the example below version 1.6.1 is used but<br>
this is also present in at least 1.5.0.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: import numpy as np
In [2]: np.right_shift(np.int32(8),32)
Out[2]: 8
In [3]: np.right_shift(np.int64(8),64)
Out[3]: 8
In [4]: np.right_shift(np.int16(8),16)
Out[4]: 0
In [5]: np.left_shift(np.int32(8),32)
Out[5]: 8
In [6]: np.left_shift(np.int64(8),64)
Out[6]: 8
In [7]: np.left_shift(np.int16(8),16)
Out[7]: 524288
In [8]: np.version.full_version
Out[8]: '1.6.1.dev-08953ea'"><pre class="notranslate"><code class="notranslate">In [1]: import numpy as np
In [2]: np.right_shift(np.int32(8),32)
Out[2]: 8
In [3]: np.right_shift(np.int64(8),64)
Out[3]: 8
In [4]: np.right_shift(np.int16(8),16)
Out[4]: 0
In [5]: np.left_shift(np.int32(8),32)
Out[5]: 8
In [6]: np.left_shift(np.int64(8),64)
Out[6]: 8
In [7]: np.left_shift(np.int16(8),16)
Out[7]: 524288
In [8]: np.version.full_version
Out[8]: '1.6.1.dev-08953ea'
</code></pre></div> | 1 |
<p dir="auto">I suspect most of the plugins don't work with noconflict mode, but I haven't tested them.</p>
<p dir="auto">I have bootstrap and jquery ui on the same page. jQuery ui starts, and creates $.fn.tooltip. Then bootstrap starts and overwrites it, then I do:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$.fn.bsTooltip = $.fn.tooltip.noConflict();
$('.my-element').bsTooltip()"><pre class="notranslate"><code class="notranslate">$.fn.bsTooltip = $.fn.tooltip.noConflict();
$('.my-element').bsTooltip()
</code></pre></div>
<p dir="auto">But, because of this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$.fn.tooltip = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('tooltip') // HARDCODED TOOLTIP STRING
, options = typeof option == 'object' && option
if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
if (typeof option == 'string') data[option]()
})
}"><pre class="notranslate"><code class="notranslate">$.fn.tooltip = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('tooltip') // HARDCODED TOOLTIP STRING
, options = typeof option == 'object' && option
if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
if (typeof option == 'string') data[option]()
})
}
</code></pre></div>
<p dir="auto">and this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var Tooltip = function (element, options) {
this.init('tooltip', element, options) // HARDCODED TOOLTIP STRING
}"><pre class="notranslate"><code class="notranslate">var Tooltip = function (element, options) {
this.init('tooltip', element, options) // HARDCODED TOOLTIP STRING
}
</code></pre></div>
<p dir="auto">It fails, because the getOptions function is getting everything based on the this.type, which is set by the Tooltip class as 'tooltip'...including the tooltip data, but that's hardcoded to 'tooltip' in the first code block.</p> | <p dir="auto">Does exists a method to avoid the conflict between Bootstrap's Tooltips and jQuery UI Tooltip method?</p>
<p dir="auto">I know that I can download jQuery UI without the tooltip component ... but if I would have this component too ... is possible to have tooltips working together?</p>
<p dir="auto">Bootstrap 2.2.2<br>
jQuery UI 1.9.2</p>
<p dir="auto">( sorry for the bad english :-) )</p> | 1 |
<p dir="auto">Can we possible add a feature to the Index command that gives the option of returning the source of the existing item on failure to update/insert. The failure would probably be caused by a version conflict. I have scenarios were multiple (external) nodes need to update the same key with different values and possibly the same value. If I get the source back it would remove the need for me to have to query for it on failure to figure out what state I am in.</p> | <p dir="auto">So I was wondering if it would be possible to add a feature to UPDATE for returning the old source of a document that exist before the update is applied. This would be useful in scenarios where you want to update a document and possibly take additional actions if the update caused certain values in the document to change. The current alternative is to do a GET operation before the update, but then you can run into possible timing issues. Not mention you take the additional network call to perform the GET.</p> | 1 |
<p dir="auto">Here is a classic example of creating a React class in es6:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export class Counter extends React.Component {
componentWillReceiveProps(nextProps, nextContext) {
...
}
shouldComponentUpdate(nextProps, nextState, nextContext) {
...
}
render() {
...
}
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">Counter</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-kos">{</span>
<span class="pl-en">componentWillReceiveProps</span><span class="pl-kos">(</span><span class="pl-s1">nextProps</span><span class="pl-kos">,</span> <span class="pl-s1">nextContext</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
...
<span class="pl-kos">}</span>
<span class="pl-en">shouldComponentUpdate</span><span class="pl-kos">(</span><span class="pl-s1">nextProps</span><span class="pl-kos">,</span> <span class="pl-s1">nextState</span><span class="pl-kos">,</span> <span class="pl-s1">nextContext</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>
...
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">There are a few things I find bothersome with the lifecycle method names:</p>
<h1 dir="auto">Problem</h1>
<h2 dir="auto">Including 'component' in the method name is redundant</h2>
<p dir="auto">Since we are extending a class, Liskov substitution tells us that we the subclass we are implementing should implement the behaviors of <code class="notranslate">Component</code>. Since we know our class is a Component, saying <code class="notranslate">componentWillReceiveProps</code> is redundant, we could just as well say <code class="notranslate">willReceiveProps</code>.</p>
<p dir="auto">This redundancy may seem trivial, but it is more typing, more boilerplate, and thus, more error-prone.</p>
<h2 dir="auto">The name is non-orthogonal</h2>
<ol dir="auto">
<li><code class="notranslate">componentWillMount</code></li>
<li><code class="notranslate">componentDidMount</code></li>
<li><code class="notranslate">componentWillReceiveProps</code></li>
<li><code class="notranslate">shouldComponentUpdate</code> <- <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji></li>
<li><code class="notranslate">componentWillUpdate</code></li>
<li><code class="notranslate">componentDidUpdate</code></li>
<li><code class="notranslate">componentWillUnmount</code></li>
</ol>
<p dir="auto">I end up typing <code class="notranslate">componentShouldUpdate</code> more often than I would like to admit. At best, this is a distraction, at worst, it is a subtle source of bugs.</p>
<h1 dir="auto">Proposed Solution</h1>
<p dir="auto">Add alias methods fore the lifecycle methods</p>
<ol dir="auto">
<li><code class="notranslate">componentWillMount</code> ----> <code class="notranslate">willMount</code></li>
<li><code class="notranslate">componentDidMount</code> ----> <code class="notranslate">didMount</code></li>
<li><code class="notranslate">componentWillReceiveProps</code> ----> <code class="notranslate">willReceiveProps</code></li>
<li><code class="notranslate">shouldComponentUpdate</code> ----> <code class="notranslate">shouldUpdate</code></li>
<li><code class="notranslate">componentWillUpdate</code> ----> <code class="notranslate">willUpdate</code></li>
<li><code class="notranslate">componentDidUpdate</code> ----> <code class="notranslate">didUpdate</code></li>
<li><code class="notranslate">componentWillUnmount</code> ----> <code class="notranslate">willUnmount</code></li>
</ol>
<p dir="auto">Now, this will obviously require a deprecation cycle as we need to warn users that are using these method names for other reasons. It seems to be somewhat common (a quick search on Github shows many people doing this).</p>
<h2 dir="auto">Conclusion</h2>
<p dir="auto">Although this may seem like bike-shedding, I think this is important and will save time/agony for the long future of React users (old and new).</p>
<p dir="auto"><g-emoji class="g-emoji" alias="heart" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2764.png">❤️</g-emoji></p> | <p dir="auto">Pardon the stupid joke.</p>
<p dir="auto">I was curious what was the rationale (if there is one) behind having 'component' in the lifecycle methods. To me it seems unnecessary as they are clearly in the context of a component. What would make sense to me though is grouping the lifecycle methods like this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Example extends React.Component {
lifecycle: {
willMount() {...},
didMount() {...},
willReceiveProps() {...},
//especially weird that shouldComponentUpdate is the only method that has 'component' in the middle
shouldUpdate() {...},
willUpdate() {...},
didUpdate() {...},
willUnmount() {...},
}
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">Example</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-kos">{</span>
<span class="pl-c1">lifecycle</span>: <span class="pl-kos">{</span>
<span class="pl-en">willMount</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">didMount</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">willReceiveProps</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>...<span class="pl-kos">}</span><span class="pl-kos"></span><span class="pl-kos">,</span>
<span class="pl-c">//especially weird that shouldComponentUpdate is the only method that has 'component' in the middle</span>
<span class="pl-en">shouldUpdate</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">willUpdate</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">didUpdate</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">willUnmount</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>...<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div> | 1 |
<p dir="auto"><a href="http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/511/steps/test/logs/stdio" rel="nofollow">http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/511/steps/test/logs/stdio</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tests::rustpkg_library_target
tests::test_install_git
tests::test_package_version"><pre class="notranslate"><code class="notranslate">tests::rustpkg_library_target
tests::test_install_git
tests::test_package_version
</code></pre></div>
<p dir="auto">I am going to xfail these for now, because they're causing a lot of buildbot failures.</p> | <p dir="auto">WIth rust 0.6 master, and incoming, I get an internal compile error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: node_id_to_type: no type for node `expr 0 as int id=13)`"><pre class="notranslate"><code class="notranslate">error: internal compiler error: node_id_to_type: no type for node `expr 0 as int id=13)`
</code></pre></div>
<p dir="auto">This is a simple test case that reproduces the error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub mod buffer_binding {
use super::BufferType;
pub struct Context { handle : BufferType }
}
pub enum BufferType {
ArrayBuffer = 0 as int
}"><pre class="notranslate"><code class="notranslate">pub mod buffer_binding {
use super::BufferType;
pub struct Context { handle : BufferType }
}
pub enum BufferType {
ArrayBuffer = 0 as int
}
</code></pre></div>
<p dir="auto">Strangely, the error only happens when the enumeration is defined after the submodule.</p> | 0 |
<p dir="auto">Using</p>
<ol dir="auto">
<li>Elasticsearch: 2.3.1</li>
<li>JVM version: 1.8.0_60-b27</li>
<li>OS version: Centos 7</li>
</ol>
<p dir="auto">With</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".
.
.
node:
data: true
master: false
name: esd02-data4
tier: hot
os:
available_processors: 8
path:
data:
- /storage/sdb1
- /storage/sdx1
.
.
."><pre class="notranslate"><code class="notranslate">.
.
.
node:
data: true
master: false
name: esd02-data4
tier: hot
os:
available_processors: 8
path:
data:
- /storage/sdb1
- /storage/sdx1
.
.
.
</code></pre></div>
<p dir="auto">in <code class="notranslate">elasticsearch.yml</code> we have observed twice now where one of the disks (say, <code class="notranslate">/storage/sdx1</code>) will fill up to 100% while the other <code class="notranslate">/storage/sdb1</code> still has space. The error logs fill up with errors like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[logstash-syslog-2016.07.21][[logstash-syslog-2016.07.21][1]] IndexShardRecoveryException[failed to recovery from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: FileSystemException[/storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog.ckp -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog-7395039383191700052.tlog: No space left on device];
Caused by: [logstash-syslog-2016.07.21][[logstash-syslog-2016.07.21][1]] EngineCreationFailureException[failed to create engine]; nested: FileSystemException[/storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog.ckp -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog-7395039383191700052.tlog: No space left on device];
Caused by: java.nio.file.FileSystemException: /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog.ckp -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog-7395039383191700052.tlog: No space left on device
java.nio.file.FileSystemException: /storage/sdb1/stage/nodes/0/indices/logstash-syslog-2016.07.21/_state/state-13787.st -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/_state/state-13787.st.tmp: No space left on device"><pre class="notranslate"><code class="notranslate">[logstash-syslog-2016.07.21][[logstash-syslog-2016.07.21][1]] IndexShardRecoveryException[failed to recovery from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: FileSystemException[/storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog.ckp -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog-7395039383191700052.tlog: No space left on device];
Caused by: [logstash-syslog-2016.07.21][[logstash-syslog-2016.07.21][1]] EngineCreationFailureException[failed to create engine]; nested: FileSystemException[/storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog.ckp -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog-7395039383191700052.tlog: No space left on device];
Caused by: java.nio.file.FileSystemException: /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog.ckp -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/1/translog/translog-7395039383191700052.tlog: No space left on device
java.nio.file.FileSystemException: /storage/sdb1/stage/nodes/0/indices/logstash-syslog-2016.07.21/_state/state-13787.st -> /storage/sdx1/stage/nodes/0/indices/logstash-syslog-2016.07.21/_state/state-13787.st.tmp: No space left on device
</code></pre></div>
<p dir="auto">It's pretty obvious what's happening... <code class="notranslate">storage/sdx1</code> owns a shard of <code class="notranslate">logstash-syslog-2016.07.21</code> and ES is refusing to "break" the shard across multiple disk paths....</p>
<p dir="auto">but it's also failing to recover from this on its own, or to stop sending data to the shard whose disk is full. I would expect either (A) in the event of a full disk, ES would nominate the other shards to accept 100% of the writes to the index or (B) ES would loosen its requirement that shards are not allowed to span multiple write paths.</p> | <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="155765302" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/18467" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/18467/hovercard" href="https://github.com/elastic/elasticsearch/pull/18467">#18467</a> was intended to limit how many times shard allocation was attempted before giving up, instead of constantly retrying. eg if an analyzer requires a local synonyms file, which is missing, then we should stop trying until the situation is resolved.</p>
<p dir="auto">Unfortunately it doesn't work for unassigned primary shards because of the way allocation works today. For instance, a primary shard might be sitting on a disk which is over the high watermark, or it may have allocation filtering which prevents it from being allocated to the node where it already exists. Today, we just go ahead and try to assign the primary regardless of the allocation deciders (which means that we also don't limit retries to 5).</p>
<p dir="auto">Instead, we could add extra logic to the appropriate deciders to say "always return <code class="notranslate">YES</code> if the shard in question is a primary which already exists on this node". The decision returned would be <code class="notranslate">YES</code>, but the explanation provided by the reroute or cluster allocation explain could include the reason this decider was ignored.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ywelsch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ywelsch">@ywelsch</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dakrone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dakrone">@dakrone</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/s1monw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/s1monw">@s1monw</a></p>
<p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="154668066" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/18321" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/18321/hovercard" href="https://github.com/elastic/elasticsearch/issues/18321">#18321</a></p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.19041.264]
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): Run"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.19041.264]
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): Run
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>search for a window that is open</li>
<li>start menu shortcut appears before the WindowWalker window that is currently open. For example, "Whatsapp desktop" appears before the actual "whatsapp desktop" window that's open.<br>
<em>Note: shortcut doesn't work in some cases when the window is already open. Perhaps combine in these situations?</em></li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">I should have the open window show up ahead of the app shortcut.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/8107485/82364349-2bce8b80-99dd-11ea-906c-51616bc8e0b1.png"><img src="https://user-images.githubusercontent.com/8107485/82364349-2bce8b80-99dd-11ea-906c-51616bc8e0b1.png" alt="image" style="max-width: 100%;"></a></p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">It would be more useful if already running programs are shown first in the results list in the quick launcher (like the old WindowWalker). <strong><em>Or maybe an option to change the priority.</em></strong></p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">In the results list, the running programs should be first in the list.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/49621788/82359297-b4e1c480-99d5-11ea-9f35-8cdf32108868.png"><img src="https://user-images.githubusercontent.com/49621788/82359297-b4e1c480-99d5-11ea-9f35-8cdf32108868.png" alt="1" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/49621788/82359300-b57a5b00-99d5-11ea-964c-1b39bb99600d.png"><img src="https://user-images.githubusercontent.com/49621788/82359300-b57a5b00-99d5-11ea-964c-1b39bb99600d.png" alt="2" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Hey,</p>
<p dir="auto">This is just feedback really, but the map progress that used to display at the top of the map page with each section and how far you were through was really handy because you could quickly see which sections you still needed to do and how far through the challenges you were on each section and overall.</p>
<p dir="auto">In the new map layout you have to expand each section and scroll through to see which checkpoints are not ticked off, which is more time consuming and it is easy to miss the odd one.</p>
<p dir="auto">It makes it harder to know how far you have progressed.</p> | <p dir="auto">I like the new look and layout of the site, but think this is a missing feature.</p>
<p dir="auto">I would like to see the same kind of <strong>simple overview of my progress</strong> (using progress bars) and also <strong>quick links</strong> to different sections of the curriculum at the top like I could before.</p> | 1 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""""Bug pandas."""
from pandas import read_csv, to_datetime
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
dtf = read_csv(StringIO('Time, Value\n'
'2017-11-08 15:14:04.421,1\n'
'2017-11-08 15:14:05.528,2\n'
'2017-11-08 15:14:06.714,3\n'
'2017-11-08 15:14:07.113,4\n'
'2017-11-08 15:14:08.282,5\n'
'2017-11-08 15:14:08.681,6\n'
'2017-11-08 15:14:10.650,7\n'
'2017-11-08 15:14:11.826,8\n'
'2017-11-08 15:14:12.225,9\n'
'2017-11-08 15:14:13.416,10'))
dtf.Time = to_datetime(dtf.Time)
dtf.set_index('Time', inplace=True)
print(dtf)
dtf2 = dtf.resample('1s').bfill(limit=1)
print(dtf2)"><pre class="notranslate"><span class="pl-s">"""Bug pandas."""</span>
<span class="pl-k">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-s1">read_csv</span>, <span class="pl-s1">to_datetime</span>
<span class="pl-k">try</span>:
<span class="pl-k">from</span> <span class="pl-v">StringIO</span> <span class="pl-k">import</span> <span class="pl-v">StringIO</span>
<span class="pl-k">except</span> <span class="pl-v">ImportError</span>:
<span class="pl-k">from</span> <span class="pl-s1">io</span> <span class="pl-k">import</span> <span class="pl-v">StringIO</span>
<span class="pl-s1">dtf</span> <span class="pl-c1">=</span> <span class="pl-en">read_csv</span>(<span class="pl-v">StringIO</span>(<span class="pl-s">'Time, Value<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:04.421,1<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:05.528,2<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:06.714,3<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:07.113,4<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:08.282,5<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:08.681,6<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:10.650,7<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:11.826,8<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:12.225,9<span class="pl-cce">\n</span>'</span>
<span class="pl-s">'2017-11-08 15:14:13.416,10'</span>))
<span class="pl-s1">dtf</span>.<span class="pl-v">Time</span> <span class="pl-c1">=</span> <span class="pl-en">to_datetime</span>(<span class="pl-s1">dtf</span>.<span class="pl-v">Time</span>)
<span class="pl-s1">dtf</span>.<span class="pl-en">set_index</span>(<span class="pl-s">'Time'</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">dtf</span>)
<span class="pl-s1">dtf2</span> <span class="pl-c1">=</span> <span class="pl-s1">dtf</span>.<span class="pl-en">resample</span>(<span class="pl-s">'1s'</span>).<span class="pl-en">bfill</span>(<span class="pl-s1">limit</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dtf2</span>)</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">Current output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Value
Time
2017-11-08 15:14:04 1.0
2017-11-08 15:14:05 2.0
2017-11-08 15:14:06 3.0
2017-11-08 15:14:07 4.0
2017-11-08 15:14:08 5.0
2017-11-08 15:14:09 NaN
2017-11-08 15:14:10 7.0
2017-11-08 15:14:11 8.0
2017-11-08 15:14:12 9.0
2017-11-08 15:14:13 10.0"><pre class="notranslate"><code class="notranslate"> Value
Time
2017-11-08 15:14:04 1.0
2017-11-08 15:14:05 2.0
2017-11-08 15:14:06 3.0
2017-11-08 15:14:07 4.0
2017-11-08 15:14:08 5.0
2017-11-08 15:14:09 NaN
2017-11-08 15:14:10 7.0
2017-11-08 15:14:11 8.0
2017-11-08 15:14:12 9.0
2017-11-08 15:14:13 10.0
</code></pre></div>
<p dir="auto">Main issue: <code class="notranslate">NaN</code> is not expected.</p>
<p dir="auto">Secondary minor issue:<br>
<code class="notranslate">bfill</code> with <code class="notranslate">limit</code> is changing type of the column, <code class="notranslate">bfill</code> without <code class="notranslate">limit</code> is not changing the dtype</p>
<h4 dir="auto">Expected Output</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Value
Time
2017-11-08 15:14:04 1
2017-11-08 15:14:05 2
2017-11-08 15:14:06 3
2017-11-08 15:14:07 4
2017-11-08 15:14:08 5
2017-11-08 15:14:09 6
2017-11-08 15:14:10 7
2017-11-08 15:14:11 8
2017-11-08 15:14:12 9
2017-11-08 15:14:13 10"><pre class="notranslate"><code class="notranslate"> Value
Time
2017-11-08 15:14:04 1
2017-11-08 15:14:05 2
2017-11-08 15:14:06 3
2017-11-08 15:14:07 4
2017-11-08 15:14:08 5
2017-11-08 15:14:09 6
2017-11-08 15:14:10 7
2017-11-08 15:14:11 8
2017-11-08 15:14:12 9
2017-11-08 15:14:13 10
</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: 2.7.13.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 17.3.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: None<br>
LOCALE: None.None</p>
<p dir="auto">pandas: 0.22.0<br>
pytest: None<br>
pip: 9.0.1<br>
setuptools: 34.3.0<br>
Cython: None<br>
numpy: 1.14.0<br>
scipy: None<br>
pyarrow: None<br>
xarray: None<br>
IPython: None<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.6.1<br>
pytz: 2017.3<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: None<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.9.5<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None<br>
None</p>
</details> | <p dir="auto">If a dataframe has a single row for a given index entry, it returns a Series. If it<br>
has two rows for that index, it returns a DataFrame. I believe that it should return a<br>
DataFrame in either case for consistency.</p>
<p dir="auto">Image attached, small dataframe and notebook exhibiting the problem attached. OK, so<br>
I can't attach either the dataframe or the notebook, even suffixing them with .txt (github barfs).<br>
So I'm pasting the text fragment after the image..</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1727968/10252096/e0e7ed72-68fa-11e5-809c-a125c44a8fbf.png"><img width="959" alt="pandasinconsistenttypes" src="https://cloud.githubusercontent.com/assets/1727968/10252096/e0e7ed72-68fa-11e5-809c-a125c44a8fbf.png" style="max-width: 100%;"></a></p>
<p dir="auto">dataframe = '''<br>
Locus,Decision,Group,Var,Region,Gene,Rows,Mutation,Profile<br>
chr01:0018961727,Homopolymer,VS,CA,exonic,PAX7,1.0,synonymous SNV,000000010010001000000000001101<br>
chr01:0027057772,Bad,IR-PM-VS,CA,exonic,ARID1A,1.0,nonsynonymous SNV,000000000000000000001000100000<br>
chr01:0027057772,Bad,IR-PM-VS,CA,exonic,ARID1A,1.0,nonsynonymous SNV,000000000000000000011001110100<br>
chr01:0027057772,Bad,IR-PM-VS,CA,exonic,ARID1A,1.0,nonsynonymous SNV,100000000001010000010001110110<br>
'''<br>
df = [line.split(',') for line in txt.split('\n')]<br>
tdf = pd.DataFrame.from_records(df, index=(0,))<br>
tdf<br>
type(tdf.loc['chr01:0018961727']), type(tdf.loc['chr01:0027057772'])</p> | 0 |
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: Yes</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Linux centos 7</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: with pip</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.5.0 (vs 1.4.1)</li>
<li><strong>Python version</strong>: 2.7.5</li>
<li><strong>Bazel version (if compiling from source)</strong>: No</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: No</li>
<li><strong>CUDA/cuDNN version</strong>: No</li>
<li><strong>GPU model and memory</strong>: No</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto">Clone the tensorflow/models repo.<br>
then</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cd models/research/slim/
python export_inference_graph.py \
--model_name=inception_v1 \
--image_size=224 \
--output_file=/tmp/inception_v1.pb"><pre class="notranslate"><code class="notranslate">cd models/research/slim/
python export_inference_graph.py \
--model_name=inception_v1 \
--image_size=224 \
--output_file=/tmp/inception_v1.pb
</code></pre></div>
<p dir="auto">Then freeze the graph :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cd tensorflow/tensorflow/python/tools/
python freeze_graph.py \
--input_graph /tmp/inception_v1.pb \
--input_checkpoint /tmp/inception_v1.ckpt \
--output_graph /tmp/inception_v1_frozen.pb \
--input_binary True \
--output_node_names "InceptionV1/Logits/Predictions/Reshape_1""><pre class="notranslate"><code class="notranslate">cd tensorflow/tensorflow/python/tools/
python freeze_graph.py \
--input_graph /tmp/inception_v1.pb \
--input_checkpoint /tmp/inception_v1.ckpt \
--output_graph /tmp/inception_v1_frozen.pb \
--input_binary True \
--output_node_names "InceptionV1/Logits/Predictions/Reshape_1"
</code></pre></div>
<p dir="auto">Then in python do :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
from tensorflow.core.framework import graph_pb2
from tensorflow.python.platform import gfile
import tensorflow.tools.graph_transforms as graph_transforms
graph = graph_pb2.GraphDef()
with open("/tmp/inception_v1_frozen.pb", 'rb') as f:
s = f.read()
graph.ParseFromString(s)
graph = graph_transforms.TransformGraph(graph,
["input"], # inputs nodes
["InceptionV1/Logits/Predictions/Reshape_1"], # outputs nodes
['fold_constants()'])
with gfile.FastGFile("/tmp/inception_v1_frozen"+"_optimized.pbtxt", "w") as f:
f.write(str(graph))"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
from tensorflow.core.framework import graph_pb2
from tensorflow.python.platform import gfile
import tensorflow.tools.graph_transforms as graph_transforms
graph = graph_pb2.GraphDef()
with open("/tmp/inception_v1_frozen.pb", 'rb') as f:
s = f.read()
graph.ParseFromString(s)
graph = graph_transforms.TransformGraph(graph,
["input"], # inputs nodes
["InceptionV1/Logits/Predictions/Reshape_1"], # outputs nodes
['fold_constants()'])
with gfile.FastGFile("/tmp/inception_v1_frozen"+"_optimized.pbtxt", "w") as f:
f.write(str(graph))
</code></pre></div>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">I am using the graph_transform to fold constants in by graph saved as .pb.<br>
When I use the fold_constants() transformation, some inputs of some nodes are renamed but not the corresponding nodes in the whole graph. So the graph is no longer valid...</p>
<p dir="auto">I have an "input" placeholder in the graph.<br>
And the node connected to this placeholder as an input name "input:0" instead of "input".</p>
<p dir="auto">With the version 1.4.1 of tensorflow, I didn't have this issue.</p>
<p dir="auto">To reproduce, follow the instructions below, and take a look to the /tmp/inception_v1_frozen_optimized.pbtxt graph. And search le node named "input" it is the input placeholder. Then search node which has an input named "input:0". This name ("input:0") is node a node of the graph.</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): Linux Ubuntu 16.04</li>
<li>TensorFlow installed from (source or binary): source</li>
<li>TensorFlow version (use command below): 1.12.0 (tensorflow-gpu, tensorflow-base)</li>
<li>Python version: 3.6.8</li>
<li>Bazel version (if compiling from source): 0.21.0</li>
<li>GCC/Compiler version (if compiling from source): 5.4.0 20160609</li>
<li>CUDA/cuDNN version: 7.1.2</li>
<li>GPU model and memory: GeForce GTX 1080, 8GB</li>
</ul>
<p dir="auto"><strong>Describe the current behavior</strong><br>
Following the <a href="https://gist.github.com/carlthome/6ae8a570e21069c60708017e3f96c9fd">https://gist.github.com/carlthome/6ae8a570e21069c60708017e3f96c9fd</a> tutorial, which is based on <a href="https://www.tensorflow.org/xla/tfcompile" rel="nofollow">https://www.tensorflow.org/xla/tfcompile</a>, all the compilation steps succeed. I am also able to invoke the compiled graph, producing correct prediction results. A non-compiled predict of a single image using RestNet50 takes 5ms, a compiled version takes ~140ms.</p>
<p dir="auto">Note: I have ran ./configure via a terminal to use force CUDA support (such option is not accepted in the example).</p>
<p dir="auto"><strong>Describe the expected behavior</strong><br>
The compiled version prediction of a single image should be as fast as a non-compiled prediction. I suspect the compiled graph uses CPU for the inference.</p>
<p dir="auto"><strong>Code to reproduce the issue</strong><br>
Follow the <a href="https://gist.github.com/carlthome/6ae8a570e21069c60708017e3f96c9fd">https://gist.github.com/carlthome/6ae8a570e21069c60708017e3f96c9fd</a> tutorial. To evaluate the compiled and the non-compiled graph prediction of a single image duration, add these two lines to the end of the notebook:</p>
<p dir="auto"><code class="notranslate">%timeit -n 20 predict(x)</code><br>
<code class="notranslate">%timeit -n 20 model.predict(x)</code></p> | 0 |
<p dir="auto">If I do a search in page for <code class="notranslate">\n\s+href="\#"</code> it finds a couple of results. If I then do a global search for the same thing, there are no results. The options are the same: regex, case insensitive.</p> | <p dir="auto">In a normal Find <code class="notranslate">\s</code> matches a line break but in Project Find it does not.</p>
<p dir="auto">file1</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="obj.method1().method2()"><pre class="notranslate"><code class="notranslate">obj.method1().method2()
</code></pre></div>
<p dir="auto">file2</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="obj
.method1()
.method2()"><pre class="notranslate"><code class="notranslate">obj
.method1()
.method2()
</code></pre></div>
<p dir="auto">With a normal Find and RegEx turned on <code class="notranslate">obj[\s]*\.method1</code> will find a match in both files, but a Project Find will only find <code class="notranslate">file1</code></p> | 1 |
<p dir="auto">Dropdowns try to center their chosen value when the popup opens up. If the dropdown is placed on top of the screen (or the list of values is long enough), that's not possible. So you get a scrolling animation while the popup settles.</p>
<p dir="auto">This is jarring at best and annoying at worst since it delays user action (can't tap on any value until the animation ends [typically a second]).</p>
<p dir="auto">It would be great if Flutter can precompute whether the centering is possible and if not prevent the scrolling.</p> | <p dir="auto">See gif, this is in the Buttons > Dropdown demo.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11857803/23090584/0ab24844-f556-11e6-958c-bf53ef4e9c48.gif"><img src="https://cloud.githubusercontent.com/assets/11857803/23090584/0ab24844-f556-11e6-958c-bf53ef4e9c48.gif" alt="dropdowns mov" data-animated-image="" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>Open Atom</li>
<li>Update Atom</li>
<li>Crash</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.175.0<br>
<strong>System</strong>: Mac OS X 10.10<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: EEXIST, file already exists '/Users/taylorlapeyre/.atom/storage'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Users/taylorlapeyre/.atom/packages/auto-update-packages/node_modules/fs-plus/node_modules/mkdirp/index.js:74
undefined"><pre class="notranslate"><code class="notranslate">At /Users/taylorlapeyre/.atom/packages/auto-update-packages/node_modules/fs-plus/node_modules/mkdirp/index.js:74
undefined
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {},
"editor": {
"fontFamily": "inconsolata-g",
"fontSize": 14
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"fontFamily"</span>: <span class="pl-s"><span class="pl-pds">"</span>inconsolata-g<span class="pl-pds">"</span></span>,
<span class="pl-ent">"fontSize"</span>: <span class="pl-c1">14</span>
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
auto-update-packages, v0.2.1
language-haml, v0.15.0
language-x86, v0.1.0
scroll-past-end, v0.1.9
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
auto<span class="pl-k">-</span>update<span class="pl-k">-</span>packages, v0.<span class="pl-ii">2</span>.<span class="pl-ii">1</span>
language<span class="pl-k">-</span>haml, v0.<span class="pl-ii">15</span>.<span class="pl-ii">0</span>
language<span class="pl-k">-</span>x86, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
scroll<span class="pl-k">-</span>past<span class="pl-k">-</span>end, v0.<span class="pl-ii">1</span>.<span class="pl-ii">9</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | <p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.165.0<br>
<strong>System</strong>: Mac OS X 10.10.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: EEXIST, file already exists '/Users/812studio/.atom/storage'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app/node_modules/mkdirp/index.js:74
undefined"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app/node_modules/mkdirp/index.js:74
undefined
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -0:02.4 project-manager:toggle (input.hidden-input)
-0:00.0 core:confirm (input.hidden-input)"><pre class="notranslate"><code class="notranslate"> -0:02.4 project-manager:toggle (input.hidden-input)
-0:00.0 core:confirm (input.hidden-input)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"core": {
"themes": [
"brownerd-ui",
"brownerd-syntax"
],
"ignoredNames": [
".git",
".svn",
".DS_Store"
],
"disabledPackages": [
"term",
"linter-scss-lint",
"linter-tidy",
"linter-jshint",
"autocomplete-plus",
"linter-csslint"
]
},
"editor": {
"showIndentGuide": true,
"fontFamily": "Source Code Pro",
"lineHeight": 1.5,
"fontSize": 14,
"softWrap": true
}
}"><pre class="notranslate"><code class="notranslate">{
"core": {
"themes": [
"brownerd-ui",
"brownerd-syntax"
],
"ignoredNames": [
".git",
".svn",
".DS_Store"
],
"disabledPackages": [
"term",
"linter-scss-lint",
"linter-tidy",
"linter-jshint",
"autocomplete-plus",
"linter-csslint"
]
},
"editor": {
"showIndentGuide": true,
"fontFamily": "Source Code Pro",
"lineHeight": 1.5,
"fontSize": 14,
"softWrap": true
}
}
</code></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
ScssBundle, v0.4.0
Stylus, v0.4.0
auto-update-packages, v0.2.1
brownerd-syntax, v0.1.0
brownerd-ui, v0.1.0
color-picker, v1.2.6
editorconfig, v0.2.2
emmet, v2.3.0
less-autocompile, v0.3.3
linter, v0.9.0
linter-js-yaml, v0.1.3
minimap, v3.4.9
project-manager, v1.14.1
tabs-to-spaces, v0.8.0
terminal, v0.28.0
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
ScssBundle, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
Stylus, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
auto<span class="pl-k">-</span>update<span class="pl-k">-</span>packages, v0.<span class="pl-ii">2</span>.<span class="pl-ii">1</span>
brownerd<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
brownerd<span class="pl-k">-</span>ui, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">2</span>.<span class="pl-ii">6</span>
editorconfig, v0.<span class="pl-ii">2</span>.<span class="pl-ii">2</span>
emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">0</span>
less<span class="pl-k">-</span>autocompile, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span>
linter, v0.<span class="pl-ii">9</span>.<span class="pl-ii">0</span>
linter<span class="pl-k">-</span>js<span class="pl-k">-</span>yaml, v0.<span class="pl-ii">1</span>.<span class="pl-ii">3</span>
minimap, v3.<span class="pl-ii">4</span>.<span class="pl-ii">9</span>
project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">14</span>.<span class="pl-ii">1</span>
tabs<span class="pl-k">-</span>to<span class="pl-k">-</span>spaces, v0.<span class="pl-ii">8</span>.<span class="pl-ii">0</span>
terminal, v0.<span class="pl-ii">28</span>.<span class="pl-ii">0</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | 1 |
<p dir="auto">I think that the modal plugin would benefit from the following enhancement:</p>
<p dir="auto">when the <code class="notranslate">remote</code> option is specified (either using JS or <code class="notranslate">data-remote</code> attribute), the content should be loaded into .modal-content instead of .modal-body .</p>
<p dir="auto">This would allow folks to customize the modal-header (including title) and footer as well and allow more flexibility and reuse of code...</p>
<p dir="auto">What do you think?</p> | <p dir="auto">I want to reuse the modal for different URL's. Now I cannot set the Header/Footer + a bigger modal gets double scrollbars now :-(</p>
<p dir="auto">Is there a way to replace the modal completely so I can remote load the modal-header/body and footer?</p> | 1 |
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.13</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codepen.io/anon/pen/oEGjqO" rel="nofollow">https://codepen.io/anon/pen/oEGjqO</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">In Vue if you add elements programmatically, the scoped css is not applied to those elements inside the given .vue file. If you add the styling in the style tag or remove the scoped attribute, it will work.</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<template>
<div class="item"></div>
</template>
<script>
export default{
created(){
const item = document.querySelector(".item");
item.innerHTML = "<div class="box"></div>";
}
</script>
<style scoped>
.box{
width:300px;
height:300px;
background:red
}
</style>"><pre class="notranslate"><code class="notranslate"><template>
<div class="item"></div>
</template>
<script>
export default{
created(){
const item = document.querySelector(".item");
item.innerHTML = "<div class="box"></div>";
}
</script>
<style scoped>
.box{
width:300px;
height:300px;
background:red
}
</style>
</code></pre></div>
<p dir="auto">Intended or a bug?</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">We expect the css to be applied</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">It's not being applied</p> | <p dir="auto">When using scoped CSS the styles and the elements are given data- attributes. But when content is added Dynamically it won't have those data- attributes. So the styles are not applying to the dynamic content.</p>
<p dir="auto">I think it's better to add a data- attribute to the root element of the template and add the styles as the children of that attribute instead of adding attributes to individual elements..</p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const bar = (target: any, name: any, value: any) => {
const parentName = target.constructor.name
console.log(parentName)
}
class a {
@bar
public foo() {
}
}"><pre class="notranslate"><code class="notranslate">const bar = (target: any, name: any, value: any) => {
const parentName = target.constructor.name
console.log(parentName)
}
class a {
@bar
public foo() {
}
}
</code></pre></div>
<p dir="auto">It works. <em>But</em></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const bar = (target: any, name: any, value: any) => {
const parentName = target.constructor.name
console.log(parentName)
// it would be an empty string here!!!!!!!!
}
const log = (target: any) => {}
@log
class a {
@bar
public foo() {
}
}"><pre class="notranslate"><code class="notranslate">const bar = (target: any, name: any, value: any) => {
const parentName = target.constructor.name
console.log(parentName)
// it would be an empty string here!!!!!!!!
}
const log = (target: any) => {}
@log
class a {
@bar
public foo() {
}
}
</code></pre></div>
<p dir="auto">these code is ok when compile target was <code class="notranslate">ES5</code>, but missing class name when target was <code class="notranslate">ES6</code></p> | <p dir="auto">I have decorator:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function Document() {
return function(objectConstructor: Function) {
console.log(objectConstructor.name); // when targeting es5 it gives me what I want - the name of my class. When targeting es6 it does not give anything
}
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-smi">Document</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">objectConstructor</span>: <span class="pl-smi">Function</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">objectConstructor</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// when targeting es5 it gives me what I want - the name of my class. When targeting es6 it does not give anything</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Here is decorator usage:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Document()
export class User {
}"><pre class="notranslate">@<span class="pl-smi">Document</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">User</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Im using "User" class name to create a document called "User", I need information how class is called. I always used es5, but now when I switched to es6 compile target I dont have information about class name anymore. Is it a bug, or it by design? If second then what is the way to get the class name?</p> | 1 |
<p dir="auto"><strong>Describe the bug</strong><br>
A clear and concise description of what the bug is.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Go to explore</li>
<li>Create time-series bar chart</li>
<li>Add annotation layer</li>
<li>Set y=constant e.g. <code class="notranslate">y=100</code> as formula</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1659771/99842765-4963e580-2b25-11eb-9516-bc63672ab803.png"><img src="https://user-images.githubusercontent.com/1659771/99842765-4963e580-2b25-11eb-9516-bc63672ab803.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected behavior</strong><br>
A horizontal line at y 100</p>
<p dir="auto"><strong>Screenshots</strong><br>
It adds a bar for each grouped bar instead.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1659771/99842565-ec682f80-2b24-11eb-8749-b669e88b401c.png"><img width="922" alt="Pasted_Image_11_20_20__11_37_AM" src="https://user-images.githubusercontent.com/1659771/99842565-ec682f80-2b24-11eb-8749-b669e88b401c.png" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Environment (please complete the following information):</strong></p>
<ul dir="auto">
<li>superset-ui version: current</li>
</ul> | <p dir="auto">Hello,</p>
<p dir="auto">an issue is present on Superset v1.5.2, permissions are duplicated when the display name of database is updated.</p>
<p dir="auto">Steps to reproduce :<br>
I add a database connection with the display name "ECOSQL_1".<br>
After, I only update the display name to "ECOSQL_2"</p>
<p dir="auto">I have following permissions :<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/82046143/225577669-d25a5ab4-5e05-4b5d-9206-3b991201056c.png"><img src="https://user-images.githubusercontent.com/82046143/225577669-d25a5ab4-5e05-4b5d-9206-3b991201056c.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">As you could see permissions "ECOSQL_1" still exist and new permissions "ECOSQL_2" are created rather than updated.</p>
<p dir="auto">This implies having to redefine the rights when it is only a simple update of the display name of connection.</p>
<p dir="auto">Thanks for your support.</p>
<p dir="auto">Best regards</p> | 0 |
<p dir="auto">Hello guys!</p>
<p dir="auto">Some days ago I was trying to debug a Node.js application written in TypeScript from Visual Studio Code and I had some troubles; then I asked on <a href="http://stackoverflow.com/questions/35606423/visual-studio-code-debug-node-js-through-typescript" rel="nofollow">stackoverflow</a> and shared my code on <a href="https://github.com/7brutus7/stackoverflow">GitHub</a>.<br>
This is the latest working version, you can download it and <strong>debug</strong> correctly on Visual Studio Code (by "debug correctly" I mean that you can add a breakpoint on a .ts file and then see the debugger stopping on it) but if you then rename the <strong>root folder</strong> by adding some <strong>spaces in the path</strong> (for example changing from "stackoverflow" to "stack overflow") the debugger stops working and when launching it I get the following <strong>error</strong>:</p>
<p dir="auto"><code class="notranslate">Cannot launch program 'c:\Users\brutus\Desktop\stack overflow\src\app.ts'; setting the 'outDir' attribute might help.</code></p>
<p dir="auto">I think it's a <strong>bug</strong> but I'm not completely sure, can you confirm please?</p>
<p dir="auto">Thank you very much, hope this helps! 😄</p> | <p dir="auto">We had some team members who could not debug mocha unit-tests and others who could. We tracked the problem down to the path which contained spaces (in our case c:\development next\frontend) . This is probably also the cause of issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134740126" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3144" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3144/hovercard" href="https://github.com/microsoft/vscode/issues/3144">#3144</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="138098419" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3659" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3659/hovercard" href="https://github.com/microsoft/vscode/issues/3659">#3659</a>.</p>
<p dir="auto">This issue has appeared in the last month, before that, we did not have problems with spaces in the path. We suspect that something is wrong with reading the sourcemaps.</p> | 1 |
<p dir="auto">When I opened atom, I got these errors:</p>
<blockquote>
<p dir="auto">Unable to watch path: config.cson. Make sure you have permissions to /home/ely/.atom/config.cson.</p>
<p dir="auto">Unable to watch path: keymap.cson. Make sure you have permission to read /home/ely/.atom/keymap.cson.</p>
<p dir="auto">Unable to watch path: styles.less. Make sure you have permissions to /home/ely/.atom/styles.less.</p>
<p dir="auto">Unable to watch path: snippets.cson. Make sure you have permissions to the ~/.atom directory and /home/ely/.atom/snippets.cson.</p>
</blockquote>
<p dir="auto"><strong>Atom Version</strong>: 0.184.0<br>
<strong>System</strong>: linux 3.13.0-37-generic<br>
<strong>OS</strong>: Linux Mint 17.1 Cinnamon 64-bit</p>
<p dir="auto">I installed atom via the deb from <a href="https://atom.io/" rel="nofollow">the main site</a>. I previously had v0.182.0 installed, then tried to purged it and the configuration files from my system using <code class="notranslate">sudo apt-get purge atom</code> before getting the newer version, but the "/home/ely/.atom" folder was still there, so I don't know if there's also problem with my package manager.</p> | <p dir="auto">Uncaught TypeError: Unable to watch path</p>
<p dir="auto"><strong>Atom Version</strong>: 0.162.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 /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:66
TypeError: Unable to watch path
at TypeError (native)
at HandleWatcher.start (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:66:29)
at /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:43:25
at Object.oncomplete (fs.js:93:15)
"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:66
TypeError: Unable to watch path
at TypeError (native)
at HandleWatcher.start (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:66:29)
at /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/main.js:43:25
at Object.oncomplete (fs.js:93:15)
</code></pre></div> | 1 |
<p dir="auto">"connectMode":{"type":"string","index":"not_analyzed"},<br>
connectMode: "12" || "48" || "1" All the results will be listed why?<br>
connectMode: "12" || "48" Results is correct.<br>
connectMode: "1" Results is correct.</p>
<p dir="auto">"logRank":{"type":"integer","index":"not_analyzed"},</p>
<p dir="auto">logRank: 1 Results is correct.<br>
logRank: 1 || 2 || 3 All the results will be listed why?</p> | <p dir="auto"><strong>Describe the feature</strong>:</p>
<p dir="auto">Currently when a painless script cannot be compiled, the error looks something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2016-11-22T14:16:11,800][WARN ][o.e.s.ScriptService ] [rcl-nas] failed to load/compile script [sensors-count-transform]
org.elasticsearch.script.ScriptException: compile error
...
Caused by: java.lang.IllegalArgumentException: invalid sequence of tokens near [':'].
at org.elasticsearch.painless.Executable$Script.compile(sensors-count-transform.painless:104) ~[?:?]
..."><pre class="notranslate"><code class="notranslate">[2016-11-22T14:16:11,800][WARN ][o.e.s.ScriptService ] [rcl-nas] failed to load/compile script [sensors-count-transform]
org.elasticsearch.script.ScriptException: compile error
...
Caused by: java.lang.IllegalArgumentException: invalid sequence of tokens near [':'].
at org.elasticsearch.painless.Executable$Script.compile(sensors-count-transform.painless:104) ~[?:?]
...
</code></pre></div>
<p dir="auto">In this case the number 104 is not very helpful in determining the actual location of the error - it would be much more helpful if the error could output the actual line and character number where the syntax error occurred.</p> | 0 |
<p dir="auto">In order to write ']', I need on my french keyboard to type AltGr+° because the ] is made like that.<br>
But this triggers the folding action Alt+Ctr+]...</p>
<p dir="auto">this is really annoying I can't type] except if I remove the keybinding</p> | <p dir="auto">Original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28529842" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/1625" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1625/hovercard" href="https://github.com/atom/atom/issues/1625">atom/atom#1625</a></p>
<hr>
<p dir="auto">Use <a href="https://atom.io/packages/keyboard-localization" rel="nofollow">https://atom.io/packages/keyboard-localization</a> until this issue gets fixed (should be in the Blink upstream).</p> | 1 |
<p dir="auto">I am not sure where it goes wrong, but after reading tons of posts online I figured the combination tensor flow, Virtualenv en python 3.7 is not valid on Mac OSX.<br>
I use python3.6 now and it is fine.<br>
Sorry I can not provide more info, I'm broken by the struggle and want to sleep and forget about it.</p> | <p dir="auto">I'm sure developers are working hard to catch up with Python 3.7.<br>
Is there any timeline?</p>
<p dir="auto">pip3 install tensorflow - apparently does not work, building from source:</p>
<p dir="auto">OS Platform and Distribution: Mac OS X 10.13.5<br>
Python: Python 3.7.0 (Homebrew)<br>
TensorFlow installed from: source (<a href="https://github.com/tensorflow/tensorflow.git">https://github.com/tensorflow/tensorflow.git</a>)<br>
TensorFlow version: TensorFlow 1.9.0-rc2<br>
Bazel version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Build label: 0.15.0-homebrew
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jun 26 12:42:27 2018 (1530016947)
Build timestamp: 1530016947
Build timestamp as int: 1530016947"><pre class="notranslate"><code class="notranslate">Build label: 0.15.0-homebrew
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jun 26 12:42:27 2018 (1530016947)
Build timestamp: 1530016947
Build timestamp as int: 1530016947
</code></pre></div>
<p dir="auto">CUDA/cuDNN version: None<br>
GPU model and memory: None<br>
Exact command to reproduce:<br>
<code class="notranslate">bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Starting local Bazel server and connecting to it...
...........................
WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/kfac/python/ops/BUILD:80:1: in py_library rule //tensorflow/contrib/kfac/python/ops:loss_functions: target '//tensorflow/contrib/kfac/python/ops:loss_functions' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/BUILD:14:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (303 packages loaded).
INFO: Found 1 target...
INFO: From Linking external/grpc/libgrpc_base_c.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(ev_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(fork_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_fallback.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_host_name_max.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iocp_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iomgr_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_set_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(resolve_address_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_client_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_utils_posix_noifaddrs.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(timer_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(unix_sockets_posix_noop.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(wakeup_fd_eventfd.o) has no symbols
INFO: From Linking external/grpc/libalts_util.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_windows.o) has no symbols
INFO: From Linking external/grpc/libtsi.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libtsi.a(ssl_session_openssl.o) has no symbols
INFO: From Linking external/grpc/libgrpc++_base.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc++_base.a(rpc_method.o) has no symbols
INFO: From Linking external/grpc/libgpr_base.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_iphone.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_android.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_util_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(sync_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(time_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tls_pthread.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_msys.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(wrap_memcpy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(thd_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(stap_timers.o) has no symbols
INFO: From Linking external/grpc/third_party/address_sorting/libaddress_sorting.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/third_party/address_sorting/libaddress_sorting.a(address_sorting_windows.o) has no symbols
ERROR: /Users/zardoz/Projects/tensorflow/tensorflow/python/BUILD:5315:1: Executing genrule //tensorflow/python:framework/fast_tensor_util.pyx_cython_translation failed (Exit 1)
Traceback (most recent call last):
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/execroot/org_tensorflow/bazel-out/host/bin/external/cython/cython_binary.runfiles/cython/cython.py", line 17, in <module>
main(command_line = 1)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 720, in main
result = compile(sources, options)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 695, in compile
return compile_multiple(source, options)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 666, in compile_multiple
context = options.create_context()
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 590, in create_context
self.cplus, self.language_level, options=self)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 75, in __init__
from . import Builtin, CythonScope
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/TreeFragment.py", line 17, in <module>
from .Visitor import VisitorTransform
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Visitor.py", line 15, in <module>
from . import ExprNodes
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/ExprNodes.py", line 2875
await = None
^
SyntaxError: invalid syntax
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 179.318s, Critical Path: 6.38s
INFO: 413 processes: 413 local.
FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">Starting local Bazel server and connecting to it...
...........................
WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/kfac/python/ops/BUILD:80:1: in py_library rule //tensorflow/contrib/kfac/python/ops:loss_functions: target '//tensorflow/contrib/kfac/python/ops:loss_functions' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/zardoz/Projects/tensorflow/tensorflow/contrib/BUILD:14:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (303 packages loaded).
INFO: Found 1 target...
INFO: From Linking external/grpc/libgrpc_base_c.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(endpoint_pair_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(ev_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(fork_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_fallback.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(gethostname_host_name_max.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iocp_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(iomgr_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_set_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(pollset_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(resolve_address_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_utils_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(socket_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_client_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_utils_posix_noifaddrs.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_server_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(tcp_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(timer_uv.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(unix_sockets_posix_noop.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc_base_c.a(wakeup_fd_eventfd.o) has no symbols
INFO: From Linking external/grpc/libalts_util.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libalts_util.a(check_gcp_environment_windows.o) has no symbols
INFO: From Linking external/grpc/libtsi.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libtsi.a(ssl_session_openssl.o) has no symbols
INFO: From Linking external/grpc/libgrpc++_base.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgrpc++_base.a(rpc_method.o) has no symbols
INFO: From Linking external/grpc/libgpr_base.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_iphone.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(cpu_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(env_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_android.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_linux.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(log_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_util_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(string_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(sync_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(time_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tls_pthread.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_msys.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(tmpfile_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(wrap_memcpy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(thd_windows.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/libgpr_base.a(stap_timers.o) has no symbols
INFO: From Linking external/grpc/third_party/address_sorting/libaddress_sorting.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/grpc/third_party/address_sorting/libaddress_sorting.a(address_sorting_windows.o) has no symbols
ERROR: /Users/zardoz/Projects/tensorflow/tensorflow/python/BUILD:5315:1: Executing genrule //tensorflow/python:framework/fast_tensor_util.pyx_cython_translation failed (Exit 1)
Traceback (most recent call last):
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/execroot/org_tensorflow/bazel-out/host/bin/external/cython/cython_binary.runfiles/cython/cython.py", line 17, in <module>
main(command_line = 1)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 720, in main
result = compile(sources, options)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 695, in compile
return compile_multiple(source, options)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 666, in compile_multiple
context = options.create_context()
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 590, in create_context
self.cplus, self.language_level, options=self)
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Main.py", line 75, in __init__
from . import Builtin, CythonScope
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/TreeFragment.py", line 17, in <module>
from .Visitor import VisitorTransform
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/Visitor.py", line 15, in <module>
from . import ExprNodes
File "/private/var/tmp/_bazel_zardoz/5e080a8a46c0e2b2146c013eb1079337/external/cython/Cython/Compiler/ExprNodes.py", line 2875
await = None
^
SyntaxError: invalid syntax
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 179.318s, Critical Path: 6.38s
INFO: 413 processes: 413 local.
FAILED: Build did NOT complete successfully
</code></pre></div> | 1 |
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(unsafe_destructor)]
struct A;
impl Drop for A {
fn drop(&mut self) {}
}
struct B<'a> {
a: &'a A,
}
#[unsafe_destructor]
impl<'a> Drop for B<'a> {
fn drop(&mut self) {}
}
impl A {
fn b(&self) -> B {
B { a: self }
}
}
fn main() {
let a = A;
match a.b() {
_ => {}
}
}"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>unsafe_destructor<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-k">struct</span> <span class="pl-smi">A</span><span class="pl-kos">;</span>
<span class="pl-k">impl</span> <span class="pl-smi">Drop</span> <span class="pl-k">for</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</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">struct</span> <span class="pl-smi">B</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">a</span> <span class="pl-smi">A</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-c1">#<span class="pl-kos">[</span>unsafe_destructor<span class="pl-kos">]</span></span>
<span class="pl-k">impl</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">></span> <span class="pl-smi">Drop</span> <span class="pl-k">for</span> <span class="pl-smi">B</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</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">impl</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">b</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">B</span> <span class="pl-kos">{</span>
<span class="pl-smi">B</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">self</span> <span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> a = <span class="pl-v">A</span><span class="pl-kos">;</span>
<span class="pl-k">match</span> a<span class="pl-kos">.</span><span class="pl-en">b</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
_ => <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test.rs:25:11: 25:12 error: `a` does not live long enough
test.rs:25 match a.b() {
^
test.rs:23:11: 28:2 note: reference must be valid for the destruction scope surrounding block at 23:10...
test.rs:23 fn main() {
test.rs:24 let a = A;
test.rs:25 match a.b() {
test.rs:26 _ => {}
test.rs:27 }
test.rs:28 }
test.rs:24:14: 28:2 note: ...but borrowed value is only valid for the block suffix following statement 0 at 24:13
test.rs:24 let a = A;
test.rs:25 match a.b() {
test.rs:26 _ => {}
test.rs:27 }
test.rs:28 }
error: aborting due to previous error"><pre class="notranslate"><code class="notranslate">test.rs:25:11: 25:12 error: `a` does not live long enough
test.rs:25 match a.b() {
^
test.rs:23:11: 28:2 note: reference must be valid for the destruction scope surrounding block at 23:10...
test.rs:23 fn main() {
test.rs:24 let a = A;
test.rs:25 match a.b() {
test.rs:26 _ => {}
test.rs:27 }
test.rs:28 }
test.rs:24:14: 28:2 note: ...but borrowed value is only valid for the block suffix following statement 0 at 24:13
test.rs:24 let a = A;
test.rs:25 match a.b() {
test.rs:26 _ => {}
test.rs:27 }
test.rs:28 }
error: aborting due to previous error
</code></pre></div>
<p dir="auto">Adding anything after the match (like <code class="notranslate">;</code> or <code class="notranslate">()</code>) causes the error to go away.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pnkfelix/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pnkfelix">@pnkfelix</a></p> | <p dir="auto">Found while investigating the remaining wrong case in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="142747894" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/32433" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/32433/hovercard" href="https://github.com/rust-lang/rust/issues/32433">#32433</a>. Effectively use-after-free.</p>
<p dir="auto">Can be used to cause a segmentation fault (check out on <a href="https://play.rust-lang.org/?gist=27e782c076159255e6c142acc310c1bd&version=nightly&backtrace=0" rel="nofollow">playpen</a>):</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct Fine<T: std::fmt::Debug>(T);
impl<T: std::fmt::Debug> Drop for Fine<T> {
fn drop(&mut self) {
print!("Fine({:?}) ", self.0);
}
}
enum Evil<'a, T: 'a+std::fmt::Debug> {
None,
Some(&'a Fine<T>)
}
impl<'a, T: std::fmt::Debug> Drop for Evil<'a, T> {
fn drop(&mut self) {
if let Evil::Some(x) = *self {
print!("Evil({:?}) ", x.0);
}
}
}
// Allocates a new 3-usize Box on drop.
struct Dirty;
impl Drop for Dirty {
fn drop(&mut self) {
let _ = Box::new((1usize, 1usize, 1usize));
}
}
fn assign<'a, T: std::fmt::Debug>(x: &mut Evil<'a, T>, _: &Dirty, y: &'a Fine<T>) {
*x = Evil::Some(y);
}
fn main() {
let mut _x = Evil::None;
assign(&mut _x, &Dirty, &Fine(Box::new(vec![1, 2, 3])))
}"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">Fine</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">:</span> std<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-smi">Debug</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-smi">T</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">impl</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">:</span> std<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-smi">Debug</span><span class="pl-kos">></span> <span class="pl-smi">Drop</span> <span class="pl-k">for</span> <span class="pl-smi">Fine</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">print</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"Fine({:?}) "</span>, <span class="pl-smi">self</span>.<span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">enum</span> <span class="pl-smi">Evil</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">:</span> <span class="pl-c1">'</span><span class="pl-ent">a</span>+std<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-smi">Debug</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-v">None</span><span class="pl-kos">,</span>
<span class="pl-v">Some</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">a</span> <span class="pl-smi">Fine</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">></span><span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-k">impl</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">:</span> std<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-smi">Debug</span><span class="pl-kos">></span> <span class="pl-smi">Drop</span> <span class="pl-k">for</span> <span class="pl-smi">Evil</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-k">let</span> <span class="pl-smi">Evil</span><span class="pl-kos">::</span><span class="pl-v">Some</span><span class="pl-kos">(</span>x<span class="pl-kos">)</span> = <span class="pl-c1">*</span><span class="pl-smi">self</span> <span class="pl-kos">{</span>
<span class="pl-en">print</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"Evil({:?}) "</span>, x.<span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Allocates a new 3-usize Box on drop.</span>
<span class="pl-k">struct</span> <span class="pl-smi">Dirty</span><span class="pl-kos">;</span>
<span class="pl-k">impl</span> <span class="pl-smi">Drop</span> <span class="pl-k">for</span> <span class="pl-smi">Dirty</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> _ = <span class="pl-smi">Box</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-c1">1usize</span><span class="pl-kos">,</span> <span class="pl-c1">1usize</span><span class="pl-kos">,</span> <span class="pl-c1">1usize</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">fn</span> <span class="pl-en">assign</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">:</span> std<span class="pl-kos">::</span>fmt<span class="pl-kos">::</span><span class="pl-smi">Debug</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">Evil</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">a</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">></span><span class="pl-kos">,</span> _<span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-smi">Dirty</span><span class="pl-kos">,</span> <span class="pl-s1">y</span><span class="pl-kos">:</span> <span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">a</span> <span class="pl-smi">Fine</span><span class="pl-kos"><</span><span class="pl-smi">T</span><span class="pl-kos">></span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c1">*</span>x = <span class="pl-smi">Evil</span><span class="pl-kos">::</span><span class="pl-v">Some</span><span class="pl-kos">(</span>y<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-k">mut</span> _x = <span class="pl-smi">Evil</span><span class="pl-kos">::</span><span class="pl-v">None</span><span class="pl-kos">;</span>
<span class="pl-en">assign</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> _x<span class="pl-kos">,</span> <span class="pl-c1">&</span><span class="pl-v">Dirty</span><span class="pl-kos">,</span> <span class="pl-c1">&</span><span class="pl-v">Fine</span><span class="pl-kos">(</span><span class="pl-smi">Box</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">[</span><span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The <code class="notranslate">Fine</code> pointee drops before the <code class="notranslate">Evil</code> holding of the pointer, and in between those the destructor of <code class="notranslate">Dirty</code> overwrites the same heap location of the deallocated <code class="notranslate">Box<Vec<i32>></code> with a different 3-<code class="notranslate">usize</code> <code class="notranslate">Box</code>, causing a segmentation fault on Debug mode and garbage to be printed on Release mode.</p>
<p dir="auto"><strong>EDIT</strong>: Works fine even with old trans if there is any sort of block nesting (i.e. only the outermost block of a function has the broken behavior) - check out on <a href="https://play.rust-lang.org/?gist=e7f1ad8f28af947f2984ebebdfc6ca0c&version=nightly&backtrace=0" rel="nofollow">playpen</a>.</p>
<p dir="auto">cc <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="1508062" data-permission-text="Team members are private" data-url="/orgs/rust-lang/teams/compiler/members" data-hovercard-type="team" data-hovercard-url="/orgs/rust-lang/teams/compiler/hovercard" href="https://github.com/orgs/rust-lang/teams/compiler">@rust-lang/compiler</a> <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="1508058" data-permission-text="Team members are private" data-url="/orgs/rust-lang/teams/lang/members" data-hovercard-type="team" data-hovercard-url="/orgs/rust-lang/teams/lang/hovercard" href="https://github.com/orgs/rust-lang/teams/lang">@rust-lang/lang</a></p> | 1 |
<p dir="auto">The simple <code class="notranslate">pip3 install numpy</code> worked the first time I tried it on this RHEL6 system. Then I added the <code class="notranslate">atlas-devel</code> (and <code class="notranslate">atlas</code>) packages via yum, uninstalled and tried installing it again.</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto"><code class="notranslate">pip3 install numpy</code></p>
<h3 dir="auto">Error message:</h3>
<p dir="auto">The error is triggered by an attempt to pass <code class="notranslate">-DATLAS_INFO="\"3.8.4\""</code> to the compiler. Somehow this results in a bunch of "unmatched quote" errors.</p>
<p dir="auto">I'm including the full output of the (failed) install:<br>
<a href="https://github.com/numpy/numpy/files/2390146/numpy-install.log">numpy-install.log</a>. It ends with:</p>
<p dir="auto"><code class="notranslate">error: Command "/prod/pfe/local/bin/gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O3 -march=native -pipe -O3 -march=native -pipe -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -DATLAS_INFO="\"3.8.4\"" -I/usr/include -Ibuild/src.linux-x86_64-3.6/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/prod/pfe/local/include/python3.6 -Ibuild/src.linux-x86_64-3.6/numpy/core/src/private -Ibuild/src.linux-x86_64-3.6/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.6/numpy/core/src/private -Ibuild/src.linux-x86_64-3.6/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.6/numpy/core/src/private -Ibuild/src.linux-x86_64-3.6/numpy/core/src/npymath -c numpy/core/src/multiarray/temp_elide.c -o build/temp.linux-x86_64-3.6/numpy/core/src/multiarray/temp_elide.o -MMD -MF build/temp.linux-x86_64-3.6/numpy/core/src/multiarray/temp_elide.o.d" failed with exit status 1</code></p>
<h3 dir="auto">Numpy/Python version information:</h3>
<p dir="auto">Trying to install the latest numpy (1.15.1 at this time). Python-3.6.6.</p> | <p dir="auto">This is a weird bug that is hard to reproduce because, honestly, we don't know what's causing it. A code I work on at NASA uses f2py in a couple of places. And, say, for me, there is never any problem. But for a growing number of our users, they have an issue where f2py just does not work for them. The symptom seems to be that something in their environment causes the f2py compiler detection (done through distutils, I think) to go a bit nuts. For example, for some users if they have:</p>
<p dir="auto"><code class="notranslate">echo</code></p>
<p dir="auto">in their .cshrc/.tcshrc file, f2py stops working.</p>
<p dir="auto">Now, in some cases, I can get them working by instead of just pointing to the name of the compiler:</p>
<p dir="auto"><code class="notranslate">f2py --f77exec=mpiifort --f90exec=mpiifort --fcompiler=intelem</code></p>
<p dir="auto">I pass in the full path:</p>
<p dir="auto"><code class="notranslate">f2py --f77exec=/full/path/to/mpiifort --f90exec=/full/path/to/mpiifort --fcompiler=intelem</code></p>
<p dir="auto">But, again, this doesn't always work. For some users it doesn't help, the issue seems to be that even though we've told f2py that we are using Intel/intelem, it finds gfortran in the environment, tells ifort to use the flags for that, and ifort -fopenmp crashes.</p>
<p dir="auto">Eventually, a user was able to "fix" this by adding a line to <code class="notranslate">exec_command.py</code> after:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/numpy/numpy/blob/d210300bc1b1a849a5df618b47b00cba501f51b4/numpy/distutils/exec_command.py#L233-L240">numpy/numpy/distutils/exec_command.py</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 233 to 240
in
<a data-pjax="true" class="commit-tease-sha" href="/numpy/numpy/commit/d210300bc1b1a849a5df618b47b00cba501f51b4">d210300</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L233" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="233"></td>
<td id="LC233" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> <span class="pl-s1">os</span>.<span class="pl-s1">name</span> <span class="pl-c1">==</span> <span class="pl-s">'posix'</span> <span class="pl-c1">and</span> <span class="pl-s1">use_shell</span>: </td>
</tr>
<tr class="border-0">
<td id="L234" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="234"></td>
<td id="LC234" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c"># On POSIX, subprocess always uses /bin/sh, override</span> </td>
</tr>
<tr class="border-0">
<td id="L235" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="235"></td>
<td id="LC235" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">sh</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span>.<span class="pl-s1">environ</span>.<span class="pl-en">get</span>(<span class="pl-s">'SHELL'</span>, <span class="pl-s">'/bin/sh'</span>) </td>
</tr>
<tr class="border-0">
<td id="L236" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="236"></td>
<td id="LC236" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> <span class="pl-en">is_sequence</span>(<span class="pl-s1">command</span>): </td>
</tr>
<tr class="border-0">
<td id="L237" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="237"></td>
<td id="LC237" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">command</span> <span class="pl-c1">=</span> [<span class="pl-s1">sh</span>, <span class="pl-s">'-c'</span>, <span class="pl-s">' '</span>.<span class="pl-en">join</span>(<span class="pl-s1">command</span>)] </td>
</tr>
<tr class="border-0">
<td id="L238" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="238"></td>
<td id="LC238" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">else</span>: </td>
</tr>
<tr class="border-0">
<td id="L239" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="239"></td>
<td id="LC239" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">command</span> <span class="pl-c1">=</span> [<span class="pl-s1">sh</span>, <span class="pl-s">'-c'</span>, <span class="pl-s1">command</span>] </td>
</tr>
<tr class="border-0">
<td id="L240" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="240"></td>
<td id="LC240" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">use_shell</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">of <code class="notranslate">command.insert(1, '-f')</code>. By doing this, the shell command does not load the rc file in tcsh/csh.</p>
<p dir="auto">By default, <code class="notranslate">tcsh -c command</code> will source the resource file, which can lead to issues. (For other shells, <code class="notranslate">-f</code> seems to be pretty neutral in, say, bash and zsh. I haven't tested in fish, but I'm guessing fish is weird enough it doesn't work.) We can't envision scenarios where f2py needs environment variables from sourcing the resource/startup files when this command is run.</p>
<p dir="auto">Our shop mainly uses tcsh as the interactive shell due to historical and practical reasons, so this is important to us, so much so that we are planning on editing any <code class="notranslate">numpy</code> we get from Anaconda, Intel, wherever.</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto">I was able to reproduce this with and without the <code class="notranslate">echo</code> in the rc file using the <code class="notranslate">fib1.f</code> example here: <a href="https://docs.scipy.org/doc/numpy/f2py/getting-started.html" rel="nofollow">https://docs.scipy.org/doc/numpy/f2py/getting-started.html</a> but another user couldn't replicate it.</p>
<h3 dir="auto">Error message:</h3>
<p dir="auto">I'm attaching three files for this so you can see what's happening. In one case I pass in the full FC path and things work. In the next, I don't use the full path and it fails. In the last, I patch our distutils and don't pass in the full path and things work.</p>
<p dir="auto"><a href="https://github.com/numpy/numpy/files/2325168/fullfc.log">fullfc.log</a><br>
<a href="https://github.com/numpy/numpy/files/2325169/nofullfc.log">nofullfc.log</a><br>
<a href="https://github.com/numpy/numpy/files/2325170/nofullfc.patch.log">nofullfc.patch.log</a></p>
<p dir="auto">I'll also attach two files from a colleague who got hurt with this and he inserted prints into the f2py process:</p>
<p dir="auto"><a href="https://github.com/numpy/numpy/files/2325189/outY.log">outY.log</a><br>
<a href="https://github.com/numpy/numpy/files/2325190/outX.log">outX.log</a></p>
<p dir="auto">This seems to show it's during the <code class="notranslate">exec_command</code> for the compiler version.</p>
<h3 dir="auto">Numpy/Python version information:</h3>
<p dir="auto"><code class="notranslate">('1.14.2', '2.7.14 |Anaconda, Inc.| (default, Mar 27 2018, 17:29:31) \n[GCC 7.2.0]')</code></p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/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: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>the url of the article is "<a href="http://dubbo.apache.org/zh-cn/blog/grpc-http2-protobuf.html" rel="nofollow">http://dubbo.apache.org/zh-cn/blog/grpc-http2-protobuf.html</a>"</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.7</li>
<li>Operating System version: Linux</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<p dir="auto">What actually happens?<br>
2.6.5的时候没强依赖配置monitor<br>
2.7.7的时候不配置就要报空指针异常了?<br>
If there is an exception, please attach the exception trace:<br>
ConfigValidationUtils 第226行</p> | 0 |
<p dir="auto">Today, I can only use images (files) to create decorations, defining <code class="notranslate">gutterIconPath</code>. It would be interesting also support <strong>octicons</strong>, maybe the same way that <code class="notranslate">StatusBarItem</code> does:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" var myDecorationType = vscode.window.createTextEditorDecorationType({
gutterIconPath: '$(icon-name)'
});"><pre class="notranslate"><code class="notranslate"> var myDecorationType = vscode.window.createTextEditorDecorationType({
gutterIconPath: '$(icon-name)'
});
</code></pre></div> | <p dir="auto">When pressing <kbd>Shift Tab</kbd> with the cursor in the following position, the editor outdents the line. It felt a bit weird when it happened to me. It should be a no-op.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" some code | <- cursor"><pre class="notranslate"><code class="notranslate"> some code | <- cursor
</code></pre></div> | 0 |
<h2 dir="auto">Checklist</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.2.1 (windowlicker) kombu:4.2.1 py:3.6.6
billiard:3.5.0.4 py-amqp:2.3.2
platform -> system:Darwin arch:64bit imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled
accept_content: ['json']
broker_transport_options: {
'region': 'eu-west-1'}
broker_url: 'amqp://guest:********@localhost:5672//'
config: <decouple.AutoConfig object at 0x10dc81208>
settings: *
task_always_eager: False
task_default_queue: *
task_ignore_result: True
task_serializer: 'json'
timezone: 'UTC'
include: *"><pre class="notranslate"><code class="notranslate">software -> celery:4.2.1 (windowlicker) kombu:4.2.1 py:3.6.6
billiard:3.5.0.4 py-amqp:2.3.2
platform -> system:Darwin arch:64bit imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled
accept_content: ['json']
broker_transport_options: {
'region': 'eu-west-1'}
broker_url: 'amqp://guest:********@localhost:5672//'
config: <decouple.AutoConfig object at 0x10dc81208>
settings: *
task_always_eager: False
task_default_queue: *
task_ignore_result: True
task_serializer: 'json'
timezone: 'UTC'
include: *
</code></pre></div>
<h2 dir="auto">Steps to reproduce</h2>
<p dir="auto">Send a unregistered task to Celery configured with SQS broker.</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">The task should fail <em>once</em> with <code class="notranslate">KeyError</code>.</p>
<h2 dir="auto">Actual behavior</h2>
<p dir="auto">The task failed with <code class="notranslate">KeyError</code> but was was still in SQS with <code class="notranslate">in flight</code> status and was constantly being picked up by the worker, stuck in an infinite loop.</p>
<p dir="auto">This generated over 1k events in Sentry, even though the incorrect task was sent only once, all with the same error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Received unregistered task of type KeyError('Foobar',).
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or maybe you're using relative imports?
Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.
The full contents of the message body was:
*"><pre class="notranslate"><code class="notranslate">Received unregistered task of type KeyError('Foobar',).
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or maybe you're using relative imports?
Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.
The full contents of the message body was:
*
</code></pre></div>
<p dir="auto">To fix this, I had to clear the SQS queue, which worked as expected.</p>
<p dir="auto">AWS docs in regards to 'in flight' messages (<code class="notranslate">A message is considered to be in flight after it's received from a queue by a consumer, but not yet deleted from the queue.</code>) helped me understand the problem (the task wasn't acknowledged back to SQS), but I'm still not sure wether this is an SQS limitation or a Celery bug.</p>
<p dir="auto">I am aware of:</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="224904626" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4002" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4002/hovercard" href="https://github.com/celery/celery/issues/4002">#4002</a></li>
<li><a href="https://stackoverflow.com/questions/41300209/celery-sqs-duplication-of-tasks-sqs-visibility-timeout" rel="nofollow">https://stackoverflow.com/questions/41300209/celery-sqs-duplication-of-tasks-sqs-visibility-timeout</a></li>
<li><a href="http://docs.celeryproject.org/en/latest/getting-started/brokers/sqs.html?highlight=sqs#caveat" rel="nofollow">http://docs.celeryproject.org/en/latest/getting-started/brokers/sqs.html?highlight=sqs#caveat</a></li>
</ul>
<p dir="auto"><em>but</em>, I don't use ETA/countdown/retry anywhere so I'm not sure if this is the problem / limitation.</p>
<p dir="auto">I tried debugging this myself but I figured I might as well ask here to be sure I understand what happened and so people can search for this in the future.</p> | <p dir="auto">Looks like sphinsx emmits a lot of warning during documentation build.</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.1.2
making output directory... done
loading intersphinx inventory from https://docs.python.org/dev/objects.inv...
loading intersphinx inventory from https://www.sphinx-doc.org/en/stable/objects.inv...
loading intersphinx inventory from https://kombu.readthedocs.io/en/master/objects.inv...
loading intersphinx inventory from https://django-celery.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://cyme.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://amqp.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://vine.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://flower.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://redis-py.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://django.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://boto.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://sqlalchemy.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://kazoo.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://msgpack-python.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://basho.github.io/riak-python-client/objects.inv...
loading intersphinx inventory from http://sendapatch.se/projects/pylibmc/objects.inv...
loading intersphinx inventory from https://eventlet.net/doc/objects.inv...
loading intersphinx inventory from http://www.gevent.org/objects.inv...
loading intersphinx inventory from https://pyopenssl.readthedocs.io/en/stable/objects.inv...
loading intersphinx inventory from https://doc.pytest.org/en/latest/objects.inv...
loading intersphinx inventory from https://tox.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://cyanide.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://click.palletsprojects.com/en/7.x/objects.inv...
intersphinx inventory has moved: https://amqp.readthedocs.io/en/latest/objects.inv -> https://docs.celeryproject.org/projects/amqp/en/latest/objects.inv
intersphinx inventory has moved: https://kombu.readthedocs.io/en/master/objects.inv -> https://docs.celeryproject.org/projects/kombu/en/master/objects.inv
intersphinx inventory has moved: https://www.sphinx-doc.org/en/stable/objects.inv -> https://www.sphinx-doc.org/en/master/objects.inv
intersphinx inventory has moved: https://pyopenssl.readthedocs.io/en/stable/objects.inv -> https://www.pyopenssl.org/en/stable/objects.inv
intersphinx inventory has moved: https://django-celery.readthedocs.io/en/latest/objects.inv -> https://docs.celeryproject.org/projects/django-celery/en/latest/objects.inv
building [mo]: all of 0 po files
building [man]: all source files
updating environment: [new config] 217 added, 0 changed, 0 removed
reading sources... [100%] whatsnew-5.1
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/backends-and-brokers/sqs.rst:211: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/backends-and-brokers/sqs.rst:212: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/backends-and-brokers/sqs.rst:213: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-5.0.rst:23: WARNING: Bullet list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:3: WARNING: Unexpected indentation.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:4: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:7: WARNING: Unexpected indentation.
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:8: WARNING: Inline strong start-string without end-string.
/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.auto_delete:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.auto_delete, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.delivery_mode:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.delivery_mode, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.durable:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.durable, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.name:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.name, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.no_declare:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.no_declare, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.type:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.type, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them
docstring of _queue.Empty:1: WARNING: duplicate object description of _queue.Empty, other instance in internals/reference/celery.utils.collections, use :noindex: for one of them
docstring of _queue.Empty:1: WARNING: duplicate object description of _queue.Empty, other instance in internals/reference/celery.utils.collections, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/asynchronous/timer.py:docstring of kombu.asynchronous.timer.Entry:1: WARNING: duplicate object description of kombu.asynchronous.timer.Entry, other instance in internals/reference/celery.concurrency.base, use :noindex: for one of them
/usr/lib/python3.8/site-packages/kombu/asynchronous/timer.py:docstring of kombu.asynchronous.timer.Entry:1: WARNING: duplicate object description of kombu.asynchronous.timer.Entry, other instance in internals/reference/celery.utils.timer2, use :noindex: for one of them
WARNING: autodoc: failed to import module 'amqp' from module 'celery.bin'; the following exception was raised:
No module named 'click_repl'
WARNING: autodoc: failed to import module 'celery' from module 'celery.bin'; the following exception was raised:
No module named 'click_didyoumean'
/usr/lib/python3.8/site-packages/kombu/exceptions.py:docstring of kombu.exceptions.OperationalError:1: WARNING: duplicate object description of kombu.exceptions.OperationalError, other instance in reference/celery.app.task, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/agent.py:docstring of celery.worker.consumer.agent.celery.worker.consumer.agent.Agent:1: WARNING: duplicate object description of celery.worker.consumer.agent.celery.worker.consumer.agent.Agent, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/connection.py:docstring of celery.worker.consumer.connection.celery.worker.consumer.connection.Connection:1: WARNING: duplicate object description of celery.worker.consumer.connection.celery.worker.consumer.connection.Connection, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/control.py:docstring of celery.worker.consumer.control.celery.worker.consumer.control.Control:1: WARNING: duplicate object description of celery.worker.consumer.control.celery.worker.consumer.control.Control, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/events.py:docstring of celery.worker.consumer.events.celery.worker.consumer.events.Events:1: WARNING: duplicate object description of celery.worker.consumer.events.celery.worker.consumer.events.Events, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/gossip.py:docstring of celery.worker.consumer.gossip.celery.worker.consumer.gossip.Gossip:1: WARNING: duplicate object description of celery.worker.consumer.gossip.celery.worker.consumer.gossip.Gossip, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/heart.py:docstring of celery.worker.consumer.heart.celery.worker.consumer.heart.Heart:1: WARNING: duplicate object description of celery.worker.consumer.heart.celery.worker.consumer.heart.Heart, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/mingle.py:docstring of celery.worker.consumer.mingle.celery.worker.consumer.mingle.Mingle:1: WARNING: duplicate object description of celery.worker.consumer.mingle.celery.worker.consumer.mingle.Mingle, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/tasks.py:docstring of celery.worker.consumer.tasks.celery.worker.consumer.tasks.Tasks:1: WARNING: duplicate object description of celery.worker.consumer.tasks.celery.worker.consumer.tasks.Tasks, other instance in reference/celery.worker.consumer, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/reference/cli.rst:5: WARNING: Failed to import "celery" from "celery.bin.celery". The following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx_click/ext.py", line 385, in _load_module
mod = __import__(module_name, globals(), locals(), [attr_name])
File "/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/bin/celery.py", line 9, in <module>
from click_didyoumean import DYMGroup
ModuleNotFoundError: No module named 'click_didyoumean'
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:1566: WARNING: Title underline too short.
``azureblockblob_base_path``
~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:1566: WARNING: Title underline too short.
``azureblockblob_base_path``
~~~~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:352: WARNING: duplicate object description of app, other instance in userguide/extending, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:364: WARNING: duplicate object description of hostname, other instance in userguide/extending, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:370: WARNING: duplicate object description of blueprint, other instance in userguide/extending, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:376: WARNING: duplicate object description of hub, other instance in userguide/extending, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:481: WARNING: duplicate object description of pool, other instance in userguide/extending, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:488: WARNING: duplicate object description of timer, other instance in userguide/extending, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/tasks.rst:893: WARNING: duplicate object description of Task.max_retries, other instance in userguide/tasks, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:374: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 5 supplied.
.. code-block:: python
from celery import shared_task
@shared_task
def my_func(*, name='default', age, city='Kyiv'):
pass
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-celery.3 { copyright getting-started/index getting-started/introduction getting-started/backends-and-brokers/index getting-started/backends-and-brokers/rabbitmq getting-started/backends-and-brokers/redis getting-started/backends-and-brokers/sqs getting-started/first-steps-with-celery getting-started/next-steps getting-started/resources userguide/index userguide/application userguide/tasks userguide/calling userguide/canvas userguide/workers userguide/daemonizing userguide/periodic-tasks userguide/routing userguide/monitoring userguide/security userguide/optimizing userguide/debugging userguide/concurrency/index userguide/concurrency/eventlet userguide/signals userguide/testing userguide/extending userguide/configuration userguide/sphinx django/index django/first-steps-with-django contributing community tutorials/index tutorials/task-cookbook faq changelog whatsnew-5.1 reference/index reference/cli reference/celery reference/celery.app reference/celery.app.task reference/celery.app.amqp reference/celery.app.defaults reference/celery.app.control reference/celery.app.registry reference/celery.app.backends reference/celery.app.builtins reference/celery.app.events reference/celery.app.log reference/celery.app.utils reference/celery.app.autoretry reference/celery.bootsteps reference/celery.result reference/celery.schedules reference/celery.signals reference/celery.security reference/celery.utils.debug reference/celery.exceptions reference/celery.loaders reference/celery.loaders.app reference/celery.loaders.default reference/celery.loaders.base reference/celery.states reference/celery.contrib.abortable reference/celery.contrib.migrate reference/celery.contrib.pytest reference/celery.contrib.sphinx reference/celery.contrib.testing.worker reference/celery.contrib.testing.app reference/celery.contrib.testing.manager reference/celery.contrib.testing.mocks reference/celery.contrib.rdb reference/celery.events reference/celery.events.receiver reference/celery.events.dispatcher reference/celery.events.event reference/celery.events.state reference/celery.beat reference/celery.apps.worker reference/celery.apps.beat reference/celery.apps.multi reference/celery.worker reference/celery.worker.request reference/celery.worker.state reference/celery.worker.strategy reference/celery.worker.consumer reference/celery.worker.consumer.agent reference/celery.worker.consumer.connection reference/celery.worker.consumer.consumer reference/celery.worker.consumer.control reference/celery.worker.consumer.events reference/celery.worker.consumer.gossip reference/celery.worker.consumer.heart reference/celery.worker.consumer.mingle reference/celery.worker.consumer.tasks reference/celery.worker.worker reference/celery.bin.base reference/celery.bin.celery reference/celery.bin.worker reference/celery.bin.beat reference/celery.bin.events reference/celery.bin.logtool reference/celery.bin.amqp reference/celery.bin.graph reference/celery.bin.multi reference/celery.bin.call reference/celery.bin.control reference/celery.bin.list reference/celery.bin.migrate reference/celery.bin.purge reference/celery.bin.result reference/celery.bin.shell reference/celery.bin.upgrade internals/index internals/guide internals/deprecation internals/worker internals/protocol internals/app-overview internals/reference/index internals/reference/celery.worker.components internals/reference/celery.worker.loops internals/reference/celery.worker.heartbeat internals/reference/celery.worker.control internals/reference/celery.worker.pidbox internals/reference/celery.worker.autoscale internals/reference/celery.concurrency internals/reference/celery.concurrency.solo internals/reference/celery.concurrency.prefork internals/reference/celery.concurrency.eventlet internals/reference/celery.concurrency.gevent internals/reference/celery.concurrency.thread internals/reference/celery.concurrency.base internals/reference/celery.backends internals/reference/celery.backends.base internals/reference/celery.backends.asynchronous internals/reference/celery.backends.azureblockblob internals/reference/celery.backends.rpc internals/reference/celery.backends.database internals/reference/celery.backends.cache internals/reference/celery.backends.consul internals/reference/celery.backends.couchdb internals/reference/celery.backends.mongodb internals/reference/celery.backends.elasticsearch internals/reference/celery.backends.redis internals/reference/celery.backends.cassandra internals/reference/celery.backends.couchbase internals/reference/celery.backends.arangodb internals/reference/celery.backends.dynamodb internals/reference/celery.backends.filesystem internals/reference/celery.backends.cosmosdbsql internals/reference/celery.backends.s3 internals/reference/celery.app.trace internals/reference/celery.app.annotations internals/reference/celery.app.routes internals/reference/celery.security.certificate internals/reference/celery.security.key internals/reference/celery.security.serialization internals/reference/celery.security.utils internals/reference/celery.events.snapshot internals/reference/celery.events.cursesmon internals/reference/celery.events.dumper internals/reference/celery.backends.database.models internals/reference/celery.backends.database.session internals/reference/celery.utils internals/reference/celery.utils.abstract internals/reference/celery.utils.collections internals/reference/celery.utils.nodenames internals/reference/celery.utils.deprecated internals/reference/celery.utils.functional internals/reference/celery.utils.graph internals/reference/celery.utils.objects internals/reference/celery.utils.term internals/reference/celery.utils.time internals/reference/celery.utils.iso8601 internals/reference/celery.utils.saferepr internals/reference/celery.utils.serialization internals/reference/celery.utils.sysinfo internals/reference/celery.utils.threads internals/reference/celery.utils.timer2 internals/reference/celery.utils.imports internals/reference/celery.utils.log internals/reference/celery.utils.text internals/reference/celery.utils.dispatch internals/reference/celery.utils.dispatch.signal internals/reference/celery.platforms internals/reference/celery._state history/index history/whatsnew-5.0 history/changelog-5.0 history/whatsnew-4.4 history/changelog-4.4 history/whatsnew-4.3 history/changelog-4.3 history/whatsnew-4.2 history/changelog-4.2 history/whatsnew-4.1 history/changelog-4.1 history/whatsnew-4.0 history/changelog-4.0 history/whatsnew-3.1 history/changelog-3.1 history/whatsnew-3.0 history/changelog-3.0 history/whatsnew-2.5 history/changelog-2.5 history/changelog-2.4 history/changelog-2.3 history/changelog-2.2 history/changelog-2.1 history/changelog-2.0 history/changelog-1.0 glossary } /home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/introduction.rst:206: WARNING: unknown option: celery worker --max-tasks-per-child
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:444: WARNING: unknown option: celery worker --pidfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:444: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:444: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:473: WARNING: unknown option: celery worker --pidfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:95: WARNING: unknown option: celery -b
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:104: WARNING: unknown option: celery worker -c
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:129: WARNING: unknown option: celery --help
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:222: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:225: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:231: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:644: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:681: WARNING: unknown option: celery inspect --destination
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/tasks.rst:67: WARNING: unknown option: celery worker -O
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/calling.rst:685: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:35: WARNING: unknown option: celery worker --hostname
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:158: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:158: WARNING: unknown option: celery worker --pidfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:158: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:218: WARNING: unknown option: celery worker --concurrency
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:545: WARNING: unknown option: celery worker --max-tasks-per-child
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:564: WARNING: unknown option: celery worker --max-memory-per-child
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:583: WARNING: unknown option: celery worker --autoscale
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:609: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:642: WARNING: unknown option: celery control --destination
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:695: WARNING: unknown option: celery control --destination
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:724: WARNING: unknown option: celery inspect --destination
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/daemonizing.rst:170: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/daemonizing.rst:291: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/periodic-tasks.rst:405: WARNING: unknown option: celery worker -B
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/periodic-tasks.rst:433: WARNING: unknown option: celery beat --scheduler
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/routing.rst:165: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:49: WARNING: unknown option: celery shell --without-tasks
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:53: WARNING: unknown option: celery shell --ipython
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:53: WARNING: unknown option: celery shell --bpython
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:53: WARNING: unknown option: celery shell --python
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:185: WARNING: unknown option: celery inspect --timeout
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:196: WARNING: unknown option: celery inspect --destination
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:300: WARNING: unknown option: celery --broker
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:359: WARNING: unknown option: celery --help
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:558: WARNING: unknown option: celery events -c
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/optimizing.rst:153: WARNING: unknown option: celery worker -c
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/optimizing.rst:160: WARNING: unknown option: celery worker -c
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/optimizing.rst:194: WARNING: unknown option: celery worker -c
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/concurrency/eventlet.rst:48: WARNING: unknown option: celery worker -P
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/signals.rst:453: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/signals.rst:457: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:688: WARNING: unknown option: celery worker --loglevel
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2048: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2048: WARNING: unknown option: celery worker -X
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2747: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2822: WARNING: unknown option: celery worker -E
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3110: WARNING: unknown option: celery worker -P
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3181: WARNING: unknown option: celery beat -S
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3194: WARNING: unknown option: celery beat --schedule
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3225: WARNING: unknown option: celery worker -B
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/faq.rst:386: WARNING: unknown option: celery worker --purge
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/faq.rst:508: WARNING: unknown option: celery worker -E
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/faq.rst:762: WARNING: unknown option: celery worker -n
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:326: WARNING: undefined label: _conf-redis-result-backend
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:335: WARNING: unknown document: reference/kombu.transport.SQS.rst
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:388: WARNING: unknown document: getting-started/backends-and-brokers/sqs.rst
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:410: WARNING: unknown document: getting-started/backends-and-brokers/redis.rst
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/app/amqp.py:docstring of celery.app.amqp.Queues.select_add:3: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/state.py:docstring of celery.worker.state.Persistent:3: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:316: WARNING: unknown option: celery worker --detach
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:317: WARNING: unknown option: celery worker --uid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:317: WARNING: unknown option: celery worker --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:326: WARNING: unknown option: celery worker --purge
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/autoscale.py:docstring of celery.worker.autoscale:7: WARNING: unknown option: celery worker --autoscale
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:857: WARNING: unknown option: celery worker --max-memory-per-child
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1324: WARNING: undefined label: conf-riak-result-backend
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1665: WARNING: unknown option: celery inspect --json
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1683: WARNING: unknown option: celery worker --executable
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1689: WARNING: unknown option: celery worker --prefetch-multiplier
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2289: WARNING: unknown option: celery worker --loglevel
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2290: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2291: WARNING: unknown option: celery beat --loglevel
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2292: WARNING: unknown option: celery beat --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:252: WARNING: unknown option: celery worker -O
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:268: WARNING: unknown option: celery worker --max-tasks-per-child
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:268: WARNING: unknown option: celery worker -O
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:395: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:435: WARNING: unknown option: celery worker -n
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:491: WARNING: unknown option: celery worker --without-mingle
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:511: WARNING: unknown option: celery worker --without-gossip
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:762: WARNING: unknown option: celery worker --detach
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1092: WARNING: unknown option: celery worker -X
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1095: WARNING: unknown option: celery worker -X
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1095: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1237: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:446: WARNING: unknown option: celery worker --executable
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:446: WARNING: unknown option: celery worker --detach
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:454: WARNING: unknown option: celery worker --autoscale
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:567: WARNING: unknown option: celery worker -O
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:641: WARNING: unknown option: celery --umask
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:860: WARNING: unknown option: celery worker --heartbeat-interval
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1192: WARNING: unknown option: celery purge -f
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1242: WARNING: unknown option: celery --no-color
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1251: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1382: WARNING: unknown option: celery worker -B
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1385: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1385: WARNING: unknown option: celery worker --pidfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1385: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1528: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1531: WARNING: unknown option: celery worker --uid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1531: WARNING: unknown option: celery worker --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1531: WARNING: unknown option: celery worker --detach
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1535: WARNING: unknown option: celery beat --uid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1535: WARNING: unknown option: celery beat --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1535: WARNING: unknown option: celery beat --detach
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1539: WARNING: unknown option: celery worker -B
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1642: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1663: WARNING: unknown option: celery worker -B
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.0.rst:688: WARNING: unknown option: celery --app
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:163: WARNING: unknown option: celery --loader
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:311: WARNING: unknown option: celery worker --statedb
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:686: WARNING: unknown option: celery --loader
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:688: WARNING: unknown option: celery --workdir
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:846: WARNING: unknown option: celery --config
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:935: WARNING: unknown option: celery --no-color
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-2.5.rst:512: WARNING: unknown option: celery call --expires
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-2.5.rst:512: WARNING: unknown option: celery call --eta
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.5.rst:199: WARNING: unknown option: celery shell --eventlet
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.5.rst:199: WARNING: unknown option: celery shell --gevent
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.4.rst:39: WARNING: unknown option: celery --uid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.4.rst:39: WARNING: unknown option: celery --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.4.rst:214: WARNING: unknown option: celery --broker
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.3.rst:22: WARNING: unknown option: celery --uid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.3.rst:22: WARNING: unknown option: celery --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:22: WARNING: unknown option: celery --uid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:22: WARNING: unknown option: celery --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:50: WARNING: unknown option: celery --gid
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:368: WARNING: unknown option: celery events --pidfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:386: WARNING: unknown option: celery worker -Q
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:575: WARNING: unknown option: celery worker --pool
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:616: WARNING: unknown option: celery worker --autoscale
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:369: WARNING: unknown option: celery events --camera
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:370: WARNING: unknown option: celery events --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:371: WARNING: unknown option: celery events --loglevel
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:372: WARNING: unknown option: celery events --maxrate
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:373: WARNING: unknown option: celery events --freq
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:375: WARNING: unknown option: celery events --camera
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:391: WARNING: unknown option: celery events --frequency
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:460: WARNING: unknown option: celery worker --loglevel
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:460: WARNING: unknown option: celery worker --logfile
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:481: WARNING: unknown option: celery worker --include
/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.0.rst:927: WARNING: unknown option: celery worker -Q
done
build succeeded, 188 warnings."><pre class="notranslate"><span class="pl-c1">+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx</span>
<span class="pl-c1">running build_sphinx</span>
<span class="pl-c1">Running Sphinx v4.1.2</span>
<span class="pl-c1">making output directory... done</span>
<span class="pl-c1">loading intersphinx inventory from https://docs.python.org/dev/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://www.sphinx-doc.org/en/stable/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://kombu.readthedocs.io/en/master/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://django-celery.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://cyme.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://amqp.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://vine.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://flower.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://redis-py.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://django.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://boto.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://sqlalchemy.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://kazoo.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://msgpack-python.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://basho.github.io/riak-python-client/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from http://sendapatch.se/projects/pylibmc/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://eventlet.net/doc/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from http://www.gevent.org/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://pyopenssl.readthedocs.io/en/stable/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://doc.pytest.org/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://tox.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://cyanide.readthedocs.io/en/latest/objects.inv...</span>
<span class="pl-c1">loading intersphinx inventory from https://click.palletsprojects.com/en/7.x/objects.inv...</span>
<span class="pl-c1">intersphinx inventory has moved: https://amqp.readthedocs.io/en/latest/objects.inv -> https://docs.celeryproject.org/projects/amqp/en/latest/objects.inv</span>
<span class="pl-c1">intersphinx inventory has moved: https://kombu.readthedocs.io/en/master/objects.inv -> https://docs.celeryproject.org/projects/kombu/en/master/objects.inv</span>
<span class="pl-c1">intersphinx inventory has moved: https://www.sphinx-doc.org/en/stable/objects.inv -> https://www.sphinx-doc.org/en/master/objects.inv</span>
<span class="pl-c1">intersphinx inventory has moved: https://pyopenssl.readthedocs.io/en/stable/objects.inv -> https://www.pyopenssl.org/en/stable/objects.inv</span>
<span class="pl-c1">intersphinx inventory has moved: https://django-celery.readthedocs.io/en/latest/objects.inv -> https://docs.celeryproject.org/projects/django-celery/en/latest/objects.inv</span>
<span class="pl-c1">building [mo]: all of 0 po files</span>
<span class="pl-c1">building [man]: all source files</span>
<span class="pl-c1">updating environment: [new config] 217 added, 0 changed, 0 removed</span>
<span class="pl-c1">reading sources... [100%] whatsnew-5.1</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/backends-and-brokers/sqs.rst:211: WARNING: Definition list ends without a blank line; unexpected unindent.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/backends-and-brokers/sqs.rst:212: WARNING: Definition list ends without a blank line; unexpected unindent.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/backends-and-brokers/sqs.rst:213: WARNING: Definition list ends without a blank line; unexpected unindent.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-5.0.rst:23: WARNING: Bullet list ends without a blank line; unexpected unindent.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:3: WARNING: Unexpected indentation.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:4: WARNING: Block quote ends without a blank line; unexpected unindent.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:7: WARNING: Unexpected indentation.</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/backends/redis.py:docstring of celery.backends.redis.RedisBackend.retry_policy:8: WARNING: Inline strong start-string without end-string.</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.auto_delete:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.auto_delete, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.delivery_mode:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.delivery_mode, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.durable:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.durable, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.name:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.name, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.no_declare:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.no_declare, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/entity.py:docstring of celery.backends.rpc.RPCBackend.Exchange.type:1: WARNING: duplicate object description of celery.backends.rpc.RPCBackend.Exchange.type, other instance in internals/reference/celery.backends.rpc, use :noindex: for one of them</span>
<span class="pl-c1">docstring of _queue.Empty:1: WARNING: duplicate object description of _queue.Empty, other instance in internals/reference/celery.utils.collections, use :noindex: for one of them</span>
<span class="pl-c1">docstring of _queue.Empty:1: WARNING: duplicate object description of _queue.Empty, other instance in internals/reference/celery.utils.collections, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/asynchronous/timer.py:docstring of kombu.asynchronous.timer.Entry:1: WARNING: duplicate object description of kombu.asynchronous.timer.Entry, other instance in internals/reference/celery.concurrency.base, use :noindex: for one of them</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/asynchronous/timer.py:docstring of kombu.asynchronous.timer.Entry:1: WARNING: duplicate object description of kombu.asynchronous.timer.Entry, other instance in internals/reference/celery.utils.timer2, use :noindex: for one of them</span>
<span class="pl-c1">WARNING: autodoc: failed to import module 'amqp' from module 'celery.bin'; the following exception was raised:</span>
<span class="pl-c1">No module named 'click_repl'</span>
<span class="pl-c1">WARNING: autodoc: failed to import module 'celery' from module 'celery.bin'; the following exception was raised:</span>
<span class="pl-c1">No module named 'click_didyoumean'</span>
<span class="pl-c1">/usr/lib/python3.8/site-packages/kombu/exceptions.py:docstring of kombu.exceptions.OperationalError:1: WARNING: duplicate object description of kombu.exceptions.OperationalError, other instance in reference/celery.app.task, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/agent.py:docstring of celery.worker.consumer.agent.celery.worker.consumer.agent.Agent:1: WARNING: duplicate object description of celery.worker.consumer.agent.celery.worker.consumer.agent.Agent, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/connection.py:docstring of celery.worker.consumer.connection.celery.worker.consumer.connection.Connection:1: WARNING: duplicate object description of celery.worker.consumer.connection.celery.worker.consumer.connection.Connection, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/control.py:docstring of celery.worker.consumer.control.celery.worker.consumer.control.Control:1: WARNING: duplicate object description of celery.worker.consumer.control.celery.worker.consumer.control.Control, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/events.py:docstring of celery.worker.consumer.events.celery.worker.consumer.events.Events:1: WARNING: duplicate object description of celery.worker.consumer.events.celery.worker.consumer.events.Events, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/gossip.py:docstring of celery.worker.consumer.gossip.celery.worker.consumer.gossip.Gossip:1: WARNING: duplicate object description of celery.worker.consumer.gossip.celery.worker.consumer.gossip.Gossip, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/heart.py:docstring of celery.worker.consumer.heart.celery.worker.consumer.heart.Heart:1: WARNING: duplicate object description of celery.worker.consumer.heart.celery.worker.consumer.heart.Heart, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/mingle.py:docstring of celery.worker.consumer.mingle.celery.worker.consumer.mingle.Mingle:1: WARNING: duplicate object description of celery.worker.consumer.mingle.celery.worker.consumer.mingle.Mingle, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/consumer/tasks.py:docstring of celery.worker.consumer.tasks.celery.worker.consumer.tasks.Tasks:1: WARNING: duplicate object description of celery.worker.consumer.tasks.celery.worker.consumer.tasks.Tasks, other instance in reference/celery.worker.consumer, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/reference/cli.rst:5: WARNING: Failed to import "celery" from "celery.bin.celery". The following exception was raised:</span>
<span class="pl-c1">Traceback (most recent call last):</span>
<span class="pl-c1"> File "/usr/lib/python3.8/site-packages/sphinx_click/ext.py", line 385, in _load_module</span>
<span class="pl-c1"> mod = __import__(module_name, globals(), locals(), [attr_name])</span>
<span class="pl-c1"> File "/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/bin/celery.py", line 9, in <module></span>
<span class="pl-c1"> from click_didyoumean import DYMGroup</span>
<span class="pl-c1">ModuleNotFoundError: No module named 'click_didyoumean'</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:1566: WARNING: Title underline too short.</span>
<span class="pl-c1">``azureblockblob_base_path``</span>
<span class="pl-c1">~~~~~~~~~~~~~~~~~~~</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:1566: WARNING: Title underline too short.</span>
<span class="pl-c1">``azureblockblob_base_path``</span>
<span class="pl-c1">~~~~~~~~~~~~~~~~~~~</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:352: WARNING: duplicate object description of app, other instance in userguide/extending, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:364: WARNING: duplicate object description of hostname, other instance in userguide/extending, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:370: WARNING: duplicate object description of blueprint, other instance in userguide/extending, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:376: WARNING: duplicate object description of hub, other instance in userguide/extending, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:481: WARNING: duplicate object description of pool, other instance in userguide/extending, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:488: WARNING: duplicate object description of timer, other instance in userguide/extending, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/tasks.rst:893: WARNING: duplicate object description of Task.max_retries, other instance in userguide/tasks, use :noindex: for one of them</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:374: WARNING: Error in "code-block" directive:</span>
<span class="pl-c1">maximum 1 argument(s) allowed, 5 supplied.</span>
<span class="pl-c1">.. code-block:: python</span>
<span class="pl-c1"> from celery import shared_task</span>
<span class="pl-c1"> @shared_task</span>
<span class="pl-c1"> def my_func(*, name='default', age, city='Kyiv'):</span>
<span class="pl-c1"> pass</span>
<span class="pl-c1">looking for now-outdated files... none found</span>
<span class="pl-c1">pickling environment... done</span>
<span class="pl-c1">checking consistency... done</span>
writing... python-celery.3 { copyright getting-started/index getting-started/introduction getting-started/backends-and-brokers/index getting-started/backends-and-brokers/rabbitmq getting-started/backends-and-brokers/redis getting-started/backends-and-brokers/sqs getting-started/first-steps-with-celery getting-started/next-steps getting-started/resources userguide/index userguide/application userguide/tasks userguide/calling userguide/canvas userguide/workers userguide/daemonizing userguide/periodic-tasks userguide/routing userguide/monitoring userguide/security userguide/optimizing userguide/debugging userguide/concurrency/index userguide/concurrency/eventlet userguide/signals userguide/testing userguide/extending userguide/configuration userguide/sphinx django/index django/first-steps-with-django contributing community tutorials/index tutorials/task-cookbook faq changelog whatsnew-5.1 reference/index reference/cli reference/celery reference/celery.app reference/celery.app.task reference/celery.app.amqp reference/celery.app.defaults reference/celery.app.control reference/celery.app.registry reference/celery.app.backends reference/celery.app.builtins reference/celery.app.events reference/celery.app.log reference/celery.app.utils reference/celery.app.autoretry reference/celery.bootsteps reference/celery.result reference/celery.schedules reference/celery.signals reference/celery.security reference/celery.utils.debug reference/celery.exceptions reference/celery.loaders reference/celery.loaders.app reference/celery.loaders.default reference/celery.loaders.base reference/celery.states reference/celery.contrib.abortable reference/celery.contrib.migrate reference/celery.contrib.pytest reference/celery.contrib.sphinx reference/celery.contrib.testing.worker reference/celery.contrib.testing.app reference/celery.contrib.testing.manager reference/celery.contrib.testing.mocks reference/celery.contrib.rdb reference/celery.events reference/celery.events.receiver reference/celery.events.dispatcher reference/celery.events.event reference/celery.events.state reference/celery.beat reference/celery.apps.worker reference/celery.apps.beat reference/celery.apps.multi reference/celery.worker reference/celery.worker.request reference/celery.worker.state reference/celery.worker.strategy reference/celery.worker.consumer reference/celery.worker.consumer.agent reference/celery.worker.consumer.connection reference/celery.worker.consumer.consumer reference/celery.worker.consumer.control reference/celery.worker.consumer.events reference/celery.worker.consumer.gossip reference/celery.worker.consumer.heart reference/celery.worker.consumer.mingle reference/celery.worker.consumer.tasks reference/celery.worker.worker reference/celery.bin.base reference/celery.bin.celery reference/celery.bin.worker reference/celery.bin.beat reference/celery.bin.events reference/celery.bin.logtool reference/celery.bin.amqp reference/celery.bin.graph reference/celery.bin.multi reference/celery.bin.call reference/celery.bin.control reference/celery.bin.list reference/celery.bin.migrate reference/celery.bin.purge reference/celery.bin.result reference/celery.bin.shell reference/celery.bin.upgrade internals/index internals/guide internals/deprecation internals/worker internals/protocol internals/app-overview internals/reference/index internals/reference/celery.worker.components internals/reference/celery.worker.loops internals/reference/celery.worker.heartbeat internals/reference/celery.worker.control internals/reference/celery.worker.pidbox internals/reference/celery.worker.autoscale internals/reference/celery.concurrency internals/reference/celery.concurrency.solo internals/reference/celery.concurrency.prefork internals/reference/celery.concurrency.eventlet internals/reference/celery.concurrency.gevent internals/reference/celery.concurrency.thread internals/reference/celery.concurrency.base internals/reference/celery.backends internals/reference/celery.backends.base internals/reference/celery.backends.asynchronous internals/reference/celery.backends.azureblockblob internals/reference/celery.backends.rpc internals/reference/celery.backends.database internals/reference/celery.backends.cache internals/reference/celery.backends.consul internals/reference/celery.backends.couchdb internals/reference/celery.backends.mongodb internals/reference/celery.backends.elasticsearch internals/reference/celery.backends.redis internals/reference/celery.backends.cassandra internals/reference/celery.backends.couchbase internals/reference/celery.backends.arangodb internals/reference/celery.backends.dynamodb internals/reference/celery.backends.filesystem internals/reference/celery.backends.cosmosdbsql internals/reference/celery.backends.s3 internals/reference/celery.app.trace internals/reference/celery.app.annotations internals/reference/celery.app.routes internals/reference/celery.security.certificate internals/reference/celery.security.key internals/reference/celery.security.serialization internals/reference/celery.security.utils internals/reference/celery.events.snapshot internals/reference/celery.events.cursesmon internals/reference/celery.events.dumper internals/reference/celery.backends.database.models internals/reference/celery.backends.database.session internals/reference/celery.utils internals/reference/celery.utils.abstract internals/reference/celery.utils.collections internals/reference/celery.utils.nodenames internals/reference/celery.utils.deprecated internals/reference/celery.utils.functional internals/reference/celery.utils.graph internals/reference/celery.utils.objects internals/reference/celery.utils.term internals/reference/celery.utils.time internals/reference/celery.utils.iso8601 internals/reference/celery.utils.saferepr internals/reference/celery.utils.serialization internals/reference/celery.utils.sysinfo internals/reference/celery.utils.threads internals/reference/celery.utils.timer2 internals/reference/celery.utils.imports internals/reference/celery.utils.log internals/reference/celery.utils.text internals/reference/celery.utils.dispatch internals/reference/celery.utils.dispatch.signal internals/reference/celery.platforms internals/reference/celery._state history/index history/whatsnew-5.0 history/changelog-5.0 history/whatsnew-4.4 history/changelog-4.4 history/whatsnew-4.3 history/changelog-4.3 history/whatsnew-4.2 history/changelog-4.2 history/whatsnew-4.1 history/changelog-4.1 history/whatsnew-4.0 history/changelog-4.0 history/whatsnew-3.1 history/changelog-3.1 history/whatsnew-3.0 history/changelog-3.0 history/whatsnew-2.5 history/changelog-2.5 history/changelog-2.4 history/changelog-2.3 history/changelog-2.2 history/changelog-2.1 history/changelog-2.0 history/changelog-1.0 glossary } /home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/introduction.rst:206: WARNING: unknown option: celery worker --max-tasks-per-child
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:444: WARNING: unknown option: celery worker --pidfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:444: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:444: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/first-steps-with-celery.rst:473: WARNING: unknown option: celery worker --pidfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:95: WARNING: unknown option: celery -b</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:104: WARNING: unknown option: celery worker -c</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:129: WARNING: unknown option: celery --help</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:222: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:225: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:231: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:644: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/getting-started/next-steps.rst:681: WARNING: unknown option: celery inspect --destination</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/tasks.rst:67: WARNING: unknown option: celery worker -O</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/calling.rst:685: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:35: WARNING: unknown option: celery worker --hostname</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:158: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:158: WARNING: unknown option: celery worker --pidfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:158: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:218: WARNING: unknown option: celery worker --concurrency</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:545: WARNING: unknown option: celery worker --max-tasks-per-child</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:564: WARNING: unknown option: celery worker --max-memory-per-child</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:583: WARNING: unknown option: celery worker --autoscale</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:609: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:642: WARNING: unknown option: celery control --destination</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:695: WARNING: unknown option: celery control --destination</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/workers.rst:724: WARNING: unknown option: celery inspect --destination</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/daemonizing.rst:170: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/daemonizing.rst:291: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/periodic-tasks.rst:405: WARNING: unknown option: celery worker -B</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/periodic-tasks.rst:433: WARNING: unknown option: celery beat --scheduler</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/routing.rst:165: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:49: WARNING: unknown option: celery shell --without-tasks</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:53: WARNING: unknown option: celery shell --ipython</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:53: WARNING: unknown option: celery shell --bpython</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:53: WARNING: unknown option: celery shell --python</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:185: WARNING: unknown option: celery inspect --timeout</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:196: WARNING: unknown option: celery inspect --destination</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:300: WARNING: unknown option: celery --broker</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:359: WARNING: unknown option: celery --help</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/monitoring.rst:558: WARNING: unknown option: celery events -c</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/optimizing.rst:153: WARNING: unknown option: celery worker -c</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/optimizing.rst:160: WARNING: unknown option: celery worker -c</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/optimizing.rst:194: WARNING: unknown option: celery worker -c</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/concurrency/eventlet.rst:48: WARNING: unknown option: celery worker -P</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/signals.rst:453: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/signals.rst:457: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/extending.rst:688: WARNING: unknown option: celery worker --loglevel</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2048: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2048: WARNING: unknown option: celery worker -X</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2747: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:2822: WARNING: unknown option: celery worker -E</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3110: WARNING: unknown option: celery worker -P</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3181: WARNING: unknown option: celery beat -S</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3194: WARNING: unknown option: celery beat --schedule</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/userguide/configuration.rst:3225: WARNING: unknown option: celery worker -B</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/faq.rst:386: WARNING: unknown option: celery worker --purge</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/faq.rst:508: WARNING: unknown option: celery worker -E</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/faq.rst:762: WARNING: unknown option: celery worker -n</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:326: WARNING: undefined label: _conf-redis-result-backend</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:335: WARNING: unknown document: reference/kombu.transport.SQS.rst</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:388: WARNING: unknown document: getting-started/backends-and-brokers/sqs.rst</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/whatsnew-5.1.rst:410: WARNING: unknown document: getting-started/backends-and-brokers/redis.rst</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/app/amqp.py:docstring of celery.app.amqp.Queues.select_add:3: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/state.py:docstring of celery.worker.state.Persistent:3: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:316: WARNING: unknown option: celery worker --detach</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:317: WARNING: unknown option: celery worker --uid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:317: WARNING: unknown option: celery worker --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/internals/guide.rst:326: WARNING: unknown option: celery worker --purge</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/../celery/worker/autoscale.py:docstring of celery.worker.autoscale:7: WARNING: unknown option: celery worker --autoscale</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:857: WARNING: unknown option: celery worker --max-memory-per-child</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1324: WARNING: undefined label: conf-riak-result-backend</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1665: WARNING: unknown option: celery inspect --json</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1683: WARNING: unknown option: celery worker --executable</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:1689: WARNING: unknown option: celery worker --prefetch-multiplier</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2289: WARNING: unknown option: celery worker --loglevel</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2290: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2291: WARNING: unknown option: celery beat --loglevel</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-4.0.rst:2292: WARNING: unknown option: celery beat --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:252: WARNING: unknown option: celery worker -O</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:268: WARNING: unknown option: celery worker --max-tasks-per-child</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:268: WARNING: unknown option: celery worker -O</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:395: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:435: WARNING: unknown option: celery worker -n</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:491: WARNING: unknown option: celery worker --without-mingle</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:511: WARNING: unknown option: celery worker --without-gossip</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:762: WARNING: unknown option: celery worker --detach</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1092: WARNING: unknown option: celery worker -X</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1095: WARNING: unknown option: celery worker -X</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1095: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.1.rst:1237: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:446: WARNING: unknown option: celery worker --executable</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:446: WARNING: unknown option: celery worker --detach</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:454: WARNING: unknown option: celery worker --autoscale</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:567: WARNING: unknown option: celery worker -O</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:641: WARNING: unknown option: celery --umask</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:860: WARNING: unknown option: celery worker --heartbeat-interval</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1192: WARNING: unknown option: celery purge -f</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1242: WARNING: unknown option: celery --no-color</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1251: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1382: WARNING: unknown option: celery worker -B</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1385: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1385: WARNING: unknown option: celery worker --pidfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1385: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1528: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1531: WARNING: unknown option: celery worker --uid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1531: WARNING: unknown option: celery worker --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1531: WARNING: unknown option: celery worker --detach</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1535: WARNING: unknown option: celery beat --uid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1535: WARNING: unknown option: celery beat --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1535: WARNING: unknown option: celery beat --detach</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1539: WARNING: unknown option: celery worker -B</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1642: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.1.rst:1663: WARNING: unknown option: celery worker -B</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-3.0.rst:688: WARNING: unknown option: celery --app</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:163: WARNING: unknown option: celery --loader</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:311: WARNING: unknown option: celery worker --statedb</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:686: WARNING: unknown option: celery --loader</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:688: WARNING: unknown option: celery --workdir</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:846: WARNING: unknown option: celery --config</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-3.0.rst:935: WARNING: unknown option: celery --no-color</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-2.5.rst:512: WARNING: unknown option: celery call --expires</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/whatsnew-2.5.rst:512: WARNING: unknown option: celery call --eta</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.5.rst:199: WARNING: unknown option: celery shell --eventlet</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.5.rst:199: WARNING: unknown option: celery shell --gevent</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.4.rst:39: WARNING: unknown option: celery --uid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.4.rst:39: WARNING: unknown option: celery --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.4.rst:214: WARNING: unknown option: celery --broker</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.3.rst:22: WARNING: unknown option: celery --uid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.3.rst:22: WARNING: unknown option: celery --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:22: WARNING: unknown option: celery --uid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:22: WARNING: unknown option: celery --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:50: WARNING: unknown option: celery --gid</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:368: WARNING: unknown option: celery events --pidfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:386: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:575: WARNING: unknown option: celery worker --pool</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.2.rst:616: WARNING: unknown option: celery worker --autoscale</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:369: WARNING: unknown option: celery events --camera</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:370: WARNING: unknown option: celery events --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:371: WARNING: unknown option: celery events --loglevel</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:372: WARNING: unknown option: celery events --maxrate</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:373: WARNING: unknown option: celery events --freq</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:375: WARNING: unknown option: celery events --camera</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:391: WARNING: unknown option: celery events --frequency</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:460: WARNING: unknown option: celery worker --loglevel</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:460: WARNING: unknown option: celery worker --logfile</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.1.rst:481: WARNING: unknown option: celery worker --include</span>
<span class="pl-c1">/home/tkloczko/rpmbuild/BUILD/celery-5.1.2/docs/history/changelog-2.0.rst:927: WARNING: unknown option: celery worker -Q</span>
<span class="pl-c1">done</span>
<span class="pl-c1">build succeeded, 188 warnings.</span></pre></div> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">I have come across some unexpected behaviour when using dataclasses mapped to SQLAlchemy using classical mapping.</p>
<p dir="auto">Here's a snippet with the essence of the issue:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from __future__ import annotations
from dataclasses import dataclass, field
from sqlalchemy import Column, Table, String, Boolean
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import mapper, sessionmaker
Base = declarative_base()
metadata = Base.metadata
table = Table(
"table",
metadata,
#
Column("id", String, primary_key=True),
Column("active", Boolean),
)
@dataclass
class C:
id: str
active: bool = True
@dataclass
class C1:
id: str
active: bool
@dataclass
class C2:
id: str
active: bool = field(default_factory=lambda: True)
mapper(C, table)
mapper(C1, table)
mapper(C2, table)
Session = sessionmaker()
session = Session()
query = session.query(C)
print(query.filter(C.active == True))
print()
# Result (WRONG)
# SELECT "table".id AS table_id
# FROM "table"
# WHERE true
query = session.query(C1)
print(query.filter(C1.active == True))
print()
# Result: OK
# SELECT "table".id AS table_id, "table".active AS table_active
# FROM "table"
# WHERE "table".active = true
query = session.query(C2)
print(query.filter(C2.active == True))
print()
# Result: OK
# SELECT "table".id AS table_id, "table".active AS table_active
# FROM "table"
# WHERE "table".active = true"><pre class="notranslate"><span class="pl-k">from</span> __future__ <span class="pl-k">import</span> <span class="pl-s1">annotations</span>
<span class="pl-k">from</span> <span class="pl-s1">dataclasses</span> <span class="pl-k">import</span> <span class="pl-s1">dataclass</span>, <span class="pl-s1">field</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-v">Column</span>, <span class="pl-v">Table</span>, <span class="pl-v">String</span>, <span class="pl-v">Boolean</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">declarative</span> <span class="pl-k">import</span> <span class="pl-s1">declarative_base</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-s1">mapper</span>, <span class="pl-s1">sessionmaker</span>
<span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-en">declarative_base</span>()
<span class="pl-s1">metadata</span> <span class="pl-c1">=</span> <span class="pl-v">Base</span>.<span class="pl-s1">metadata</span>
<span class="pl-s1">table</span> <span class="pl-c1">=</span> <span class="pl-v">Table</span>(
<span class="pl-s">"table"</span>,
<span class="pl-s1">metadata</span>,
<span class="pl-c">#</span>
<span class="pl-v">Column</span>(<span class="pl-s">"id"</span>, <span class="pl-v">String</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>),
<span class="pl-v">Column</span>(<span class="pl-s">"active"</span>, <span class="pl-v">Boolean</span>),
)
<span class="pl-en">@<span class="pl-s1">dataclass</span></span>
<span class="pl-k">class</span> <span class="pl-v">C</span>:
<span class="pl-s1">id</span>: <span class="pl-s1">str</span>
<span class="pl-s1">active</span>: <span class="pl-s1">bool</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>
<span class="pl-en">@<span class="pl-s1">dataclass</span></span>
<span class="pl-k">class</span> <span class="pl-v">C1</span>:
<span class="pl-s1">id</span>: <span class="pl-s1">str</span>
<span class="pl-s1">active</span>: <span class="pl-s1">bool</span>
<span class="pl-en">@<span class="pl-s1">dataclass</span></span>
<span class="pl-k">class</span> <span class="pl-v">C2</span>:
<span class="pl-s1">id</span>: <span class="pl-s1">str</span>
<span class="pl-s1">active</span>: <span class="pl-s1">bool</span> <span class="pl-c1">=</span> <span class="pl-en">field</span>(<span class="pl-s1">default_factory</span><span class="pl-c1">=</span><span class="pl-k">lambda</span>: <span class="pl-c1">True</span>)
<span class="pl-en">mapper</span>(<span class="pl-v">C</span>, <span class="pl-s1">table</span>)
<span class="pl-en">mapper</span>(<span class="pl-v">C1</span>, <span class="pl-s1">table</span>)
<span class="pl-en">mapper</span>(<span class="pl-v">C2</span>, <span class="pl-s1">table</span>)
<span class="pl-v">Session</span> <span class="pl-c1">=</span> <span class="pl-en">sessionmaker</span>()
<span class="pl-s1">session</span> <span class="pl-c1">=</span> <span class="pl-v">Session</span>()
<span class="pl-s1">query</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-v">C</span>)
<span class="pl-en">print</span>(<span class="pl-s1">query</span>.<span class="pl-en">filter</span>(<span class="pl-v">C</span>.<span class="pl-s1">active</span> <span class="pl-c1">==</span> <span class="pl-c1">True</span>))
<span class="pl-en">print</span>()
<span class="pl-c"># Result (WRONG)</span>
<span class="pl-c"># SELECT "table".id AS table_id</span>
<span class="pl-c"># FROM "table"</span>
<span class="pl-c"># WHERE true</span>
<span class="pl-s1">query</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-v">C1</span>)
<span class="pl-en">print</span>(<span class="pl-s1">query</span>.<span class="pl-en">filter</span>(<span class="pl-v">C1</span>.<span class="pl-s1">active</span> <span class="pl-c1">==</span> <span class="pl-c1">True</span>))
<span class="pl-en">print</span>()
<span class="pl-c"># Result: OK</span>
<span class="pl-c"># SELECT "table".id AS table_id, "table".active AS table_active</span>
<span class="pl-c"># FROM "table"</span>
<span class="pl-c"># WHERE "table".active = true</span>
<span class="pl-s1">query</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-v">C2</span>)
<span class="pl-en">print</span>(<span class="pl-s1">query</span>.<span class="pl-en">filter</span>(<span class="pl-v">C2</span>.<span class="pl-s1">active</span> <span class="pl-c1">==</span> <span class="pl-c1">True</span>))
<span class="pl-en">print</span>()
<span class="pl-c"># Result: OK</span>
<span class="pl-c"># SELECT "table".id AS table_id, "table".active AS table_active</span>
<span class="pl-c"># FROM "table"</span>
<span class="pl-c"># WHERE "table".active = true</span></pre></div>
<p dir="auto">So, yes, I have found a workaround (using <code class="notranslate">= field(default_factory=lambda: something)</code> as an initializer instead of just <code class="notranslate">= something</code>), but it doesn't look as good.</p>
<p dir="auto">Is there some general advice regarding the interaction of dataclasses and SQLAlchemy ORM? (I have also tried with attrs, and got the same issue).</p> | <p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">Something I'd love to see is having a one-to-many relation() (non-lazy at least) is to have a dictionary returned instead of a list or scalar, the key being a specified column from the joined table, breaking up the results on lists on the given keys.</p> | 0 |
<p dir="auto">Environment : Windows 7 x64 SP1<br>
Julia Version 0.4.5 (2016-03-18 00:58 UTC) // x86_64-w64-mingw32</p>
<p dir="auto">When I've set the environment variable <code class="notranslate">JULIA_PKGDIR = d:\_APP_\Julia\Home</code>, I've not been able to compile "Blink" pakage. But the <code class="notranslate">Pkg.init()</code> has run perfectly :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\>set JULIA_PKGDIR=D:\_APP_\Julia\Home
C:\>D:\_APP_\Julia\Julia-0.4.5\julia.lnk
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.5 (2016-03-18 00:58 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
julia> Pkg.init()
INFO: Initializing package repository D:\_APP_\Julia\Home\v0.4
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
julia> Pkg.add("Blink")
INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Blink from git://github.com/JunoLab/Blink.jl.git
INFO: Cloning cache of Codecs from git://github.com/dcjones/Codecs.jl.git
INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git
[...]
INFO: Installing BinDeps v0.3.21
INFO: Installing Blink v0.3.4
[...]
INFO: Directory D:\_APP_\Julia\Home\v0.4\HttpParser already created
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: D:\_APP_\Julia\Home\v0.4\HttpParser\deps\downloads\libhttp_parser.zip
Extracting usr\lib
Extracting usr\lib\libhttp_parser32.dll
Extracting usr\lib\libhttp_parser64.dll
Everything is Ok
[...]
WARNING: Could not check MbedTLS version
WARNING: Could not check MbedTLS version
WARNING: Could not check MbedTLS version
WARNING: Could not check MbedTLS version
INFO: Package database updated
julia> using Blink
INFO: Precompiling module Blink...
**ERROR: LoadError: LoadError: UndefVarError: APP not defined**
in include at boot.jl:261
in include_from_node1 at loading.jl:320
in include at boot.jl:261
in include_from_node1 at loading.jl:320
[inlined code] from none:2
in anonymous at no file:0
in process_options at client.jl:257
in _start at client.jl:378
while loading D:\_APP_\Julia\Home\v0.4\Lazy\src\liblazy.jl, in expression starting on line 105
while loading D:\_APP_\Julia\Home\v0.4\Lazy\src\Lazy.jl, in expression starting on line 91
ERROR: LoadError: LoadError: LoadError: Failed to precompile Lazy to D:\_APP_\Julia\Home\lib\v0.4\Lazy.ji
in error at error.jl:21
while loading D:\_APP_\Julia\Home\v0.4\Blink\src\rpc\jsexprs.jl, in expression starting on line 1
while loading D:\_APP_\Julia\Home\v0.4\Blink\src\rpc/rpc.jl, in expression starting on line 11
while loading D:\_APP_\Julia\Home\v0.4\Blink\src\Blink.jl, in expression starting on line 7
ERROR: Failed to precompile Blink to D:\_APP_\Julia\Home\lib\v0.4\Blink.ji
in error at error.jl:21
"><pre class="notranslate"><code class="notranslate">C:\>set JULIA_PKGDIR=D:\_APP_\Julia\Home
C:\>D:\_APP_\Julia\Julia-0.4.5\julia.lnk
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.5 (2016-03-18 00:58 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
julia> Pkg.init()
INFO: Initializing package repository D:\_APP_\Julia\Home\v0.4
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
julia> Pkg.add("Blink")
INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Blink from git://github.com/JunoLab/Blink.jl.git
INFO: Cloning cache of Codecs from git://github.com/dcjones/Codecs.jl.git
INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git
[...]
INFO: Installing BinDeps v0.3.21
INFO: Installing Blink v0.3.4
[...]
INFO: Directory D:\_APP_\Julia\Home\v0.4\HttpParser already created
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: D:\_APP_\Julia\Home\v0.4\HttpParser\deps\downloads\libhttp_parser.zip
Extracting usr\lib
Extracting usr\lib\libhttp_parser32.dll
Extracting usr\lib\libhttp_parser64.dll
Everything is Ok
[...]
WARNING: Could not check MbedTLS version
WARNING: Could not check MbedTLS version
WARNING: Could not check MbedTLS version
WARNING: Could not check MbedTLS version
INFO: Package database updated
julia> using Blink
INFO: Precompiling module Blink...
**ERROR: LoadError: LoadError: UndefVarError: APP not defined**
in include at boot.jl:261
in include_from_node1 at loading.jl:320
in include at boot.jl:261
in include_from_node1 at loading.jl:320
[inlined code] from none:2
in anonymous at no file:0
in process_options at client.jl:257
in _start at client.jl:378
while loading D:\_APP_\Julia\Home\v0.4\Lazy\src\liblazy.jl, in expression starting on line 105
while loading D:\_APP_\Julia\Home\v0.4\Lazy\src\Lazy.jl, in expression starting on line 91
ERROR: LoadError: LoadError: LoadError: Failed to precompile Lazy to D:\_APP_\Julia\Home\lib\v0.4\Lazy.ji
in error at error.jl:21
while loading D:\_APP_\Julia\Home\v0.4\Blink\src\rpc\jsexprs.jl, in expression starting on line 1
while loading D:\_APP_\Julia\Home\v0.4\Blink\src\rpc/rpc.jl, in expression starting on line 11
while loading D:\_APP_\Julia\Home\v0.4\Blink\src\Blink.jl, in expression starting on line 7
ERROR: Failed to precompile Blink to D:\_APP_\Julia\Home\lib\v0.4\Blink.ji
in error at error.jl:21
</code></pre></div>
<p dir="auto">When I've change the <code class="notranslate">JULIA_PKGDIR</code> to <code class="notranslate">d:\Julia\Home</code> no more issue while compiling !</p> | <p dir="auto">I get the following error when I run using Lazy in the Julia REPL</p>
<p dir="auto">ERROR: LoadError: LoadError: LoadError: InitError: UndefVarError: lastname/.julia/v0.4/MacroTools/src/utils.jl not defined</p>
<p dir="auto">The correct path is /Users/firstname_lastname/.julia/v0.4/MacroTools/src/utils.jl and the file exists.</p>
<p dir="auto">I can load the MacroTools package from the REPL without error</p> | 1 |
<p dir="auto">Use <code class="notranslate">ANDROID_SDK_ROOT</code> instead.</p>
<p dir="auto"><a href="https://developer.android.com/studio/command-line/variables.html#envar" rel="nofollow">https://developer.android.com/studio/command-line/variables.html#envar</a></p>
<blockquote>
<p dir="auto">If you continue to use it, the following rules apply:</p>
<ul dir="auto">
<li>If ANDROID_HOME is defined and contains a valid SDK installation, it's value is used instead of the value in ANDROID_SDK_ROOT.</li>
<li>If ANDROID_HOME is not defined, the value in ANDROID_SDK_ROOT is used.</li>
<li>If ANDROID_HOME is defined but, does not exist or does not contain a valid SDK installation, the value in ANDROID_SDK_ROOT is used instead.</li>
</ul>
</blockquote>
<p dir="auto">Related(?): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="284106078" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/13750" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/13750/hovercard" href="https://github.com/flutter/flutter/issues/13750">#13750</a></p> | <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="brew install android-sdk
echo 'export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"' >> ~/.zshrc
source ~/.zshrc
flutter doctor"><pre class="notranslate">brew install android-sdk
<span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">'</span>export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"<span class="pl-pds">'</span></span> <span class="pl-k">>></span> <span class="pl-k">~</span>/.zshrc
<span class="pl-c1">source</span> <span class="pl-k">~</span>/.zshrc
flutter doctor</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location."><pre class="notranslate"><code class="notranslate">[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.
</code></pre></div>
<p dir="auto">ANDROID_HOME is <a href="https://developer.android.com/studio/command-line/variables.html" rel="nofollow">deprecated</a>. The variable is now called ANDROID_SDK_ROOT.</p> | 1 |
<p dir="auto">If I open a tmux session and then use the shortcut "Ctrl+b + %" to add a new vertical window it displays properly. However if I maximize the terminal and then minimize it again to its original size the terminal will freeze for a second and then close without appearing any error message.</p>
<p dir="auto">This behaviour only happens with vertical windows, and not with horizontal ones.</p>
<p dir="auto">I don't know if it's a problem of the WSL terminal or tmux itself. I'm new to developping in Windows, so where can I find the log or any information to let you know what is happening with the terminal?</p>
<p dir="auto">EDIT: I just find out that it happens with tmux and only when you minimize back to its size a terminal which contains many lines or rows. For example if I go to /usr/bin/ and type "ls -l" all the content will show in screen; if I maximize the window then minimize it back to its default size it will crash and close without showing any error. If I do the same operation out of tmux, it displays without any error.</p> | <h1 dir="auto">Environment</h1>
<p dir="auto">Windows 10 Pro 18956 Insider Preview</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">The option <strong>"closeOnExit"</strong> will be invalid with only a tab running, and it could be reproduce with multi-tabs running occationally.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Fix it</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">There is an option named "closeOnExit", but it seems to be invalid after inputting <code class="notranslate">exit</code> command, and the windows would not be closed.</p>
<p dir="auto">Following content is a part of my configuration file about powershell, it might help you to resolve it.</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"startingDirectory": "%USERPROFILE%",
"guid": "{95e05ea2-6bad-4896-bcdf-a4f96c885cc8}",
"name": "PowerShell",
"background": "#002731",
"colorscheme": "Campbell",
"historySize": 9001,
"snapOnInput": true,
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"commandline": "powershell.exe",
"fontFace": "Consolas",
"fontSize": 12,
"acrylicOpacity": 0.5,
"useAcrylic": true,
"closeOnExit": true,
"padding": "0, 0, 0, 0",
"icon": "ms-appdata:///roaming/icons/powershell_32px.png"
}"><pre class="notranslate">{
<span class="pl-ent">"startingDirectory"</span>: <span class="pl-s"><span class="pl-pds">"</span>%USERPROFILE%<span class="pl-pds">"</span></span>,
<span class="pl-ent">"guid"</span>: <span class="pl-s"><span class="pl-pds">"</span>{95e05ea2-6bad-4896-bcdf-a4f96c885cc8}<span class="pl-pds">"</span></span>,
<span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>PowerShell<span class="pl-pds">"</span></span>,
<span class="pl-ent">"background"</span>: <span class="pl-s"><span class="pl-pds">"</span>#002731<span class="pl-pds">"</span></span>,
<span class="pl-ent">"colorscheme"</span>: <span class="pl-s"><span class="pl-pds">"</span>Campbell<span class="pl-pds">"</span></span>,
<span class="pl-ent">"historySize"</span>: <span class="pl-c1">9001</span>,
<span class="pl-ent">"snapOnInput"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"cursorColor"</span>: <span class="pl-s"><span class="pl-pds">"</span>#FFFFFF<span class="pl-pds">"</span></span>,
<span class="pl-ent">"cursorShape"</span>: <span class="pl-s"><span class="pl-pds">"</span>bar<span class="pl-pds">"</span></span>,
<span class="pl-ent">"commandline"</span>: <span class="pl-s"><span class="pl-pds">"</span>powershell.exe<span class="pl-pds">"</span></span>,
<span class="pl-ent">"fontFace"</span>: <span class="pl-s"><span class="pl-pds">"</span>Consolas<span class="pl-pds">"</span></span>,
<span class="pl-ent">"fontSize"</span>: <span class="pl-c1">12</span>,
<span class="pl-ent">"acrylicOpacity"</span>: <span class="pl-c1">0.5</span>,
<span class="pl-ent">"useAcrylic"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"closeOnExit"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"padding"</span>: <span class="pl-s"><span class="pl-pds">"</span>0, 0, 0, 0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"icon"</span>: <span class="pl-s"><span class="pl-pds">"</span>ms-appdata:///roaming/icons/powershell_32px.png<span class="pl-pds">"</span></span>
}</pre></div> | 0 |
<p dir="auto">I was randomly seeing benchmarks report 0 ns/iter and had no idea why until <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexcrichton/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexcrichton">@alexcrichton</a> clued me in on the 1ms limit per iter. I'd like to add a warning when the initial iteration takes longer than 1ms so the user knows why the benchmark is "failing". Instead of just reporting 0 ns/iter.</p>
<p dir="auto">I've got a question on the intent of part of the code before I continue trying to make this change.</p>
<p dir="auto"><a href="https://github.com/mozilla/rust/blob/master/src/libextra/test.rs#L1060">https://github.com/mozilla/rust/blob/master/src/libextra/test.rs#L1060</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" if self.ns_per_iter() == 0 {
n = 1_000_000;
} else {
n = 1_000_000 / self.ns_per_iter().max(&1);
}"><pre class="notranslate"><code class="notranslate"> if self.ns_per_iter() == 0 {
n = 1_000_000;
} else {
n = 1_000_000 / self.ns_per_iter().max(&1);
}
</code></pre></div>
<p dir="auto">The .max(&1) seems needless because self.ns_per_iter can only return positive integers and it was just checked for 0. I'm wondering if the line should actually be:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="n = (1_000_000 / self.ns_per_iter()).max(&1);"><pre class="notranslate"><code class="notranslate">n = (1_000_000 / self.ns_per_iter()).max(&1);
</code></pre></div>
<p dir="auto">To guarantee at least one iteration is run. If zero iterations is fine, then I'd like to add a check for that and print a warning instead.</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Compiling hyper v0.1.1 (file:///home/manishearth/Mozilla/Git/hyper)
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'assertion failed: !generic_bounds.has_escaping_regions()', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_typeck/check/mod.rs:2281"><pre class="notranslate"><code class="notranslate">Compiling hyper v0.1.1 (file:///home/manishearth/Mozilla/Git/hyper)
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'assertion failed: !generic_bounds.has_escaping_regions()', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_typeck/check/mod.rs:2281
</code></pre></div>
<p dir="auto">I was trying to use unboxed closures in Hyper, and I came across this.</p>
<p dir="auto"><a href="https://github.com/Manishearth/hyper/commit/69d3aeba1f1793aed3a1b42b3180f6fe293e9135">Here</a>'s the commit where it got introduced.</p>
<p dir="auto">The following MWE also causes the ICE:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#![feature(unboxed_closures)]
pub struct HttpConnector<T = NoSslVerify>(Option<T>);
pub struct NoSslVerify;
impl Fn(&mut u8) -> () for NoSslVerify {
#[inline(always)]
fn call(&self, _: (&mut u8)) {}
}"><pre class="notranslate"><code class="notranslate">#![feature(unboxed_closures)]
pub struct HttpConnector<T = NoSslVerify>(Option<T>);
pub struct NoSslVerify;
impl Fn(&mut u8) -> () for NoSslVerify {
#[inline(always)]
fn call(&self, _: (&mut u8)) {}
}
</code></pre></div> | 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>v9.0.0-beta.12</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>win7 sp1 x64</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">no crash</p>
<h3 dir="auto">Actual Behavior</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[4544:0330/164451.410:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AB540A8: set chrome proxy config service to 0AB54350
[4544:0330/164451.410:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AB76100: set chrome proxy config service to 0AB76AA8
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.423] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB3BBC0
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.425] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.426] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB3BBC0
[4544:0330/164451.425:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC1EFE0: set chrome proxy config service to 0ABE6210
[4544:0330/164451.425:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC3AAD0: set chrome proxy config service to 0AC1F8B0
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.437] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB771A0
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.437] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.441:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.439] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB771A0
[4544:0330/164451.441:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC4CDD0: set chrome proxy config service to 0AC1F8B0
[4544:0330/164451.441:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.450] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB771A0
[4544:0330/164451.457:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.455] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.457:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.455] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB771A0
[4544:0330/164451.457:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC6CFD0: set chrome proxy config service to 0AC1F8B0
[4544:0330/164451.457:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.468] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB771A0
[4544:0330/164451.472:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.470] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.472:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.471] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB771A0
Received fatal exception EXCEPTION_ACCESS_VIOLATION
Backtrace:
(No symbol) [0x44205D31]
electron::ElectronExtensionsBrowserClient::GetOriginalContext [0x0149B292+34] (C:\projects\src\electron\shell\browser\extensions\electron_extensions_browser_client.cc:114)
KeyedServiceFactory::GetServiceForContext [0x03396657+65] (C:\projects\src\components\keyed_service\core\keyed_service_factory.cc:57)
extensions::ProcessMapFactory::GetForBrowserContext [0x02D9BB12+22] (C:\projects\src\extensions\browser\process_map_factory.cc:17)
extensions::PermissionHelper::PermissionHelper [0x02E44BAA+30] (C:\projects\src\extensions\browser\api\web_request\permission_helper.cc:20)
BrowserContextKeyedServiceFactory::BuildServiceInstanceFor [0x0369B43F+15] (C:\projects\src\components\keyed_service\content\browser_context_keyed_service_factory.cc:94)
KeyedServiceFactory::GetServiceForContext [0x033966D0+186] (C:\projects\src\components\keyed_service\core\keyed_service_factory.cc:80)
BrowserContextKeyedServiceFactory::CreateServiceNow [0x0369B48D+13] (C:\projects\src\components\keyed_service\content\browser_context_keyed_service_factory.cc:127)
DependencyManager::CreateContextServices [0x03993B14+130] (C:\projects\src\components\keyed_service\core\dependency_manager.cc:71)
BrowserContextDependencyManager::DoCreateBrowserContextServices [0x0369B1EA+62] (C:\projects\src\components\keyed_service\content\browser_context_dependency_manager.cc:47)
BrowserContextDependencyManager::CreateBrowserContextServices [0x0369B1A7+13] (C:\projects\src\components\keyed_service\content\browser_context_dependency_manager.cc:32)
electron::ElectronBrowserContext::ElectronBrowserContext [0x0140EA0D+967] (C:\projects\src\electron\shell\browser\electron_browser_context.cc:145)
electron::ElectronBrowserContext::From [0x0140F8E4+160] (C:\projects\src\electron\shell\browser\electron_browser_context.cc:451)
electron::api::Session::FromPartition [0x013C8D45+303] (C:\projects\src\electron\shell\browser\api\electron_api_session.cc:955)
electron::api::WebContents::WebContents [0x013E2E99+733] (C:\projects\src\electron\shell\browser\api\electron_api_web_contents.cc:448)
electron::api::WebContents::Create [0x013EDDA1+49] (C:\projects\src\electron\shell\browser\api\electron_api_web_contents.cc:2748)
electron::api::BrowserWindow::BrowserWindow [0x0139ECE1+541] (C:\projects\src\electron\shell\browser\api\electron_api_browser_window.cc:77)
electron::api::BrowserWindow::New [0x013A010C+204] (C:\projects\src\electron\shell\browser\api\electron_api_browser_window.cc:466)
base::internal::FunctorTraits<gin_helper::WrappableBase *(*)(gin_helper::ErrorThrower, gin::Arguments *),void>::Invoke<gin_helper::WrappableBase *(*const &)(gin_helper::ErrorThrower, gin::Arguments *),gin_helper::ErrorThrower,gin::Ar
guments *> [0x0139C846+42] (C:\projects\src\base\bind_internal.h:399)
base::internal::Invoker<base::internal::BindState<gin_helper::WrappableBase *(*)(gin_helper::ErrorThrower, gin::Arguments *)>,gin_helper::WrappableBase *(gin_helper::ErrorThrower, gin::Arguments *)>::Run [0x0139C804+36] (C:\projects\
src\base\bind_internal.h:654)
gin_helper::internal::InvokeFactory<gin_helper::ErrorThrower,gin::Arguments *> [0x0139C7B2+85] (C:\projects\src\electron\shell\common\gin_helper\constructor.h:43)
gin_helper::internal::InvokeNew<gin_helper::WrappableBase *(gin_helper::ErrorThrower, gin::Arguments *)> [0x0139C658+56] (C:\projects\src\electron\shell\common\gin_helper\constructor.h:132)
base::internal::Invoker<base::internal::BindState<bool (*)(const base::RepeatingCallback<void (const std::__1::vector<std::__1::basic_string<wchar_t,std::__1::char_traits<wchar_t>,std::__1::allocator<wchar_t> >,std::__1::allocator<st
d::__1::basic_string<w [0x01390F33+19] (C:\projects\src\base\bind_internal.h:654)
gin_helper::Invoker<gin_helper::IndicesHolder<0,1>,electron::api::AutoUpdater *,gin_helper::Arguments *>::DispatchToCallback [0x0139B342+52] (C:\projects\src\electron\shell\common\gin_helper\function_template.h:229)
gin_helper::Dispatcher<void (v8::Isolate *, gin_helper::Arguments *)>::DispatchToCallback [0x0139C741+129] (C:\projects\src\electron\shell\common\gin_helper\function_template.h:263)
v8::internal::FunctionCallbackArguments::Call [0x01E41B4E+494] (C:\projects\src\v8\src\api\api-arguments-inl.h:158)
v8::internal::`anonymous namespace'::HandleApiCallHelper<1> [0x01E40FD9+441] (C:\projects\src\v8\src\builtins\builtins-api.cc:113)
v8::internal::Builtin_Impl_HandleApiCall [0x01E40B22+178] (C:\projects\src\v8\src\builtins\builtins-api.cc:137)
v8::internal::Builtin_HandleApiCall [0x01E4087F+47] (C:\projects\src\v8\src\builtins\builtins-api.cc:129)
Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [0x025EB237+55]
Builtins_JSBuiltinsConstructStub [0x0258CE76+86]
Builtins_ConstructHandler [0x02655AEC+172]
Builtins_InterpreterEntryTrampoline [0x02590515+181]
Builtins_ArgumentsAdaptorTrampoline [0x0258AF52+178]
Builtins_InterpreterEntryTrampoline [0x02590515+181]
Builtins_ArgumentsAdaptorTrampoline [0x0258AF52+178]
Builtins_InterpreterEntryTrampoline [0x02590515+181]
Builtins_ArgumentsAdaptorTrampoline [0x0258AF52+178]
Builtins_JSEntryTrampoline [0x0258E61A+90]
Builtins_JSEntry [0x0258E43B+91]
v8::internal::`anonymous namespace'::Invoke [0x01EDC370+1152] (C:\projects\src\v8\src\execution\execution.cc:367)
v8::internal::Execution::Call [0x01EDBED0+208] (C:\projects\src\v8\src\execution\execution.cc:461)
v8::Function::Call [0x01DFA5B1+449] (C:\projects\src\v8\src\api\api.cc:4988)
node::InternalMakeCallback [0x036B069E+140] (C:\projects\src\third_party\electron_node\src\api\callback.cc:156)
node::MakeCallback [0x036B0991+177] (C:\projects\src\third_party\electron_node\src\api\callback.cc:223)
node::MakeCallback [0x036B08B4+132] (C:\projects\src\third_party\electron_node\src\api\callback.cc:202)
node::MakeCallback [0x036B0802+114] (C:\projects\src\third_party\electron_node\src\api\callback.cc:188)
gin_helper::internal::CallMethodWithArgs [0x01474361+69] (C:\projects\src\electron\shell\common\gin_helper\event_emitter_caller.cc:23)
gin_helper::EmitEvent<base::BasicStringPiece<std::__1::basic_string<char> >,v8::Local<v8::Object> &,const base::DictionaryValue &> [0x0138FAE7+137] (C:\projects\src\electron\shell\common\gin_helper\event_emitter_caller.h:50)
gin_helper::EventEmitter<electron::api::App>::EmitWithEvent<const base::DictionaryValue &> [0x0138FA03+105] (C:\projects\src\electron\shell\common\gin_helper\event_emitter.h:114)
gin_helper::EventEmitter<electron::api::App>::Emit<const base::DictionaryValue &> [0x01387A4B+97] (C:\projects\src\electron\shell\common\gin_helper\event_emitter.h:79)
electron::api::App::OnFinishLaunching [0x013879E5+21] (C:\projects\src\electron\shell\browser\api\electron_api_app.cc:611)
electron::Browser::DidFinishLaunching [0x01401573+229] (C:\projects\src\electron\shell\browser\browser.cc:180)
electron::ElectronBrowserMainParts::PreMainMessageLoopRun [0x0141108E+350] (C:\projects\src\electron\shell\browser\electron_browser_main_parts.cc:476)
content::BrowserMainLoop::PreMainMessageLoopRun [0x02860374+52] (C:\projects\src\content\browser\browser_main_loop.cc:1026)
content::StartupTaskRunner::RunAllTasksNow [0x02B3E5A5+45] (C:\projects\src\content\browser\startup_task_runner.cc:41)
content::BrowserMainLoop::CreateStartupTasks [0x0285F48E+490] (C:\projects\src\content\browser\browser_main_loop.cc:936)
content::BrowserMainRunnerImpl::Initialize [0x02861C38+88] (C:\projects\src\content\browser\browser_main_runner_impl.cc:130)
content::BrowserMain [0x0285E094+156] (C:\projects\src\content\browser\browser_main.cc:43)
content::RunBrowserProcessMain [0x027843F5+77] (C:\projects\src\content\app\content_main_runner_impl.cc:529)
content::ContentMainRunnerImpl::RunServiceManager [0x02784E01+725] (C:\projects\src\content\app\content_main_runner_impl.cc:978)
content::ContentMainRunnerImpl::Run [0x02784B02+258] (C:\projects\src\content\app\content_main_runner_impl.cc:882)
content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01D582F3+19] (C:\projects\src\content\app\content_service_manager_main_delegate.cc:52)
service_manager::Main [0x034C8249+961] (C:\projects\src\services\service_manager\embedder\main.cc:423)
content::ContentMain [0x01D58953+51] (C:\projects\src\content\app\content_main.cc:19)
wWinMain [0x0138136B+605] (C:\projects\src\electron\shell\app\electron_main.cc:158)
__scrt_common_main_seh [0x05CA7D9A+248] (d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x7591343D+18]
RtlInitializeExceptionChain [0x777398B2+99]
RtlInitializeExceptionChain [0x77739885+54]"><pre class="notranslate"><code class="notranslate">[4544:0330/164451.410:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AB540A8: set chrome proxy config service to 0AB54350
[4544:0330/164451.410:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AB76100: set chrome proxy config service to 0AB76AA8
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.423] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB3BBC0
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.425] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.426] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB3BBC0
[4544:0330/164451.425:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC1EFE0: set chrome proxy config service to 0ABE6210
[4544:0330/164451.425:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC3AAD0: set chrome proxy config service to 0AC1F8B0
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.437] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB771A0
[4544:0330/164451.425:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.437] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.441:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.439] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB771A0
[4544:0330/164451.441:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC4CDD0: set chrome proxy config service to 0AC1F8B0
[4544:0330/164451.441:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.450] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB771A0
[4544:0330/164451.457:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.455] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.457:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.455] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB771A0
[4544:0330/164451.457:VERBOSE1:pref_proxy_config_tracker_impl.cc(185)] 0AC6CFD0: set chrome proxy config service to 0AC1F8B0
[4544:0330/164451.457:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.468] Bluetooth: EVENT: bluetooth_api.cc:73 BluetoothAPI: 0AB771A0
[4544:0330/164451.472:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.470] Bluetooth: EVENT: bluetooth_api.cc:100 BluetoothAPI: Shutdown
[4544:0330/164451.472:VERBOSE1:device_event_log_impl.cc(206)] [16:44:51.471] Bluetooth: EVENT: bluetooth_api.cc:86 ~BluetoothAPI: 0AB771A0
Received fatal exception EXCEPTION_ACCESS_VIOLATION
Backtrace:
(No symbol) [0x44205D31]
electron::ElectronExtensionsBrowserClient::GetOriginalContext [0x0149B292+34] (C:\projects\src\electron\shell\browser\extensions\electron_extensions_browser_client.cc:114)
KeyedServiceFactory::GetServiceForContext [0x03396657+65] (C:\projects\src\components\keyed_service\core\keyed_service_factory.cc:57)
extensions::ProcessMapFactory::GetForBrowserContext [0x02D9BB12+22] (C:\projects\src\extensions\browser\process_map_factory.cc:17)
extensions::PermissionHelper::PermissionHelper [0x02E44BAA+30] (C:\projects\src\extensions\browser\api\web_request\permission_helper.cc:20)
BrowserContextKeyedServiceFactory::BuildServiceInstanceFor [0x0369B43F+15] (C:\projects\src\components\keyed_service\content\browser_context_keyed_service_factory.cc:94)
KeyedServiceFactory::GetServiceForContext [0x033966D0+186] (C:\projects\src\components\keyed_service\core\keyed_service_factory.cc:80)
BrowserContextKeyedServiceFactory::CreateServiceNow [0x0369B48D+13] (C:\projects\src\components\keyed_service\content\browser_context_keyed_service_factory.cc:127)
DependencyManager::CreateContextServices [0x03993B14+130] (C:\projects\src\components\keyed_service\core\dependency_manager.cc:71)
BrowserContextDependencyManager::DoCreateBrowserContextServices [0x0369B1EA+62] (C:\projects\src\components\keyed_service\content\browser_context_dependency_manager.cc:47)
BrowserContextDependencyManager::CreateBrowserContextServices [0x0369B1A7+13] (C:\projects\src\components\keyed_service\content\browser_context_dependency_manager.cc:32)
electron::ElectronBrowserContext::ElectronBrowserContext [0x0140EA0D+967] (C:\projects\src\electron\shell\browser\electron_browser_context.cc:145)
electron::ElectronBrowserContext::From [0x0140F8E4+160] (C:\projects\src\electron\shell\browser\electron_browser_context.cc:451)
electron::api::Session::FromPartition [0x013C8D45+303] (C:\projects\src\electron\shell\browser\api\electron_api_session.cc:955)
electron::api::WebContents::WebContents [0x013E2E99+733] (C:\projects\src\electron\shell\browser\api\electron_api_web_contents.cc:448)
electron::api::WebContents::Create [0x013EDDA1+49] (C:\projects\src\electron\shell\browser\api\electron_api_web_contents.cc:2748)
electron::api::BrowserWindow::BrowserWindow [0x0139ECE1+541] (C:\projects\src\electron\shell\browser\api\electron_api_browser_window.cc:77)
electron::api::BrowserWindow::New [0x013A010C+204] (C:\projects\src\electron\shell\browser\api\electron_api_browser_window.cc:466)
base::internal::FunctorTraits<gin_helper::WrappableBase *(*)(gin_helper::ErrorThrower, gin::Arguments *),void>::Invoke<gin_helper::WrappableBase *(*const &)(gin_helper::ErrorThrower, gin::Arguments *),gin_helper::ErrorThrower,gin::Ar
guments *> [0x0139C846+42] (C:\projects\src\base\bind_internal.h:399)
base::internal::Invoker<base::internal::BindState<gin_helper::WrappableBase *(*)(gin_helper::ErrorThrower, gin::Arguments *)>,gin_helper::WrappableBase *(gin_helper::ErrorThrower, gin::Arguments *)>::Run [0x0139C804+36] (C:\projects\
src\base\bind_internal.h:654)
gin_helper::internal::InvokeFactory<gin_helper::ErrorThrower,gin::Arguments *> [0x0139C7B2+85] (C:\projects\src\electron\shell\common\gin_helper\constructor.h:43)
gin_helper::internal::InvokeNew<gin_helper::WrappableBase *(gin_helper::ErrorThrower, gin::Arguments *)> [0x0139C658+56] (C:\projects\src\electron\shell\common\gin_helper\constructor.h:132)
base::internal::Invoker<base::internal::BindState<bool (*)(const base::RepeatingCallback<void (const std::__1::vector<std::__1::basic_string<wchar_t,std::__1::char_traits<wchar_t>,std::__1::allocator<wchar_t> >,std::__1::allocator<st
d::__1::basic_string<w [0x01390F33+19] (C:\projects\src\base\bind_internal.h:654)
gin_helper::Invoker<gin_helper::IndicesHolder<0,1>,electron::api::AutoUpdater *,gin_helper::Arguments *>::DispatchToCallback [0x0139B342+52] (C:\projects\src\electron\shell\common\gin_helper\function_template.h:229)
gin_helper::Dispatcher<void (v8::Isolate *, gin_helper::Arguments *)>::DispatchToCallback [0x0139C741+129] (C:\projects\src\electron\shell\common\gin_helper\function_template.h:263)
v8::internal::FunctionCallbackArguments::Call [0x01E41B4E+494] (C:\projects\src\v8\src\api\api-arguments-inl.h:158)
v8::internal::`anonymous namespace'::HandleApiCallHelper<1> [0x01E40FD9+441] (C:\projects\src\v8\src\builtins\builtins-api.cc:113)
v8::internal::Builtin_Impl_HandleApiCall [0x01E40B22+178] (C:\projects\src\v8\src\builtins\builtins-api.cc:137)
v8::internal::Builtin_HandleApiCall [0x01E4087F+47] (C:\projects\src\v8\src\builtins\builtins-api.cc:129)
Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [0x025EB237+55]
Builtins_JSBuiltinsConstructStub [0x0258CE76+86]
Builtins_ConstructHandler [0x02655AEC+172]
Builtins_InterpreterEntryTrampoline [0x02590515+181]
Builtins_ArgumentsAdaptorTrampoline [0x0258AF52+178]
Builtins_InterpreterEntryTrampoline [0x02590515+181]
Builtins_ArgumentsAdaptorTrampoline [0x0258AF52+178]
Builtins_InterpreterEntryTrampoline [0x02590515+181]
Builtins_ArgumentsAdaptorTrampoline [0x0258AF52+178]
Builtins_JSEntryTrampoline [0x0258E61A+90]
Builtins_JSEntry [0x0258E43B+91]
v8::internal::`anonymous namespace'::Invoke [0x01EDC370+1152] (C:\projects\src\v8\src\execution\execution.cc:367)
v8::internal::Execution::Call [0x01EDBED0+208] (C:\projects\src\v8\src\execution\execution.cc:461)
v8::Function::Call [0x01DFA5B1+449] (C:\projects\src\v8\src\api\api.cc:4988)
node::InternalMakeCallback [0x036B069E+140] (C:\projects\src\third_party\electron_node\src\api\callback.cc:156)
node::MakeCallback [0x036B0991+177] (C:\projects\src\third_party\electron_node\src\api\callback.cc:223)
node::MakeCallback [0x036B08B4+132] (C:\projects\src\third_party\electron_node\src\api\callback.cc:202)
node::MakeCallback [0x036B0802+114] (C:\projects\src\third_party\electron_node\src\api\callback.cc:188)
gin_helper::internal::CallMethodWithArgs [0x01474361+69] (C:\projects\src\electron\shell\common\gin_helper\event_emitter_caller.cc:23)
gin_helper::EmitEvent<base::BasicStringPiece<std::__1::basic_string<char> >,v8::Local<v8::Object> &,const base::DictionaryValue &> [0x0138FAE7+137] (C:\projects\src\electron\shell\common\gin_helper\event_emitter_caller.h:50)
gin_helper::EventEmitter<electron::api::App>::EmitWithEvent<const base::DictionaryValue &> [0x0138FA03+105] (C:\projects\src\electron\shell\common\gin_helper\event_emitter.h:114)
gin_helper::EventEmitter<electron::api::App>::Emit<const base::DictionaryValue &> [0x01387A4B+97] (C:\projects\src\electron\shell\common\gin_helper\event_emitter.h:79)
electron::api::App::OnFinishLaunching [0x013879E5+21] (C:\projects\src\electron\shell\browser\api\electron_api_app.cc:611)
electron::Browser::DidFinishLaunching [0x01401573+229] (C:\projects\src\electron\shell\browser\browser.cc:180)
electron::ElectronBrowserMainParts::PreMainMessageLoopRun [0x0141108E+350] (C:\projects\src\electron\shell\browser\electron_browser_main_parts.cc:476)
content::BrowserMainLoop::PreMainMessageLoopRun [0x02860374+52] (C:\projects\src\content\browser\browser_main_loop.cc:1026)
content::StartupTaskRunner::RunAllTasksNow [0x02B3E5A5+45] (C:\projects\src\content\browser\startup_task_runner.cc:41)
content::BrowserMainLoop::CreateStartupTasks [0x0285F48E+490] (C:\projects\src\content\browser\browser_main_loop.cc:936)
content::BrowserMainRunnerImpl::Initialize [0x02861C38+88] (C:\projects\src\content\browser\browser_main_runner_impl.cc:130)
content::BrowserMain [0x0285E094+156] (C:\projects\src\content\browser\browser_main.cc:43)
content::RunBrowserProcessMain [0x027843F5+77] (C:\projects\src\content\app\content_main_runner_impl.cc:529)
content::ContentMainRunnerImpl::RunServiceManager [0x02784E01+725] (C:\projects\src\content\app\content_main_runner_impl.cc:978)
content::ContentMainRunnerImpl::Run [0x02784B02+258] (C:\projects\src\content\app\content_main_runner_impl.cc:882)
content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01D582F3+19] (C:\projects\src\content\app\content_service_manager_main_delegate.cc:52)
service_manager::Main [0x034C8249+961] (C:\projects\src\services\service_manager\embedder\main.cc:423)
content::ContentMain [0x01D58953+51] (C:\projects\src\content\app\content_main.cc:19)
wWinMain [0x0138136B+605] (C:\projects\src\electron\shell\app\electron_main.cc:158)
__scrt_common_main_seh [0x05CA7D9A+248] (d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
BaseThreadInitThunk [0x7591343D+18]
RtlInitializeExceptionChain [0x777398B2+99]
RtlInitializeExceptionChain [0x77739885+54]
</code></pre></div>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">run the following app</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="'use strict';
const {app, BrowserWindow} = require('electron');
let win;
app.once('ready', async () => {
win = new BrowserWindow({
webPreferences: {
partition: 'memory_partition_1',
},
});
});"><pre class="notranslate"><span class="pl-s">'use strict'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span>app<span class="pl-kos">,</span> BrowserWindow<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">win</span><span class="pl-kos">;</span>
<span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">once</span><span class="pl-kos">(</span><span class="pl-s">'ready'</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-s1">win</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">webPreferences</span>: <span class="pl-kos">{</span>
<span class="pl-c1">partition</span>: <span class="pl-s">'memory_partition_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-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the 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><code class="notranslate">9.0.0-beta.1</code> -- terminates silently</li>
<li><code class="notranslate">9.0.0-beta.3</code> -- terminates silently</li>
<li>master (<code class="notranslate">10.0.0-nightly.20200225</code>) -- crashes with <code class="notranslate">[448015:0227/160341.082069:FATAL:dependency_manager.cc(144)] Check failed: false. Attempted to access a context that was ShutDown()</code></li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Arch Linux current</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>8.0.2</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">I don't expect <code class="notranslate">session.fromPartition()</code> to terminate or crash the app.<br>
I expect that I will be able to use that session later.<br>
Note that attempting to use the returned session does not prevent the crash/termination.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">The app terminates in 9.0.0-beta.* and crashes on master.</p>
<p dir="auto">Crash log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[449023:0227/160822.369119:FATAL:dependency_manager.cc(144)] Check failed: false. Attempted to access a context that was ShutDown(). This is most likely a heap smasher in progress. After KeyedService::Shutdown() completes, your service MUST NOT refer to depended services again.
#0 0x561dae402699 base::debug::CollectStackTrace()
#1 0x561dae32b223 base::debug::StackTrace::StackTrace()
#2 0x561dae3412a4 logging::LogMessage::~LogMessage()
#3 0x561daf440189 DependencyManager::AssertContextWasntDestroyed()
#4 0x561daf43f98c KeyedServiceBaseFactory::AssertContextWasntDestroyed()
#5 0x561db29d3adb BrowserContextKeyedServiceFactory::GetContextToUse()
#6 0x561daf441280 KeyedServiceFactory::GetServiceForContext()
#7 0x561dae031d95 extensions::BrowserContextKeyedAPIFactory<>::BuildServiceInstanceFor()
#8 0x561db29d3a45 BrowserContextKeyedServiceFactory::BuildServiceInstanceFor()
#9 0x561daf44131a KeyedServiceFactory::GetServiceForContext()
#10 0x561daf43fea9 DependencyManager::CreateContextServices()
#11 0x561db29d3727 BrowserContextDependencyManager::DoCreateBrowserContextServices()
#12 0x561daac4b583 electron::ElectronBrowserContext::ElectronBrowserContext()
#13 0x561daac4cddc electron::ElectronBrowserContext::From()
#14 0x561daabe645f electron::api::Session::FromPartition()
#15 0x561daabe8609 (anonymous namespace)::FromPartition()
#16 0x561daabe88b7 gin_helper::Invoker<>::DispatchToCallback<>()
#17 0x561daabe87ab gin_helper::Dispatcher<>::DispatchToCallback()
#18 0x561dabe90a30 v8::internal::FunctionCallbackArguments::Call()
#19 0x561dabe8f0d1 v8::internal::(anonymous namespace)::HandleApiCallHelper<>()
#20 0x561dabe8d0da v8::internal::Builtin_Impl_HandleApiCall()
#21 0x561dabe8cb89 v8::internal::Builtin_HandleApiCall()
#22 0x561dace0c03f Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit
Received signal 6
#0 0x561dae402699 base::debug::CollectStackTrace()
#1 0x561dae32b223 base::debug::StackTrace::StackTrace()
#2 0x561dae4021b0 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f306a24c800 (/usr/lib/libpthread-2.31.so+0x147ff)
#4 0x7f3068c27ce5 __GI_raise
#5 0x7f3068c11857 __GI_abort
#6 0x561dae400f65 base::debug::BreakDebugger()
#7 0x561dae34174e logging::LogMessage::~LogMessage()
#8 0x561daf440189 DependencyManager::AssertContextWasntDestroyed()
#9 0x561daf43f98c KeyedServiceBaseFactory::AssertContextWasntDestroyed()
#10 0x561db29d3adb BrowserContextKeyedServiceFactory::GetContextToUse()
#11 0x561daf441280 KeyedServiceFactory::GetServiceForContext()
#12 0x561dae031d95 extensions::BrowserContextKeyedAPIFactory<>::BuildServiceInstanceFor()
#13 0x561db29d3a45 BrowserContextKeyedServiceFactory::BuildServiceInstanceFor()
#14 0x561daf44131a KeyedServiceFactory::GetServiceForContext()
#15 0x561daf43fea9 DependencyManager::CreateContextServices()
#16 0x561db29d3727 BrowserContextDependencyManager::DoCreateBrowserContextServices()
#17 0x561daac4b583 electron::ElectronBrowserContext::ElectronBrowserContext()
#18 0x561daac4cddc electron::ElectronBrowserContext::From()
#19 0x561daabe645f electron::api::Session::FromPartition()
#20 0x561daabe8609 (anonymous namespace)::FromPartition()
#21 0x561daabe88b7 gin_helper::Invoker<>::DispatchToCallback<>()
#22 0x561daabe87ab gin_helper::Dispatcher<>::DispatchToCallback()
#23 0x561dabe90a30 v8::internal::FunctionCallbackArguments::Call()
#24 0x561dabe8f0d1 v8::internal::(anonymous namespace)::HandleApiCallHelper<>()
#25 0x561dabe8d0da v8::internal::Builtin_Impl_HandleApiCall()
#26 0x561dabe8cb89 v8::internal::Builtin_HandleApiCall()
#27 0x561dace0c03f Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit
r8: 0000000000000000 r9: 00007ffd4147e670 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffd4147e8d0 r13: aaaaaaaaaaaaaaaa r14: 00007ffd4147f938 r15: 00007ffd4147e8d0
di: 0000000000000002 si: 00007ffd4147e670 bp: 00007ffd4147e8c0 bx: 00007f3067929c40
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f3068c27ce5 sp: 00007ffd4147e670
ip: 00007f3068c27ce5 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]"><pre class="notranslate"><code class="notranslate">[449023:0227/160822.369119:FATAL:dependency_manager.cc(144)] Check failed: false. Attempted to access a context that was ShutDown(). This is most likely a heap smasher in progress. After KeyedService::Shutdown() completes, your service MUST NOT refer to depended services again.
#0 0x561dae402699 base::debug::CollectStackTrace()
#1 0x561dae32b223 base::debug::StackTrace::StackTrace()
#2 0x561dae3412a4 logging::LogMessage::~LogMessage()
#3 0x561daf440189 DependencyManager::AssertContextWasntDestroyed()
#4 0x561daf43f98c KeyedServiceBaseFactory::AssertContextWasntDestroyed()
#5 0x561db29d3adb BrowserContextKeyedServiceFactory::GetContextToUse()
#6 0x561daf441280 KeyedServiceFactory::GetServiceForContext()
#7 0x561dae031d95 extensions::BrowserContextKeyedAPIFactory<>::BuildServiceInstanceFor()
#8 0x561db29d3a45 BrowserContextKeyedServiceFactory::BuildServiceInstanceFor()
#9 0x561daf44131a KeyedServiceFactory::GetServiceForContext()
#10 0x561daf43fea9 DependencyManager::CreateContextServices()
#11 0x561db29d3727 BrowserContextDependencyManager::DoCreateBrowserContextServices()
#12 0x561daac4b583 electron::ElectronBrowserContext::ElectronBrowserContext()
#13 0x561daac4cddc electron::ElectronBrowserContext::From()
#14 0x561daabe645f electron::api::Session::FromPartition()
#15 0x561daabe8609 (anonymous namespace)::FromPartition()
#16 0x561daabe88b7 gin_helper::Invoker<>::DispatchToCallback<>()
#17 0x561daabe87ab gin_helper::Dispatcher<>::DispatchToCallback()
#18 0x561dabe90a30 v8::internal::FunctionCallbackArguments::Call()
#19 0x561dabe8f0d1 v8::internal::(anonymous namespace)::HandleApiCallHelper<>()
#20 0x561dabe8d0da v8::internal::Builtin_Impl_HandleApiCall()
#21 0x561dabe8cb89 v8::internal::Builtin_HandleApiCall()
#22 0x561dace0c03f Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit
Received signal 6
#0 0x561dae402699 base::debug::CollectStackTrace()
#1 0x561dae32b223 base::debug::StackTrace::StackTrace()
#2 0x561dae4021b0 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f306a24c800 (/usr/lib/libpthread-2.31.so+0x147ff)
#4 0x7f3068c27ce5 __GI_raise
#5 0x7f3068c11857 __GI_abort
#6 0x561dae400f65 base::debug::BreakDebugger()
#7 0x561dae34174e logging::LogMessage::~LogMessage()
#8 0x561daf440189 DependencyManager::AssertContextWasntDestroyed()
#9 0x561daf43f98c KeyedServiceBaseFactory::AssertContextWasntDestroyed()
#10 0x561db29d3adb BrowserContextKeyedServiceFactory::GetContextToUse()
#11 0x561daf441280 KeyedServiceFactory::GetServiceForContext()
#12 0x561dae031d95 extensions::BrowserContextKeyedAPIFactory<>::BuildServiceInstanceFor()
#13 0x561db29d3a45 BrowserContextKeyedServiceFactory::BuildServiceInstanceFor()
#14 0x561daf44131a KeyedServiceFactory::GetServiceForContext()
#15 0x561daf43fea9 DependencyManager::CreateContextServices()
#16 0x561db29d3727 BrowserContextDependencyManager::DoCreateBrowserContextServices()
#17 0x561daac4b583 electron::ElectronBrowserContext::ElectronBrowserContext()
#18 0x561daac4cddc electron::ElectronBrowserContext::From()
#19 0x561daabe645f electron::api::Session::FromPartition()
#20 0x561daabe8609 (anonymous namespace)::FromPartition()
#21 0x561daabe88b7 gin_helper::Invoker<>::DispatchToCallback<>()
#22 0x561daabe87ab gin_helper::Dispatcher<>::DispatchToCallback()
#23 0x561dabe90a30 v8::internal::FunctionCallbackArguments::Call()
#24 0x561dabe8f0d1 v8::internal::(anonymous namespace)::HandleApiCallHelper<>()
#25 0x561dabe8d0da v8::internal::Builtin_Impl_HandleApiCall()
#26 0x561dabe8cb89 v8::internal::Builtin_HandleApiCall()
#27 0x561dace0c03f Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit
r8: 0000000000000000 r9: 00007ffd4147e670 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffd4147e8d0 r13: aaaaaaaaaaaaaaaa r14: 00007ffd4147f938 r15: 00007ffd4147e8d0
di: 0000000000000002 si: 00007ffd4147e670 bp: 00007ffd4147e8c0 bx: 00007f3067929c40
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f3068c27ce5 sp: 00007ffd4147e670
ip: 00007f3068c27ce5 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
</code></pre></div>
<h3 dir="auto">To Reproduce</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const { BrowserWindow, app, session } = require('electron')
console.log(process.versions)
app.on('ready', () => {
const foo = session.fromPartition('foo')
const window = new BrowserWindow({
webPreferences: {
// session: foo
}
})
window.webContents.loadURL('about:blank')
window.show()
})"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span> BrowserWindow<span class="pl-kos">,</span> app<span class="pl-kos">,</span> session <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</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">process</span><span class="pl-kos">.</span><span class="pl-c1">versions</span><span class="pl-kos">)</span>
<span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'ready'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span><span class="pl-kos">.</span><span class="pl-en">fromPartition</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">window</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">webPreferences</span>: <span class="pl-kos">{</span>
<span class="pl-c">// session: foo</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-s1">window</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">'about:blank'</span><span class="pl-kos">)</span>
<span class="pl-s1">window</span><span class="pl-kos">.</span><span class="pl-en">show</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> | 1 |
<h2 dir="auto">Feature Request</h2>
<h3 dir="auto">Is your feature request related to a problem?</h3>
<p dir="auto">Yes, sometimes. Scaling job on PostgreSQL, the fetched statements include: create table, drop index, create index.</p>
<h3 dir="auto">Describe the feature you would like.</h3>
<p dir="auto">Currently, scaling job will be sharded and run concurrently, include preparing target tables (create tables and constraints), so there might be duplicated tables and constraints creation, it might cause error. And there's some strange issue in ShardingSphereDataSource metadata when creating index just after creating table, it's still not resolved.</p>
<p dir="auto">Possible solution:<br>
Limit concurrency, make sure there's only one thread to do create tables and constraints at the same time, other threads should ignore creating tables and constraints. But it should support retry of creation in case of scaling job restarting.<br>
We could try <code class="notranslate">PipelineSimpleLock</code> for now.</p> | <h3 dir="auto">Which version of Sharding-Jdbc do you using?(您使用的Sharding-Jdbc版本为?)</h3>
<p dir="auto">2.0.3</p>
<h3 dir="auto">Expected behavior (您预期的结果是)</h3>
<p dir="auto">shardingjdbc datasource能否针对非路由的表,sql解析时不做兼容性检查</p>
<h3 dir="auto">Actual behavior (实际运行的结果是)</h3>
<p dir="auto">shardingjdbc datasource针对非路由的表,sql解析时会对不兼容的sql报错</p>
<h3 dir="auto">Steps to reproduce the behavior (可重现问题的操作步骤)</h3>
<p dir="auto">shardingjdbc datasource针对非路由的表,sql解析时会对不兼容的sql报错</p>
<h3 dir="auto">Please provide the reproduce example codes (such as github link),otherwise we will label the issue as Invalid and close it.(为了节省复现问题的时间,请务必提供可重现的代码,否则我们会将issue直接标记为invalid并关闭)</h3>
<p dir="auto">shardingjdbc datasource能否针对非路由的表,sql解析时不做兼容性检查</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<select id="find" resultMap="baseResultMap">
select * from t_order
where count_date>=#{from,jdbcType=TIMESTAMP}
and count_date &lt; #{to,jdbcType=TIMESTAMP}
and (status is null or satus='FALSE')
</select>
<sharding:complex-strategy id="orderTableShardingStrategy" sharding-columns="id,count_date,systemflowid" algorithm-class="io.shardingjdbc.exampleExt.spring.namespace.mybatis.algorithm.PreciseTableComplexShardingAlgorithm"/>
<sharding:none-strategy id="orderTableNoneShardingStrategy" />"><pre class="notranslate"><<span class="pl-ent">select</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>find<span class="pl-pds">"</span></span> <span class="pl-e">resultMap</span>=<span class="pl-s"><span class="pl-pds">"</span>baseResultMap<span class="pl-pds">"</span></span>>
select * from t_order
where count_date>=#{from,jdbcType=TIMESTAMP}
and count_date <span class="pl-c1">&lt;</span> #{to,jdbcType=TIMESTAMP}
and (status is null or satus='FALSE')
</<span class="pl-ent">select</span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">complex-strategy</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>orderTableShardingStrategy<span class="pl-pds">"</span></span> <span class="pl-e">sharding-columns</span>=<span class="pl-s"><span class="pl-pds">"</span>id,count_date,systemflowid<span class="pl-pds">"</span></span> <span class="pl-e">algorithm-class</span>=<span class="pl-s"><span class="pl-pds">"</span>io.shardingjdbc.exampleExt.spring.namespace.mybatis.algorithm.PreciseTableComplexShardingAlgorithm<span class="pl-pds">"</span></span>/>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">none-strategy</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>orderTableNoneShardingStrategy<span class="pl-pds">"</span></span> /></pre></div>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" <sharding:data-source id="shardingDataSource">
<sharding:sharding-rule data-source-names="demo_ds4sharding" default-data-source-name="demo_ds4sharding" default-table-strategy-ref="orderTableNoneShardingStrategy">
<sharding:table-rules>
<sharding:table-rule logic-table="logic_t_order" actual-data-nodes="demo_ds4sharding.t_order_${['2018','2019']}${['01','02','03','04','05','06','07','08','09','10','11','12']}"
table-strategy-ref="orderTableShardingStrategy" />
</sharding:table-rules>
<sharding:binding-table-rules>
<sharding:binding-table-rule logic-tables="logic_t_order"/>
<!--<sharding:binding-table-rule logic-tables="t_order, t_order_item"/>-->
</sharding:binding-table-rules>
</sharding:sharding-rule>
<sharding:props>
<prop key="sql.show">true</prop>
</sharding:props>
</sharding:data-source>"><pre class="notranslate"> <<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">data-source</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>shardingDataSource<span class="pl-pds">"</span></span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">sharding-rule</span> <span class="pl-e">data-source-names</span>=<span class="pl-s"><span class="pl-pds">"</span>demo_ds4sharding<span class="pl-pds">"</span></span> <span class="pl-e">default-data-source-name</span>=<span class="pl-s"><span class="pl-pds">"</span>demo_ds4sharding<span class="pl-pds">"</span></span> <span class="pl-e">default-table-strategy-ref</span>=<span class="pl-s"><span class="pl-pds">"</span>orderTableNoneShardingStrategy<span class="pl-pds">"</span></span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">table-rules</span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">table-rule</span> <span class="pl-e">logic-table</span>=<span class="pl-s"><span class="pl-pds">"</span>logic_t_order<span class="pl-pds">"</span></span> <span class="pl-e">actual-data-nodes</span>=<span class="pl-s"><span class="pl-pds">"</span>demo_ds4sharding.t_order_${['2018','2019']}${['01','02','03','04','05','06','07','08','09','10','11','12']}<span class="pl-pds">"</span></span>
<span class="pl-e">table-strategy-ref</span>=<span class="pl-s"><span class="pl-pds">"</span>orderTableShardingStrategy<span class="pl-pds">"</span></span> />
</<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">table-rules</span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">binding-table-rules</span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">binding-table-rule</span> <span class="pl-e">logic-tables</span>=<span class="pl-s"><span class="pl-pds">"</span>logic_t_order<span class="pl-pds">"</span></span>/>
<span class="pl-c"><span class="pl-c"><!--</span><sharding:binding-table-rule logic-tables="t_order, t_order_item"/><span class="pl-c">--></span></span>
</<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">binding-table-rules</span>>
</<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">sharding-rule</span>>
<<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">props</span>>
<<span class="pl-ent">prop</span> <span class="pl-e">key</span>=<span class="pl-s"><span class="pl-pds">"</span>sql.show<span class="pl-pds">"</span></span>>true</<span class="pl-ent">prop</span>>
</<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">props</span>>
</<span class="pl-ent">sharding</span><span class="pl-ent">:</span><span class="pl-ent">data-source</span>></pre></div>
<p dir="auto">Code should based on <a href="https://github.com/shardingjdbc/sharding-jdbc-example">https://github.com/shardingjdbc/sharding-jdbc-example</a><br>
(代码请基于 <a href="https://github.com/shardingjdbc/sharding-jdbc-example%EF%BC%89">https://github.com/shardingjdbc/sharding-jdbc-example)</a></p> | 0 |
<p dir="auto">I have the next error in production mode:<br>
undefinedrootReducer is not defined at Module. (..../dist7server.js:1:6328)</p>
<p dir="auto">the log is:</p>
<blockquote>
<p dir="auto">0 info it worked if it ends with ok<br>
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'start-production' ]<br>
2 info using [email protected]<br>
3 info using [email protected]<br>
4 verbose run-script [ 'prestart-production',<br>
4 verbose run-script 'start-production',<br>
4 verbose run-script 'poststart-production' ]<br>
5 info lifecycle [email protected]<del>prestart-production: [email protected]<br>
6 info lifecycle [email protected]</del>start-production: [email protected]<br>
7 verbose lifecycle [email protected]<del>start-production: unsafe-perm in lifecycle true<br>
8 verbose lifecycle [email protected]</del>start-production: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/shadito/Documentos/Sitios/react-initial/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/us$<br>
9 verbose lifecycle [email protected]<del>start-production: CWD: /home/shadito/Documentos/Sitios/react-initial<br>
10 silly lifecycle [email protected]</del>start-production: Args: [ '-c',<br>
10 silly lifecycle 'npm run build && NODE_ENV=production BABEL_ENV=production babel-node src/server' ]<br>
11 silly lifecycle [email protected]<del>start-production: Returned: code: 1 signal: null<br>
12 info lifecycle [email protected]</del>start-production: Failed to exec start-production script<br>
13 verbose stack Error: [email protected] start-production: <code class="notranslate">npm run build && NODE_ENV=production BABEL_ENV=production babel-node src/server</code><br>
13 verbose stack Exit status 1<br>
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)<br>
13 verbose stack at EventEmitter.emit (events.js:182:13)<br>
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)<br>
13 verbose stack at ChildProcess.emit (events.js:182:13)<br>
13 verbose stack at maybeClose (internal/child_process.js:962:16)<br>
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)<br>
14 verbose pkgid [email protected]<br>
15 verbose cwd /home/shadito/Documentos/Sitios/react-initial<br>
16 verbose Linux 4.14.71-1-MANJARO<br>
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "start-production"<br>
18 verbose node v10.10.0<br>
19 verbose npm v6.4.1<br>
20 error code ELIFECYCLE<br>
21 error errno 1<br>
22 error [email protected] start-production: <code class="notranslate">npm run build && NODE_ENV=production BABEL_ENV=production babel-node src/server</code><br>
22 error Exit status 1<br>
23 error Failed at the [email protected] start-production script.<br>
23 error This is probably not a problem with npm. There is likely additional logging output above.<br>
24 verbose exit [ 1, true ]</p>
</blockquote>
<p dir="auto">my repository is: <a href="https://github.com/sh4d1t0/react-initial">https://github.com/sh4d1t0/react-initial</a><br>
I don't know what I'm doing wrong</p> | <p dir="auto">Bug:<br>
Third party modules like mscgenjs are not compatible with webpack v3.6.0 .Getting error Uncaught Error: define cannot be used indirect .<br>
{<br>
"name": "mscgenjs",<br>
"version": "1.9.0",<br>
"description": "Implementation of MscGen in JavaScript",<br>
"main": "index.js",<br>
"dependencies": {<br>
"amdefine": "1.0.1",<br>
"requirejs": "2.3.2"<br>
},</p>
<p dir="auto">Working fine older"version": "1.12.15".</p>
<p dir="auto">Environment:<br>
Nodejs :6.10.2<br>
Webpack : 3.6.0<br>
OS : Ubuntu</p> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):
- Az Component Version ---> AZ 2.5.0 and AZ 2.8.0;
- PowerShell Version ----> 5.1.18362.145
- Windows Terminal Version ----->0.6.2951.0
- Windows Version ------->10.0.18362
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):
- Az Component Version ---> AZ 2.5.0 and AZ 2.8.0;
- PowerShell Version ----> 5.1.18362.145
- Windows Terminal Version ----->0.6.2951.0
- Windows Version ------->10.0.18362
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">I Install the Az Component(AZ 2.5.0 and AZ 2.8.0) in my PowerShell and i run the command <code class="notranslate">Connect-AzAccount</code> .</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The Expected behavior is run command to open website microsoft.com/deviceslogin or open a webpage to log in my account Azure.I opened the powershell window and repeated the process and the result is login with sucess in my Azure Account</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The Terminal is processing in process about 10 mint, and no ansewered</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18965.1000]
Windows Terminal version (if applicable): Version: 0.4.2382.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18965.1000]
Windows Terminal version (if applicable): Version: 0.4.2382.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Open an Azure Cloud Shell with a column width of <= 90</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The following message should appear:<br>
<code class="notranslate">To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code <code> to authenticate.</code></p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The text of the message, including the code required for input at url, is cutoff and no way to get the terminal to repaint/provide the code again. Only solution is to increase width of window and open another tab to get the code.</p>
<p dir="auto">Is it possible to apply a wordwrap to that initial message?</p> | 0 |
<p dir="auto">A POST request changed to GET request when the Request object got 3xx answer from server.</p>
<p dir="auto">I don't know the RFC exactly, but the expected result would be that request repeat as POST at new URL.</p>
<p dir="auto">Here is the code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="r = requests.post("http://foobar.com/script", data={'foo': 'bar'})"><pre class="notranslate"><code class="notranslate">r = requests.post("http://foobar.com/script", data={'foo': 'bar'})
</code></pre></div>
<p dir="auto">The server answer:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="HTTP/1.1 302 Found
Date: Thu, 15 Feb 2018 10:42:16 GMT
Server: Apache/2.4.25 (Debian)
Location: https://foobar.com/script
Content-Length: 222
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>"><pre class="notranslate"><code class="notranslate">HTTP/1.1 302 Found
Date: Thu, 15 Feb 2018 10:42:16 GMT
Server: Apache/2.4.25 (Debian)
Location: https://foobar.com/script
Content-Length: 222
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
</code></pre></div>
<p dir="auto">Then Request repeats the request as GET.</p>
<p dir="auto">Debian Linux 9.3<br>
Python3 (3.5.3)<br>
Apache2.4 (the server where Request sends the request)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> requests.__version__
'2.12.4'"><pre class="notranslate"><code class="notranslate">>>> requests.__version__
'2.12.4'
</code></pre></div>
<p dir="auto">I've changed the url to https schema, then it works.</p> | <p dir="auto">Summary.<br>
Basically HTTP 301 redirection replaces POST method with a GET.<br>
More Info: <a href="https://softwareengineering.stackexchange.com/questions/99894/why-doesnt-http-have-post-redirect" rel="nofollow">https://softwareengineering.stackexchange.com/questions/99894/why-doesnt-http-have-post-redirect</a><br>
Need an config option in python requests to override this behavior and follow redirect method after http redirection.</p>
<p dir="auto">Thanks<br>
Raja</p> | 1 |
<p dir="auto">Hello,<br>
I tried to install tensorflow using conda, but whenever I try to import it, I get this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ImportError Traceback (most recent call last)
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
17 try:
---> 18 return importlib.import_module(mname)
19 except ImportError:
C:\Anaconda\lib\importlib\__init__.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
C:\Anaconda\lib\importlib\_bootstrap.py in _gcd_import(name, package, level)
C:\Anaconda\lib\importlib\_bootstrap.py in _find_and_load(name, import_)
C:\Anaconda\lib\importlib\_bootstrap.py in _find_and_load_unlocked(name, import_)
C:\Anaconda\lib\importlib\_bootstrap.py in _load_unlocked(spec)
C:\Anaconda\lib\importlib\_bootstrap.py in module_from_spec(spec)
C:\Anaconda\lib\importlib\_bootstrap_external.py in create_module(self, spec)
C:\Anaconda\lib\importlib\_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed: Une routine d’initialisation d’une bibliothèque de liens dynamiques (DLL) a échoué.
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last)
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>()
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import __version__
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in <module>()
20 return importlib.import_module('_pywrap_tensorflow_internal')
---> 21 _pywrap_tensorflow_internal = swig_import_helper()
22 del swig_import_helper
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
19 except ImportError:
---> 20 return importlib.import_module('_pywrap_tensorflow_internal')
21 _pywrap_tensorflow_internal = swig_import_helper()
C:\Anaconda\lib\importlib\__init__.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-3-90de3482487c> in <module>()
1
2
----> 3 import tensorflow as tf
4 from skimage import transform
5 from skimage import data
C:\Anaconda\lib\site-packages\tensorflow\__init__.py in <module>()
22
23 # pylint: disable=wildcard-import
---> 24 from tensorflow.python import *
25 # pylint: enable=wildcard-import
26
C:\Anaconda\lib\site-packages\tensorflow\python\__init__.py in <module>()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>()
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Anaconda\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: Une routine d’initialisation d’une bibliothèque de liens dynamiques (DLL) a échoué.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Anaconda\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
"><pre class="notranslate"><code class="notranslate">ImportError Traceback (most recent call last)
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
17 try:
---> 18 return importlib.import_module(mname)
19 except ImportError:
C:\Anaconda\lib\importlib\__init__.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
C:\Anaconda\lib\importlib\_bootstrap.py in _gcd_import(name, package, level)
C:\Anaconda\lib\importlib\_bootstrap.py in _find_and_load(name, import_)
C:\Anaconda\lib\importlib\_bootstrap.py in _find_and_load_unlocked(name, import_)
C:\Anaconda\lib\importlib\_bootstrap.py in _load_unlocked(spec)
C:\Anaconda\lib\importlib\_bootstrap.py in module_from_spec(spec)
C:\Anaconda\lib\importlib\_bootstrap_external.py in create_module(self, spec)
C:\Anaconda\lib\importlib\_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed: Une routine d’initialisation d’une bibliothèque de liens dynamiques (DLL) a échoué.
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last)
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>()
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import __version__
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in <module>()
20 return importlib.import_module('_pywrap_tensorflow_internal')
---> 21 _pywrap_tensorflow_internal = swig_import_helper()
22 del swig_import_helper
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
19 except ImportError:
---> 20 return importlib.import_module('_pywrap_tensorflow_internal')
21 _pywrap_tensorflow_internal = swig_import_helper()
C:\Anaconda\lib\importlib\__init__.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-3-90de3482487c> in <module>()
1
2
----> 3 import tensorflow as tf
4 from skimage import transform
5 from skimage import data
C:\Anaconda\lib\site-packages\tensorflow\__init__.py in <module>()
22
23 # pylint: disable=wildcard-import
---> 24 from tensorflow.python import *
25 # pylint: enable=wildcard-import
26
C:\Anaconda\lib\site-packages\tensorflow\python\__init__.py in <module>()
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>()
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Anaconda\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: Une routine d’initialisation d’une bibliothèque de liens dynamiques (DLL) a échoué.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Anaconda\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
</code></pre></div>
<p dir="auto">Whenever I search for a solution, everyone recommend installing VCREDIST 2015, except I already have it.</p>
<p dir="auto">Thank you for your time</p> | <h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No, problem appears on import (import tensorflow as tf).</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Windows 10 x64</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary (pip --no-cache-dir) install --upgrade tensorflow</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6.0 (install says tensorflow-1.6.0-cp36-cp36m-win_amd64.whl)</li>
<li><strong>Python version</strong>: 3.6.4 x64</li>
<li><strong>Bazel version (if compiling from source)</strong>: n/a</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li>
<li><strong>CUDA/cuDNN version</strong>: n/a</li>
<li><strong>GPU model and memory</strong>: n/a</li>
<li><strong>Exact command to reproduce</strong>: import tensorflow as tf</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with</p>
<p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">When installing tensorflow 1.6.0 the import reports problems. See log below. Tried uninstalled r1.6 and reinstalled 1.5.0 to see if something else might be the problem. 1.5.0 works like a charm. Tried a clean install of 1.6.0 without any luck.</p>
<p dir="auto">Ran the 'tensorflow_self_check.py' script. See log below.</p>
<h3 dir="auto">Source code / logs</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
------------------------
When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed.
ERROR: Failed to import the TensorFlow module.
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Download and install CUDA 8.0 from
this URL: https://developer.nvidia.com/cuda-toolkit
- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Note that installing cuDNN is a
separate step from installing CUDA, and it is often found in a
different directory from the CUDA DLLs. You may install the
necessary DLL by downloading cuDNN 5.1 from this URL:
https://developer.nvidia.com/cudnn
- Could not find cuDNN."><pre class="notranslate"><code class="notranslate">Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
------------------------
When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed.
ERROR: Failed to import the TensorFlow module.
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Download and install CUDA 8.0 from
this URL: https://developer.nvidia.com/cuda-toolkit
- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Note that installing cuDNN is a
separate step from installing CUDA, and it is often found in a
different directory from the CUDA DLLs. You may install the
necessary DLL by downloading cuDNN 5.1 from this URL:
https://developer.nvidia.com/cudnn
- Could not find cuDNN.
</code></pre></div> | 1 |
<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. Pull release 2010.12.15.1 and build on Mac OS X 10.5.8 with gcc
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
What is the expected output?
Completion of build
What do you see instead?
Make gives me an error while testing cgo/stdio:
--- cd ../misc/cgo/stdio
rm -rf *.o *.a *.[568vq] [568vq].out hello fib chain run.out *.cgo1.go *.cgo2.c
_cgo_defun.c _cgo_gotypes.go _cgo_export.* _cgo_.c _cgo_import.c _cgo_main.c *.so _obj
_test _testmain.go *.exe
CGOPKGPATH= cgo -- align.go file.go test.go test1.go
6g -o _go_.6 align.cgo1.go file.cgo1.go test.cgo1.go test1.cgo1.go _cgo_gotypes.go
6c -FVw -I"/Users/makane/go/src/pkg/runtime" _cgo_defun.c
echo 'int main() { return 0; }' >_cgo_main.c
gcc -m64 -g -fPIC -O2 -o _cgo_main.o -c _cgo_main.c
gcc -m64 -g -fPIC -O2 -o align.cgo2.o -c align.cgo2.c
gcc -m64 -g -fPIC -O2 -o file.cgo2.o -c file.cgo2.c
gcc -m64 -g -fPIC -O2 -o test.cgo2.o -c test.cgo2.c
gcc -m64 -g -fPIC -O2 -o test1.cgo2.o -c test1.cgo2.c
gcc -m64 -g -fPIC -O2 -o _cgo1_.o _cgo_main.o align.cgo2.o file.cgo2.o test.cgo2.o
test1.cgo2.o
cgo -dynimport _cgo1_.o >__cgo_import.c && mv -f __cgo_import.c _cgo_import.c
6c -FVw _cgo_import.c
rm -f _obj/stdio.a
gopack grc _obj/stdio.a _go_.6 _cgo_defun.6 _cgo_import.6 align.cgo2.o file.cgo2.o
test.cgo2.o test1.cgo2.o
cp _obj/stdio.a "/Users/makane/go/pkg/darwin_amd64/stdio.a"
6g hello.go
6l -o hello hello.6
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of amd64.S
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of amd64.S
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
/Users/makane/go/pkg/darwin_amd64/runtime/cgo.a(amd64.o): duplicate definition of
too many errors
make: *** [hello] Error 1
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g (actually 6l that fails)
Which operating system are you using?
Mac OS X 10.5.8 (Darwin usma1mc-0urx92 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386)
Which revision are you using? (hg identify)
61b2c52b0d22 release/release.2010-12-15.1
Please provide any additional information below.
rsc asked for an attachment of cgo.a</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/1353/0/cgo.a" rel="nofollow">cgo.a</a> (19538 bytes)</li>
</ol> | <p dir="auto">by <strong>Nightgunner5</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. <a href="http://play.golang.org/p/9dW19-J7Y9" rel="nofollow">http://play.golang.org/p/9dW19-J7Y9</a>
2. Map1 causes an error. This is expected.
3. Map2 does not cause an error. It should.
What is the expected output?
prog.go:8: duplicate key "hello" in map literal
prog.go:18: duplicate key {1, 2} in map literal
What do you see instead?
prog.go:8: duplicate key "hello" in map literal
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Fedora 17 x86_64
Which version are you using? (run 'go version')
go version devel +43afb4e714ad Fri Dec 14 06:20:24 2012 +1100 linux/amd64</pre> | 0 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong></p>
<p dir="auto">Babel insert unnecessary polyfills in code for node in new version</p>
<p dir="auto"><strong>Input Code</strong></p>
<ul dir="auto">
<li>REPL or Repo link if applicable:</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log({}.toString)"><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-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">.</span><span class="pl-c1">toString</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">Run:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="node_modules/.bin/babel test.js"><pre class="notranslate">node_modules/.bin/babel test.js</pre></div>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Warning about core-js
"use strict";
require("core-js/modules/es6.object.to-string");
console.log({}.toString);"><pre class="notranslate"><code class="notranslate">// Warning about core-js
"use strict";
require("core-js/modules/es6.object.to-string");
console.log({}.toString);
</code></pre></div>
<p dir="auto">Looks like regression because previously we don't have polyfills in code.</p>
<p dir="auto"><strong>Expected behavior/code</strong></p>
<p dir="auto">No unnecessary polyfills</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="{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "6.9.0"
},
"useBuiltIns": "usage"
}
]
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"presets"</span>: <span class="pl-kos">[</span>
<span class="pl-kos">[</span>
<span class="pl-s">"@babel/preset-env"</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-s">"targets"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"node"</span>: <span class="pl-s">"6.9.0"</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s">"useBuiltIns"</span>: <span class="pl-s">"usage"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">]</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): latest (<code class="notranslate">babel-preset-env: 7.4.2</code>)</li>
<li>Node/npm version: v10.15.0</li>
<li>OS: Ubuntu 18.10</li>
<li>Monorepo: no</li>
<li>How you are using Babel: <code class="notranslate">cli</code></li>
</ul>
<p dir="auto"><strong>Possible Solution</strong></p>
<p dir="auto">No</p>
<p dir="auto"><strong>Additional context/Screenshots</strong></p>
<p dir="auto">No</p> | <p dir="auto">Hello, I am using Serverless Framework and GitLab CI to deploy my react-app</p>
<p dir="auto">I am able to build deploy from my machine, but when setting it up on GitLab CI, I got the following error:<br>
'loose' mode configuration must be the same for both @babel/plugin-proposal-class-properties and @babel/plugin-proposal-private-methods</p>
<p dir="auto">This error does not appear on my local machine, so I am not sure what's going on.<br>
I also don't have plugin-proposal-private-methods anywhere in package.json, so I am not sure which babel package depends on it.</p>
<p dir="auto">Here is my package.json</p>
<p dir="auto"><code class="notranslate">"devDependencies": { "@babel/core": "^7.6.4", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-transform-react-jsx": "^7.3.0", "@babel/plugin-transform-runtime": "^7.6.2", "@babel/runtime": "^7.6.3", "babel-preset-nano-react-app": "^0.1.0", "cssnano": "^4.1.10", "parcel-bundler": "^1.11.0", "parcel-plugin-clean-dist": "0.0.6" }, "babel": { "presets": [ "nano-react-app" ], "plugins": [ [ "@babel/plugin-proposal-class-properties", { "loose": true } ], [ "@babel/plugin-transform-react-jsx", { "pragmaFrag": "React.Fragment" } ] ] } }</code></p>
<p dir="auto">Thanks for the help in advance!<br>
Ganda</p> | 0 |
<p dir="auto">Since irow translates the integer index to a label one and then retrieves the row, in case of duplicate index multiple rows are returned.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [34]: df = pandas.DataFrame(np.random.rand(3,3), columns=list('ABC'), index=list('aab'))
In [35]: df
Out[35]:
A B C
a 0.031057 0.528825 0.694592
a 0.705572 0.122005 0.754107
b 0.475423 0.048636 0.224495
In [36]: df.irow(0)
Out[36]:
A B C
a 0.031057 0.528825 0.694592
a 0.705572 0.122005 0.754107
In [37]: df.irow(1)
Out[37]:
A B C
a 0.031057 0.528825 0.694592
a 0.705572 0.122005 0.754107
In [38]: df.irow(2)
Out[38]:
A 0.475423
B 0.048636
C 0.224495
Name: b
"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">34</span>]: <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">3</span>,<span class="pl-c1">3</span>), <span class="pl-s1">columns</span><span class="pl-c1">=</span><span class="pl-en">list</span>(<span class="pl-s">'ABC'</span>), <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-en">list</span>(<span class="pl-s">'aab'</span>))
<span class="pl-v">In</span> [<span class="pl-c1">35</span>]: <span class="pl-s1">df</span>
<span class="pl-v">Out</span>[<span class="pl-c1">35</span>]:
<span class="pl-v">A</span> <span class="pl-v">B</span> <span class="pl-v">C</span>
<span class="pl-s1">a</span> <span class="pl-c1">0.031057</span> <span class="pl-c1">0.528825</span> <span class="pl-c1">0.694592</span>
<span class="pl-s1">a</span> <span class="pl-c1">0.705572</span> <span class="pl-c1">0.122005</span> <span class="pl-c1">0.754107</span>
<span class="pl-s1">b</span> <span class="pl-c1">0.475423</span> <span class="pl-c1">0.048636</span> <span class="pl-c1">0.224495</span>
<span class="pl-v">In</span> [<span class="pl-c1">36</span>]: <span class="pl-s1">df</span>.<span class="pl-en">irow</span>(<span class="pl-c1">0</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">36</span>]:
<span class="pl-v">A</span> <span class="pl-v">B</span> <span class="pl-v">C</span>
<span class="pl-s1">a</span> <span class="pl-c1">0.031057</span> <span class="pl-c1">0.528825</span> <span class="pl-c1">0.694592</span>
<span class="pl-s1">a</span> <span class="pl-c1">0.705572</span> <span class="pl-c1">0.122005</span> <span class="pl-c1">0.754107</span>
<span class="pl-v">In</span> [<span class="pl-c1">37</span>]: <span class="pl-s1">df</span>.<span class="pl-en">irow</span>(<span class="pl-c1">1</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">37</span>]:
<span class="pl-v">A</span> <span class="pl-v">B</span> <span class="pl-v">C</span>
<span class="pl-s1">a</span> <span class="pl-c1">0.031057</span> <span class="pl-c1">0.528825</span> <span class="pl-c1">0.694592</span>
<span class="pl-s1">a</span> <span class="pl-c1">0.705572</span> <span class="pl-c1">0.122005</span> <span class="pl-c1">0.754107</span>
<span class="pl-v">In</span> [<span class="pl-c1">38</span>]: <span class="pl-s1">df</span>.<span class="pl-en">irow</span>(<span class="pl-c1">2</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">38</span>]:
<span class="pl-v">A</span> <span class="pl-c1">0.475423</span>
<span class="pl-v">B</span> <span class="pl-c1">0.048636</span>
<span class="pl-v">C</span> <span class="pl-c1">0.224495</span>
<span class="pl-v">Name</span>: <span class="pl-s1">b</span></pre></div> | <p dir="auto">If you give a non-existent key to the subset argument it will default to the last column. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [3]: d = pd.DataFrame({'a':[1],'b':[2],'c':[np.nan]})
In [4]: len(d.dropna(subset=['x']))
Out[4]: 0"><pre class="notranslate"><code class="notranslate">In [3]: d = pd.DataFrame({'a':[1],'b':[2],'c':[np.nan]})
In [4]: len(d.dropna(subset=['x']))
Out[4]: 0
</code></pre></div>
<p dir="auto">It seems the problem is in the line where dropna takes the subset:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="agg_obj = self.take(ax.get_indexer_for(subset),axis=agg_axis)"><pre class="notranslate"><code class="notranslate">agg_obj = self.take(ax.get_indexer_for(subset),axis=agg_axis)
</code></pre></div>
<p dir="auto">Here, <code class="notranslate">ax.get_indexer_for(subset)</code> will return <code class="notranslate">-1</code> as a sentinel value for any keys that were not found in <code class="notranslate">subset</code>, and <code class="notranslate">self.take</code> interprets the <code class="notranslate">-1</code> as a request for the last column.</p> | 0 |
<p dir="auto">Greetings! Was trying hard to find some info, but didn't, so please point if I missed.<br>
Trying to figure out behaviour in Notification Center ("NC"), don't really understand why it works now as it is:</p>
<ol dir="auto">
<li>After checking the NC on Windows 10 and get out of it - all notifications are gone (cleared, <code class="notranslate">close</code> even for each is triggered). Why is that so? App is still running. For other apps notifications remain.</li>
<li>After closing the app all notifications are cleared from the NC on both OS as well. Can they persist and open app if it's not running, with some params inside, etc?</li>
<li>Is there an option to handle <code class="notranslate">close</code> on OS X? (f.e. to clear it inside app's Notification section as well).</li>
<li>Is <code class="notranslate">tag</code> not supported on Windows? Able to send several notifications with the same <code class="notranslate">tag</code>.</li>
<li>Is it possible to get list of app's notifications in NC?</li>
<li>Is it possible to clear all app's notifications programmatically (without having links to them after constructing)?</li>
</ol>
<ul dir="auto">
<li>Electron version: v0.37.2</li>
<li>Operating system: OS X 10.11.4, Windows 10 build 10240</li>
</ul>
<p dir="auto">P.S. I'm not a native apps developer, so may not know some stuff and hope for an answer - might help others here as well. Thank you in advance.</p> | <p dir="auto">I'm using Web Notification API to show notifications in Windows. The notifications shown in Action Center are disappeared once I open Action Center and see them.</p>
<p dir="auto">Is this a bug? Is there a way to preserve notifications in Action Center even after it's opened?</p>
<p dir="auto">I'm using Electron 0.36.1 and Windows 10.</p>
<p dir="auto">This is a simple example I tried:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var count = 0;
setInterval(() => {
new Notification("TEST", {body: String(count)});
++count;
}, 3000);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">count</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span>
<span class="pl-en">setInterval</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">new</span> <span class="pl-v">Notification</span><span class="pl-kos">(</span><span class="pl-s">"TEST"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">body</span>: <span class="pl-v">String</span><span class="pl-kos">(</span><span class="pl-s1">count</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c1">++</span><span class="pl-s1">count</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">3000</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/1025246/11994253/9819cf5a-aa7e-11e5-990f-6c8d816ebf11.gif"><img src="https://cloud.githubusercontent.com/assets/1025246/11994253/9819cf5a-aa7e-11e5-990f-6c8d816ebf11.gif" alt="703f06cc49c466841e19a70b8054fb36" data-animated-image="" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">The implementation of the non-central chi-squared distribution in scipy (scipy.stats.ncx2, scipy.special.chndtr) is not accurate for large values of the non-centrality parameter. E.g. consider</p>
<h3 dir="auto">Reproducing Code example:</h3>
<p dir="auto"><code class="notranslate">from scipy.stats import ncx2</code></p>
<p dir="auto"><code class="notranslate">print(ncx2.cdf(1200,2,1000))</code><br>
<code class="notranslate">print(ncx2.cdf(1500,2,1000))</code><br>
<code class="notranslate">print(ncx2.cdf(2000,2,1000))</code><br>
<code class="notranslate">print(ncx2.cdf(5000,2,1000))</code></p>
<p dir="auto">which produces</p>
<p dir="auto">0.998604279948<br>
0.999933004449<br>
0.999933004449<br>
0.999933004449</p>
<p dir="auto">instead of converging to one.</p>
<p dir="auto">The <a href="https://github.com/scipy/scipy/blob/master/scipy/special/cdflib/cdfchn.f">implementation</a> in scipy is based on Formula 26.4.25 of Abramowitz and Stegun, Handbook of Mathematical Functions (1966).</p>
<p dir="auto">There are faster and more accurate algorithms for implementing this function, especially for large non-centrality parameter (ncp). For example, <a href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/Chisquare.html" rel="nofollow">R</a> apparently uses Ding (1992) for ncp>80. However <a href="https://www.boost.org/doc/libs/1_38_0/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html" rel="nofollow">boost</a> states that Ding can take a long time to converge for large ncp, and recommends a different method. I am wondering if it is worth upgrading the implementation in scipy to work for large non-centrality?</p>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import sys, scipy, numpy; print(scipy.<strong>version</strong>, numpy.<strong>version</strong>, sys.version_info)<br>
0.18.0 1.11.1 sys.version_info(major=3, minor=5, micro=2, releaselevel='final', serial=0)</p>
</blockquote>
</blockquote>
</blockquote> | <p dir="auto">I'm getting unexpected behavior from <code class="notranslate">scipy.ncx2.sf</code>. The survival function should eventually go to zero for large enough inputs, but instead I'm seeing a kind of "foot", i.e., it is bottoming out at a positive value. The following interactive I/O demonstrates the issue.</p>
<h3 dir="auto">Reproducing code <strong>example:</strong></h3>
<p dir="auto">(Pdb) v_T_norm[::50]<br>
array([ 4.99515382e+00, 1.07617327e+01, 2.31854502e+01,<br>
4.99515382e+01, 1.07617327e+02, 2.31854502e+02,<br>
4.99515382e+02, 1.07617327e+03, 2.31854502e+03,<br>
4.99515382e+03, 1.07617327e+04, 2.31854502e+04,<br>
4.99515382e+04])<br>
(Pdb) nu<br>
20.0<br>
(Pdb) lam<br>
499.51538166556196<br>
(Pdb) ncx2.sf(v_T_norm[::50], df=nu, nc=lam)<br>
array([ 1.00000000e+00, 1.00000000e+00, 1.00000000e+00,<br>
1.00000000e+00, 1.00000000e+00, 1.00000000e+00,<br>
6.64666099e-01, 4.16325934e-05, 4.16325934e-05,<br>
4.16325934e-05, 4.16325934e-05, 4.16325934e-05,<br>
4.16325934e-05])</p> | 1 |
<h1 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h1>
<h2 dir="auto">Information</h2>
<p dir="auto">Model I am using (Bert, XLNet ...): BART</p>
<p dir="auto">Language I am using the model on (English, Chinese ...): English</p>
<p dir="auto">The problem arises when using:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> the official example scripts: (give details below)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own modified scripts: (give details below)</li>
</ul>
<p dir="auto">The tasks I am working on is:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> an official GLUE/SQUaD task: (give the name): CNN/DM</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own task or dataset: (give details below)</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sshleifer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sshleifer">@sshleifer</a>,</p>
<p dir="auto">Thanks for the amazing model!<br>
I found a bug when alternatively trying to use <strong>forward</strong> to train the BartForConditionalGeneration and use <strong>generate</strong> to inference and evaluate the trained model. As shown in the code below, if I first use generate function then call forward function, the generation_mode attribute of decoder is set to True, and the shape of the decoder_output seems incorrect.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="model = BartForConditionalGeneration.from_pretrained('bart-large-cnn')
tokenizer = BartTokenizer.from_pretrained('bart-large-cnn')
# input sequence
input_seq = "Bart is a deep-learning pretrained model implemented in pytorch. It can smoothly handle summarization. It is a big model pretrained for generation tasks, especially summarizaition."
input_ids = torch.LongTensor([tokenizer.encode(input_seq)])
# expected output sequence
decoder_input_seq = "Bart is a big pretrained deep model in pytorch for summarization."
decoder_input_ids = torch.LongTensor([tokenizer.encode(decoder_input_seq)])
# using generate method to inference
with torch.no_grad():
result = model.generate(input_ids=input_ids, eos_token_ids=tokenizer.eos_token_id, num_beams=4, max_length=20)
print(tokenizer.decode(result[0]))
# 'B. It is a big model pretrained for generation tasks, especially summarizaition. It'
# NOW use forward to train
result = model(input_ids, decoder_input_ids=decoder_input_ids)
# the shape of decoder_output and encoder_output
# what expected is: <1, 18, 50264> and <40, 1, 1024>
# but actual output is: torch.Size([1, 1, 50264]) torch.Size([40, 1, 1024])
print(result[0].shape, result[2].shape)
"><pre class="notranslate"><code class="notranslate">model = BartForConditionalGeneration.from_pretrained('bart-large-cnn')
tokenizer = BartTokenizer.from_pretrained('bart-large-cnn')
# input sequence
input_seq = "Bart is a deep-learning pretrained model implemented in pytorch. It can smoothly handle summarization. It is a big model pretrained for generation tasks, especially summarizaition."
input_ids = torch.LongTensor([tokenizer.encode(input_seq)])
# expected output sequence
decoder_input_seq = "Bart is a big pretrained deep model in pytorch for summarization."
decoder_input_ids = torch.LongTensor([tokenizer.encode(decoder_input_seq)])
# using generate method to inference
with torch.no_grad():
result = model.generate(input_ids=input_ids, eos_token_ids=tokenizer.eos_token_id, num_beams=4, max_length=20)
print(tokenizer.decode(result[0]))
# 'B. It is a big model pretrained for generation tasks, especially summarizaition. It'
# NOW use forward to train
result = model(input_ids, decoder_input_ids=decoder_input_ids)
# the shape of decoder_output and encoder_output
# what expected is: <1, 18, 50264> and <40, 1, 1024>
# but actual output is: torch.Size([1, 1, 50264]) torch.Size([40, 1, 1024])
print(result[0].shape, result[2].shape)
</code></pre></div>
<p dir="auto">Such issue can <strong>seemingly</strong> be addressed by mannually setting the generation_mode.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# mannually set the generation mode to False **seemingly** fix the issue
model.model.decoder.generation_mode=False
result = model(input_ids, decoder_input_ids=decoder_input_ids)
print(result[0].shape, result[2].shape)
# output is: torch.Size([1, 18, 50264]) torch.Size([40, 1, 1024]) and make sense"><pre class="notranslate"><code class="notranslate"># mannually set the generation mode to False **seemingly** fix the issue
model.model.decoder.generation_mode=False
result = model(input_ids, decoder_input_ids=decoder_input_ids)
print(result[0].shape, result[2].shape)
# output is: torch.Size([1, 18, 50264]) torch.Size([40, 1, 1024]) and make sense
</code></pre></div>
<p dir="auto">However, now the output of the forward function doesn't make sense, as shown below.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="with torch.no_grad():
result = model.generate(input_ids=input_ids, eos_token_ids=tokenizer.eos_token_id, num_beams=4, max_length=20)
model.model.decoder.generation_mode=False
new_result = model(input_ids, decoder_input_ids=result)
print(tokenizer.decode(torch.argmax(new_result[0][0], dim=1)))
# ' and and and and and and and and and and and and and and and and and and and'"><pre class="notranslate"><code class="notranslate">with torch.no_grad():
result = model.generate(input_ids=input_ids, eos_token_ids=tokenizer.eos_token_id, num_beams=4, max_length=20)
model.model.decoder.generation_mode=False
new_result = model(input_ids, decoder_input_ids=result)
print(tokenizer.decode(torch.argmax(new_result[0][0], dim=1)))
# ' and and and and and and and and and and and and and and and and and and and'
</code></pre></div>
<p dir="auto">In expectation, when we feed the generated decoder sequence to the decoder and remain the input of the encoder unchanged, the output of the decoder would at least resemble the decoder_input. However, the actual output of the model is <code class="notranslate">' and and and and and and and and and and and and and and and and and and and'</code>, which is definately not a reasonable output of a trained decoder.</p>
<p dir="auto">To go deeper, I tested different samples, all feeding the generated output of a encoder_input to the decoder and inspect the decoder_output (which "should" resemble decoder_input, i.e. generated sequence), the same happens everytime for me (most output is the duplication of a single token for many times, like "the the the ...", "and and and...", ". . . . ").</p>
<p dir="auto">Given all these results, I think there is a bug in either the implementation of <strong>generate</strong> or that of <strong>forward</strong>, the revert of generation_mode is simple, but I don't think the output of forward is a reasonable result currently. Could you please look into the issue?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sshleifer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sshleifer">@sshleifer</a> If I'm not using those functions in a correct manner, any advise or instruction is welcomed! Many thanks for the help!</p>
<h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: master-branch</li>
<li>Platform: windows 10</li>
<li>Python version: 3.7.0</li>
<li>PyTorch version (GPU?): 1.4.0</li>
<li>Tensorflow version (GPU?): /</li>
<li>Using GPU in script?: Yes</li>
<li>Using distributed or parallel set-up in script?: No</li>
</ul> | <h2 dir="auto">❓ Questions & Help</h2>
<p dir="auto">Hi there,<br>
when I load the pretrained Camenbert model and tokenizer via</p>
<p dir="auto"><code class="notranslate">model = CamembertForMaskedLM.from_pretrained('camembert-base') tokenizer = CamembertTokenizer.from_pretrained('camembert-base')</code></p>
<p dir="auto">the length of the tokenizer is 32004 but the vocab_size of the model is 32005.<br>
<code class="notranslate">print(len(tokenizer))</code><br>
'print(model.config.vocab_size'</p>
<p dir="auto">This throws me an error</p>
<blockquote>
<p dir="auto">Index out of range</p>
</blockquote>
<p dir="auto">when I try to adapt the lm_finetuning example because of<br>
<code class="notranslate">model.resize_token_embeddings(len(tokenizer))</code></p>
<p dir="auto">It runs when I comment out this line. So my question is, is this the intended behaviour resp. what's the reason for the unevenness between the tokenizer and the model vocab_size?</p> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=abu123" rel="nofollow">abu butt</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1848?redirect=false" rel="nofollow">SPR-1848</a></strong> and commented</p>
<p dir="auto">Issue originally raised in spring forums: <a href="http://forum.springframework.org/showthread.php?t=23141" rel="nofollow">http://forum.springframework.org/showthread.php?t=23141</a></p>
<p dir="auto">After investigation this may be a bug. unable to resolve system properties.</p>
<p dir="auto">Works if the variable is a jvm property, but not if its a system property.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 M3</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/11545/SpringConfigTest.rar" rel="nofollow">SpringConfigTest.rar</a> (<em>1.61 MB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/11546/test.props" rel="nofollow">test.props</a> (<em>10 bytes</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398065059" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6586" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6586/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6586">#6586</a> Location value on PropertyPlaceholderConfigurer definition does not resolve placeholder if it is a system env (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=oxbow_lakes" rel="nofollow">Chris Marshall</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3555?redirect=false" rel="nofollow">SPR-3555</a></strong> and commented</p>
<p dir="auto">This may be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398056107" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5571" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5571/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5571">#5571</a> but I cannot find any documentation in the JMX or AOP chapters about how to use cglib (I thought I already was) to ensure that a bean which is being proxied's operations are available via JMX.</p>
<p dir="auto">Assuming that one is exporting a public method which is not on the proxied object's interfaces, is it not safe to assume that the method is safe to use directly on the underlying method? Perhaps not but it must be common to proxy for access only to certain methods (as in my case) and wish to export others on JMX (why should the former interfere with the latter?)</p>
<p dir="auto">Anyway, it would be great if you could tell me how to use cglib to make this problem go away.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.5</p> | 0 |
<h2 dir="auto">❓ Questions & Help</h2>
<p dir="auto">Hi,<br>
I am running a modified version of <code class="notranslate">run_lm_finetuning.py</code>, it was working fine and model checkpoints have been saved, until the last step of the first epoch (9677/9678), where I got this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉| 9677/9678 [2:01:24<00:00, 1.36it/s]
File "my_run_lm_finetuning.py", line 588, in <module>
main()
File "my_run_lm_finetuning.py", line 542, in main
global_step, tr_loss = train(args, train_dataset, model, bert_model_fintuned, tokenizer, bert_tokenizer)
File "my_run_lm_finetuning.py", line 260, in train
outputs = model(inputs, masked_lm_labels=labels) if args.mlm else model(inputs, enc_output, labels=labels)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
result = self.forward(*input, **kwargs)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 144, in forward
return self.gather(outputs, self.output_device)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 156, in gather
return gather(outputs, output_device, dim=self.dim)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 67, in gather
return gather_map(outputs)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 62, in gather_map
return type(out)(map(gather_map, zip(*outputs)))
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 62, in gather_map
return type(out)(map(gather_map, zip(*outputs)))
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 54, in gather_map
return Gather.apply(target_device, dim, *outputs)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/_functions.py", line 68, in forward
return comm.gather(inputs, ctx.dim, ctx.target_device)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/cuda/comm.py", line 166, in gather
return torch._C._gather(tensors, dim, destination)
RuntimeError: Gather got an input of invalid size: got [2, 3, 12, 256, 64], but expected [2, 4, 12, 256, 64] (gather at /opt/conda/conda-bld/pytorch_1544199946412/work/torch/csrc/cuda/comm.cpp:227)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7f3c52b7fcc5 in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: torch::cuda::gather(c10::ArrayRef<at::Tensor>, long, c10::optional<int>) + 0x4d8 (0x7f3c936eaba8 in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #2: <unknown function> + 0x4f99de (0x7f3c936ed9de in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #3: <unknown function> + 0x111e36 (0x7f3c93305e36 in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
<omitting python frames>
frame #14: THPFunction_apply(_object*, _object*) + 0x5dd (0x7f3c9350140d in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉| 9677/9678 [2:01:24<00:00, 1.36it/s]
File "my_run_lm_finetuning.py", line 588, in <module>
main()
File "my_run_lm_finetuning.py", line 542, in main
global_step, tr_loss = train(args, train_dataset, model, bert_model_fintuned, tokenizer, bert_tokenizer)
File "my_run_lm_finetuning.py", line 260, in train
outputs = model(inputs, masked_lm_labels=labels) if args.mlm else model(inputs, enc_output, labels=labels)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
result = self.forward(*input, **kwargs)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 144, in forward
return self.gather(outputs, self.output_device)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 156, in gather
return gather(outputs, output_device, dim=self.dim)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 67, in gather
return gather_map(outputs)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 62, in gather_map
return type(out)(map(gather_map, zip(*outputs)))
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 62, in gather_map
return type(out)(map(gather_map, zip(*outputs)))
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/scatter_gather.py", line 54, in gather_map
return Gather.apply(target_device, dim, *outputs)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/nn/parallel/_functions.py", line 68, in forward
return comm.gather(inputs, ctx.dim, ctx.target_device)
File "/home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/cuda/comm.py", line 166, in gather
return torch._C._gather(tensors, dim, destination)
RuntimeError: Gather got an input of invalid size: got [2, 3, 12, 256, 64], but expected [2, 4, 12, 256, 64] (gather at /opt/conda/conda-bld/pytorch_1544199946412/work/torch/csrc/cuda/comm.cpp:227)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7f3c52b7fcc5 in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libc10.so)
frame #1: torch::cuda::gather(c10::ArrayRef<at::Tensor>, long, c10::optional<int>) + 0x4d8 (0x7f3c936eaba8 in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #2: <unknown function> + 0x4f99de (0x7f3c936ed9de in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
frame #3: <unknown function> + 0x111e36 (0x7f3c93305e36 in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
<omitting python frames>
frame #14: THPFunction_apply(_object*, _object*) + 0x5dd (0x7f3c9350140d in /home/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/libtorch_python.so)
</code></pre></div>
<p dir="auto">Note that in this experiment I used a fine-tuned version of Bert (I fine-tuned it using your previous script in lm_finetune folder) and there I have the <code class="notranslate">max_seq_length =256</code>, however when running this (<code class="notranslate">run_lm_finetuning.py</code>) , I have <code class="notranslate">block_size=128</code>.</p>
<p dir="auto">Any idea of what is the error for?</p> | <h3 dir="auto">Feature request</h3>
<p dir="auto">Dear Hugging Face Team,</p>
<p dir="auto">My name is Yongbin Li. I am part of <a href="https://github.com/hpcaitech/ColossalAI">Colossal-AI</a> Team.</p>
<p dir="auto">Thanks for your previous <a href="https://github.com/hpcaitech/ColossalAI/issues/396" data-hovercard-type="issue" data-hovercard-url="/hpcaitech/ColossalAI/issues/396/hovercard">invitation</a> to Colossal-AI org to join Hugging Face. We are happy to share our founder's <a href="https://twitter.com/HPCAITech/status/1547041583337394176" rel="nofollow">blog </a>about Hugging Face.</p>
<p dir="auto">We are thinking about further collaboration, eg. integrating Colossal-AI into Hugging Face to help your community members use large AI models in an efficient and easier manner.</p>
<p dir="auto">For example, we can democratize its access to all your users in the same way as you did with DeepSpeed.<br>
<a href="https://huggingface.co/docs/transformers/v4.21.0/en/main_classes/deepspeed" rel="nofollow">https://huggingface.co/docs/transformers/v4.21.0/en/main_classes/deepspeed</a></p>
<h3 dir="auto">Motivation</h3>
<p dir="auto">We believe the democratization of large AI models is also very helpful for Hugging Face members. We are very appreciated if we could build the integration with you to benefit both of our users.</p>
<p dir="auto">Actually, we are working on similar integrations with Meta OPT(<a href="https://github.com/facebookresearch/metaseq#using-opt-with-colossal-ai">done</a>), PyTorch Lightning(<a href="https://github.com/hpcaitech/ColossalAI/issues/1330" data-hovercard-type="issue" data-hovercard-url="/hpcaitech/ColossalAI/issues/1330/hovercard">in process</a>), etc.</p>
<h3 dir="auto">Your contribution</h3>
<p dir="auto">We can provide help you need in this cooperation for free. Actually, we have reached a preliminary idea with your team member: omar, lysandre, and julien via email(<a href="mailto:[email protected]">[email protected]</a>) and look forward to your further reply.</p>
<p dir="auto">Feel free to reach out to me on Hugging Face Discord. My username is billy2022. We can discuss more details with other colleagues in a private group.</p>
<p dir="auto">Thank you very much.</p>
<p dir="auto">Best regards,<br>
Yongbin Li, Chief Marketing Officer, HPC-AI Tech</p> | 0 |
<p dir="auto">async function globalTeardown() {<br>
const reportPath = path.join(__dirname, <code class="notranslate">playwright-report</code>);<br>
const zip = new AdmZip();<br>
zip.addLocalFolder(reportPath);<br>
zip.writeZip('./html.zip');</p>
<p dir="auto">}<br>
export default globalTeardown;</p>
<p dir="auto">In config file its- globalTeardown: './global-teardown',</p> | <p dir="auto">Basically, I want to a feature where I can upload my reporting artifacts or full 'playwright-report' directory to some storage where everyone from the team can refer it.</p>
<p dir="auto">I am looking for the hook which will trigger once HTML report is created successfully. Currently, I am trying to achieve the same by putting the code in teardown script. But it is not working as I want.</p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto">I have a malloc error with TruncatedSVD.<br>
My issue seems closed to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182033512" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/7626" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/7626/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/7626">#7626</a></p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<p dir="auto">Code to reproduce my error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sklearn.datasets import fetch_20newsgroups
from sklearn.feature_extraction.text import CountVectorizer
from sklearn import decomposition
from sklearn.pipeline import make_pipeline
from sklearn.datasets import fetch_20newsgroups
twenty_train = fetch_20newsgroups(subset='train')
twenty_test = fetch_20newsgroups(subset='test')
dt_svd_clf = make_pipeline(CountVectorizer(),
decomposition.TruncatedSVD(n_components=25),
)
dt_svd_clf.fit(twenty_train.data, twenty_train.target)"><pre lang="{python}" class="notranslate"><code class="notranslate">from sklearn.datasets import fetch_20newsgroups
from sklearn.feature_extraction.text import CountVectorizer
from sklearn import decomposition
from sklearn.pipeline import make_pipeline
from sklearn.datasets import fetch_20newsgroups
twenty_train = fetch_20newsgroups(subset='train')
twenty_test = fetch_20newsgroups(subset='test')
dt_svd_clf = make_pipeline(CountVectorizer(),
decomposition.TruncatedSVD(n_components=25),
)
dt_svd_clf.fit(twenty_train.data, twenty_train.target)
</code></pre></div>
<p dir="auto">python crashes with a segfault:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python(1883,0x7fff79fe5000) malloc: *** mach_vm_map(size=18446744072715628544) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Segmentation fault: 11"><pre class="notranslate"><code class="notranslate">python(1883,0x7fff79fe5000) malloc: *** mach_vm_map(size=18446744072715628544) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Segmentation fault: 11
</code></pre></div>
<p dir="auto">I reproduce the bug all the time.<br>
I have 8GB RAM on my computer and I have some enough RAM left when running the code.<br>
With algorithm='arpack' it works. I can even set n_components to 250 for instance.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dt_svd_clf = make_pipeline(CountVectorizer(),
decomposition.TruncatedSVD(algorithm='arpack',n_components=25),
)"><pre class="notranslate"><code class="notranslate">dt_svd_clf = make_pipeline(CountVectorizer(),
decomposition.TruncatedSVD(algorithm='arpack',n_components=25),
)
</code></pre></div>
<h4 dir="auto">Versions</h4>
<p dir="auto">My configuration:<br>
Darwin-15.6.0-x86_64-i386-64bit<br>
Python 3.5.2 (default, Oct 11 2016, 15:01:29)<br>
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]<br>
NumPy 1.11.2<br>
SciPy 0.18.1<br>
Scikit-Learn 0.18.1</p>
<p dir="auto">Thanks</p> | <h4 dir="auto">Description</h4>
<p dir="auto">I tried to use PCA with default configuration on MNIST dataset, It gave memory allocation error. The code given below worked well in the previous version of scikit-learn(0.17). The PCA class chooses the randomised svd solver for this dataset, whereas in the previous version it was just svd_solver='full'. If I give explicitly svd_solver='full', it works fine, but when I leave it to find the best solver it chooses randomized svd solver and the code gives memory allocation error when it tries to calculate linalg.lu() using Scipy.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sklearn.model_selection import train_test_split
from sklearn.datasets import fetch_mldata
from sklearn.decomposition import PCA
mnist = fetch_mldata('MNIST original', data_home='./data')
X_train, X_test, y_train, y_test = train_test_split(mnist.data, mnist.target, test_size=0.3, random_state=0)
pca = PCA(n_components=100)
pca.fit_transform(X_train)
"><pre class="notranslate"><code class="notranslate">from sklearn.model_selection import train_test_split
from sklearn.datasets import fetch_mldata
from sklearn.decomposition import PCA
mnist = fetch_mldata('MNIST original', data_home='./data')
X_train, X_test, y_train, y_test = train_test_split(mnist.data, mnist.target, test_size=0.3, random_state=0)
pca = PCA(n_components=100)
pca.fit_transform(X_train)
</code></pre></div>
<h4 dir="auto">Error</h4>
<p dir="auto">Python(17010,0x7fffa552c3c0) malloc: *** mach_vm_map(size=18446744066138652672) failed (error code=3)<br>
*** error: can't allocate region<br>
*** set a breakpoint in malloc_error_break to debug</p>
<h4 dir="auto">Versions</h4>
<p dir="auto">Darwin-16.0.0-x86_64-i386-64bit<br>
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]<br>
NumPy 1.11.2<br>
SciPy 0.18.1<br>
Scikit-Learn 0.18</p> | 1 |
<h3 dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></h3>
<p dir="auto">Bug</p>
<h3 dir="auto"><strong>What is the current behavior?</strong></h3>
<blockquote>
<p dir="auto">(I wanna cry: )The optimization of Scope Hoisting could break core-js <code class="notranslate">Array.from</code>.</p>
</blockquote>
<p dir="auto"><strong>After updated to webpack v3. My code will throw the error:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Cannot assign to read only property 'length' of function 'function from() { [native code] }'"><pre lang="log" class="notranslate"><code class="notranslate">Uncaught TypeError: Cannot assign to read only property 'length' of function 'function from() { [native code] }'
</code></pre></div>
<h3 dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></h3>
<p dir="auto">The error due to wrong context:</p>
<ul dir="auto">
<li>webpack use <code class="notranslate">__webpack_require__.n</code> & <code class="notranslate">__webpack_require__.d</code> to mangle exports name;</li>
<li>Array.from transformed to <code class="notranslate">__WEBPACK_IMPORTED_MODULE_4_babel_runtime_core_js_array_from___default.a</code>;</li>
<li>While calling <code class="notranslate">arrayfrom.a(arraylike)</code>, the context will be <code class="notranslate">function getDefault</code>;</li>
<li><a href="https://github.com/zloirock/core-js/blob/8cf8d1e0cba3601fc533f8b27a3966d0d6100daf/modules/es6.array.from.js#L15">es6.array.from.js#L15</a>, <code class="notranslate">C</code> will be <code class="notranslate">getDefault</code>;</li>
<li><a href="https://github.com/zloirock/core-js/blob/8cf8d1e0cba3601fc533f8b27a3966d0d6100daf/modules/es6.array.from.js#L25">#L25</a> <code class="notranslate">new C()</code> will return <code class="notranslate">function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {...}</code>;</li>
<li><code class="notranslate">createProperty</code> will make the returned function property <code class="notranslate">length</code> read only;</li>
<li>finally when it call <code class="notranslate">result.length = index</code>, the error <code class="notranslate">Uncaught TypeError</code> will be threw.</li>
</ul>
<h3 dir="auto"><strong>What is the expected behavior?</strong></h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9346008/27423701-0af63cb8-5765-11e7-8db4-6473deb40a38.png"><img src="https://user-images.githubusercontent.com/9346008/27423701-0af63cb8-5765-11e7-8db4-6473deb40a38.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.</strong></p>
<p dir="auto">webpack v3</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
webpack.config.js</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
target: 'electron-main',
node: {
__dirname: false
},
entry: {
main: './src/main.ts'
},
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-c1">target</span>: <span class="pl-s">'electron-main'</span><span class="pl-kos">,</span>
<span class="pl-c1">node</span>: <span class="pl-kos">{</span>
<span class="pl-c1">__dirname</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">entry</span>: <span class="pl-kos">{</span>
<span class="pl-c1">main</span>: <span class="pl-s">'./src/main.ts'</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">main.ts</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log(__dirname)"><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-s1">__dirname</span><span class="pl-kos">)</span></pre></div>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ node main.js"><pre class="notranslate">$ node main.js</pre></div>
<p dir="auto">ouput '/'</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">it should output the absolute path</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 4.44.1<br>
Node.js version: 12.18.3<br>
Operating System: macOS 10.15.6<br>
Additional tools:</p> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.900]
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.900]
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Open Keyboard Manager</li>
<li>Click "Remap a shortcut"</li>
<li>Click "+"</li>
<li>Click "Type Shortcut"</li>
<li>Press "Ctrl (Left)" and right arrow at the shortcut</li>
<li>Select "Next Track" at "Mapped To"</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Ctrl left + right arrow should be remapped to the "Next track" key</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The message "Shortcut must start with a modifier key" appears</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5092164/84755725-3cfdbe80-afc2-11ea-833a-7e0be5280332.gif"><img src="https://user-images.githubusercontent.com/5092164/84755725-3cfdbe80-afc2-11ea-833a-7e0be5280332.gif" alt="PowerToys" data-animated-image="" style="max-width: 100%;"></a></p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">In order to simplify running&debugging FancyZonesEditor, remove tmp files from Editor cmd args. Also, create mock args for debugging purposes.</p> | 0 |
<pre class="notranslate">6l -a foo.6 used to print the assembled instructions. Now it just prints the raw bytes.
I believe this is a consequence of having no disassembler. Regardless, I miss this
feature and want it back.</pre> | <p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<ol dir="auto">
<li>What version of Go are you using (<code class="notranslate">go version</code>)?<br>
go version go1.6 darwin/amd64</li>
<li>What operating system and processor architecture are you using (<code class="notranslate">go env</code>)?<br>
GOARCH="amd64"<br>
GOBIN=""<br>
GOEXE=""<br>
GOHOSTARCH="amd64"<br>
GOHOSTOS="darwin"<br>
GOOS="darwin"<br>
GOPATH="/Users/jiahua/gohome"<br>
GORACE=""<br>
GOROOT="/usr/local/go"<br>
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"<br>
GO15VENDOREXPERIMENT="1"<br>
CC="clang"<br>
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"<br>
CXX="clang++"<br>
CGO_ENABLED="1"</li>
<li>What did you do?<br>
gomobile init</li>
<li>What did you expect to see?<br>
no error message</li>
<li>What did you see instead?<br>
gomobile: rename /Users/jiahua/gohome/pkg/gomobile/work-387114350/android-ndk-r10e/platforms/android-21/arch-arm64/usr /Users/jiahua/gohome/pkg/gomobile/android-ndk-r10e/arm64/sysroot/usr: no such file or directory</li>
</ol> | 0 |
<p dir="auto">In the scipy documentation it says:</p>
<blockquote>
<p dir="auto">iterations : {int, float}, optional<br>
The dilation is repeated iterations times (one, by default). If iterations is less than 1, the dilation is repeated until the result does not change anymore.</p>
</blockquote>
<p dir="auto">I used that in the code below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
from scipy.ndimage import morphology as morph
morph.binary_dilation(np.array([0, 0, 1, 0, 0]), iterations=0.5)"><pre class="notranslate"><code class="notranslate">import numpy as np
from scipy.ndimage import morphology as morph
morph.binary_dilation(np.array([0, 0, 1, 0, 0]), iterations=0.5)
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="free(): invalid size
Aborted (core dumped)"><pre class="notranslate"><code class="notranslate">free(): invalid size
Aborted (core dumped)
</code></pre></div>
<p dir="auto">Same error message appears, when replacing <code class="notranslate">binary_dilation</code> above with <code class="notranslate">binary_erosion</code>. When using <code class="notranslate">binary_closing</code>, the error becomes</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="double free or corruption (out)
Aborted (core dumped)"><pre class="notranslate"><code class="notranslate">double free or corruption (out)
Aborted (core dumped)
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<p dir="auto">I’m using Anaconda.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)
1.1.0 1.14.2 sys.version_info(major=3, minor=6, micro=7, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">In [1]: import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info)
1.1.0 1.14.2 sys.version_info(major=3, minor=6, micro=7, releaselevel='final', serial=0)
</code></pre></div> | <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> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sbrannen" rel="nofollow">Sam Brannen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7960?redirect=false" rel="nofollow">SPR-7960</a></strong> and commented</p>
<h4 dir="auto">Overview</h4>
<p dir="auto">Spring 3.1 introduces support for <em>bean definition profiles</em>, such as 'production', 'dev', etc.</p>
<p dir="auto">The Spring TestContext framework should be extended to support declarative configuration of bean definition profiles on a per-ApplicationContext basis.</p>
<p dir="auto">One option would be to provide an attribute in the <code class="notranslate">@ContextConfiguration</code> annotation to allow the <code class="notranslate">spring.profiles.active</code> value to be set declaratively.</p>
<h4 dir="auto">Further Resources</h4>
<ul dir="auto">
<li><a href="http://blog.springsource.com/2011/02/11/spring-framework-3-1-m1-released/#comment-184808" rel="nofollow">Comment on SpringSource blog</a></li>
</ul>
<h4 dir="auto">Example Tests Using <code class="notranslate">@ActiveProfiles</code></h4>
<p dir="auto">The following examples -- which are taken from the Spring test suite -- show how to declare which active profiles to use when loading an application context via the new <code class="notranslate">@ActiveProfiles</code> annotation.</p>
<hr>
<h5 dir="auto">Testing Active Profiles with <code class="notranslate">@Configuration</code> Classes</h5>
<p dir="auto">\</p>
<ul dir="auto">
<li><code class="notranslate">DefaultProfileConfig</code>: <code class="notranslate">@Configuration</code> class without a <code class="notranslate">@Profile</code> declaration</li>
<li><code class="notranslate">DevProfileConfig</code>: <code class="notranslate">@Configuration</code> class with a <code class="notranslate">@Profile("dev")</code> declaration</li>
<li><code class="notranslate">DefaultProfileAnnotationConfigTests</code>: JUnit 4 test that instructs the TestContext framework to load an application context from both the <code class="notranslate">DefaultProfileConfig</code> and <code class="notranslate">DevProfileConfig</code> <code class="notranslate">@Configuration</code> classes</li>
<li><code class="notranslate">DevProfileAnnotationConfigTests</code>: extends <code class="notranslate">DefaultProfileAnnotationConfigTests</code> and instructs the TestContext framework to activate the "<em>dev</em>" profile via <code class="notranslate">@ActiveProfiles("dev")</code></li>
</ul>
<p dir="auto">Note that the autowired <code class="notranslate">employee</code> is <code class="notranslate">null</code> in <code class="notranslate">DefaultProfileAnnotationConfigTests</code> but <strong>not</strong> <code class="notranslate">null</code> in <code class="notranslate">DevProfileAnnotationConfigTests</code>; whereas, the <code class="notranslate">pet</code> is non-null for both the <em>default</em> and <em>dev</em> profile.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Configuration
public class DefaultProfileConfig {
@Bean
public Pet pet() {
return new Pet("Fido");
}
}"><pre class="notranslate"><code class="notranslate">@Configuration
public class DefaultProfileConfig {
@Bean
public Pet pet() {
return new Pet("Fido");
}
}
</code></pre></div>
<p dir="auto">\</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Profile("dev")
@Configuration
public class DevProfileConfig {
@Bean
public Employee employee() {
Employee employee = new Employee();
employee.setName("John Smith");
employee.setAge(42);
employee.setCompany("Acme Widgets, Inc.");
return employee;
}
}"><pre class="notranslate"><code class="notranslate">@Profile("dev")
@Configuration
public class DevProfileConfig {
@Bean
public Employee employee() {
Employee employee = new Employee();
employee.setName("John Smith");
employee.setAge(42);
employee.setCompany("Acme Widgets, Inc.");
return employee;
}
}
</code></pre></div>
<p dir="auto">\</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { DefaultProfileConfig.class, DevProfileConfig.class },
loader = AnnotationConfigContextLoader.class)
public class DefaultProfileAnnotationConfigTests {
@Autowired
protected Pet pet;
@Autowired(required = false)
protected Employee employee;
@Test
public void pet() {
assertNotNull(pet);
assertEquals("Fido", pet.getName());
}
@Test
public void employee() {
assertNull("employee bean should not be created for the default profile", employee);
}
}"><pre class="notranslate"><code class="notranslate">@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { DefaultProfileConfig.class, DevProfileConfig.class },
loader = AnnotationConfigContextLoader.class)
public class DefaultProfileAnnotationConfigTests {
@Autowired
protected Pet pet;
@Autowired(required = false)
protected Employee employee;
@Test
public void pet() {
assertNotNull(pet);
assertEquals("Fido", pet.getName());
}
@Test
public void employee() {
assertNull("employee bean should not be created for the default profile", employee);
}
}
</code></pre></div>
<p dir="auto">\</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@ActiveProfiles("dev")
public class DevProfileAnnotationConfigTests extends DefaultProfileAnnotationConfigTests {
@Test
@Override
public void employee() {
assertNotNull("employee bean should be loaded for the 'dev' profile", employee);
assertEquals("John Smith", employee.getName());
}
}"><pre class="notranslate"><code class="notranslate">@ActiveProfiles("dev")
public class DevProfileAnnotationConfigTests extends DefaultProfileAnnotationConfigTests {
@Test
@Override
public void employee() {
assertNotNull("employee bean should be loaded for the 'dev' profile", employee);
assertEquals("John Smith", employee.getName());
}
}
</code></pre></div>
<hr>
<h5 dir="auto">Testing Active Profiles with XML Configuration</h5>
<p dir="auto">\<br>
The <code class="notranslate">DefaultProfileXmlConfigTests</code> and <code class="notranslate">DevProfileXmlConfigTests</code> classes are analogous to the <code class="notranslate">DefaultProfileAnnotationConfigTests</code> and <code class="notranslate">DevProfileAnnotationConfigTests</code> classes described above. The difference is that both of these test classes use the XML-based configuration found in <code class="notranslate">DefaultProfileXmlConfigTests-context.xml</code>, which combines the declaration of the <em>default</em> and <em>dev</em> profiles in a single XML file. Otherwise, the use of <code class="notranslate">@ActiveProfiles</code> and the behavior of the tests is identical.</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<bean id="pet" class="org.springframework.beans.Pet">
<constructor-arg value="Fido" />
</bean>
<beans profile="dev">
<bean id="employee" class="org.springframework.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />
</bean>
</beans>
</beans>"><pre class="notranslate"><?<span class="pl-ent">xml</span><span class="pl-e"> version</span>=<span class="pl-s"><span class="pl-pds">"</span>1.0<span class="pl-pds">"</span></span><span class="pl-e"> encoding</span>=<span class="pl-s"><span class="pl-pds">"</span>UTF-8<span class="pl-pds">"</span></span>?>
<<span class="pl-ent">beans</span> <span class="pl-e">xmlns</span>=<span class="pl-s"><span class="pl-pds">"</span>http://www.springframework.org/schema/beans<span class="pl-pds">"</span></span>
<span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">xsi</span>=<span class="pl-s"><span class="pl-pds">"</span>http://www.w3.org/2001/XMLSchema-instance<span class="pl-pds">"</span></span>
<span class="pl-e">xsi</span><span class="pl-e">:</span><span class="pl-e">schemaLocation</span>=<span class="pl-s"><span class="pl-pds">"</span></span>
<span class="pl-s"> http://www.springframework.org/schema/beans</span>
<span class="pl-s"> http://www.springframework.org/schema/beans/spring-beans-3.1.xsd<span class="pl-pds">"</span></span>>
<<span class="pl-ent">bean</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>pet<span class="pl-pds">"</span></span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.beans.Pet<span class="pl-pds">"</span></span>>
<<span class="pl-ent">constructor-arg</span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>Fido<span class="pl-pds">"</span></span> />
</<span class="pl-ent">bean</span>>
<<span class="pl-ent">beans</span> <span class="pl-e">profile</span>=<span class="pl-s"><span class="pl-pds">"</span>dev<span class="pl-pds">"</span></span>>
<<span class="pl-ent">bean</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>employee<span class="pl-pds">"</span></span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>org.springframework.beans.Employee<span class="pl-pds">"</span></span>>
<<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>name<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>John Smith<span class="pl-pds">"</span></span> />
<<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>age<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>42<span class="pl-pds">"</span></span> />
<<span class="pl-ent">property</span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>company<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span>Acme Widgets, Inc.<span class="pl-pds">"</span></span> />
</<span class="pl-ent">bean</span>>
</<span class="pl-ent">beans</span>>
</<span class="pl-ent">beans</span>></pre></div>
<p dir="auto">\</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class DefaultProfileXmlConfigTests {
@Autowired
protected Pet pet;
@Autowired(required = false)
protected Employee employee;
@Test
public void pet() {
assertNotNull(pet);
assertEquals("Fido", pet.getName());
}
@Test
public void employee() {
assertNull("employee bean should not be created for the default profile", employee);
}
}"><pre class="notranslate"><code class="notranslate">@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class DefaultProfileXmlConfigTests {
@Autowired
protected Pet pet;
@Autowired(required = false)
protected Employee employee;
@Test
public void pet() {
assertNotNull(pet);
assertEquals("Fido", pet.getName());
}
@Test
public void employee() {
assertNull("employee bean should not be created for the default profile", employee);
}
}
</code></pre></div>
<p dir="auto">\</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@ActiveProfiles("dev")
public class DevProfileXmlConfigTests extends DefaultProfileXmlConfigTests {
@Test
@Override
public void employee() {
assertNotNull("employee bean should be loaded for the 'dev' profile", employee);
assertEquals("John Smith", employee.getName());
}
}"><pre class="notranslate"><code class="notranslate">@ActiveProfiles("dev")
public class DevProfileXmlConfigTests extends DefaultProfileXmlConfigTests {
@Test
@Override
public void employee() {
assertNotNull("employee bean should be loaded for the 'dev' profile", employee);
assertEquals("John Smith", employee.getName());
}
}
</code></pre></div>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 M1</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="398112598" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13033" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13033/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13033">#13033</a> Introduce SmartContextLoader SPI (<em><strong>"depends on"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398108841" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12410" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12410/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12410">#12410</a> Decide what to do with <code class="notranslate">@IfProfileValue</code></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398097973" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10852" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10852/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10852">#10852</a> Provide TestContext support for <code class="notranslate">@Configuration</code> classes</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398088743" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9538" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9538/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9538">#9538</a> Introduce strategy for determining if a profile value is enabled for a particular test environment</li>
</ul>
<p dir="auto">5 votes, 6 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer" rel="nofollow">Dave Syer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7754?redirect=false" rel="nofollow">SPR-7754</a></strong> and commented</p>
<p dir="auto">Now that <code class="notranslate">@Profile</code> (and "profile" generally) has a meaning in the framework, the old test support for detecting system properties looks like it has an awkward name. In Spring 3.1 terms, what <code class="notranslate">@IfProfileValue</code> does is detect key-value pairs in the Environment (not profiles).</p>
<p dir="auto">One simple thing we should definitely do is add a ProfileValueSource that can pull values from the Environment.</p>
<p dir="auto">More radically, maybe we could rename <code class="notranslate">@IfProfileValue</code>(name=,value=) to <code class="notranslate">@Environment</code>(key=,value=).</p>
<p dir="auto">Another suggestion is that we could provide a way to activate profiles declaratively for tests or test classes. Something I've been playing with is this (new components ProfileSuite and <code class="notranslate">@ActiveProfile</code>):</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@RunWith(Suite.class)
@SuiteClasses({ HsqlTest.class, DerbyTest.class })
public class JdbcDaoIntegrationTests {
@RunWith(ProfileSuite.class)
@SuiteClasses({ JdbcSearchableJobInstanceDaoTests.class, JdbcSearchableJobExecutionDaoTests.class,
JdbcSearchableStepExecutionDaoTests.class })
public static abstract class BaseTest {
}
@ActiveProfile("hsql")
public static class HsqlTest extends BaseTest {
}
@ActiveProfile("derby")
public static class DerbyTest extends BaseTest {
}
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">RunWith</span>(<span class="pl-smi">Suite</span>.<span class="pl-k">class</span>)
<span class="pl-c1">@</span><span class="pl-c1">SuiteClasses</span>({ <span class="pl-smi">HsqlTest</span>.<span class="pl-k">class</span>, <span class="pl-smi">DerbyTest</span>.<span class="pl-k">class</span> })
<span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">JdbcDaoIntegrationTests</span> {
<span class="pl-c1">@</span><span class="pl-c1">RunWith</span>(<span class="pl-smi">ProfileSuite</span>.<span class="pl-k">class</span>)
<span class="pl-c1">@</span><span class="pl-c1">SuiteClasses</span>({ <span class="pl-smi">JdbcSearchableJobInstanceDaoTests</span>.<span class="pl-k">class</span>, <span class="pl-smi">JdbcSearchableJobExecutionDaoTests</span>.<span class="pl-k">class</span>,
<span class="pl-smi">JdbcSearchableStepExecutionDaoTests</span>.<span class="pl-k">class</span> })
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-k">abstract</span> <span class="pl-k">class</span> <span class="pl-smi">BaseTest</span> {
}
<span class="pl-c1">@</span><span class="pl-c1">ActiveProfile</span>(<span class="pl-s">"hsql"</span>)
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-k">class</span> <span class="pl-smi">HsqlTest</span> <span class="pl-k">extends</span> <span class="pl-smi">BaseTest</span> {
}
<span class="pl-c1">@</span><span class="pl-c1">ActiveProfile</span>(<span class="pl-s">"derby"</span>)
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-k">class</span> <span class="pl-smi">DerbyTest</span> <span class="pl-k">extends</span> <span class="pl-smi">BaseTest</span> {
}
}</pre></div>
<p dir="auto">It says: run these three test classes twice each, once with profile "hsql" and once with profile "derby". This has the nice feature that <code class="notranslate">@EnvironmentValue</code> can still be honoured inside the individual tests (per method).</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="398116421" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13625" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13625/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13625">#13625</a> SystemProfileValueSource is not very compatible with the new 3.1 default system property profiles</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398110141" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12615" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12615/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12615">#12615</a> TestContext framework should support declarative configuration of bean definition profiles</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398116387" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13622" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13622/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13622">#13622</a> Allow overriding <code class="notranslate">@ActiveProfiles</code> in test classes with system property</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398167496" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16300" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16300/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16300">#16300</a> Introduce annotation to skip test based on active Spring profile</li>
</ul>
<p dir="auto">6 votes, 7 watchers</p> | 1 |
<p dir="auto"><strong>Apache Airflow version</strong>: 2.1.2 and also previous versions<br>
I find this relevant for investigation: <code class="notranslate">apache-airflow-providers-apache-spark==1.0.3</code></p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): NA</p>
<p dir="auto"><strong>Environment</strong>: linux</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: NA</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): NA</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): NA</li>
<li><strong>Install tools</strong>: systemd to manage worker lifecycle</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
We launch all our spark processes in cluster mode on YARN. This helps us in keeping resource hungry driver processes on YARN and airflow workers usually stay with deterministic workloads. During maintenance, we need to restart workers. Our users reported to have duplicate data in some instances and the time period for the respective job runs coincides with worker restarts. On investigation, I found out that airflow jobs are marked as failed due to SIGTERM during worker restart but spark job kept running on cluster. Due to retry policy, airflow launched another instance of exactly same spark job.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
Spark job should have been killed before worker exit. The implementation is there but it seems to be not doing the trick.</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<ul dir="auto">
<li>Use spark connection with yarn cluster mode.</li>
<li>With spark operator, submit a spark job. It can even be a sleep of significant time. Keep number of retries for this task more than 1.</li>
<li>Restart worker.</li>
<li>You should see airflow launching another task</li>
<li>Check yarn, there should be two instances of spark job instead of one.</li>
</ul>
<p dir="auto"><strong>Anything else we need to know</strong>:<br>
TLDR; There are couple of odd things with <code class="notranslate">on_kill</code> in spark hook.</p>
<ul dir="auto">
<li>Same airflow task runner seems to be getting multiple SIGTERMs.</li>
<li><code class="notranslate">subprocess.wait</code> can not complete. It might be due to multiple SIGTERMs.</li>
<li>Not executing renewer block and removing wait from subsequent subprocess call successfully kills the spark process from YARN.</li>
</ul>
<p dir="auto">I did some investigation on the issue. The issue is around multiple <code class="notranslate">subprocess.wait</code> calls in <code class="notranslate">on_kill</code> calls of the spark submit hook. I had to bypass the kerberos renewer block to get following exception while in <code class="notranslate">wait</code>:</p>
<pre class="notranslate">Traceback (most recent call last):
File "/xxx/lib64/python3.6/site-packages/airflow/providers/apache/spark/hooks/spark_submit.py", line 675, in on_kill
self.log.info("YARN app killed with return code: %s", yarn_kill.wait())
File "/usr/lib64/python3.6/subprocess.py", line 1477, in wait
(pid, sts) = self._try_wait(0)
File "/usr/lib64/python3.6/subprocess.py", line 1424, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
File "/xxx/lib64/python3.6/site-packages/airflow/models/taskinstance.py", line 1286, in signal_handler
raise AirflowException("Task received SIGTERM signal")
airflow.exceptions.AirflowException: Task received SIGTERM signal
</pre>
<p dir="auto">It seems like kerberos renewer block is silently swallowing that exception <em>and</em> at the same time not letting yarn kill block get invoked.<br>
Continuing on this path, removing wait from the yarn_kill command, invoked yarn kill successfully. I also added <code class="notranslate">trap '' SIGTERM;</code> for yarn_kill just to be sure that <code class="notranslate">SIGTERM</code> is not propagated to yarn_kill command. [Essentially we do want to kill running spark job at any cost]</p>
<p dir="auto">How often does this problem occur?<br>
Pretty much on each worker restart.</p>
<p dir="auto">Any relevant logs to include? Put them here in side a detail tag:</p>
<details><summary>What happens</summary>
<pre class="notranslate">[2021-08-04 22:41:06,515] {local_task_job.py:77} ERROR - Received SIGTERM. Terminating subprocesses
[2021-08-04 22:41:06,521] {process_utils.py:100} INFO - Sending Signals.SIGTERM to GPID 24135
[2021-08-04 22:41:06,522] {taskinstance.py:1284} ERROR - Received SIGTERM. Terminating subprocesses.
[2021-08-04 22:41:06,523] {spark_submit.py:657} INFO - Sending kill signal to spark-submit
[2021-08-04 22:41:06,523] {spark_submit.py:660} INFO - Yarn application id: application_1627904414005_0022
[2021-08-04 22:41:06,523] {kerberos.py:74} INFO - Re-initialising kerberos from keytab: kinit -r 3600m -k -t /xxx/airflow.keytab -c /xxx/krb5cc_airflow airflow
[2021-08-04 22:41:07,034] {process_utils.py:66} INFO - Process psutil.Process(pid=26346, status='terminated') (26346) terminated with exit code None
[2021-08-04 22:41:07,221] {local_task_job.py:77} ERROR - Received SIGTERM. Terminating subprocesses
[2021-08-04 22:41:07,222] {taskinstance.py:1284} ERROR - Received SIGTERM. Terminating subprocesses.
[2021-08-04 22:41:07,228] {process_utils.py:100} INFO - Sending Signals.SIGTERM to GPID 24135
[2021-08-04 22:41:07,228] {taskinstance.py:1284} ERROR - Received SIGTERM. Terminating subprocesses.
[2021-08-04 22:41:07,235] {process_utils.py:66} INFO - Process psutil.Process(pid=26433, status='terminated') (26433) terminated with exit code None
[2021-08-04 22:41:07,235] {process_utils.py:66} INFO - Process psutil.Process(pid=24135, status='terminated') (24135) terminated with exit code 1
</pre>
Essentially, we don't see following block:
<pre class="notranslate">[2021-08-04 22:45:51,092] {kerberos.py:74} INFO - Re-initialising kerberos from keytab: kinit -r 3600m -k -t /xxx/airflow.keytab -c /xxx/krb5cc_airflow airflow
[2021-08-04 22:45:51,596] {process_utils.py:66} INFO - Process psutil.Process(pid=32619, status='terminated') (32619) terminated with exit code None
[2021-08-04 22:45:52,604] {kerberos.py:126} INFO - Renewing kerberos ticket to work around kerberos 1.8.1: kinit -c /xxx/krb5cc_airflow -R
[2021-08-04 22:45:53,975] {spark_submit.py:681} INFO - YARN app killed with return code: 0
</pre>
</details>
<p dir="auto">What works:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" if self._yarn_application_id:
yarn_trap_kill_cmd = f"trap '' SIGTERM; yarn application -kill {self._yarn_application_id}"
kill_cmd = ["bash", "-c", yarn_trap_kill_cmd]
env = {**os.environ, **(self._env or {})}
# self._skip_renew_keytab is set to False for backward compat.
if not self._skip_renew_keytab and self._keytab is not None and self._principal is not None:
# we are ignoring renewal failures from renew_from_kt
# here as the failure could just be due to a non-renewable ticket,
# we still attempt to kill the yarn application
renew_from_kt(self._principal, self._keytab, exit_on_fail=False)
env = os.environ.copy()
env["KRB5CCNAME"] = airflow_conf.get('kerberos', 'ccache')
subprocess.Popen(kill_cmd, env=env, start_new_session=True)"><pre class="notranslate"> <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">_yarn_application_id</span>:
<span class="pl-s1">yarn_trap_kill_cmd</span> <span class="pl-c1">=</span> <span class="pl-s">f"trap '' SIGTERM; yarn application -kill <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">_yarn_application_id</span><span class="pl-kos">}</span></span>"</span>
<span class="pl-s1">kill_cmd</span> <span class="pl-c1">=</span> [<span class="pl-s">"bash"</span>, <span class="pl-s">"-c"</span>, <span class="pl-s1">yarn_trap_kill_cmd</span>]
<span class="pl-s1">env</span> <span class="pl-c1">=</span> {<span class="pl-c1">**</span><span class="pl-s1">os</span>.<span class="pl-s1">environ</span>, <span class="pl-c1">**</span>(<span class="pl-s1">self</span>.<span class="pl-s1">_env</span> <span class="pl-c1">or</span> {})}
<span class="pl-c"># self._skip_renew_keytab is set to False for backward compat.</span>
<span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">self</span>.<span class="pl-s1">_skip_renew_keytab</span> <span class="pl-c1">and</span> <span class="pl-s1">self</span>.<span class="pl-s1">_keytab</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span> <span class="pl-c1">and</span> <span class="pl-s1">self</span>.<span class="pl-s1">_principal</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-c"># we are ignoring renewal failures from renew_from_kt</span>
<span class="pl-c"># here as the failure could just be due to a non-renewable ticket,</span>
<span class="pl-c"># we still attempt to kill the yarn application</span>
<span class="pl-en">renew_from_kt</span>(<span class="pl-s1">self</span>.<span class="pl-s1">_principal</span>, <span class="pl-s1">self</span>.<span class="pl-s1">_keytab</span>, <span class="pl-s1">exit_on_fail</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span>.<span class="pl-s1">environ</span>.<span class="pl-en">copy</span>()
<span class="pl-s1">env</span>[<span class="pl-s">"KRB5CCNAME"</span>] <span class="pl-c1">=</span> <span class="pl-s1">airflow_conf</span>.<span class="pl-en">get</span>(<span class="pl-s">'kerberos'</span>, <span class="pl-s">'ccache'</span>)
<span class="pl-s1">subprocess</span>.<span class="pl-v">Popen</span>(<span class="pl-s1">kill_cmd</span>, <span class="pl-s1">env</span><span class="pl-c1">=</span><span class="pl-s1">env</span>, <span class="pl-s1">start_new_session</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</pre></div> | <p dir="auto"><strong>Apache Airflow version</strong>: 1.7.1.2</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:<br>
<strong>What happened</strong>:</li>
</ul>
<p dir="auto">Since the rework of a rolling webserver restart the "airflow webserver -D" does not detach from the console anymore</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<p dir="auto"><strong>Anything else we need to know</strong>:</p>
<p dir="auto">Moved here from <a href="https://issues.apache.org/jira/browse/AIRFLOW-486" rel="nofollow">https://issues.apache.org/jira/browse/AIRFLOW-486</a></p> | 0 |
<p dir="auto">Background: I've implemented most of the multi-architecture Kubernetes has today, and wrote the proposal here: <a href="https://github.com/kubernetes/community/tree/master/contributors/design-proposals/multi-platform.md">https://github.com/kubernetes/community/tree/master/contributors/design-proposals/multi-platform.md</a></p>
<p dir="auto">Now it's time to continue improving the multi-arch experience as well.<br>
Tasks to do:</p>
<ul dir="auto">
<li>Deprecate <code class="notranslate">armel</code> and use <code class="notranslate">armhf</code> images instead and use <code class="notranslate">GOARM=7</code> instead of <code class="notranslate">GOARM=6</code>
<ul dir="auto">
<li>Motivation:
<ul dir="auto">
<li>The only <code class="notranslate">GOARM=6</code> board Go will support in go1.8 is the Raspberry Pi 1 which is just too slow to run newer Kubernetes versions.</li>
<li>Small performance improvements when using <code class="notranslate">GOARM=7</code></li>
<li>The <code class="notranslate">armel</code> (<a href="http://hub.docker.com/u/armel" rel="nofollow">http://hub.docker.com/u/armel</a>) images are not updated as often as the <code class="notranslate">armhf</code> (<a href="http://hub.docker.com/u/armhf" rel="nofollow">http://hub.docker.com/u/armhf</a>) images are.</li>
</ul>
</li>
</ul>
</li>
<li>Use go1.8 as fast as possible for arm and ppc64le (and of course generally as well, but that will require the "real" release)
<ul dir="auto">
<li>Motivation:
<ul dir="auto">
<li>Brings us a lot of mandatory fixes for arm and ppc64le</li>
<li>Brings us the SSA backend which is ~30% faster</li>
<li>We can remove the patched golang for arm and start building ppc64le binaries by default again</li>
<li>arm hyperkube will start working again</li>
<li>Even if it's beta, it's probably better than a self-patched version of go1.7</li>
</ul>
</li>
<li>Proposal:
<ul dir="auto">
<li>Use <code class="notranslate">go1.8-beta1</code> for the arm builds already in the v1.5 release cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/saad-ali/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/saad-ali">@saad-ali</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pwittrock/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pwittrock">@pwittrock</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jessfraz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jessfraz">@jessfraz</a></li>
</ul>
</li>
</ul>
</li>
<li>Reenable ppc64le builds again by using go1.8betas until the stable version of go1.8 is released and release v1.6 of kubernetes for ppc64le with go1.8</li>
<li>Evalute <code class="notranslate">s390x</code> as a new platform
<ul dir="auto">
<li>If no one loudly complains, I'm gonna take care of the PRs <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="190332721" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37092" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/37092/hovercard" href="https://github.com/kubernetes/kubernetes/pull/37092">#37092</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="186747750" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36050" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/36050/hovercard" href="https://github.com/kubernetes/kubernetes/pull/36050">#36050</a> and merge them in time for v1.6</li>
</ul>
</li>
<li>Convert the essential images that are named <code class="notranslate">registry/binary:version</code> to manifest lists
<ul dir="auto">
<li>TODO: Investigate rkt support for manifest lists: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171578874" data-permission-text="Title is private" data-url="https://github.com/appc/docker2aci/issues/193" data-hovercard-type="issue" data-hovercard-url="/appc/docker2aci/issues/193/hovercard" href="https://github.com/appc/docker2aci/issues/193">appc/docker2aci#193</a></li>
<li>Wait for gcr.io to roll out a v2 schema 2 registry that support manifest lists. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aronchick/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aronchick">@aronchick</a> told me it's gonna happen mid-December.</li>
<li>Start building manifest lists when releasing Kubernetes (kube-apiserver, kube-scheduler, etc.)</li>
<li>Basically, all images will be named <code class="notranslate">registry/binary-arch:version</code> as most of them are now, but then the image <em>without</em> the <code class="notranslate">-arch</code> bit will be a manifest list which points to the right <code class="notranslate">-arch</code> image depending on which arch docker runs on.</li>
<li>Convert all other essential images to manifest lists, namely:
<ul dir="auto">
<li>etcd</li>
<li>all kube-dns images</li>
<li>the dashboard image</li>
<li>all heapster images: first step: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="190175572" data-permission-text="Title is private" data-url="https://github.com/kubernetes-retired/heapster/issues/1387" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes-retired/heapster/pull/1387/hovercard" href="https://github.com/kubernetes-retired/heapster/pull/1387">kubernetes-retired/heapster#1387</a></li>
</ul>
</li>
</ul>
</li>
<li>Convert the ingress images to multiple architectures</li>
</ul>
<p dir="auto">cc-ing involved people here:<br>
<a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="1910056" data-permission-text="Team members are private" data-url="/orgs/kubernetes/teams/sig-testing/members" data-hovercard-type="team" data-hovercard-url="/orgs/kubernetes/teams/sig-testing/hovercard" href="https://github.com/orgs/kubernetes/teams/sig-testing">@kubernetes/sig-testing</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/david-mcmahon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/david-mcmahon">@david-mcmahon</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/saad-ali/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/saad-ali">@saad-ali</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pwittrock/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pwittrock">@pwittrock</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Pensu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Pensu">@Pensu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ixdy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ixdy">@ixdy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jessfraz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jessfraz">@jessfraz</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thockin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thockin">@thockin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vishh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vishh">@vishh</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gajju26/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gajju26">@gajju26</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/brendandburns/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/brendandburns">@brendandburns</a></p> | <p dir="auto">Federation: hack/update-codegen.sh fails to generate</p>
<ul dir="auto">
<li>import_known_versions.go</li>
<li>namespace_expansion.go</li>
<li>fake_namespace_expansion.go</li>
</ul> | 0 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
df = pd.DataFrame(data=[1,2,3,3,3,3,4,4,4,5,5,5], columns=['abc'], ).sort_values('abc')
df['Rank'] = df['abc'].rank(method='dense')
df['Rank_Pct']= df['abc'].rank(pct=True, method='dense', )
df['Rank_Pct_Manual']= df['Rank'] / df['Rank'].max()
df.head()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">data</span><span class="pl-c1">=</span>[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">3</span>,<span class="pl-c1">3</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-c1">4</span>,<span class="pl-c1">4</span>,<span class="pl-c1">5</span>,<span class="pl-c1">5</span>,<span class="pl-c1">5</span>], <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'abc'</span>], ).<span class="pl-en">sort_values</span>(<span class="pl-s">'abc'</span>)
<span class="pl-s1">df</span>[<span class="pl-s">'Rank'</span>] <span class="pl-c1">=</span> <span class="pl-s1">df</span>[<span class="pl-s">'abc'</span>].<span class="pl-en">rank</span>(<span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s">'dense'</span>)
<span class="pl-s1">df</span>[<span class="pl-s">'Rank_Pct'</span>]<span class="pl-c1">=</span> <span class="pl-s1">df</span>[<span class="pl-s">'abc'</span>].<span class="pl-en">rank</span>(<span class="pl-s1">pct</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s">'dense'</span>, )
<span class="pl-s1">df</span>[<span class="pl-s">'Rank_Pct_Manual'</span>]<span class="pl-c1">=</span> <span class="pl-s1">df</span>[<span class="pl-s">'Rank'</span>] <span class="pl-c1">/</span> <span class="pl-s1">df</span>[<span class="pl-s">'Rank'</span>].<span class="pl-en">max</span>()
<span class="pl-s1">df</span>.<span class="pl-en">head</span>()</pre></div>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" abc Rank Rank_Pct Rank_Pct_Manual
0 1 1.0 0.083333 0.2
1 2 2.0 0.166667 0.4
2 3 3.0 0.250000 0.6
3 3 3.0 0.250000 0.6
4 3 3.0 0.250000 0.6
5 3 3.0 0.250000 0.6
6 4 4.0 0.333333 0.8
7 4 4.0 0.333333 0.8
8 4 4.0 0.333333 0.8
9 5 5.0 0.416667 1.0
10 5 5.0 0.416667 1.0
11 5 5.0 0.416667 1.0"><pre class="notranslate"><code class="notranslate"> abc Rank Rank_Pct Rank_Pct_Manual
0 1 1.0 0.083333 0.2
1 2 2.0 0.166667 0.4
2 3 3.0 0.250000 0.6
3 3 3.0 0.250000 0.6
4 3 3.0 0.250000 0.6
5 3 3.0 0.250000 0.6
6 4 4.0 0.333333 0.8
7 4 4.0 0.333333 0.8
8 4 4.0 0.333333 0.8
9 5 5.0 0.416667 1.0
10 5 5.0 0.416667 1.0
11 5 5.0 0.416667 1.0
</code></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">If you chose both the <code class="notranslate">pct=True</code> and <code class="notranslate">method='dense'</code> options of <code class="notranslate">Series.rank</code>, you don't get the expected maximum percentile of 1 if there are repeated values in the <code class="notranslate">Series</code>. This is because the function (e.g., <code class="notranslate">rank_1d_float64()</code>) always divides by the total number of elements in the <code class="notranslate">Series</code>. But in the case of the <code class="notranslate">dense</code> method, we should divide by the maximum rank value.</p>
<p dir="auto">I'm working on a PR now.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">I would expect the values of <code class="notranslate">Rank_Pct</code> and <code class="notranslate">Rank_Pct_Manual</code> to be the same, and that the maximum of both should be 1.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" abc Rank Rank_Pct Rank_Pct_Manual
0 1 1.0 0.2 0.2
1 2 2.0 0.4 0.4
2 3 3.0 0.6 0.6
3 3 3.0 0.6 0.6
4 3 3.0 0.6 0.6
5 3 3.0 0.6 0.6
6 4 4.0 0.8 0.8
7 4 4.0 0.8 0.8
8 4 4.0 0.8 0.8
9 5 5.0 1.0 1.0
10 5 5.0 1.0 1.0
11 5 5.0 1.0 1.0"><pre class="notranslate"><code class="notranslate"> abc Rank Rank_Pct Rank_Pct_Manual
0 1 1.0 0.2 0.2
1 2 2.0 0.4 0.4
2 3 3.0 0.6 0.6
3 3 3.0 0.6 0.6
4 3 3.0 0.6 0.6
5 3 3.0 0.6 0.6
6 4 4.0 0.8 0.8
7 4 4.0 0.8 0.8
8 4 4.0 0.8 0.8
9 5 5.0 1.0 1.0
10 5 5.0 1.0 1.0
11 5 5.0 1.0 1.0
</code></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<p dir="auto">commit: None<br>
python: 3.6.3.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 16.7.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.21.0<br>
pytest: 3.2.3<br>
pip: 9.0.1<br>
setuptools: 36.3.0<br>
Cython: None<br>
numpy: 1.13.3<br>
scipy: 0.19.1<br>
pyarrow: 0.7.1<br>
xarray: None<br>
IPython: 6.2.1<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.6.1<br>
pytz: 2017.3<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: 0.999999999<br>
sqlalchemy: 1.1.15<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.9.6<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | <p dir="auto">I find the behavior of rank function with method = 'dense' and pct = True unexpected as it looks like, in order to calculate percentile ranks, the function is using the total number of observations instead of the number of <em>distinct</em> observations.</p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
n_rep = 2
ts = pd.Series([1,2,3,4] * n_rep )
output = ts.rank(method = 'dense', pct = True)"><pre class="notranslate"><code class="notranslate">import pandas as pd
n_rep = 2
ts = pd.Series([1,2,3,4] * n_rep )
output = ts.rank(method = 'dense', pct = True)
</code></pre></div>
<h4 dir="auto">Problem description</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ts.rank(method = 'dense', pct = True)
Out[116]:
0 0.125
1 0.250
2 0.375
3 0.500
4 0.125
5 0.250
6 0.375
7 0.500"><pre class="notranslate"><code class="notranslate">ts.rank(method = 'dense', pct = True)
Out[116]:
0 0.125
1 0.250
2 0.375
3 0.500
4 0.125
5 0.250
6 0.375
7 0.500
</code></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">Something similar to:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pd.Series([1,2,3,4] * 2).rank(method = 'dense', pct = True) * n_rep
Out[118]:
0 0.25
1 0.50
2 0.75
3 1.00
4 0.25
5 0.50
6 0.75
7 1.00"><pre class="notranslate"><code class="notranslate">pd.Series([1,2,3,4] * 2).rank(method = 'dense', pct = True) * n_rep
Out[118]:
0 0.25
1 0.50
2 0.75
3 1.00
4 0.25
5 0.50
6 0.75
7 1.00
</code></pre></div>
<p dir="auto">Also, I would expected the result above to be invariant to n_rep.<br>
i.e. I would expect a "mapping" {value -> pct_rank} that would not depend on how many times the value is repeated, while it is not the case here.</p> | 1 |
<p dir="auto">I'm using python 2.7 on numpy 1.10.1 with a custom dtype implementation. Essentially the self->userloops is defined with types that do not match the specified_types. In such case numpy will hang indefinitely.</p>
<p dir="auto">It seems like the function type_tuple_userloop_type_resolver in numpy/numpy/core/src/umath/ufunc_type_resolution.c is incorrect. It can get into an infinite loop around line 1745, which looks like:</p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" while (funcdata != NULL) {
int *types = funcdata->arg_types;
int matched = 1;
if (n_specified == nop) {
for (j = 0; j < nop; ++j) {
if (types[j] != specified_types[j] &&
specified_types[j] != NPY_NOTYPE) {
matched = 0;
break;
}
}
} else {
if (types[nin] != specified_types[0]) {
matched = 0;
}
}
if (!matched) {
continue;
}
switch (ufunc_loop_matches(self, op,
casting, casting,
any_object, use_min_scalar,
types, NULL,
&no_castable_output, &err_src_typecode,
&err_dst_typecode)) {
/* It works */
case 1:
set_ufunc_loop_data_types(self, op,
out_dtype, types, NULL);
return 1;
/* Didn't match */
case 0:
PyErr_Format(PyExc_TypeError,
"found a user loop for ufunc '%s' "
"matching the type-tuple, "
"but the inputs and/or outputs could not be "
"cast according to the casting rule",
self->name ? self->name : "(unknown)");
return -1;
/* Error */
case -1:
return -1;
}
funcdata = funcdata->next;
}"><pre class="notranslate"> <span class="pl-k">while</span> (<span class="pl-s1">funcdata</span> <span class="pl-c1">!=</span> <span class="pl-c1">NULL</span>) {
<span class="pl-smi">int</span> <span class="pl-c1">*</span><span class="pl-s1">types</span> <span class="pl-c1">=</span> <span class="pl-s1">funcdata</span><span class="pl-c1">-></span><span class="pl-c1">arg_types</span>;
<span class="pl-smi">int</span> <span class="pl-s1">matched</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>;
<span class="pl-k">if</span> (<span class="pl-s1">n_specified</span> <span class="pl-c1">==</span> <span class="pl-s1">nop</span>) {
<span class="pl-k">for</span> (<span class="pl-s1">j</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span>; <span class="pl-s1">j</span> <span class="pl-c1"><</span> <span class="pl-s1">nop</span>; <span class="pl-c1">++</span><span class="pl-s1">j</span>) {
<span class="pl-k">if</span> (<span class="pl-s1">types</span>[<span class="pl-s1">j</span>] <span class="pl-c1">!=</span> <span class="pl-s1">specified_types</span>[<span class="pl-s1">j</span>] <span class="pl-c1">&&</span>
<span class="pl-s1">specified_types</span>[<span class="pl-s1">j</span>] <span class="pl-c1">!=</span> <span class="pl-c1">NPY_NOTYPE</span>) {
<span class="pl-s1">matched</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span>;
<span class="pl-k">break</span>;
}
}
} <span class="pl-k">else</span> {
<span class="pl-k">if</span> (<span class="pl-s1">types</span>[<span class="pl-s1">nin</span>] <span class="pl-c1">!=</span> <span class="pl-s1">specified_types</span>[<span class="pl-c1">0</span>]) {
<span class="pl-s1">matched</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span>;
}
}
<span class="pl-k">if</span> (!<span class="pl-s1">matched</span>) {
<span class="pl-k">continue</span>;
}
<span class="pl-k">switch</span> (<span class="pl-en">ufunc_loop_matches</span>(<span class="pl-s1">self</span>, <span class="pl-s1">op</span>,
<span class="pl-s1">casting</span>, <span class="pl-s1">casting</span>,
<span class="pl-s1">any_object</span>, <span class="pl-s1">use_min_scalar</span>,
<span class="pl-s1">types</span>, <span class="pl-c1">NULL</span>,
<span class="pl-c1">&</span><span class="pl-s1">no_castable_output</span>, <span class="pl-c1">&</span><span class="pl-s1">err_src_typecode</span>,
<span class="pl-c1">&</span><span class="pl-s1">err_dst_typecode</span>)) {
<span class="pl-c">/* It works */</span>
<span class="pl-k">case</span> <span class="pl-c1">1</span>:
<span class="pl-en">set_ufunc_loop_data_types</span>(<span class="pl-s1">self</span>, <span class="pl-s1">op</span>,
<span class="pl-s1">out_dtype</span>, <span class="pl-s1">types</span>, <span class="pl-c1">NULL</span>);
<span class="pl-k">return</span> <span class="pl-c1">1</span>;
<span class="pl-c">/* Didn't match */</span>
<span class="pl-k">case</span> <span class="pl-c1">0</span>:
<span class="pl-en">PyErr_Format</span>(<span class="pl-s1">PyExc_TypeError</span>,
<span class="pl-s">"found a user loop for ufunc '%s' "</span>
<span class="pl-s">"matching the type-tuple, "</span>
<span class="pl-s">"but the inputs and/or outputs could not be "</span>
<span class="pl-s">"cast according to the casting rule"</span>,
<span class="pl-s1">self</span><span class="pl-c1">-></span><span class="pl-c1">name</span> ? <span class="pl-s1">self</span><span class="pl-c1">-></span><span class="pl-c1">name</span> : <span class="pl-s">"(unknown)"</span>);
<span class="pl-k">return</span> <span class="pl-c1">-1</span>;
<span class="pl-c">/* Error */</span>
<span class="pl-k">case</span> <span class="pl-c1">-1</span>:
<span class="pl-k">return</span> <span class="pl-c1">-1</span>;
}
<span class="pl-s1">funcdata</span> <span class="pl-c1">=</span> <span class="pl-s1">funcdata</span><span class="pl-c1">-></span><span class="pl-c1">next</span>;
}</pre></div>
<p dir="auto">I see that if matched = 0, then the loop does a "continue" without updating the funcdata. Thus funcdata is never null and will run forever.</p> | <p dir="auto">In relation to <a href="https://github.com/moble/quaternion/issues/54" data-hovercard-type="issue" data-hovercard-url="/moble/quaternion/issues/54/hovercard">a bug filed on my numpy quaternion package</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eric-wieser/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eric-wieser">@eric-wieser</a> found a bug in numpy. He reports an infinite loop in <code class="notranslate">type_tuple_userloop_type_resolver</code>. I don't actually understand that code, but I guess he's talking about the <code class="notranslate">continue</code> statement in <a href="https://github.com/numpy/numpy/blob/master/numpy/core/src/umath/ufunc_type_resolution.c#L1796">this loop</a> short-circuiting the <code class="notranslate">funcdata = funcdata->next</code> statement, which means the loop condition doesn't change between iterations.</p>
<p dir="auto">Presumably, that bug needs to be fixed regardless, but (not really understanding numpy's internals) I wonder if I could have also done something in the quaternion package to avoid this problem. My package attempts to add a new dtype to numpy, so maybe it also needs to update some internal list of dtypes that numpy maintains??? If so, I welcome comments.</p> | 1 |
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: N/A</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Linux Ubuntu 18.04</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: source</li>
<li><strong>TensorFlow version (use command below)</strong>: master <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/51ef16057b4625e0a3e2943a9f1bbf856cf098ca/hovercard" href="https://github.com/tensorflow/tensorflow/commit/51ef16057b4625e0a3e2943a9f1bbf856cf098ca"><tt>51ef160</tt></a></li>
<li><strong>Python version</strong>: 3.6.5</li>
<li><strong>Bazel version (if compiling from source)</strong>: 0.13.0 (Irrelevant)</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: 7.3.0</li>
<li><strong>CUDA/cuDNN version</strong>: N/A</li>
<li><strong>GPU model and memory</strong>: N/A</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ../tensorflow/contrib/cmake
$ make -j 4
"><pre class="notranslate"><code class="notranslate">$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ../tensorflow/contrib/cmake
$ make -j 4
</code></pre></div>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">While trying to build tensorflow with cmake (CPU only) it looks like build is broken. From the log it seems that there are some eager dependency issues.</p>
<h3 dir="auto">Source code / logs</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# mkdir build && cd build
# cmake -DCMAKE_BUILD_TYPE=Release ../tensorflow/contrib/cmake
# make -j 4
[ 99%] Building CXX object CMakeFiles/summarize_graph.dir/home/ubuntu/tensorflow/tensorflow/tools/graph_transforms/summarize_graph_main.cc.o
[ 99%] Linking CXX executable summarize_graph
CMakeFiles/tf_core_cpu.dir/home/ubuntu/tensorflow/tensorflow/core/common_runtime/eager/eager_operation.cc.o: In function `tensorflow::EagerOperation::AddInput(tensorflow::TensorHandle*)':
eager_operation.cc:(.text+0x23b): undefined reference to `tensorflow::AttrBuilder::NumInputs(int)'
CMakeFiles/tf_core_cpu.dir/home/ubuntu/tensorflow/tensorflow/core/common_runtime/eager/execute.cc.o: In function `tensorflow::EagerExecute(tensorflow::EagerOperation*, tensorflow::gtl::InlinedVector<tensorflow::TensorHandle*, 2>*, int*)':
execute.cc:(.text+0x2bf4): undefined reference to `tensorflow::AttrBuilder::CacheKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
execute.cc:(.text+0x32f4): undefined reference to `tensorflow::AttrBuilder::BuildNodeDef()'
execute.cc:(.text+0x4e3a): undefined reference to `tensorflow::OpDefForOp(char const*, tensorflow::OpDef const**)'
collect2: error: ld returned 1 exit status
CMakeFiles/summarize_graph.dir/build.make:2164: recipe for target 'summarize_graph' failed
make[2]: *** [summarize_graph] Error 1
CMakeFiles/Makefile2:2214: recipe for target 'CMakeFiles/summarize_graph.dir/all' failed
make[1]: *** [CMakeFiles/summarize_graph.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2"><pre class="notranslate"><code class="notranslate"># mkdir build && cd build
# cmake -DCMAKE_BUILD_TYPE=Release ../tensorflow/contrib/cmake
# make -j 4
[ 99%] Building CXX object CMakeFiles/summarize_graph.dir/home/ubuntu/tensorflow/tensorflow/tools/graph_transforms/summarize_graph_main.cc.o
[ 99%] Linking CXX executable summarize_graph
CMakeFiles/tf_core_cpu.dir/home/ubuntu/tensorflow/tensorflow/core/common_runtime/eager/eager_operation.cc.o: In function `tensorflow::EagerOperation::AddInput(tensorflow::TensorHandle*)':
eager_operation.cc:(.text+0x23b): undefined reference to `tensorflow::AttrBuilder::NumInputs(int)'
CMakeFiles/tf_core_cpu.dir/home/ubuntu/tensorflow/tensorflow/core/common_runtime/eager/execute.cc.o: In function `tensorflow::EagerExecute(tensorflow::EagerOperation*, tensorflow::gtl::InlinedVector<tensorflow::TensorHandle*, 2>*, int*)':
execute.cc:(.text+0x2bf4): undefined reference to `tensorflow::AttrBuilder::CacheKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
execute.cc:(.text+0x32f4): undefined reference to `tensorflow::AttrBuilder::BuildNodeDef()'
execute.cc:(.text+0x4e3a): undefined reference to `tensorflow::OpDefForOp(char const*, tensorflow::OpDef const**)'
collect2: error: ld returned 1 exit status
CMakeFiles/summarize_graph.dir/build.make:2164: recipe for target 'summarize_graph' failed
make[2]: *** [summarize_graph] Error 1
CMakeFiles/Makefile2:2214: recipe for target 'CMakeFiles/summarize_graph.dir/all' failed
make[1]: *** [CMakeFiles/summarize_graph.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
</code></pre></div> | <p dir="auto">-Have I written custom code (as opposed to using a stock example script provided in TensorFlow) : NO</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OS Platform and Distribution : WINDOWS 10
-TensorFlow installed from (source or binary) : git clone
TensorFlow version (use command below) :"><pre class="notranslate"><code class="notranslate">OS Platform and Distribution : WINDOWS 10
-TensorFlow installed from (source or binary) : git clone
TensorFlow version (use command below) :
</code></pre></div>
<p dir="auto">commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/eeab2c867faa0f10dfea8635d1e87009844f902e/hovercard" href="https://github.com/tensorflow/tensorflow/commit/eeab2c867faa0f10dfea8635d1e87009844f902e"><tt>eeab2c8</tt></a> (HEAD -> master, origin/master, origin/HEAD)<br>
Merge: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/daecc72653e81d3c4592ad4ab246275a2cbd2712/hovercard" href="https://github.com/tensorflow/tensorflow/commit/daecc72653e81d3c4592ad4ab246275a2cbd2712"><tt>daecc72</tt></a> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/9a4879660f45e9237aeeee122b9aa0cc89cb097a/hovercard" href="https://github.com/tensorflow/tensorflow/commit/9a4879660f45e9237aeeee122b9aa0cc89cb097a"><tt>9a48796</tt></a><br>
Author: Shanqing Cai <a href="mailto:[email protected]">[email protected]</a><br>
Date: Fri May 4 21:34:58 2018 -0400</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Merge pull request #19090 from caisq/branch_195443326
Branch 195443326
Python version : 3.6.4
Bazel version (if compiling from source) : NO using CMAKE 3.11.0
GCC/Compiler version (if compiling from source): VS 2017 version 15.6.3
CUDA/cuDNN version: no only cpu version
GPU model and memory : NOT USE
Exact command to reproduce :"><pre class="notranslate"><code class="notranslate">Merge pull request #19090 from caisq/branch_195443326
Branch 195443326
Python version : 3.6.4
Bazel version (if compiling from source) : NO using CMAKE 3.11.0
GCC/Compiler version (if compiling from source): VS 2017 version 15.6.3
CUDA/cuDNN version: no only cpu version
GPU model and memory : NOT USE
Exact command to reproduce :
</code></pre></div>
<p dir="auto">Use cmake : cmakecache is [CMakeCache.txt](<a href="https://github.com/tensorflow/tensorflow/files/1979573/CMakeCache.tx">https://github.com/tensorflow/tensorflow/files/1979573/CMakeCache.tx</a><br>
I open my own issue : previous one was issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="319272932" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/19004" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/19004/hovercard" href="https://github.com/tensorflow/tensorflow/issues/19004">#19004</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ctraina/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ctraina">@ctraina</a> does not answer<br>
t)</p>
<p dir="auto">full error message :<br>
<a href="https://github.com/tensorflow/tensorflow/files/1979582/tferror.txt">tferror.txt</a></p>
<p dir="auto">Error message</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\execute.obj 1
Error LNK1120 4 unresolved externals transform_graph F:\lib\build\tensorflow\Release\transform_graph.exe 1
Error LNK1120 4 unresolved externals benchmark_model F:\lib\build\tensorflow\Release\benchmark_model.exe 1
Error LNK1120 4 unresolved externals tf_tutorials_example_trainer F:\lib\build\tensorflow\Release\tf_tutorials_example_trainer.exe 1
Error LNK1120 4 unresolved externals tf_label_image_example F:\lib\build\tensorflow\Release\tf_label_image_example.exe 1
Error LNK1120 4 unresolved externals compare_graphs F:\lib\build\tensorflow\Release\compare_graphs.exe 1
Error LNK1120 4 unresolved externals grpc_tensorflow_server F:\lib\build\tensorflow\Release\grpc_tensorflow_server.exe 1
Error LNK1120 4 unresolved externals summarize_graph F:\lib\build\tensorflow\Release\summarize_graph.exe 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _periodic_resample_op F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _nearest_neighbor_ops F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _beam_search_ops F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _gru_ops F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _lstm_ops F:\lib\build\tensorflow\LINK 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) benchmark_model F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) transform_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_label_image_example F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) compare_graphs F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) grpc_tensorflow_server F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) summarize_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) benchmark_model F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) transform_graph F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) tf_label_image_example F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) compare_graphs F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) grpc_tensorflow_server F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) summarize_graph F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) benchmark_model F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) transform_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_label_image_example F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) compare_graphs F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) grpc_tensorflow_server F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) summarize_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) benchmark_model F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) transform_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_label_image_example F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) compare_graphs F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) grpc_tensorflow_server F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) summarize_graph F:\lib\build\tensorflow\execute.obj 1 "><pre class="notranslate"><code class="notranslate">Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\execute.obj 1
Error LNK1120 4 unresolved externals transform_graph F:\lib\build\tensorflow\Release\transform_graph.exe 1
Error LNK1120 4 unresolved externals benchmark_model F:\lib\build\tensorflow\Release\benchmark_model.exe 1
Error LNK1120 4 unresolved externals tf_tutorials_example_trainer F:\lib\build\tensorflow\Release\tf_tutorials_example_trainer.exe 1
Error LNK1120 4 unresolved externals tf_label_image_example F:\lib\build\tensorflow\Release\tf_label_image_example.exe 1
Error LNK1120 4 unresolved externals compare_graphs F:\lib\build\tensorflow\Release\compare_graphs.exe 1
Error LNK1120 4 unresolved externals grpc_tensorflow_server F:\lib\build\tensorflow\Release\grpc_tensorflow_server.exe 1
Error LNK1120 4 unresolved externals summarize_graph F:\lib\build\tensorflow\Release\summarize_graph.exe 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _periodic_resample_op F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _nearest_neighbor_ops F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _beam_search_ops F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _gru_ops F:\lib\build\tensorflow\LINK 1
Error LNK1181 cannot open input file '\pywrap_tensorflow_internal.lib' _lstm_ops F:\lib\build\tensorflow\LINK 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) benchmark_model F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) transform_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_label_image_example F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) compare_graphs F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) grpc_tensorflow_server F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "class tensorflow::Status __cdecl tensorflow::OpDefForOp(char const *,class tensorflow::OpDef const * *)" (?OpDefForOp@tensorflow@@YA?AVStatus@1@PEBDPEAPEBVOpDef@1@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) summarize_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) benchmark_model F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) transform_graph F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) tf_label_image_example F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) compare_graphs F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) grpc_tensorflow_server F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::AttrBuilder & __cdecl tensorflow::AttrBuilder::NumInputs(int)" (?NumInputs@AttrBuilder@tensorflow@@QEAAAEAV12@H@Z) referenced in function "public: void __cdecl tensorflow::EagerOperation::AddInput(class tensorflow::TensorHandle *)" (?AddInput@EagerOperation@tensorflow@@QEAAXPEAVTensorHandle@2@@Z) summarize_graph F:\lib\build\tensorflow\eager_operation.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) benchmark_model F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) transform_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_label_image_example F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) compare_graphs F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) grpc_tensorflow_server F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: class tensorflow::NodeDef const & __cdecl tensorflow::AttrBuilder::BuildNodeDef(void)" (?BuildNodeDef@AttrBuilder@tensorflow@@QEAAAEBVNodeDef@2@XZ) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) summarize_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_tutorials_example_trainer F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) benchmark_model F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) transform_graph F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) tf_label_image_example F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) compare_graphs F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) grpc_tensorflow_server F:\lib\build\tensorflow\execute.obj 1
Error LNK2019 unresolved external symbol "public: struct tensorflow::Fprint128 __cdecl tensorflow::AttrBuilder::CacheKey(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?CacheKey@AttrBuilder@tensorflow@@QEBA?AUFprint128@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class tensorflow::Status __cdecl tensorflow::EagerExecute(class tensorflow::EagerOperation *,class tensorflow::gtl::InlinedVector<class tensorflow::TensorHandle *,2> *,int *)" (?EagerExecute@tensorflow@@YA?AVStatus@1@PEAVEagerOperation@1@PEAV?$InlinedVector@PEAVTensorHandle@tensorflow@@$01@gtl@1@PEAH@Z) summarize_graph F:\lib\build\tensorflow\execute.obj 1
</code></pre></div> | 1 |
<p dir="auto">I began the challenge for reverses in the object oriented part of Java. As soon as I began typing "function" the screen froze and I was unable to navigate away from the page, or perform any actions within the page. I can still operate outside of that page, even while the page is frozen, so I don't think it's the browser (chrome). I quit chrome, logged out and restarted my computer and the issue persists. Hoping something can be done about it so I can continue on. Having lots of fun and love your service !</p> | <p dir="auto">This issue probably exists somewhere, but adding a function below a bonfire's default code will crash the browser.</p>
<p dir="auto">Adding a function above a Bonfire's default code doesn't cause any problems.</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18945.1001]
Windows Terminal version (if applicable): 0.3.2142.0
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18945.1001]
Windows Terminal version (if applicable): 0.3.2142.0
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Run Windows Terminal as an administrator.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The program's name should show up correctly in the UAC prompt.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The UAC prompt calls it "Unknown program" rather than "Windows Terminal". However, it's detected as a signed application and the icon is shown correctly.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/482367/62536495-69976480-b84e-11e9-9ec5-40386822a3ea.png"><img src="https://user-images.githubusercontent.com/482367/62536495-69976480-b84e-11e9-9ec5-40386822a3ea.png" alt="Screenshot of UAC prompt" style="max-width: 100%;"></a></p> | <h2 dir="auto">Environment</h2>
<p dir="auto">Windows build number: 10.0.18362.175<br>
Windows Terminal: built from master <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/terminal/commit/af1a4dd068171c7cbbca42c69082fef3ba501efc/hovercard" href="https://github.com/microsoft/terminal/commit/af1a4dd068171c7cbbca42c69082fef3ba501efc"><tt>af1a4dd</tt></a></p>
<h2 dir="auto">Steps to reproduce</h2>
<p dir="auto">In a powershell window, execute the command <code class="notranslate">Get-Credential</code></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">The credential dialog should open and be interactive; I should be able to enter inputs and close the dialog.</p>
<h2 dir="auto">Actual behavior</h2>
<p dir="auto">The credential dialog appears and can be dragged around, but no buttons or input fields on it are responsive. It also blocks the rest of the terminal, requiring me to kill and restart the entire terminal.</p>
<p dir="auto">This happens even when launching terminal as admin.</p>
<p dir="auto">Other GUI dialogs (Show-Command) work as expected, but I haven't tried with any other blocking dialogs.</p> | 0 |
<p dir="auto">When i'm executing vagrant up, appears this error.<br>
My Ansible version is: ansible_1.9.4-1</p>
<blockquote>
<p dir="auto">TASK: [bootstrap_containers | start database container] ***********************<br>
failed: [localhost] => {"failed": true, "parsed": false}<br>
BECOME-SUCCESS-vaydnjxmsrquhcgfpksenczprilvozqn<br>
Traceback (most recent call last):<br>
File "/home/vagrant/.ansible/tmp/ansible-tmp-1484822873.61-187869719276661/docker", line 3185, in <br>
main()<br>
File "/home/vagrant/.ansible/tmp/ansible-tmp-1484822873.61-187869719276661/docker", line 1513, in main<br>
manager = DockerManager(module)<br>
File "/home/vagrant/.ansible/tmp/ansible-tmp-1484822873.61-187869719276661/docker", line 635, in <strong>init</strong><br>
self.client = docker.Client(base_url=docker_url,<br>
AttributeError: 'module' object has no attribute 'Client'</p>
<p dir="auto">FATAL: all hosts have already failed -- aborting</p>
<p dir="auto">PLAY RECAP ********************************************************************<br>
to retry, use: --limit @/home/vagrant/bootstrap.retry</p>
<p dir="auto">localhost : ok=1 changed=0 unreachable=0 failed=1</p>
<p dir="auto">Ansible failed to complete successfully. Any error output should be<br>
visible above. Please fix these errors and try again.</p>
</blockquote>
<p dir="auto">I tried everything, but nothing appears to solve the problem</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.1.0.0"><pre class="notranslate"><code class="notranslate">ansible 2.1.0.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ set | grep ANSIBLE
ANSIBLE_CONFIG=/home/jim.smith/.ansible/ansible.cfg
ANSIBLE_FORCE_COLOR=true
ANSIBLE_HOSTS=/home/jim.smith/.ansible/aws/ec2.py
ANSIBLE_HOST_KEY_CHECKING=False
ANSIBLE_SSH_ARGS='-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ANSIBLE_TRANSPORT=ssh
export ANSIBLE_HOSTS=~/.ansible/aws/ec2.py;
export ANSIBLE_HOST_KEY_CHECKING="False";
export ANSIBLE_TRANSPORT="ssh";
export ANSIBLE_SSH_ARGS="-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null";
export ANSIBLE_CONFIG=~/.ansible/ansible.cfg;
export ANSIBLE_FORCE_COLOR=true;
$ANSIBLE_HOSTS --refresh-cache > /dev/null;
export ANSIBLE_HOST_KEY_CHECKING="False""><pre class="notranslate"><code class="notranslate">$ set | grep ANSIBLE
ANSIBLE_CONFIG=/home/jim.smith/.ansible/ansible.cfg
ANSIBLE_FORCE_COLOR=true
ANSIBLE_HOSTS=/home/jim.smith/.ansible/aws/ec2.py
ANSIBLE_HOST_KEY_CHECKING=False
ANSIBLE_SSH_ARGS='-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ANSIBLE_TRANSPORT=ssh
export ANSIBLE_HOSTS=~/.ansible/aws/ec2.py;
export ANSIBLE_HOST_KEY_CHECKING="False";
export ANSIBLE_TRANSPORT="ssh";
export ANSIBLE_SSH_ARGS="-o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null";
export ANSIBLE_CONFIG=~/.ansible/ansible.cfg;
export ANSIBLE_FORCE_COLOR=true;
$ANSIBLE_HOSTS --refresh-cache > /dev/null;
export ANSIBLE_HOST_KEY_CHECKING="False"
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CentOS release 6.7 (Final) 64bit"><pre class="notranslate"><code class="notranslate">CentOS release 6.7 (Final) 64bit
</code></pre></div>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Modifying RDS multi_zone to no doesn't do anything.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Change RDS Multi-AZ deployment
local_action:
module: rds
command: modify
region: "{{ aws_region }}"
instance_name: "{{ aws_db_instance_name }}"
multi_zone: "{{ aws_db_multi_zone }}"
apply_immediately: yes
wait: yes
wait_timeout: "{{ aws_db_wait_timeout }}"
register: modify_rds_multi_az
- debug: var=modify_rds_multi_az
- name: Wait for a minute for the API call to get actioned so the instance is available but modifying
pause: minutes=1
- name: Poll RDS change
local_action:
module : rds
command: facts
region: "{{ aws_region }}"
instance_name: "{{ aws_db_instance_name }}"
register: rds_facts_after
until : rds_facts_after.instance['status'] == 'available'
retries: 60
delay: 60
- debug: var=rds_facts_after
- debug: msg="vars {{ aws_db_instance_name }} {{ aws_db_multi_zone }} {{ aws_region}} {{ aws_db_wait_timeout }}"
- debug: var=rds_facts_after.instance['status']
"><pre class="notranslate"><code class="notranslate">- name: Change RDS Multi-AZ deployment
local_action:
module: rds
command: modify
region: "{{ aws_region }}"
instance_name: "{{ aws_db_instance_name }}"
multi_zone: "{{ aws_db_multi_zone }}"
apply_immediately: yes
wait: yes
wait_timeout: "{{ aws_db_wait_timeout }}"
register: modify_rds_multi_az
- debug: var=modify_rds_multi_az
- name: Wait for a minute for the API call to get actioned so the instance is available but modifying
pause: minutes=1
- name: Poll RDS change
local_action:
module : rds
command: facts
region: "{{ aws_region }}"
instance_name: "{{ aws_db_instance_name }}"
register: rds_facts_after
until : rds_facts_after.instance['status'] == 'available'
retries: 60
delay: 60
- debug: var=rds_facts_after
- debug: msg="vars {{ aws_db_instance_name }} {{ aws_db_multi_zone }} {{ aws_region}} {{ aws_db_wait_timeout }}"
- debug: var=rds_facts_after.instance['status']
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">AWS Console showing the RDS database being modified for No multi-az</p>
<p dir="auto">Gathering rds facts for "multi_zone": false,</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">AWS Console show's no modification, cloudtrail show's no API requests.<br>
rds facts module reports "multi_zone": true,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [modify_multi_zone : Change RDS Multi-AZ deployment] **********************
task path: /home/jim.smith/modify_multi_zone/tasks/main.yml:8
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jim.smith
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593 `" && echo ansible-tmp-1467897722.6-238584385008593="` echo $HOME/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593 `" ) && sleep 0'
<localhost> PUT /tmp/tmpRagNjF TO /home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/rds
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/rds; rm -rf "/home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/" > /dev/null 2>&1 && sleep 0'
changed: [localhost -> localhost] => {"changed": true, "instance": {"availability_zone": "eu-west-1a", "backup_retention": 30, "create_time": 1461930783.596, "endpoint": "REMOVED.eu-west-1.rds.amazonaws.com", "id": "REMOVED-prod-db1", "instance_type": "db.t2.small", "iops": null, "maintenance_window": "mon:00:00-mon:01:15", "multi_zone": true, "port": 3306, "replication_source": null, "status": "available", "username": "root", "vpc_security_groups": "sg-REMOVED"}, "invocation": {"module_args": {"apply_immediately": true, "aws_access_key": null, "aws_secret_key": null, "backup_retention": null, "backup_window": null, "character_set_name": null, "command": "modify", "db_engine": null, "db_name": null, "ec2_url": null, "engine_version": null, "force_failover": false, "instance_name": "REMOVED-prod-db1", "instance_type": null, "iops": null, "license_model": null, "maint_window": null, "multi_zone": false, "new_instance_name": null, "option_group": null, "parameter_group": null, "password": null, "port": null, "profile": null, "publicly_accessible": null, "region": "eu-west-1", "security_groups": null, "security_token": null, "size": null, "snapshot": null, "source_instance": null, "subnet": null, "tags": null, "upgrade": false, "username": null, "validate_certs": true, "vpc_security_groups": null, "wait": true, "wait_timeout": 2400, "zone": null}, "module_name": "rds"}}
"><pre class="notranslate"><code class="notranslate">TASK [modify_multi_zone : Change RDS Multi-AZ deployment] **********************
task path: /home/jim.smith/modify_multi_zone/tasks/main.yml:8
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jim.smith
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593 `" && echo ansible-tmp-1467897722.6-238584385008593="` echo $HOME/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593 `" ) && sleep 0'
<localhost> PUT /tmp/tmpRagNjF TO /home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/rds
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/rds; rm -rf "/home/jim.smith/.ansible/tmp/ansible-tmp-1467897722.6-238584385008593/" > /dev/null 2>&1 && sleep 0'
changed: [localhost -> localhost] => {"changed": true, "instance": {"availability_zone": "eu-west-1a", "backup_retention": 30, "create_time": 1461930783.596, "endpoint": "REMOVED.eu-west-1.rds.amazonaws.com", "id": "REMOVED-prod-db1", "instance_type": "db.t2.small", "iops": null, "maintenance_window": "mon:00:00-mon:01:15", "multi_zone": true, "port": 3306, "replication_source": null, "status": "available", "username": "root", "vpc_security_groups": "sg-REMOVED"}, "invocation": {"module_args": {"apply_immediately": true, "aws_access_key": null, "aws_secret_key": null, "backup_retention": null, "backup_window": null, "character_set_name": null, "command": "modify", "db_engine": null, "db_name": null, "ec2_url": null, "engine_version": null, "force_failover": false, "instance_name": "REMOVED-prod-db1", "instance_type": null, "iops": null, "license_model": null, "maint_window": null, "multi_zone": false, "new_instance_name": null, "option_group": null, "parameter_group": null, "password": null, "port": null, "profile": null, "publicly_accessible": null, "region": "eu-west-1", "security_groups": null, "security_token": null, "size": null, "snapshot": null, "source_instance": null, "subnet": null, "tags": null, "upgrade": false, "username": null, "validate_certs": true, "vpc_security_groups": null, "wait": true, "wait_timeout": 2400, "zone": null}, "module_name": "rds"}}
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [modify_multi_zone : debug] ***********************************************
task path: /home/jim.smith/modify_multi_zone/tasks/main.yml:34
ok: [localhost] => {
"rds_facts_after": {
"changed": false,
"instance": {
"availability_zone": "eu-west-1a",
"backup_retention": 30,
"create_time": 1461930783.596,
"endpoint": "RMOVED.eu-west-1.rds.amazonaws.com",
"id": "REMOVED-prod-db1",
"instance_type": "db.t2.small",
"iops": null,
"maintenance_window": "mon:00:00-mon:01:15",
"multi_zone": true,
"port": 3306,
"replication_source": null,
"status": "available",
"username": "root",
"vpc_security_groups": "sg-REMOVED"
}
}
}"><pre class="notranslate"><code class="notranslate">TASK [modify_multi_zone : debug] ***********************************************
task path: /home/jim.smith/modify_multi_zone/tasks/main.yml:34
ok: [localhost] => {
"rds_facts_after": {
"changed": false,
"instance": {
"availability_zone": "eu-west-1a",
"backup_retention": 30,
"create_time": 1461930783.596,
"endpoint": "RMOVED.eu-west-1.rds.amazonaws.com",
"id": "REMOVED-prod-db1",
"instance_type": "db.t2.small",
"iops": null,
"maintenance_window": "mon:00:00-mon:01:15",
"multi_zone": true,
"port": 3306,
"replication_source": null,
"status": "available",
"username": "root",
"vpc_security_groups": "sg-REMOVED"
}
}
}
</code></pre></div> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="type a struct {
B struct{}
}
func (a) C() {}
type D struct {
a
}"><pre class="notranslate"><code class="notranslate">type a struct {
B struct{}
}
func (a) C() {}
type D struct {
a
}
</code></pre></div>
<p dir="auto">godoc will show C, but not B. B is accessible, comes up with various auto-complete tools etc.</p> | <pre class="notranslate">Within my code, I have the following structure.
type common struct {
Option1 bool
}
func (c *common) Method1() {
}
type A struct {
OptionA int
common
}
type B struct {
OptionB int
common
}
I want godoc to show that type A and type B have field Option1 available, and Method1 in
their method sets.
However, godoc would not show Option1, because common is not exported. It however show
Method1 (the full method set).
The only current workaround is to export common (which really is an internal
implementation detail), or duplicate the functionality across all types that share it.
TO fix, godoc should show these promoted fields got from unexported anonymous fields.
For example, godoc output for A could look like:
type A struct {
OptionA int
// contains filtered or unexported fields
// Available from unexported anonymous fields
Option1 bool
}
Which version are you using? (run 'go version')
go version devel +47b2b07a837f Fri Oct 11 16:39:40 2013 -0700 linux/amd64
Please provide any additional information below.</pre> | 1 |
<h2 dir="auto">To Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
class Model(torch.jit.ScriptModule):
@torch.jit.script_method
def forward(self, input):
# type: (Tensor) -> Tensor
return input
class TupleModel(Model):
@torch.jit.script_method
def forward(self, input):
# type: (Tuple[Tensor, Tensor]) -> Tuple[Tensor, Tensor]
return input
m1 = Model()
m2 = TupleModel()
x = torch.randn(3, 3)
m1(x)
m2((x, x))
RuntimeError: Method 'forward' already defined (insert at ../torch/csrc/api/include/torch/ordered_dict.h:359)"><pre class="notranslate"><code class="notranslate">import torch
class Model(torch.jit.ScriptModule):
@torch.jit.script_method
def forward(self, input):
# type: (Tensor) -> Tensor
return input
class TupleModel(Model):
@torch.jit.script_method
def forward(self, input):
# type: (Tuple[Tensor, Tensor]) -> Tuple[Tensor, Tensor]
return input
m1 = Model()
m2 = TupleModel()
x = torch.randn(3, 3)
m1(x)
m2((x, x))
RuntimeError: Method 'forward' already defined (insert at ../torch/csrc/api/include/torch/ordered_dict.h:359)
</code></pre></div>
<p dir="auto">I've seen one case where this errors out silently and I get incorrect behavior. I am not putting it here because it is a really big case, I will try to shorten it if it is of interest.</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">No crash</p> | <p dir="auto">Code example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
class Base(torch.jit.ScriptModule):
def __init__(self):
super().__init__()
@torch.jit.script_method
def forward(self, x):
for i in range(x.size(0)):
x += x[i].sum()
return x
class Derived(Base):
def __init__(self):
super().__init__()
@torch.jit.script_method
def forward(self, x):
for i in range(x.size(0)):
x -= x[i].sum()
return x
d = Derived()
print(d(torch.rand(3, 4)))
"><pre class="notranslate"><code class="notranslate">import torch
class Base(torch.jit.ScriptModule):
def __init__(self):
super().__init__()
@torch.jit.script_method
def forward(self, x):
for i in range(x.size(0)):
x += x[i].sum()
return x
class Derived(Base):
def __init__(self):
super().__init__()
@torch.jit.script_method
def forward(self, x):
for i in range(x.size(0)):
x -= x[i].sum()
return x
d = Derived()
print(d(torch.rand(3, 4)))
</code></pre></div>
<p dir="auto">Fails with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "subclass.py", line 24, in <module>
d = Derived()
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/jit/__init__.py", line 591, in init_then_register
self._create_methods(defs, rcbs)
RuntimeError: Method 'forward' already defined (insert at ../torch/csrc/api/include/torch/detail/ordered_dict.h:140)
frame #0: torch::jit::script::Module::create_method(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::function<void (torch::jit::script::Method&)>) + 428 (0x112cceaec in libtorch.dylib)
frame #1: torch::jit::script::defineMethodsInModule(torch::jit::script::Module&, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<std::__1::shared_ptr<torch::jit::script::SugaredValue> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, torch::jit::script::Method&, torch::jit::SourceRange const&)>, std::__1::allocator<std::__1::function<std::__1::shared_ptr<torch::jit::script::SugaredValue> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, torch::jit::script::Method&, torch::jit::SourceRange const&)> > > const&, std::__1::shared_ptr<torch::jit::script::SugaredValue>) + 947 (0x112ccd9b3 in libtorch.dylib)
frame #2: torch::jit::script::initJitScriptBindings(_object*)::$_3::operator()(std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&) const + 1702 (0x110668906 in _C.cpython-36m-darwin.so)
frame #3: void pybind11::detail::argument_loader<std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&>::call_impl<void, torch::jit::script::initJitScriptBindings(_object*)::$_3&, 0ul, 1ul, 2ul, pybind11::detail::void_type>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&&, pybind11::detail::index_sequence<0ul, 1ul, 2ul>, pybind11::detail::void_type&&) + 396 (0x11066821c in _C.cpython-36m-darwin.so)
frame #4: std::__1::enable_if<std::is_void<void>::value, pybind11::detail::void_type>::type pybind11::detail::argument_loader<std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&>::call<void, pybind11::detail::void_type, torch::jit::script::initJitScriptBindings(_object*)::$_3&>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&&) + 49 (0x110664071 in _C.cpython-36m-darwin.so)
frame #5: void pybind11::cpp_function::initialize<torch::jit::script::initJitScriptBindings(_object*)::$_3, void, std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&, void (*)(std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const + 251 (0x110663f4b in _C.cpython-36m-darwin.so)
frame #6: void pybind11::cpp_function::initialize<torch::jit::script::initJitScriptBindings(_object*)::$_3, void, std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&, void (*)(std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::__invoke(pybind11::detail::function_call&) + 24 (0x110663e38 in _C.cpython-36m-darwin.so)
frame #7: pybind11::cpp_function::dispatcher(_object*, _object*, _object*) + 6919 (0x10ff05a57 in _C.cpython-36m-darwin.so)
<omitting python frames>
frame #27: start + 1 (0x7fff5ec53015 in libdyld.dylib)
"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "subclass.py", line 24, in <module>
d = Derived()
File "/Users/jamesreed/onnx-fairseq/pytorch/torch/jit/__init__.py", line 591, in init_then_register
self._create_methods(defs, rcbs)
RuntimeError: Method 'forward' already defined (insert at ../torch/csrc/api/include/torch/detail/ordered_dict.h:140)
frame #0: torch::jit::script::Module::create_method(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::function<void (torch::jit::script::Method&)>) + 428 (0x112cceaec in libtorch.dylib)
frame #1: torch::jit::script::defineMethodsInModule(torch::jit::script::Module&, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<std::__1::shared_ptr<torch::jit::script::SugaredValue> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, torch::jit::script::Method&, torch::jit::SourceRange const&)>, std::__1::allocator<std::__1::function<std::__1::shared_ptr<torch::jit::script::SugaredValue> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, torch::jit::script::Method&, torch::jit::SourceRange const&)> > > const&, std::__1::shared_ptr<torch::jit::script::SugaredValue>) + 947 (0x112ccd9b3 in libtorch.dylib)
frame #2: torch::jit::script::initJitScriptBindings(_object*)::$_3::operator()(std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&) const + 1702 (0x110668906 in _C.cpython-36m-darwin.so)
frame #3: void pybind11::detail::argument_loader<std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&>::call_impl<void, torch::jit::script::initJitScriptBindings(_object*)::$_3&, 0ul, 1ul, 2ul, pybind11::detail::void_type>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&&, pybind11::detail::index_sequence<0ul, 1ul, 2ul>, pybind11::detail::void_type&&) + 396 (0x11066821c in _C.cpython-36m-darwin.so)
frame #4: std::__1::enable_if<std::is_void<void>::value, pybind11::detail::void_type>::type pybind11::detail::argument_loader<std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&>::call<void, pybind11::detail::void_type, torch::jit::script::initJitScriptBindings(_object*)::$_3&>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&&) + 49 (0x110664071 in _C.cpython-36m-darwin.so)
frame #5: void pybind11::cpp_function::initialize<torch::jit::script::initJitScriptBindings(_object*)::$_3, void, std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&, void (*)(std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::operator()(pybind11::detail::function_call&) const + 251 (0x110663f4b in _C.cpython-36m-darwin.so)
frame #6: void pybind11::cpp_function::initialize<torch::jit::script::initJitScriptBindings(_object*)::$_3, void, std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::script::initJitScriptBindings(_object*)::$_3&&, void (*)(std::__1::shared_ptr<torch::jit::script::Module>, std::__1::vector<torch::jit::script::Def, std::__1::allocator<torch::jit::script::Def> > const&, std::__1::vector<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, std::__1::allocator<std::__1::function<pybind11::function (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> > > const&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::'lambda'(pybind11::detail::function_call&)::__invoke(pybind11::detail::function_call&) + 24 (0x110663e38 in _C.cpython-36m-darwin.so)
frame #7: pybind11::cpp_function::dispatcher(_object*, _object*, _object*) + 6919 (0x10ff05a57 in _C.cpython-36m-darwin.so)
<omitting python frames>
frame #27: start + 1 (0x7fff5ec53015 in libdyld.dylib)
</code></pre></div> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="go version devel +f74ea6c Tue Jun 16 01:04:10 2015 +0000 windows/amd64"><pre class="notranslate"><code class="notranslate">go version devel +f74ea6c Tue Jun 16 01:04:10 2015 +0000 windows/amd64
</code></pre></div>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="func funA(a0, a1, b0, b1 uint32) uint32 {
return ((a0&0x12345678)>>2 + (a1&0x12345678)>>3 + (b0&0x12345678)>>4 + (b1&0x12345678)>>5) +
((((a0 & 0x87654321) + (a1 & 0x87654321) + (b0 & 0x87654321) + (b1 & 0x87654321) + 0) >> 7) & 0x87654321)
}
func funB(a0, a1, b0, b1 uint32) uint32 {
const mask0, mask1 = 0x12345678, 0x87654321
return ((a0&mask0)>>2 + (a1&mask0)>>3 + (b0&mask0)>>4 + (b1&mask0)>>5) +
((((a0 & mask1) + (a1 & mask1) + (b0 & mask1) + (b1 & mask1) + 0) >> 7) & mask1)
}
func BenchmarkA(b *testing.B) {
for i := 0; i < b.N; i++ {
for i := 0; i < (1 << 20); i++ {
funA(1, 2, 3, 4)
}
}
}
func BenchmarkB(b *testing.B) {
for i := 0; i < b.N; i++ {
for i := 0; i < (1 << 20); i++ {
funB(1, 2, 3, 4)
}
}
}"><pre class="notranslate"><span class="pl-k">func</span> <span class="pl-en">funA</span>(<span class="pl-s1">a0</span>, <span class="pl-s1">a1</span>, <span class="pl-s1">b0</span>, <span class="pl-s1">b1</span> <span class="pl-smi">uint32</span>) <span class="pl-smi">uint32</span> {
<span class="pl-k">return</span> ((<span class="pl-s1">a0</span><span class="pl-c1">&</span><span class="pl-c1">0x12345678</span>)<span class="pl-c1">>></span><span class="pl-c1">2</span> <span class="pl-c1">+</span> (<span class="pl-s1">a1</span><span class="pl-c1">&</span><span class="pl-c1">0x12345678</span>)<span class="pl-c1">>></span><span class="pl-c1">3</span> <span class="pl-c1">+</span> (<span class="pl-s1">b0</span><span class="pl-c1">&</span><span class="pl-c1">0x12345678</span>)<span class="pl-c1">>></span><span class="pl-c1">4</span> <span class="pl-c1">+</span> (<span class="pl-s1">b1</span><span class="pl-c1">&</span><span class="pl-c1">0x12345678</span>)<span class="pl-c1">>></span><span class="pl-c1">5</span>) <span class="pl-c1">+</span>
((((<span class="pl-s1">a0</span> <span class="pl-c1">&</span> <span class="pl-c1">0x87654321</span>) <span class="pl-c1">+</span> (<span class="pl-s1">a1</span> <span class="pl-c1">&</span> <span class="pl-c1">0x87654321</span>) <span class="pl-c1">+</span> (<span class="pl-s1">b0</span> <span class="pl-c1">&</span> <span class="pl-c1">0x87654321</span>) <span class="pl-c1">+</span> (<span class="pl-s1">b1</span> <span class="pl-c1">&</span> <span class="pl-c1">0x87654321</span>) <span class="pl-c1">+</span> <span class="pl-c1">0</span>) <span class="pl-c1">>></span> <span class="pl-c1">7</span>) <span class="pl-c1">&</span> <span class="pl-c1">0x87654321</span>)
}
<span class="pl-k">func</span> <span class="pl-en">funB</span>(<span class="pl-s1">a0</span>, <span class="pl-s1">a1</span>, <span class="pl-s1">b0</span>, <span class="pl-s1">b1</span> <span class="pl-smi">uint32</span>) <span class="pl-smi">uint32</span> {
<span class="pl-k">const</span> <span class="pl-s1">mask0</span>, <span class="pl-s1">mask1</span> <span class="pl-c1">=</span> <span class="pl-c1">0x12345678</span>, <span class="pl-c1">0x87654321</span>
<span class="pl-k">return</span> ((<span class="pl-s1">a0</span><span class="pl-c1">&</span><span class="pl-s1">mask0</span>)<span class="pl-c1">>></span><span class="pl-c1">2</span> <span class="pl-c1">+</span> (<span class="pl-s1">a1</span><span class="pl-c1">&</span><span class="pl-s1">mask0</span>)<span class="pl-c1">>></span><span class="pl-c1">3</span> <span class="pl-c1">+</span> (<span class="pl-s1">b0</span><span class="pl-c1">&</span><span class="pl-s1">mask0</span>)<span class="pl-c1">>></span><span class="pl-c1">4</span> <span class="pl-c1">+</span> (<span class="pl-s1">b1</span><span class="pl-c1">&</span><span class="pl-s1">mask0</span>)<span class="pl-c1">>></span><span class="pl-c1">5</span>) <span class="pl-c1">+</span>
((((<span class="pl-s1">a0</span> <span class="pl-c1">&</span> <span class="pl-s1">mask1</span>) <span class="pl-c1">+</span> (<span class="pl-s1">a1</span> <span class="pl-c1">&</span> <span class="pl-s1">mask1</span>) <span class="pl-c1">+</span> (<span class="pl-s1">b0</span> <span class="pl-c1">&</span> <span class="pl-s1">mask1</span>) <span class="pl-c1">+</span> (<span class="pl-s1">b1</span> <span class="pl-c1">&</span> <span class="pl-s1">mask1</span>) <span class="pl-c1">+</span> <span class="pl-c1">0</span>) <span class="pl-c1">>></span> <span class="pl-c1">7</span>) <span class="pl-c1">&</span> <span class="pl-s1">mask1</span>)
}
<span class="pl-k">func</span> <span class="pl-en">BenchmarkA</span>(<span class="pl-s1">b</span> <span class="pl-c1">*</span>testing.<span class="pl-smi">B</span>) {
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">:=</span> <span class="pl-c1">0</span>; <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">b</span>.<span class="pl-c1">N</span>; <span class="pl-s1">i</span><span class="pl-c1">++</span> {
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">:=</span> <span class="pl-c1">0</span>; <span class="pl-s1">i</span> <span class="pl-c1"><</span> (<span class="pl-c1">1</span> <span class="pl-c1"><<</span> <span class="pl-c1">20</span>); <span class="pl-s1">i</span><span class="pl-c1">++</span> {
<span class="pl-en">funA</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-k">func</span> <span class="pl-en">BenchmarkB</span>(<span class="pl-s1">b</span> <span class="pl-c1">*</span>testing.<span class="pl-smi">B</span>) {
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">:=</span> <span class="pl-c1">0</span>; <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">b</span>.<span class="pl-c1">N</span>; <span class="pl-s1">i</span><span class="pl-c1">++</span> {
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">:=</span> <span class="pl-c1">0</span>; <span class="pl-s1">i</span> <span class="pl-c1"><</span> (<span class="pl-c1">1</span> <span class="pl-c1"><<</span> <span class="pl-c1">20</span>); <span class="pl-s1">i</span><span class="pl-c1">++</span> {
<span class="pl-en">funB</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>)
}
}
}</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="BenchmarkA-4 500 3828382 ns/op
BenchmarkB-4 300 5467213 ns/op"><pre class="notranslate"><code class="notranslate">BenchmarkA-4 500 3828382 ns/op
BenchmarkB-4 300 5467213 ns/op
</code></pre></div> | <pre class="notranslate">The perf builders don't benchmark older commits:
<a href="http://build.golang.org/perf?page=100" rel="nofollow">http://build.golang.org/perf?page=100</a>
and perf-todo requests from builders fail:
2014/10/14 12:54:05 datastore: query has no more results
2014/10/14 12:55:04 datastore: query has no more results
2014/10/14 12:55:34 datastore: query has no more results
2014/10/14 12:56:04 datastore: query has no more results
2014/10/14 12:56:35 datastore: query has no more results
Looking at the symptoms it seems that Commit.Num's were manually updated, so that now
(1) PerfTodo entities contain invalid nums and (2) association between Commits and
CommitRun's is broken and (3) Commit nums jumped to 100'000, which created a huge hole
in CommitRun's which negatively affects the graphs UI (one could argue that benchmark
commits contain holes due to branches anyway, but small holes are OK and 100'000 is like
25 years of team's activity).
All these 3 points need to be repaired.</pre> | 0 |
<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate 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>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import os
>>> os.environ["XLA_FLAGS"] = '--xla_force_host_platform_device_count=8'
>>> import jax
>>> jax.devices("cpu")
[CpuDevice(id=0), CpuDevice(id=1), CpuDevice(id=2), CpuDevice(id=3), CpuDevice(id=4), CpuDevice(id=5), CpuDevice(id=6), CpuDevice(id=7)]"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">os</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">os</span>.<span class="pl-s1">environ</span>[<span class="pl-s">"XLA_FLAGS"</span>] <span class="pl-c1">=</span> <span class="pl-s">'--xla_force_host_platform_device_count=8'</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">jax</span>.<span class="pl-en">devices</span>(<span class="pl-s">"cpu"</span>)
[<span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">0</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">1</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">2</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">3</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">4</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">5</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">6</span>), <span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">7</span>)]</pre></div>
<p dir="auto">But the following approaches don't work</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import os
>>> import jax
>>> jax.devices("cpu")
[CpuDevice(id=0)]
>>> os.environ["XLA_FLAGS"] = "--xla_force_host_platform_device_count=8"
>>> jax.devices("cpu")
[CpuDevice(id=0)]"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">os</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">jax</span>.<span class="pl-en">devices</span>(<span class="pl-s">"cpu"</span>)
[<span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)]
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">os</span>.<span class="pl-s1">environ</span>[<span class="pl-s">"XLA_FLAGS"</span>] <span class="pl-c1">=</span> <span class="pl-s">"--xla_force_host_platform_device_count=8"</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">jax</span>.<span class="pl-en">devices</span>(<span class="pl-s">"cpu"</span>)
[<span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)]</pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import os
>>> import jax
>>> from jax.lib import xla_bridge
>>> jax.devices("cpu")
[CpuDevice(id=0)]
>>> os.environ["XLA_FLAGS"] = "--xla_force_host_platform_device_count=8"
>>> xla_bridge.get_backend.cache_clear()
>>> jax.devices("cpu")
[CpuDevice(id=0)]"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">os</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lib</span> <span class="pl-k">import</span> <span class="pl-s1">xla_bridge</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">jax</span>.<span class="pl-en">devices</span>(<span class="pl-s">"cpu"</span>)
[<span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)]
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">os</span>.<span class="pl-s1">environ</span>[<span class="pl-s">"XLA_FLAGS"</span>] <span class="pl-c1">=</span> <span class="pl-s">"--xla_force_host_platform_device_count=8"</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">xla_bridge</span>.<span class="pl-s1">get_backend</span>.<span class="pl-en">cache_clear</span>()
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">jax</span>.<span class="pl-en">devices</span>(<span class="pl-s">"cpu"</span>)
[<span class="pl-v">CpuDevice</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)]</pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> If applicable, include full error messages/tracebacks.</li>
</ul> | <p dir="auto">MyPy says that <code class="notranslate">jax.interpreters.xla.DeviceArray</code> has no attribute "shape", is not indexable, etc. It seems that it <a href="https://github.com/google/jax/blob/master/jax/interpreters/xla.py#L1053">points</a> to <a href="https://github.com/tensorflow/tensorflow/blob/0306a4d0d69c482eed81b32785d6cba21624c17c/tensorflow/compiler/xla/python/xla_extension/__init__.pyi#L333"><code class="notranslate">DeviceArrayBase</code></a>—not <code class="notranslate">DeviceArray</code>, which has the annotations.</p>
<p dir="auto">I know that type annotations are a work-in-progress. This is just a placeholder issue :)</p> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Windows build number: Microsoft Windows [versão 10.0.18362.175]<br>
Windows Terminal version (if applicable): Preview 0.2.1715.0</p>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open Terminal.</li>
<li>Left click over title bar, left side of plus sing. (Between title of open tab and plus sign)</li>
<li>Try to move window.</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<ol dir="auto">
<li>After click, windows should moved.</li>
</ol>
<h1 dir="auto">Actual behavior</h1>
<ol dir="auto">
<li>Nothing is happing.</li>
</ol> | <p dir="auto">I think its really nice that you can put the terminal-tabs in your titlebar but I got an issue there.</p>
<p dir="auto">You can't move the window around klicking on the blank space in the the-bar to move the window around (highlighted in the screenshot).</p>
<p dir="auto">Since people are moving their terminal quite often it would be nice to offer this space, so you can drag your terminal around.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/34196171/57354083-ccebfa80-716a-11e9-91ac-55747463a95c.png"><img src="https://user-images.githubusercontent.com/34196171/57354083-ccebfa80-716a-11e9-91ac-55747463a95c.png" alt="grafik" style="max-width: 100%;"></a></p> | 1 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.4.8</td>
</tr>
</tbody>
</table>
<p dir="auto">Today i upgraded from Symfony 3.4.6 to 3.4.8 and the automatic redirect to website.test/login stopped working when hitting the homepage ( website.test ) as anonymous user using FOSUserBundle. All I see is welcome to Symfony 3.4.8</p> | <table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>yes</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.2.3</td>
</tr>
</tbody>
</table>
<p dir="auto">After upgrading to symfony 3.2.3 the annotations are not being read from the cache but always parsed from the real classes.<br>
This decreases the performance of our functional tests drastically, don't know how it affects the real application because I have no benchmarks.</p>
<p dir="auto">Seems like the <strong>Doctrine\Common\Annotations\CachedReader</strong> doesn't get initialized.<br>
I found out that this is caused by the following change in the FrameworkExtension.php line 1046</p>
<p dir="auto"><a class="commit-link" href="https://github.com/symfony/symfony/compare/v3.2.2...v3.2.3#diff-0e793081ceb720201745c982a568903fL1046"><tt>v3.2.2...v3.2.3</tt>#diff-0e793081ceb720201745c982a568903fL1046</a></p>
<p dir="auto">which comes from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="202647669" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/21381" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/21381/hovercard" href="https://github.com/symfony/symfony/pull/21381">#21381</a></p>
<p dir="auto">If I restore the line or if I put <code class="notranslate">$container->setAlias('annotation_reader', 'annotations.cached_reader');</code> im my own AppBundle, an instance of <strong>Doctrine\Common\Annotations\CachedReader</strong> gets created and used as expected.</p>
<p dir="auto">My config.yml looks like this:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="framework:
test: ~
profiler:
collect: true
secret: "secret"
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: ~
templating:
engines: ['twig']
form: ~
csrf_protection: ~
validation: { enable_annotations: true }
default_locale: "%locale%"
trusted_hosts: ~
trusted_proxies: ~
session:
storage_id: session.storage.mock_file
fragments: ~
http_method_override: true"><pre class="notranslate"><span class="pl-ent">framework</span>:
<span class="pl-ent">test</span>: <span class="pl-c1">~</span>
<span class="pl-ent">profiler</span>:
<span class="pl-ent">collect</span>: <span class="pl-c1">true</span>
<span class="pl-ent">secret</span>: <span class="pl-s"><span class="pl-pds">"</span>secret<span class="pl-pds">"</span></span>
<span class="pl-ent">router</span>:
<span class="pl-ent">resource</span>: <span class="pl-s"><span class="pl-pds">"</span>%kernel.root_dir%/config/routing.yml<span class="pl-pds">"</span></span>
<span class="pl-ent">strict_requirements</span>: <span class="pl-c1">~</span>
<span class="pl-ent">templating</span>:
<span class="pl-ent">engines</span>: <span class="pl-s">['twig']</span>
<span class="pl-ent">form</span>: <span class="pl-c1">~</span>
<span class="pl-ent">csrf_protection</span>: <span class="pl-c1">~</span>
<span class="pl-ent">validation</span>: <span class="pl-s">{ enable_annotations: true }</span>
<span class="pl-ent">default_locale</span>: <span class="pl-s"><span class="pl-pds">"</span>%locale%<span class="pl-pds">"</span></span>
<span class="pl-ent">trusted_hosts</span>: <span class="pl-c1">~</span>
<span class="pl-ent">trusted_proxies</span>: <span class="pl-c1">~</span>
<span class="pl-ent">session</span>:
<span class="pl-ent">storage_id</span>: <span class="pl-s">session.storage.mock_file</span>
<span class="pl-ent">fragments</span>: <span class="pl-c1">~</span>
<span class="pl-ent">http_method_override</span>: <span class="pl-c1">true</span></pre></div>
<p dir="auto">How to deal with this?</p> | 0 |
<h2 dir="auto">RuntimeError: isTensor() ASSERT FAILED <g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji></h2>
<p dir="auto">We want to provide jitted versions of <a href="https://github.com/arraiyopensource/kornia">Kornia</a> functions and by doing so during the tests we found the following issue when tracing a <code class="notranslate">nn.Module</code> that internally calls a scripted version of a simple function of the library:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(base) 1 edgar@edgar-ThinkPad-T460:~$ python test_jit.py
test_jit.py:17: TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
return op_script(input, height, width)
Traceback (most recent call last):
File "test_jit.py", line 21, in <module>
op_traced = torch.jit.trace(my_test_op, torch.rand(1,2,4,4))
File "/home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/jit/__init__.py", line 688, in trace
var_lookup_fn, _force_outplace)
File "/home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in __call__
result = self._slow_forward(*input, **kwargs)
File "/home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward
result = self.forward(*input, **kwargs)
File "test_jit.py", line 17, in forward
return op_script(input, height, width)
RuntimeError: isTensor() ASSERT FAILED at /opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/core/ivalue.h:209, please report a bug to PyTorch. (toTensor at /opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/core/ivalue.h:209)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7f9d9e43ddc5 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libc10.so)
frame #1: <unknown function> + 0x96437d (0x7f9d9733137d in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)
frame #2: torch::jit::tracer::getNestedValueTrace(c10::IValue const&) + 0x41 (0x7f9d97593eb1 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)
frame #3: <unknown function> + 0xa5af9b (0x7f9d97427f9b in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)
frame #4: <unknown function> + 0xa5b15b (0x7f9d9742815b in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)
frame #5: <unknown function> + 0x458bf3 (0x7f9dcd772bf3 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #6: <unknown function> + 0x12d07a (0x7f9dcd44707a in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
<omitting python frames>
frame #28: <unknown function> + 0x3e73e6 (0x7f9dcd7013e6 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #29: <unknown function> + 0x44830b (0x7f9dcd76230b in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #30: <unknown function> + 0x45b1c4 (0x7f9dcd7751c4 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #31: <unknown function> + 0x12d07a (0x7f9dcd44707a in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)
frame #46: __libc_start_main + 0xe7 (0x7f9ddaaeab97 in /lib/x86_64-linux-gnu/libc.so.6)"><pre class="notranslate">(base) 1 edgar@edgar-ThinkPad-T460:<span class="pl-k">~</span>$ python test_jit.py
test_jit.py:17: TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can<span class="pl-s"><span class="pl-pds">'</span>t record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!</span>
<span class="pl-s"> return op_script(input, height, width)</span>
<span class="pl-s">Traceback (most recent call last):</span>
<span class="pl-s"> File "test_jit.py", line 21, in <module></span>
<span class="pl-s"> op_traced = torch.jit.trace(my_test_op, torch.rand(1,2,4,4))</span>
<span class="pl-s"> File "/home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/jit/__init__.py", line 688, in trace</span>
<span class="pl-s"> var_lookup_fn, _force_outplace)</span>
<span class="pl-s"> File "/home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 491, in __call__</span>
<span class="pl-s"> result = self._slow_forward(*input, **kwargs)</span>
<span class="pl-s"> File "/home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 481, in _slow_forward</span>
<span class="pl-s"> result = self.forward(*input, **kwargs)</span>
<span class="pl-s"> File "test_jit.py", line 17, in forward</span>
<span class="pl-s"> return op_script(input, height, width)</span>
<span class="pl-s">RuntimeError: isTensor() ASSERT FAILED at /opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/core/ivalue.h:209, please report a bug to PyTorch. (toTensor at /opt/conda/conda-bld/pytorch_1556653114079/work/aten/src/ATen/core/ivalue.h:209)</span>
<span class="pl-s">frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x45 (0x7f9d9e43ddc5 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libc10.so)</span>
<span class="pl-s">frame #1: <unknown function> + 0x96437d (0x7f9d9733137d in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)</span>
<span class="pl-s">frame #2: torch::jit::tracer::getNestedValueTrace(c10::IValue const&) + 0x41 (0x7f9d97593eb1 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)</span>
<span class="pl-s">frame #3: <unknown function> + 0xa5af9b (0x7f9d97427f9b in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)</span>
<span class="pl-s">frame #4: <unknown function> + 0xa5b15b (0x7f9d9742815b in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch.so.1)</span>
<span class="pl-s">frame #5: <unknown function> + 0x458bf3 (0x7f9dcd772bf3 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)</span>
<span class="pl-s">frame #6: <unknown function> + 0x12d07a (0x7f9dcd44707a in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)</span>
<span class="pl-s"><omitting python frames></span>
<span class="pl-s">frame #28: <unknown function> + 0x3e73e6 (0x7f9dcd7013e6 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)</span>
<span class="pl-s">frame #29: <unknown function> + 0x44830b (0x7f9dcd76230b in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)</span>
<span class="pl-s">frame #30: <unknown function> + 0x45b1c4 (0x7f9dcd7751c4 in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)</span>
<span class="pl-s">frame #31: <unknown function> + 0x12d07a (0x7f9dcd44707a in /home/edgar/software/kornia/.dev_env/lib/python3.7/site-packages/torch/lib/libtorch_python.so)</span>
<span class="pl-s">frame #46: __libc_start_main + 0xe7 (0x7f9ddaaeab97 in /lib/x86_64-linux-gnu/libc.so.6)</span></pre></div>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Install kornia: <code class="notranslate">pip install git+https://github.com/arraiyopensource/kornia</code></li>
<li>Run the following script:</li>
</ol>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch
import torch.nn as nn
import kornia
@torch.jit.script
def op_script(input: torch.Tensor, height: int,
width: int) -> torch.Tensor:
return kornia.normalize_pixel_coordinates(input, height, width)
class MyTestModule(nn.Module):
def __init__(self):
super(MyTestModule, self).__init__()
def forward(self, input):
height, width = input.shape[-2:]
return op_script(input, height, width)
my_test_op = MyTestModule()
op_traced = torch.jit.trace(my_test_op, torch.rand(1,2,4,4))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span>
<span class="pl-k">import</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span> <span class="pl-k">as</span> <span class="pl-s1">nn</span>
<span class="pl-k">import</span> <span class="pl-s1">kornia</span>
<span class="pl-en">@<span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-s1">script</span></span>
<span class="pl-k">def</span> <span class="pl-en">op_script</span>(<span class="pl-s1">input</span>: <span class="pl-s1">torch</span>.<span class="pl-v">Tensor</span>, <span class="pl-s1">height</span>: <span class="pl-s1">int</span>,
<span class="pl-s1">width</span>: <span class="pl-s1">int</span>) <span class="pl-c1">-></span> <span class="pl-s1">torch</span>.<span class="pl-v">Tensor</span>:
<span class="pl-k">return</span> <span class="pl-s1">kornia</span>.<span class="pl-en">normalize_pixel_coordinates</span>(<span class="pl-s1">input</span>, <span class="pl-s1">height</span>, <span class="pl-s1">width</span>)
<span class="pl-k">class</span> <span class="pl-v">MyTestModule</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>):
<span class="pl-en">super</span>(<span class="pl-v">MyTestModule</span>, <span class="pl-s1">self</span>).<span class="pl-en">__init__</span>()
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">input</span>):
<span class="pl-s1">height</span>, <span class="pl-s1">width</span> <span class="pl-c1">=</span> <span class="pl-s1">input</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">-</span><span class="pl-c1">2</span>:]
<span class="pl-k">return</span> <span class="pl-en">op_script</span>(<span class="pl-s1">input</span>, <span class="pl-s1">height</span>, <span class="pl-s1">width</span>)
<span class="pl-s1">my_test_op</span> <span class="pl-c1">=</span> <span class="pl-v">MyTestModule</span>()
<span class="pl-s1">op_traced</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">jit</span>.<span class="pl-en">trace</span>(<span class="pl-s1">my_test_op</span>, <span class="pl-s1">torch</span>.<span class="pl-en">rand</span>(<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">4</span>,<span class="pl-c1">4</span>))</pre></div>
<h2 dir="auto">Expected behavior</h2>
<h2 dir="auto">Environment</h2>
<p dir="auto">PyTorch version: 1.1.0<br>
Is debug build: No<br>
CUDA used to build PyTorch: 10.0.130</p>
<p dir="auto">OS: Ubuntu 18.04.2 LTS<br>
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0<br>
CMake version: version 3.10.2</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: No<br>
CUDA runtime version: No CUDA<br>
GPU models and configuration: No CUDA<br>
Nvidia driver version: No CUDA<br>
cuDNN version: No CUDA</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip3] numpy==1.16.2<br>
[pip3] torchgeometry==0.1.0<br>
[conda] mkl 2019.3 199<br>
[conda] mkl_fft 1.0.13 py37h516909a_1 conda-forge<br>
[conda] mkl_random 1.0.4 py37hf2d7682_0 conda-forge<br>
[conda] pytorch 1.1.0 py3.7_cuda10.0.130_cudnn7.5.1_0 pytorch<br>
[conda] torchvision 0.3.0 py37_cu10.0.130_1 pytorch</p>
<h2 dir="auto">Additional context</h2> | <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">I don't know which caused this problem.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.jit
@torch.jit.script
def resize_ref(x, shortpoint, method: str='bilinear', align_corners: bool=True):
"""
:type x: torch.Tensor
:type shortpoint: torch.Tensor
:type method: str
:type align_corners: bool
"""
hw = shortpoint.shape[2:4]
ihw = x.shape[2:4]
if hw != ihw:
x = F.interpolate(x, hw, mode=method, align_corners=align_corners)
return x
class Net(nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
x2 = F.interpolate(x, scale_factor=2)
y = resize_ref(x, x2)
return y
a = torch.rand(1, 3, 6, 6)
net = Net()
net = torch.jit.trace(net, a)
b = net(a)
print(b.shape)
"><pre class="notranslate"><code class="notranslate">import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.jit
@torch.jit.script
def resize_ref(x, shortpoint, method: str='bilinear', align_corners: bool=True):
"""
:type x: torch.Tensor
:type shortpoint: torch.Tensor
:type method: str
:type align_corners: bool
"""
hw = shortpoint.shape[2:4]
ihw = x.shape[2:4]
if hw != ihw:
x = F.interpolate(x, hw, mode=method, align_corners=align_corners)
return x
class Net(nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
x2 = F.interpolate(x, scale_factor=2)
y = resize_ref(x, x2)
return y
a = torch.rand(1, 3, 6, 6)
net = Net()
net = torch.jit.trace(net, a)
b = net(a)
print(b.shape)
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<h2 dir="auto">Environment</h2>
<p dir="auto">Please copy and paste the output from our<br>
<a href="https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py" rel="nofollow">environment collection script</a><br>
(or fill out the checklist below manually).</p>
<p dir="auto">You can get the script and run it with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py"><pre class="notranslate"><code class="notranslate">wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
</code></pre></div>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0):1.1.0</li>
<li>OS (e.g., Linux):win10</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source):pip</li>
<li>Build command you used (if compiling from source):</li>
<li>Python version:3.7</li>
<li>CUDA/cuDNN version:10</li>
<li>GPU models and configuration:gtx970m</li>
<li>Any other relevant information:</li>
</ul>
<h2 dir="auto">Additional context</h2> | 1 |
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System: Mac OS X 10.11.4</p>
<p dir="auto">Didn't install CUDA.</p>
<p dir="auto">Under anaconda.</p>
<p dir="auto">Installed from sources, provide the commit hash:</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">1.$ git clone --recurse-submodules <a href="https://github.com/tensorflow/tensorflow">https://github.com/tensorflow/tensorflow</a><br>
2.$ brew install bazel swig<br>
3.$ cd tensorflow/<br>
4.$ ./configure<br>
Please specify the location of python. [Default is /anaconda/lib/python2.7]:<br>
Do you wish to build TensorFlow with GPU support? [y/N] n<br>
5.$ bazel build -c opt --define=use_fast_cpp_protos=true //tensorflow/tools/pip_package:build_pip_package<br>
6.$ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tenso<br>
rflow_pkg<br>
7.$ sudo pip install /tmp/tensorflow_pkg/tensorflow-0.7.1-py2-none-any.whl</p>
<h3 dir="auto">Try</h3>
<p dir="auto">1.$ python tensorflow/tensorflow/tensorboard/tensorboard.py --logdir=path/to/log-directory<br>
didn't work<br>
2.$ tensorboard --logdir=/path/to/log-directory<br>
didn't work</p>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto">WARNING:tensorflow:IOError [Errno 2] No such file or directory: '//anaconda/lib/python2.7/site-packages/tensorflow/tensorboard/TAG' on path //anaconda/lib/python2.7/site-packages/tensorflow/tensorboard/TAG<br>
WARNING:tensorflow:Unable to read TensorBoard tag<br>
Starting TensorBoard on port 6006<br>
(You can navigate to <a href="http://0.0.0.0:6006" rel="nofollow">http://0.0.0.0:6006</a>)</p> | <p dir="auto">I am trying to run the example in my Linux machine (Ubuntu 14.04):<br>
<strong>tensorflow/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py</strong></p>
<p dir="auto">First, I type "<code class="notranslate">python mnist_with_summaries.py</code>" in command line. Everything looks good.<br>
Then following the tutorial, I type "<code class="notranslate">tensorboard --logdir =/tmp/mnist_logs</code>". Following message appeared.</p>
<p dir="auto">WARNING:tensorflow:Unable to read TensorBoard tag<br>
Starting TensorBoard on port 6006<br>
(You can navigate to <a href="http://0.0.0.0:6006" rel="nofollow">http://0.0.0.0:6006</a>)</p>
<p dir="auto">Then I visit "<a href="http://0.0.0.0:6006" rel="nofollow">http://0.0.0.0:6006</a>" on Chrome, nothing appears except:</p>
<p dir="auto">" <strong>No scalar summary tags were found.<br>
Maybe data hasn't loaded yet, or maybe you need to add some tf.scalar_summary ops to your graph, and serialize them using the tf.training.summary_io.SummaryWriter</strong>. "</p>
<p dir="auto">In the terminal, following messages showed up:</p>
<p dir="auto">"127.0.0.1 - - [07/Mar/2016 11:45:06] "GET / HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /lib/css/global.css HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/lodash/lodash.min.js HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/plottable/plottable.min.js HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/d3/d3.min.js HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/plottable/plottable.css HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/graphlib/dist/graphlib.core.min.js HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/polymer/polymer.html HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/webcomponentsjs/webcomponents-lite.min.js HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/iron-ajax/iron-ajax.html HTTP/1.1" 200 -<br>
127.0.0.1 - - [07/Mar/2016 11:45:07] "GET /external/dagre/dist/dagre.core.min.js HTTP/1.1<br>
... ... "</p>
<p dir="auto">I checked <strong>/tmp/mnist_log/</strong>, there is an event file named "<strong>events.out.tfevents.1457371474.rdii-Alienware-X51</strong>". Why nothing shows up on my TensorBoard ? Please help me!</p> | 1 |
<p dir="auto">If you try and change the column names of a DataFrame with non-unique column names, it seems to throw and error (11.0 and dev).</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: df = pd.DataFrame(np.random.randn(3, 2), columns=['A', 'A'])
In [2]: df.columns = range(2)
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-2-454b6d12f4bf> in <module>()
----> 1 df.columns = range(2)
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/frame.pyc in __setattr__(self, name, value)
2016 existing = getattr(self, name)
2017 if isinstance(existing, Index):
-> 2018 super(DataFrame, self).__setattr__(name, value)
2019 elif name in self.columns:
2020 self[name] = value
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/lib.so in pandas.lib.AxisProperty.__set__ (pandas/lib.c:28448)()
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/generic.pyc in _set_axis(self, axis, labels)
557
558 def _set_axis(self, axis, labels):
--> 559 self._data.set_axis(axis, labels)
560 self._clear_item_cache()
561
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/internals.pyc in set_axis(self, axis, value)
920 if axis == 0:
921 for block in self.blocks:
--> 922 block.set_ref_items(self.items, maybe_rename=True)
923
924 # make items read only for now
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/internals.pyc in set_ref_items(self, ref_items, maybe_rename)
72 raise AssertionError('block ref_items must be an Index')
73 if maybe_rename:
---> 74 self.items = ref_items.take(self.ref_locs)
75 self.ref_items = ref_items
76
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/internals.pyc in ref_locs(self)
57 def ref_locs(self):
58 if self._ref_locs is None:
---> 59 indexer = self.ref_items.get_indexer(self.items)
60 indexer = com._ensure_platform_int(indexer)
61 if (indexer == -1).any():
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/index.pyc in get_indexer(self, target, method, limit)
847
848 if not self.is_unique:
--> 849 raise Exception('Reindexing only valid with uniquely valued Index '
850 'objects')
851
Exception: Reindexing only valid with uniquely valued Index objects"><pre class="notranslate"><code class="notranslate">In [1]: df = pd.DataFrame(np.random.randn(3, 2), columns=['A', 'A'])
In [2]: df.columns = range(2)
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-2-454b6d12f4bf> in <module>()
----> 1 df.columns = range(2)
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/frame.pyc in __setattr__(self, name, value)
2016 existing = getattr(self, name)
2017 if isinstance(existing, Index):
-> 2018 super(DataFrame, self).__setattr__(name, value)
2019 elif name in self.columns:
2020 self[name] = value
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/lib.so in pandas.lib.AxisProperty.__set__ (pandas/lib.c:28448)()
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/generic.pyc in _set_axis(self, axis, labels)
557
558 def _set_axis(self, axis, labels):
--> 559 self._data.set_axis(axis, labels)
560 self._clear_item_cache()
561
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/internals.pyc in set_axis(self, axis, value)
920 if axis == 0:
921 for block in self.blocks:
--> 922 block.set_ref_items(self.items, maybe_rename=True)
923
924 # make items read only for now
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/internals.pyc in set_ref_items(self, ref_items, maybe_rename)
72 raise AssertionError('block ref_items must be an Index')
73 if maybe_rename:
---> 74 self.items = ref_items.take(self.ref_locs)
75 self.ref_items = ref_items
76
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/internals.pyc in ref_locs(self)
57 def ref_locs(self):
58 if self._ref_locs is None:
---> 59 indexer = self.ref_items.get_indexer(self.items)
60 indexer = com._ensure_platform_int(indexer)
61 if (indexer == -1).any():
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/index.pyc in get_indexer(self, target, method, limit)
847
848 if not self.is_unique:
--> 849 raise Exception('Reindexing only valid with uniquely valued Index '
850 'objects')
851
Exception: Reindexing only valid with uniquely valued Index objects
</code></pre></div>
<p dir="auto">The similar behaviour (with index) doesn't.</p>
<p dir="auto"><em>From this <a href="http://stackoverflow.com/questions/16711716/rename-pandas-columns-with-datetime-objects" rel="nofollow">SO question</a>.</em></p>
<p dir="auto">What makes this problem a little more annoying is that once you've seen this error you can no longer use <code class="notranslate">df</code> (!):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [5]: df
Out[5]: ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-7ed0097d7e9e> in <module>()
----> 1 df
/Library/Python/2.7/site-packages/IPython/core/displayhook.pyc in __call__(self, result)
236 self.start_displayhook()
237 self.write_output_prompt()
--> 238 format_dict = self.compute_format_data(result)
239 self.write_format_data(format_dict)
240 self.update_user_ns(result)
/Library/Python/2.7/site-packages/IPython/core/displayhook.pyc in compute_format_data(self, result)
148 MIME type representation of the object.
149 """
--> 150 return self.shell.display_formatter.format(result)
151
152 def write_format_data(self, format_dict):
/Library/Python/2.7/site-packages/IPython/core/formatters.pyc in format(self, obj, include, exclude)
124 continue
125 try:
--> 126 data = formatter(obj)
127 except:
128 # FIXME: log the exception
/Library/Python/2.7/site-packages/IPython/core/formatters.pyc in __call__(self, obj)
445 type_pprinters=self.type_printers,
446 deferred_pprinters=self.deferred_printers)
--> 447 printer.pretty(obj)
448 printer.flush()
449 return stream.getvalue()
/Library/Python/2.7/site-packages/IPython/lib/pretty.pyc in pretty(self, obj)
358 if callable(meth):
359 return meth(obj, self, cycle)
--> 360 return _default_pprint(obj, self, cycle)
361 finally:
362 self.end_group()
/Library/Python/2.7/site-packages/IPython/lib/pretty.pyc in _default_pprint(obj, p, cycle)
478 if getattr(klass, '__repr__', None) not in _baseclass_reprs:
479 # A user-provided repr.
--> 480 p.text(repr(obj))
481 return
482 p.begin_group(1, '<')
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __repr__(self)
725 Yields Bytestring in Py2, Unicode String in py3.
726 """
--> 727 return str(self)
728
729 def _repr_html_(self):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __str__(self)
668 if py3compat.PY3:
669 return self.__unicode__()
--> 670 return self.__bytes__()
671
672 def __bytes__(self):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __bytes__(self)
678 """
679 encoding = com.get_option("display.encoding")
--> 680 return self.__unicode__().encode(encoding, 'replace')
681
682 def __unicode__(self):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __unicode__(self)
693 # This needs to compute the entire repr
694 # so don't do it unless rownum is bounded
--> 695 fits_horizontal = self._repr_fits_horizontal_()
696
697 if fits_vertical and fits_horizontal:
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in _repr_fits_horizontal_(self)
653 d=d.iloc[:min(max_rows, height,len(d))]
654
--> 655 d.to_string(buf=buf)
656 value = buf.getvalue()
657 repr_width = max([len(l) for l in value.split('\n')])
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in to_string(self, buf, columns, col_space, colSpace, header, index, na_rep, formatters, float_format, sparsify, nanRep, index_names, justify, force_unicode, line_width)
1542 header=header, index=index,
1543 line_width=line_width)
-> 1544 formatter.to_string()
1545
1546 if buf is None:
/Users/234BroadWalk/pandas/pandas/core/format.pyc in to_string(self, force_unicode)
292 text = info_line
293 else:
--> 294 strcols = self._to_str_columns()
295 if self.line_width is None:
296 text = adjoin(1, *strcols)
/Users/234BroadWalk/pandas/pandas/core/format.pyc in _to_str_columns(self)
245 for i, c in enumerate(self.columns):
246 if self.header:
--> 247 fmt_values = self._format_col(i)
248 cheader = str_columns[i]
249
/Users/234BroadWalk/pandas/pandas/core/format.pyc in _format_col(self, i)
383 def _format_col(self, i):
384 formatter = self._get_formatter(i)
--> 385 return format_array(self.frame.icol(i).values, formatter,
386 float_format=self.float_format,
387 na_rep=self.na_rep,
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in icol(self, i)
1911
1912 def icol(self, i):
-> 1913 return self._ixs(i,axis=1)
1914
1915 def _ixs(self, i, axis=0, copy=False):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in _ixs(self, i, axis, copy)
1961 return self.take(i, axis=1, convert=True)
1962
-> 1963 values = self._data.iget(i)
1964 return self._col_klass.from_array(values, index=self.index,
1965 name=label)
/Users/234BroadWalk/pandas/pandas/core/internals.pyc in iget(self, i)
1649 item = self.items[i]
1650 if self.items.is_unique:
-> 1651 return self.get(item)
1652
1653 # compute the duplicative indexer if needed
/Users/234BroadWalk/pandas/pandas/core/internals.pyc in get(self, item)
1643
1644 def get(self, item):
-> 1645 _, block = self._find_block(item)
1646 return block.get(item)
1647
TypeError: 'NoneType' object is not iterable"><pre class="notranslate"><code class="notranslate">In [5]: df
Out[5]: ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-7ed0097d7e9e> in <module>()
----> 1 df
/Library/Python/2.7/site-packages/IPython/core/displayhook.pyc in __call__(self, result)
236 self.start_displayhook()
237 self.write_output_prompt()
--> 238 format_dict = self.compute_format_data(result)
239 self.write_format_data(format_dict)
240 self.update_user_ns(result)
/Library/Python/2.7/site-packages/IPython/core/displayhook.pyc in compute_format_data(self, result)
148 MIME type representation of the object.
149 """
--> 150 return self.shell.display_formatter.format(result)
151
152 def write_format_data(self, format_dict):
/Library/Python/2.7/site-packages/IPython/core/formatters.pyc in format(self, obj, include, exclude)
124 continue
125 try:
--> 126 data = formatter(obj)
127 except:
128 # FIXME: log the exception
/Library/Python/2.7/site-packages/IPython/core/formatters.pyc in __call__(self, obj)
445 type_pprinters=self.type_printers,
446 deferred_pprinters=self.deferred_printers)
--> 447 printer.pretty(obj)
448 printer.flush()
449 return stream.getvalue()
/Library/Python/2.7/site-packages/IPython/lib/pretty.pyc in pretty(self, obj)
358 if callable(meth):
359 return meth(obj, self, cycle)
--> 360 return _default_pprint(obj, self, cycle)
361 finally:
362 self.end_group()
/Library/Python/2.7/site-packages/IPython/lib/pretty.pyc in _default_pprint(obj, p, cycle)
478 if getattr(klass, '__repr__', None) not in _baseclass_reprs:
479 # A user-provided repr.
--> 480 p.text(repr(obj))
481 return
482 p.begin_group(1, '<')
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __repr__(self)
725 Yields Bytestring in Py2, Unicode String in py3.
726 """
--> 727 return str(self)
728
729 def _repr_html_(self):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __str__(self)
668 if py3compat.PY3:
669 return self.__unicode__()
--> 670 return self.__bytes__()
671
672 def __bytes__(self):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __bytes__(self)
678 """
679 encoding = com.get_option("display.encoding")
--> 680 return self.__unicode__().encode(encoding, 'replace')
681
682 def __unicode__(self):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in __unicode__(self)
693 # This needs to compute the entire repr
694 # so don't do it unless rownum is bounded
--> 695 fits_horizontal = self._repr_fits_horizontal_()
696
697 if fits_vertical and fits_horizontal:
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in _repr_fits_horizontal_(self)
653 d=d.iloc[:min(max_rows, height,len(d))]
654
--> 655 d.to_string(buf=buf)
656 value = buf.getvalue()
657 repr_width = max([len(l) for l in value.split('\n')])
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in to_string(self, buf, columns, col_space, colSpace, header, index, na_rep, formatters, float_format, sparsify, nanRep, index_names, justify, force_unicode, line_width)
1542 header=header, index=index,
1543 line_width=line_width)
-> 1544 formatter.to_string()
1545
1546 if buf is None:
/Users/234BroadWalk/pandas/pandas/core/format.pyc in to_string(self, force_unicode)
292 text = info_line
293 else:
--> 294 strcols = self._to_str_columns()
295 if self.line_width is None:
296 text = adjoin(1, *strcols)
/Users/234BroadWalk/pandas/pandas/core/format.pyc in _to_str_columns(self)
245 for i, c in enumerate(self.columns):
246 if self.header:
--> 247 fmt_values = self._format_col(i)
248 cheader = str_columns[i]
249
/Users/234BroadWalk/pandas/pandas/core/format.pyc in _format_col(self, i)
383 def _format_col(self, i):
384 formatter = self._get_formatter(i)
--> 385 return format_array(self.frame.icol(i).values, formatter,
386 float_format=self.float_format,
387 na_rep=self.na_rep,
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in icol(self, i)
1911
1912 def icol(self, i):
-> 1913 return self._ixs(i,axis=1)
1914
1915 def _ixs(self, i, axis=0, copy=False):
/Users/234BroadWalk/pandas/pandas/core/frame.pyc in _ixs(self, i, axis, copy)
1961 return self.take(i, axis=1, convert=True)
1962
-> 1963 values = self._data.iget(i)
1964 return self._col_klass.from_array(values, index=self.index,
1965 name=label)
/Users/234BroadWalk/pandas/pandas/core/internals.pyc in iget(self, i)
1649 item = self.items[i]
1650 if self.items.is_unique:
-> 1651 return self.get(item)
1652
1653 # compute the duplicative indexer if needed
/Users/234BroadWalk/pandas/pandas/core/internals.pyc in get(self, item)
1643
1644 def get(self, item):
-> 1645 _, block = self._find_block(item)
1646 return block.get(item)
1647
TypeError: 'NoneType' object is not iterable
</code></pre></div> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Your code here
df = pd.DataFrame({'a':['1', '2'], 'b':[None, '20']})
df.groupby(['a', 'b']).indices.keys()"><pre class="notranslate"><span class="pl-c"># Your code here</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'a'</span>:[<span class="pl-s">'1'</span>, <span class="pl-s">'2'</span>], <span class="pl-s">'b'</span>:[<span class="pl-c1">None</span>, <span class="pl-s">'20'</span>]})
<span class="pl-s1">df</span>.<span class="pl-en">groupby</span>([<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>]).<span class="pl-s1">indices</span>.<span class="pl-en">keys</span>()</pre></div>
<p dir="auto">Output is:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dict_keys([('1', '20'), ('2', '20')])"><pre class="notranslate"><span class="pl-en">dict_keys</span>([(<span class="pl-s">'1'</span>, <span class="pl-s">'20'</span>), (<span class="pl-s">'2'</span>, <span class="pl-s">'20'</span>)])</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">Current behavior creates a group index item that does not exist in the DataFrame, because of the presence of a NaN.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">The expected output I guess it should be the same as the one given by .groups</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [12]: df.groupby(['a', 'b']).groups.keys()
Out[12]: dict_keys([('1', nan), ('2', '20')])"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">12</span>]: <span class="pl-s1">df</span>.<span class="pl-en">groupby</span>([<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>]).<span class="pl-s1">groups</span>.<span class="pl-en">keys</span>()
<span class="pl-v">Out</span>[<span class="pl-c1">12</span>]: <span class="pl-en">dict_keys</span>([(<span class="pl-s">'1'</span>, <span class="pl-s1">nan</span>), (<span class="pl-s">'2'</span>, <span class="pl-s">'20'</span>)])</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: Linux<br>
OS-release: 2.6.32-431.29.2.el6.x86_64<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: C<br>
LOCALE: None.None</p>
<p dir="auto">pandas: 0.20.3<br>
pytest: 3.0.7<br>
pip: 9.0.1<br>
setuptools: 36.5.0<br>
Cython: 0.25.2<br>
numpy: 1.13.3<br>
scipy: 0.19.0<br>
xarray: None<br>
IPython: 5.3.0<br>
sphinx: 1.5.6<br>
patsy: 0.4.1<br>
dateutil: 2.6.1<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: 1.2.1<br>
tables: 3.3.0<br>
numexpr: 2.6.2<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: 2.4.7<br>
xlrd: 1.0.0<br>
xlwt: 1.2.0<br>
xlsxwriter: 0.9.6<br>
lxml: 3.7.3<br>
bs4: 4.6.0<br>
html5lib: 0.999<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> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2>
<ul dir="auto">
<li>PowerToys version: v0.22.0</li>
<li>PowerToy Utility: FancyZones</li>
<li>Running PowerToys as Admin: Yes</li>
<li>Windows build number: [run "winver"] - Windows 10</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>… Opened PowerToys Setting</li>
<li>… Clicked on FancyZones Tab</li>
<li>… Launched Zones Editor<br>
4... Selected Grid<br>
5..When Holding "Shift" key and dragging the windows it does not any allow me to display into grid.</li>
</ol>
<p dir="auto">Note: Every time I select different template and apply it always goes back to by default on "Focus" template</p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3>
<p dir="auto">_What is the expected result of the above steps? It should've allowed my to hold the "Shift" key and apply drag screens into the grid template.</p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<ul dir="auto">
<li>The selected templates other than focus not being Applied even though I did click on "Apply" button.</li>
</ul>
<p dir="auto"><em>What is the actual result of the above steps?</em></p>
<h2 dir="auto">📷 Screenshots</h2>
<p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p> | <h2 dir="auto">ℹ Computer information</h2>
<ul dir="auto">
<li>PowerToys version: v0.21.1</li>
<li>PowerToy Utility: FancyZones</li>
<li>Running PowerToys as Admin: No</li>
<li>Windows build number: Windows 10 Version 2004: 19041.450</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>Check the <strong>Allow zones to span across monitors</strong> checkbox</li>
<li>Configure a zone which uses multiple monitors via the <strong>Launch zones editor</strong> and Apply</li>
<li>Attempt to snap window to zones, or use Shift key to highlight zones while dragging</li>
</ol>
<h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3>
<ul dir="auto">
<li>A window should snap to a zone</li>
<li>Zone highlighting ought to be functional</li>
<li>The <strong>Allow zones to span across monitors</strong> setting should persist even when closing settings</li>
<li>If there are errors "Activating" the zones, these should be raised to the user</li>
</ul>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<ul dir="auto">
<li>A window will not snap to a zone when the <strong>Allow zones to span across monitors</strong> is configured</li>
<li>Window zone highlighting is also not functional</li>
<li>When FancyZones settings is closed and re-opened, the <strong>Allow zones to span across monitors</strong> checkbox is unchecked</li>
<li>When <strong>Allow zones to span across monitors</strong> is toggled to checked, then unchecked, zone highlighting and snapping functions, though obviously not with the multi-monitor zones</li>
</ul>
<h3 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Other Notes</h3>
<ul dir="auto">
<li>There is a difference in framerate/refresh rate between the two monitors--could that be an issue?</li>
<li>System is a SurfaceBook 2 in a Surface Dock which drives a 2560 x 1440 monitor at <strong>60 fps</strong> and a 2560 x 1440 monitor at <strong>30 fps</strong>
<ul dir="auto">
<li>The fps cannot be made the same as far as I can tell. Likely a hardware limitation.</li>
</ul>
</li>
<li>Display is an LG 49 ultra-wide ( 5120 x 1440)</li>
</ul>
<h2 dir="auto">📷 Screenshots</h2>
<ul dir="auto">
<li>
<p dir="auto">FancyZones Settings:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16561584/92046816-9ca57380-ed40-11ea-8b1a-745150357616.png"><img src="https://user-images.githubusercontent.com/16561584/92046816-9ca57380-ed40-11ea-8b1a-745150357616.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto">Zone Editor spanning monitors:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16561584/92046932-eee69480-ed40-11ea-8845-e7490a3e2687.png"><img src="https://user-images.githubusercontent.com/16561584/92046932-eee69480-ed40-11ea-8845-e7490a3e2687.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto">Monitor configuration:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16561584/92046965-10e01700-ed41-11ea-8bc9-933e723b4998.png"><img src="https://user-images.githubusercontent.com/16561584/92046965-10e01700-ed41-11ea-8bc9-933e723b4998.png" alt="image" style="max-width: 100%;"></a></p>
</li>
</ul> | 1 |
<p dir="auto">Seems that zypper_repository is not idempotent as expected. Running a zypper_repository task multiple times gives:</p>
<p dir="auto">"Repository named 'reponame' already exists. Please use another alias."</p>
<p dir="auto">P.S.: I'm aware that the error can be bypassed with ignore_errors: yes</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">include_tasks:</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-100.git201708150932.e9c9473819.devel.el7.centos
ansible-2.4.0.0-100.git201709151233.91e1a5fe16.stable24.el7.centos
ansible-2.5.0-100.git201709201920.131d417c7a.devel.el7.centos"><pre class="notranslate"><code class="notranslate">ansible-2.4.0-100.git201708150932.e9c9473819.devel.el7.centos
ansible-2.4.0.0-100.git201709151233.91e1a5fe16.stable24.el7.centos
ansible-2.5.0-100.git201709201920.131d417c7a.devel.el7.centos
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults]
timeout = 120
roles_path = ./core/roles
remote_user = ansible
remote_port = 48022
ansible_become = yes
become = yes
become_user = root
forks = 100
log_path = ./logs/ansible.log
#inventory = inventory/
host_key_checking = False
retry_files_enabled = True
callback_plugins = plugins
stdout_callback = actionable
[paramiko_connection]
record_host_keys = False
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o UserKnownHostsFile=/dev/null
pipelining = True
control_path = /tmp/ansible-ssh-%%h-%%p-%%r
"><pre class="notranslate"><code class="notranslate">[defaults]
timeout = 120
roles_path = ./core/roles
remote_user = ansible
remote_port = 48022
ansible_become = yes
become = yes
become_user = root
forks = 100
log_path = ./logs/ansible.log
#inventory = inventory/
host_key_checking = False
retry_files_enabled = True
callback_plugins = plugins
stdout_callback = actionable
[paramiko_connection]
record_host_keys = False
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o UserKnownHostsFile=/dev/null
pipelining = True
control_path = /tmp/ansible-ssh-%%h-%%p-%%r
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Centos7</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Try to change all include: in my playbook to include_tasks:<br>
77 include: changed to include_tasks:</p>
<p dir="auto">and i get very very slowed playbook<br>
playbook with include: runned 6 min<br>
playbook with include_tasks: runned 28 min, and earn all 64 Gb RAM memory on server<br>
OOM killed other procecces !<br>
and finnaly in log<br>
ERROR! A worker was found in a dead state</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">play playbook with lot of include_tasks:</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">playbook with include_tasks: runned 28 min, and earn all 64 Gb RAM memory on server<br>
OOM killed other procecces !</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="top - 22:47:04 up 23 days, 12:39, 0 users, load average: 2.49, 2.65, 4.53
Tasks: 68 total, 4 running, 64 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.8 us, 41.2 sy, 0.0 ni, 52.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 65646916 total, 0 free, 64420964 used, 1225952 buff/cache
KiB Swap: 524288 total, 500544 free, 23744 used. 804202 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23218 robot 20 0 11.355g 0.011t 1860 S 36.0 17.7 0:01.10 ansible-playboo
23269 robot 20 0 11.355g 0.011t 1860 S 35.3 17.7 0:01.06 ansible-playboo
23240 robot 20 0 11.355g 0.011t 1860 S 29.3 17.7 0:00.88 ansible-playboo
23213 robot 20 0 11.355g 0.011t 1860 S 28.7 17.7 0:01.04 ansible-playboo
23212 robot 20 0 11.355g 0.011t 1860 S 24.0 17.7 0:00.93 ansible-playboo
25800 robot 20 0 11.354g 0.011t 5968 S 17.0 17.7 4:55.41 ansible-playboo"><pre class="notranslate"><code class="notranslate">top - 22:47:04 up 23 days, 12:39, 0 users, load average: 2.49, 2.65, 4.53
Tasks: 68 total, 4 running, 64 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.8 us, 41.2 sy, 0.0 ni, 52.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 65646916 total, 0 free, 64420964 used, 1225952 buff/cache
KiB Swap: 524288 total, 500544 free, 23744 used. 804202 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23218 robot 20 0 11.355g 0.011t 1860 S 36.0 17.7 0:01.10 ansible-playboo
23269 robot 20 0 11.355g 0.011t 1860 S 35.3 17.7 0:01.06 ansible-playboo
23240 robot 20 0 11.355g 0.011t 1860 S 29.3 17.7 0:00.88 ansible-playboo
23213 robot 20 0 11.355g 0.011t 1860 S 28.7 17.7 0:01.04 ansible-playboo
23212 robot 20 0 11.355g 0.011t 1860 S 24.0 17.7 0:00.93 ansible-playboo
25800 robot 20 0 11.354g 0.011t 5968 S 17.0 17.7 4:55.41 ansible-playboo
</code></pre></div> | 0 |
<p dir="auto">When using the bulk API with <em>a lot</em> of documents (say 100K), it's kind of pointless to get a response for each of those documents because the response is huge! Cannot we have a way to call this API and only receive a response that is either:</p>
<ul dir="auto">
<li>Successful insertion of all documents (count).</li>
<li>Some insertion failed (count of the ones that failed).</li>
<li>All insertion failed (count).</li>
</ul>
<p dir="auto">I know that I could probably use Bulk UDP (and I'll probably give it a go soon), but UDP doesn't receive any response whatsoever, so it's like having black&white, but not any shade of grey.</p>
<p dir="auto">Thanks!</p> | <p dir="auto"><strong>Elasticsearch version</strong>: 2.3.1</p>
<p dir="auto"><strong>JVM version</strong>:8u77</p>
<p dir="auto"><strong>OS version</strong>:OL 7u1 and Solaris 11.2</p>
<p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:<br>
Cluster is operating normally and runs into an out of space condition on a node, that is the 85% value is reached. Shard stays in initializing state and following does not clear the condition.</p>
<ol dir="auto">
<li>Attempts to reassign ( Message below)</li>
<li>Reboots of nodes with shard having issue resident</li>
<li>Change of replicas from 4 to 2</li>
</ol>
<p dir="auto"><strong>Steps to reproduce</strong>:</p>
<ol dir="auto">
<li>Run a cluster and fill up the disk on some node</li>
<li>Have other indices with continuous writes</li>
<li>wait until shards start showing unassigned</li>
</ol>
<p dir="auto"><strong>Provide logs (if relevant)</strong>:</p>
<p dir="auto">2016-04-19 22:32:35] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"[move_allocation] can't move [logstash-feeder-df-2016.04][1], shard is not started (state = INITIALIZING]"}],"type":"illegal_argument_exception","reason":"[move_allocation] can't move [logstash-feeder-df-2016.04][1], shard is not started (state = INITIALIZING]"},"status":400}</p> | 0 |
<p dir="auto">When updating one or more packages the "Settings" button won't work anymore.<br>
I came across this issue some time ago when i wanted to read the changelog of the updated package, so i can't really say in which version i first experienced this.<br>
Actually using <code class="notranslate">0.200.0</code>, also tried in <code class="notranslate">--safe</code> mode, same result.</p>
<p dir="auto">It's a bit difficult to reproduce the issue as you need updateable package, so here's a anim do demonstrate:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4282202b40d7d661d9f67cb13d191d58c8b89fc05a5b03d3c5550faff804926d/687474703a2f2f692e696d6775722e636f6d2f4333676e6d4c652e676966"><img src="https://camo.githubusercontent.com/4282202b40d7d661d9f67cb13d191d58c8b89fc05a5b03d3c5550faff804926d/687474703a2f2f692e696d6775722e636f6d2f4333676e6d4c652e676966" alt="screencast" data-animated-image="" data-canonical-src="http://i.imgur.com/C3gnmLe.gif" style="max-width: 100%;"></a></p> | <p dir="auto">..does not work after having updated the package. For example, I just updated One-Dark-UI but the settings button does nothing in that view now.</p> | 1 |
<p dir="auto">In the presence of top level inner hits query level inner hits are missing from the result, even if there are no name collisions. This necessitates rewriting query level inner hits as top level inner hits with a duplicate of the main query, which I assume is suboptimal.</p>
<p dir="auto">ES 2.1.1.</p> | <p dir="auto">I have got an issue for few days and I have no idea how can I resolve it. I got no matching while percolating a document when obviously it should match a created percolator.</p>
<p dir="auto">Here is how to reproduce this issue:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#Create an index with a geo_point mapping as nested object
curl -XPUT 'http://localhost:9200/geonestedindex' -d '
{
"mappings":{
"test":{
"properties":{
"location":{
"type":"nested",
"properties":{
"point":{
"type":"geo_point"
}
}
}
}
}
}
}'"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>Create an index with a geo_point mapping as nested object</span>
curl -XPUT <span class="pl-s"><span class="pl-pds">'</span>http://localhost:9200/geonestedindex<span class="pl-pds">'</span></span> -d <span class="pl-s"><span class="pl-pds">'</span></span>
<span class="pl-s">{</span>
<span class="pl-s"> "mappings":{</span>
<span class="pl-s"> "test":{</span>
<span class="pl-s"> "properties":{</span>
<span class="pl-s"> "location":{</span>
<span class="pl-s"> "type":"nested",</span>
<span class="pl-s"> "properties":{</span>
<span class="pl-s"> "point":{</span>
<span class="pl-s"> "type":"geo_point"</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s">}<span class="pl-pds">'</span></span></pre></div>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#Create a percolator
curl - XPOST 'http://localhost:9200/geonestedindex/.percolator/1' -d '
{
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"nested": {
"filter": {
"geo_bbox": {
"point": {
"top_left": [
4.559326171875,
45.08127861241874
],
"bottom_right": [
5.2130126953125,
44.692088041727814
]
}
}
},
"path": "location"
}
}
}
}
}'"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>Create a percolator</span>
curl - XPOST <span class="pl-s"><span class="pl-pds">'</span>http://localhost:9200/geonestedindex/.percolator/1<span class="pl-pds">'</span></span> -d <span class="pl-s"><span class="pl-pds">'</span></span>
<span class="pl-s">{</span>
<span class="pl-s"> "query": {</span>
<span class="pl-s"> "filtered": {</span>
<span class="pl-s"> "query": {</span>
<span class="pl-s"> "match_all": {}</span>
<span class="pl-s"> },</span>
<span class="pl-s"> "filter": {</span>
<span class="pl-s"> "nested": {</span>
<span class="pl-s"> "filter": {</span>
<span class="pl-s"> "geo_bbox": {</span>
<span class="pl-s"> "point": {</span>
<span class="pl-s"> "top_left": [</span>
<span class="pl-s"> 4.559326171875,</span>
<span class="pl-s"> 45.08127861241874</span>
<span class="pl-s"> ],</span>
<span class="pl-s"> "bottom_right": [</span>
<span class="pl-s"> 5.2130126953125,</span>
<span class="pl-s"> 44.692088041727814</span>
<span class="pl-s"> ]</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> },</span>
<span class="pl-s"> "path": "location"</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s">}<span class="pl-pds">'</span></span></pre></div>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#Trying to match a document
curl -XPOST 'http://localhost:9200/geonestedindex/test/_percolate' -d '
{
"doc": {
"location": {
"point": "44.933, 4.9"
}
}
}'"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>Trying to match a document</span>
curl -XPOST <span class="pl-s"><span class="pl-pds">'</span>http://localhost:9200/geonestedindex/test/_percolate<span class="pl-pds">'</span></span> -d <span class="pl-s"><span class="pl-pds">'</span></span>
<span class="pl-s">{</span>
<span class="pl-s"> "doc": {</span>
<span class="pl-s"> "location": {</span>
<span class="pl-s"> "point": "44.933, 4.9"</span>
<span class="pl-s"> }</span>
<span class="pl-s"> }</span>
<span class="pl-s">}<span class="pl-pds">'</span></span></pre></div> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=devijvers" rel="nofollow">Steven Devijver</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-599?redirect=false" rel="nofollow">SPR-599</a></strong> and commented</p>
<p dir="auto">It would be nice if the property editors registered with BeanWrapperImpl are also used on value elements in lists and maps. Right now they are handled as strings and need to be handled by the classes that receive them. This leads to boilerplate code that could be avoided.</p>
<p dir="auto">Using BeanWrapperImpl on list and map elements would be possible in my view since the destination type is Object. No default editors are registered for Object so none of them would be picked. This would allow users to register a custom editor for Object that would inject other types than strings.</p>
<p dir="auto">Registering a custom editor with Object doesn't interfere with normal property handling as the default editors come first in the list.</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="398053423" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5271" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5271/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5271">#5271</a> Property editors support for indexed and mapped properties (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=memelet" rel="nofollow">Barry Kaplan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2275?redirect=false" rel="nofollow">SPR-2275</a></strong> and commented</p>
<p dir="auto">AbstractTransactionalSpringContextTests has no onSetup* hook for test methods marked as <code class="notranslate">@NotTransactional</code>. The onSetup methods only invokes onSetupBeforeTransaction if the transactionDefinition is not null. And since the AbstractTransactionalSpringContextTests.onSetup is set to be final, there is no way to add in any type of additional setup hooks.</p>
<p dir="auto">Maybe onSetup/TeardownBeforeNonTransaction()?</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 RC2</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398077335" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8081" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8081/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8081">#8081</a> AbstractTransactionalSpringContextTests shoud still call onSetupBeforeTransaction if transactions are prevented (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">1 votes, 1 watchers</p> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.