text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<h3 dir="auto">Version:</h3>
<p dir="auto"><code class="notranslate">go version devel +4ffa5eb Sun Mar 27 05:31:54 2016 +0000 linux/amd64 </code></p>
<h3 dir="auto">Env:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/shaharko/gopath"
GORACE=""
GOROOT="/home/shaharko/src/go_master"
GOTOOLDIR="/home/shaharko/src/go_master/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build742740600=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
"><pre class="notranslate"><code class="notranslate">GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/shaharko/gopath"
GORACE=""
GOROOT="/home/shaharko/src/go_master"
GOTOOLDIR="/home/shaharko/src/go_master/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build742740600=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ go tool nm pkg/linux_amd64/io.a | grep gclocals | awk '{ print $3 }' | Β wc -l
142 # total gclocals
$ go tool nm pkg/linux_amd64/io.a | grep gclocals | awk '{ print $3 }' | uniq | wc -l
38 # unique gclocals"><pre class="notranslate"><code class="notranslate">$ go tool nm pkg/linux_amd64/io.a | grep gclocals | awk '{ print $3 }' | Β wc -l
142 # total gclocals
$ go tool nm pkg/linux_amd64/io.a | grep gclocals | awk '{ print $3 }' | uniq | wc -l
38 # unique gclocals
</code></pre></div>
<p dir="auto">The symbol duplication factor is ~3.5x.</p> | <pre class="notranslate"><a href="http://play.golang.org/p/VMk-h3Js4z" rel="nofollow">http://play.golang.org/p/VMk-h3Js4z</a>
produces the following output:
6 2 5 3 4 1
which appears to initialize the variables a to f in the order they are mentioned in the
composite literal in makeOrder.
However, the spec says ( <a href="http://tip.golang.org/ref/spec#Program_execution" rel="nofollow">http://tip.golang.org/ref/spec#Program_execution</a> ):
"If the initializer of A depends on B, A will be set after B. Dependency analysis
does not depend on the actual values of the items being initialized, only on their
appearance in the source. A depends on B if the value of A contains a mention of B,
contains a value whose initializer mentions B, or mentions a function that mentions B,
recursively. It is an error if such dependencies form a cycle. If two items are not
interdependent, they will be initialized in the order they appear in the source,
possibly in multiple files, as presented to the compiler."
- dependency only depends on the appearance in the source: makeOrder depends on a...f
because it contains a mention of a...f. It doesn't say it depends on the order of those
mentions.
- not interdependent items are initialized in the order they appear in the source: a...f
are not interdependent, so they should be initialized in the order they appear: a, b, c,
d, e, f
Therefore the correct result should be:
1 2 3 4 5 6
gccgo produces this correct order.</pre> | 0 |
<p dir="auto">In issue <a href="https://github.com/angular/angular.js/issues/13133" data-hovercard-type="issue" data-hovercard-url="/angular/angular.js/issues/13133/hovercard">#13133</a> for AngularJS it becomes clear that AngularJS doesn't work well with AMD. But AMD or CommonJS seem to become the default loading technique for TypeScript.</p>
<p dir="auto">Will Angular v2 cope with this problem and work with AMD/CommonJS loaders, like RequireJS?</p> | <p dir="auto">Most developer workflows are based around CJS (Browserify or WebPack) and not System.js. Since System.js can consume cjs bundles, I suggest we replace our System.register bundle with a CJS bundle. In this case, developers that use Browserify or WebPack will be able to use it, and it should still work with System.</p>
<p dir="auto">Notes:</p>
<ul dir="auto">
<li>System.register has a lot of overhead comparing to CJS. My naive measurements showed the difference is about 18%.</li>
<li>When using a CJS bundle, you cannot important submodudles, only "angular2/angular2". I think this is an advantage cause it prevents users from depending on private API.</li>
</ul>
<p dir="auto">Finally, once we produce a CJS bundle, I think we should change our Getting Started guide to use WebPack instead of System.js. The reason is WebPack provides a lot better experience out of the box (including TypeScript and Babel).</p>
<p dir="auto">The WebPack config for an Angular 2 project written with TypeScript is about 10 lines long:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module.exports = {
resolve: {
root: __dirname,
extensions: ['.ts', '.js']
},
entry: ["webpackapp"],
output: {filename: "webappapp_bundle.js"},
externals: {'angular2/angular2': "angular2"},
devtool: 'source-map',
module: {
loaders: [
{ test: /\.ts$/, loader: 'ts-loader' }
]
}
}"><pre class="notranslate"><code class="notranslate">module.exports = {
resolve: {
root: __dirname,
extensions: ['.ts', '.js']
},
entry: ["webpackapp"],
output: {filename: "webappapp_bundle.js"},
externals: {'angular2/angular2': "angular2"},
devtool: 'source-map',
module: {
loaders: [
{ test: /\.ts$/, loader: 'ts-loader' }
]
}
}
</code></pre></div>
<p dir="auto">You get source maps, dev server with live reload, production/dev modes -- a very good first impression and a clear path to production setting.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IgorMinar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IgorMinar">@IgorMinar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mhevery/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mhevery">@mhevery</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rkirov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rkirov">@rkirov</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jeffbcross/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jeffbcross">@jeffbcross</a></p> | 1 |
<p dir="auto">Currently all the twig files have to be put inside the Resources/views folder of the app or bundle folder. Some time ago a new option was added to add new paths where the file locator should search for. However, I'm unable to use it because it seems that they are ignored. We can analyze a simple test case where I want to have some templates inside the directory bundle/Resources/templates/mytemplate/views. I add the path to the config, then I render from a controller a template which resides in that folder with the usual string Bundle:MyControllerName:mytemplate.html.twig. This string is then converted to a resource location which starts with the @ and the file locator is called. However when a path starts with that symbol it doesn't call the locate method of the FileLocator class but it calls the locateResource method of the HttpKernel class which knows nothing about the paths and just throws the exception of file not found. Maybe I'm understanding wrong how the paths options should be used: if it's the case, then please help me understand how can I use custom path locations for my templates.</p> | <p dir="auto">symfony 2.0.0 beta 4.<br>
Error<br>
ErrorException: Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/etc/java) is not within the allowed path(s): (/home/tickets/:/tmp:/var/tmp:/usr/local/lib/php/) in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/Process/ExecutableFinder.php line 48</p>
<p dir="auto">backtrace<br>
in /usr/home/tickets/domains/tickets.antarion.ru/public_html/app/bootstrap.php.cache line 375<br>
at ErrorHandler->handle()<br>
at is_file() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/Process/ExecutableFinder.php line 48<br>
at ExecutableFinder->find() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Bundle/AsseticBundle/DependencyInjection/Configuration.php line 60<br>
at Configuration->getConfigTreeBuilder() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/Config/Definition/Processor.php line 52<br>
at Processor->processConfiguration() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Bundle/AsseticBundle/DependencyInjection/AsseticExtension.php line 136<br>
at AsseticExtension::processConfigs() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Bundle/AsseticBundle/DependencyInjection/AsseticExtension.php line 45<br>
at AsseticExtension->load() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php line 41<br>
at MergeExtensionConfigurationPass->process() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php line 39<br>
at MergeExtensionConfigurationPass->process() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php line 109<br>
at Compiler->compile() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 398<br>
at ContainerBuilder->compile() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/app/bootstrap.php.cache line 861<br>
at Kernel->buildContainer() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/app/bootstrap.php.cache line 790<br>
at Kernel->initializeContainer() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/app/bootstrap.php.cache line 588<br>
at Kernel->boot() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/app/bootstrap.php.cache line 713<br>
at Kernel->loadClassCache() in /usr/home/tickets/domains/tickets.antarion.ru/public_html/web/app_dev.php line 10</p> | 0 |
<h3 dir="auto">Problem</h3>
<p dir="auto">Currently loader context provides an opaque API for error reporting: only<br>
<code class="notranslate">message</code> , <code class="notranslate">stack</code> and (undocumented?) <code class="notranslate">hideStack</code> error object<br>
properties are used to report an error to a user.</p>
<p dir="auto">Thus the appearance of error varies widely between different loaders. Babel,<br>
eslint, css, postcss, sass loaders for example all have different error<br>
reporting styles.</p>
<p dir="auto">In addition to that there's a lot of duplicated info, some loaders render<br>
filename of the module which is unnecessary as Webpack does so too and in a more<br>
concise manner (it uses request shortener).</p>
<p dir="auto">I believe this overwhelms users of Webpack and takes a lot more cognitive efforts<br>
to recognize and process errors.</p>
<h3 dir="auto">Solution</h3>
<p dir="auto">The solution I propose is to enhance error reporting API of loaders, namely:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.emitError(err) // emit error
let cb = this.async(); cb(err, result) // emit error via cb
throw new Error(...) // emit error via throw"><pre class="notranslate"><code class="notranslate">this.emitError(err) // emit error
let cb = this.async(); cb(err, result) // emit error via cb
throw new Error(...) // emit error via throw
</code></pre></div>
<p dir="auto">To accept an <code class="notranslate">Error</code> object with the following properties:</p>
<ul dir="auto">
<li><code class="notranslate">name: string</code> β name of the error. Already present on errors but is not used explicitly.</li>
<li><code class="notranslate">reason: string</code> β a human readable error message <strong>without</strong> filename of the<br>
module happened into. If not provided then <code class="notranslate">message</code> property is used as<br>
before.</li>
<li><code class="notranslate">loc?: {line: number, column: number}</code> β <em>optional default: <code class="notranslate">undefined</code></em>, a<br>
location within the module error happened into. If provided it is used to<br>
render a code frame (similar to how babel-loader and css-loader do).</li>
<li><code class="notranslate">hideStack?: boolean</code> β <em>optional, default <code class="notranslate">false</code></em>, a boolean flag which<br>
indicates that webpack shouldn't render stack trace. Note that <code class="notranslate">hideStack</code><br>
already works but is undocumented.</li>
</ul>
<p dir="auto">With presence of such structured error messages Webpack could render errors in a<br>
consistent way:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR in {moduleName}
${err.name}: ${err.reason}
${err.loc ? formatCodeFrame(source, err.loc.line, err.loc.column) : ''}"><pre class="notranslate"><code class="notranslate">ERROR in {moduleName}
${err.name}: ${err.reason}
${err.loc ? formatCodeFrame(source, err.loc.line, err.loc.column) : ''}
</code></pre></div>
<p dir="auto">Note that <code class="notranslate">moduleName</code> and <code class="notranslate">source</code> are available to Webpack already.</p>
<p dir="auto">Also webpack could provide plugin hooks for different error reporting UIs.</p>
<p dir="auto">Example of loader API usage:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="try {
return babelTransform(source)
catch (internalError) {
// only normalize known errors
if (internalError instanceof BabelSyntaxError) {
let error = new Error()
// readable name of the error type
error.name = 'Syntax error';
// strip filename from here if needed or use some other property
error.reason = internalError.message;
// location
error.loc = internalError.location;
// stack trace from parser isn't useful for end users
error.hideStack = true;
throw error;
// throw all other errors as-is
} else {
throw internalError;
}
}"><pre class="notranslate"><code class="notranslate">try {
return babelTransform(source)
catch (internalError) {
// only normalize known errors
if (internalError instanceof BabelSyntaxError) {
let error = new Error()
// readable name of the error type
error.name = 'Syntax error';
// strip filename from here if needed or use some other property
error.reason = internalError.message;
// location
error.loc = internalError.location;
// stack trace from parser isn't useful for end users
error.hideStack = true;
throw error;
// throw all other errors as-is
} else {
throw internalError;
}
}
</code></pre></div>
<h3 dir="auto">Alternative solutions</h3>
<p dir="auto">Such work could be done by loaders themselves (normalizing <code class="notranslate">message</code> property<br>
and formatting code frames). But:</p>
<ol dir="auto">
<li>This is more fragile as it is easy to drift away from<br>
consistence if error appearance would be controlled separately by loaders.</li>
<li>Loader will have to do more to get better error reporting.</li>
<li>Webpack provides UI but leaves error reporting UI to loaders. This leads to<br>
inconsistent developer experience.</li>
</ol>
<p dir="auto">I made the following PRs to loaders:</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171159796" data-permission-text="Title is private" data-url="https://github.com/babel/babel-loader/issues/287" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel-loader/pull/287/hovercard" href="https://github.com/babel/babel-loader/pull/287">babel/babel-loader#287</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171210841" data-permission-text="Title is private" data-url="https://github.com/webpack-contrib/css-loader/issues/319" data-hovercard-type="pull_request" data-hovercard-url="/webpack-contrib/css-loader/pull/319/hovercard" href="https://github.com/webpack-contrib/css-loader/pull/319">webpack-contrib/css-loader#319</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171209935" data-permission-text="Title is private" data-url="https://github.com/webpack-contrib/postcss-loader/issues/87" data-hovercard-type="pull_request" data-hovercard-url="/webpack-contrib/postcss-loader/pull/87/hovercard" href="https://github.com/webpack-contrib/postcss-loader/pull/87">webpack-contrib/postcss-loader#87</a></li>
</ul>
<p dir="auto">But I believe if we enhance error reporting API it would be a much cleaner<br>
solution.</p>
<p dir="auto">Also see what <a href="https://github.com/facebookincubator/create-react-app/blob/25a0b66fcf480eb9361867596c1db58490f1b720/scripts/start.js#L46-L67">create-react-app is doing</a>: we can get rid of this with this proposal & a couple of PRs to loadrs too.</p> | <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">I'd like to report a bug.</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
I'm having this code and I need a way to specify the public path in a dynamic fashion:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
// main.js
__webpack_public_path__ = '/some-custom-public-path';
import css from './main.css';
// main.css
body {
background: url(./webpack.svg);
}"><pre class="notranslate"><span class="pl-c">// main.js</span>
<span class="pl-s1">__webpack_public_path__</span> <span class="pl-c1">=</span> <span class="pl-s">'/some-custom-public-path'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">css</span> <span class="pl-k">from</span> <span class="pl-s">'./main.css'</span><span class="pl-kos">;</span>
<span class="pl-c">// main.css</span>
<span class="pl-s1">body</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
background: <span class="pl-en">url</span><span class="pl-kos">(</span><span class="pl-kos">.</span><span class="pl-c1">/</span><span class="pl-s1">webpack</span><span class="pl-kos">.</span><span class="pl-c1">svg</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The problem with that is the fact that the resulting bundle does not make a correct reference to the image, with respect for <code class="notranslate">__webpack_public_path__</code>. <a href="https://webpack.js.org/configuration/output/#output-publicpath" rel="nofollow"><code class="notranslate">publicPath</code></a> does work fine, indeed.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">I've recreated the reproduction repo:<br>
<a href="https://github.com/andreiglingeanu/wugebpack-public-path-b">https://github.com/andreiglingeanu/wugebpack-public-path-b</a></p>
<p dir="auto">I've modified the resulting bundle a bit in order to print the resulting url to the console. It really does not namespace the <code class="notranslate">src</code> correctly. And when I open the <code class="notranslate">bundle/index.html</code> file in browser it's not printing the desired URL.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log("public path", __webpack_require__.p);
module.exports = __webpack_require__.p + "cd0bb358c45b584743d8ce4991777c42.svg";"><pre class="notranslate"><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"public path"</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-c1">p</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-c1">p</span> <span class="pl-c1">+</span> <span class="pl-s">"cd0bb358c45b584743d8ce4991777c42.svg"</span><span class="pl-kos">;</span></pre></div>
<hr>
<p dir="auto">A way to fix this:</p>
<p dir="auto">The resulting module for <code class="notranslate">main.js</code> is this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__main_css__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__main_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__main_css__);
__webpack_require__.p = '/some-custom-public-path';"><pre class="notranslate"><span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0__main_css__</span> <span class="pl-c1">=</span> <span class="pl-en">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0__main_css___default</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-en">n</span><span class="pl-kos">(</span><span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0__main_css__</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-c1">p</span> <span class="pl-c1">=</span> <span class="pl-s">'/some-custom-public-path'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Hope you can see how the CSS is attached to the DOM <em>before</em> assigning the <code class="notranslate">p</code> field into the <code class="notranslate">__webpack_require__</code> object, thus the namespacing is not taking place. The <code class="notranslate">publicPath</code> option <a href="https://github.com/andreiglingeanu/wugebpack-public-path-b/blob/master/bundle/main.js#L63">is attached a lot earlier</a> and that's why it works!</p>
<p dir="auto">If I'll swap those lines manually in bundle - it'll work just fine, like that!</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
// first assign the webpack public path
__webpack_require__.p = '/some-custom-public-path';
// then do the stuff
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__main_css__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__main_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__main_css__);
"><pre class="notranslate"><span class="pl-c">// first assign the webpack public path</span>
<span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-c1">p</span> <span class="pl-c1">=</span> <span class="pl-s">'/some-custom-public-path'</span><span class="pl-kos">;</span>
<span class="pl-c">// then do the stuff</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0__main_css__</span> <span class="pl-c1">=</span> <span class="pl-en">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">/* harmony import */</span> <span class="pl-k">var</span> <span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0__main_css___default</span> <span class="pl-c1">=</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-en">n</span><span class="pl-kos">(</span><span class="pl-s1">__WEBPACK_IMPORTED_MODULE_0__main_css__</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Is there any specific reason for this order? Is there a way to tell compiler to insert this assignment at the begining of the current scope?</p>
<p dir="auto">Is there a quick work-around for this till the proper fix will come?</p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.</strong><br>
Node version: <code class="notranslate">v6.0.0</code> on OS X<br>
Webpack version: <code class="notranslate">Version: webpack 2.2.0-rc.0</code></p>
<p dir="auto">Thank you in advance!</p> | 0 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.31]</li>
<li>Operating System: [ Windows 11, Docker Linux alpine]</li>
<li>Browser: [ Firefox]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto">Code sharing is not possible as it's a Restricted project.</p>
<p dir="auto"><strong>PS;</strong> : I tried multiple way of waits (hard, soft) an interaction of elements, reload of the pages. etc.</p>
<p dir="auto">Stack Trace<br>
com.microsoft.playwright.TimeoutError: Error { message='Timeout 30000ms exceeded. =========================== logs =========================== waiting for locator("select[id*='expiration']") locator resolved to β¦ attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action ============================================================ name='TimeoutError stack='TimeoutError: Timeout 30000ms exceeded. =========================== logs =========================== waiting for locator("select[id*='expiration']") locator resolved to β¦ attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action ============================================================ at ProgressController.run (/tmp/playwright-java-15622334390061213365/package/lib/server/progress.js:88:26) at Frame.click (/tmp/playwright-java-15622334390061213365/package/lib/server/frames.js:1011:23) at FrameDispatcher.click (/tmp/playwright-java-15622334390061213365/package/lib/server/dispatchers/frameDispatcher.js:149:30) at DispatcherConnection.dispatch (/tmp/playwright-java-15622334390061213365/package/lib/server/dispatchers/dispatcher.js:319:46) } at com.microsoft.playwright.impl.WaitableResult.get(WaitableResult.java:52) at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:111) at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:119) at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:102) at com.microsoft.playwright.impl.FrameImpl.clickImpl(FrameImpl.java:252) at com.microsoft.playwright.impl.FrameImpl.lambda$click$8(FrameImpl.java:243) at com.microsoft.playwright.impl.LoggingSupport.lambda$withLogging$0(LoggingSupport.java:36) at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:47) at com.microsoft.playwright.impl.ChannelOwner.withLogging(ChannelOwner.java:87) at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:35) at com.microsoft.playwright.impl.FrameImpl.click(FrameImpl.java:243) at com.microsoft.playwright.impl.LocatorImpl.click(LocatorImpl.java:123) at com.microsoft.playwright.Locator.click(Locator.java:2183) at com.esign.utility.CommonUtility.click(CommonUtility.java:35) at com.esign.steps.PackageSteps.user_enables_TRID_expiration(PackageSteps.java:1775) at β½.user enables TRID expiration(file:///app/src/test/java/com/esign/features/smoke/CreatorUI_TRID.feature:397) Caused by: com.microsoft.playwright.TimeoutError: Error { message='Timeout 30000ms exceeded. =========================== logs =========================== waiting for locator("select[id*='expiration']") locator resolved to β¦ attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action ============================================================ name='TimeoutError stack='TimeoutError: Timeout 30000ms exceeded. =========================== logs =========================== waiting for locator("select[id*='expiration']") locator resolved to β¦ attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action ============================================================ at ProgressController.run (/tmp/playwright-java-15622334390061213365/package/lib/server/progress.js:88:26) at Frame.click (/tmp/playwright-java-15622334390061213365/package/lib/server/frames.js:1011:23) at FrameDispatcher.click (/tmp/playwright-java-15622334390061213365/package/lib/server/dispatchers/frameDispatcher.js:149:30) at DispatcherConnection.dispatch (/tmp/playwright-java-15622334390061213365/package/lib/server/dispatchers/dispatcher.js:319:46) } at com.microsoft.playwright.impl.Connection.dispatch(Connection.java:199) at com.microsoft.playwright.impl.Connection.processOneMessage(Connection.java:181) at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:109) at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:119) at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:102) at com.microsoft.playwright.impl.FrameImpl.clickImpl(FrameImpl.java:252) at com.microsoft.playwright.impl.FrameImpl.lambda$click$8(FrameImpl.java:243) at com.microsoft.playwright.impl.LoggingSupport.lambda$withLogging$0(LoggingSupport.java:36) at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:47) at com.microsoft.playwright.impl.ChannelOwner.withLogging(ChannelOwner.java:87) at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:35) at com.microsoft.playwright.impl.FrameImpl.click(FrameImpl.java:243) at com.microsoft.playwright.impl.LocatorImpl.click(LocatorImpl.java:123) at com.microsoft.playwright.Locator.click(Locator.java:2183) at com.esign.utility.CommonUtility.click(CommonUtility.java:35) at com.esign.steps.PackageSteps.user_enables_TRID_expiration(PackageSteps.java:1775) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) at io.cucumber.java.Invoker.invoke(Invoker.java:24) at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:85) at io.cucumber.core.runner.TestStep.run(TestStep.java:57) at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) at io.cucumber.core.runner.TestCase.run(TestCase.java:84) at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) at io.cucumber.testng.TestNGCucumberRunner.lambda$runScenario$1(TestNGCucumberRunner.java:132) at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:129) at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:129) at io.cucumber.testng.TestNGCucumberRunner.runScenario(TestNGCucumberRunner.java:129) at io.cucumber.testng.AbstractTestNGCucumberTests.runScenario(AbstractTestNGCucumberTests.java:35) at jdk.internal.reflect.GeneratedMethodAccessor152.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139) at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677) at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221) at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969) at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194) at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.testng.TestRunner.privateRun(TestRunner.java:829) at org.testng.TestRunner.run(TestRunner.java:602) at org.testng.SuiteRunner.runTest(SuiteRunner.java:437) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391) at org.testng.SuiteRunner.run(SuiteRunner.java:330) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256) at org.testng.TestNG.runSuitesLocally(TestNG.java:1176) at org.testng.TestNG.runSuites(TestNG.java:1099) at org.testng.TestNG.run(TestNG.java:1067) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)<br>
2023-05-31 20:18:15</p>
<p dir="auto">We are using Playwright with java 19. My testcases are failing intermittently. Though they are passing on chrome.</p>
<p dir="auto">Mostly I see they are failed to find locators and giving timeout exceptions.</p>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Testcases should pass on Firefox browsers as well.<br>
<strong>Actual</strong></p>
<p dir="auto">Testcases are failing on Firefox browsers but passing on chrome</p>
<tracking-block data-id="5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" data-query-type="DEFAULT" data-response-source-type="DENORMALIZED" data-completion-completed="0" data-completion-total="0">
<div class="TrackingBlock border color-border-subtle rounded-2 mb-3 pb-2" data-target="tracking-block.contentWrapper" data-action="tracking-block-omnibar-append:tracking-block tasklist-block-title-update:tracking-block change:tracking-block click:tracking-block">
<x-banner data-view-component="true">
<div hidden="hidden" data-target="tracking-block.staleBanner" data-view-component="true" class="Banner flash Banner--error flash-error mx-3 mt-3">
<div class="Banner-visual">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-stop">
<path d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path>
</svg>
</div>
<div data-view-component="true" class="Banner-message">
<p class="Banner-title" data-target="x-banner.titleText">The content you are editing has changed. Please copy your edits and refresh the page.</p>
</div></div></x-banner>
<div class="mx-3 mt-3 d-flex flex-justify-between mb-1 gap-2">
<tasklist-block-title class="tasklist-title-container width-full d-flex flex-items-center mt-n1 ml-n1">
<div class=" color-bg-open color-fg-open rounded p-1 d-flex flex-items-center flex-justify-center mr-1">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-checklist js-tracking-block-completion-icon color-fg-open">
<path d="M2.5 1.75v11.5c0 .138.112.25.25.25h3.17a.75.75 0 0 1 0 1.5H2.75A1.75 1.75 0 0 1 1 13.25V1.75C1 .784 1.784 0 2.75 0h8.5C12.216 0 13 .784 13 1.75v7.736a.75.75 0 0 1-1.5 0V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13.274 9.537v-.001l-4.557 4.45a.75.75 0 0 1-1.055-.008l-1.943-1.95a.75.75 0 0 1 1.062-1.058l1.419 1.425 4.026-3.932a.75.75 0 1 1 1.048 1.074ZM4.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM4 7.75A.75.75 0 0 1 4.75 7h2a.75.75 0 0 1 0 1.5h-2A.75.75 0 0 1 4 7.75Z"></path>
</svg>
</div>
<div data-target="tracking-block.titleEditMode tasklist-block-title.titleEditMode" hidden="hidden" style="width: 100%;" data-view-component="true">
<!-- '"` --><!-- </textarea></xmp> --><form data-action="submit:tasklist-block-title#handleSubmit" data-turbo="false" style="display: flex; align-items: center;" action="" accept-charset="UTF-8" method="post">
<primer-text-field class="FormControl width-full FormControl--fullWidth">
<label class="sr-only FormControl-label" for="tasklist_title">
Title of tasklist
</label>
<div class="FormControl-input-wrap">
<input value="Tasks" data-target="primer-text-field.inputElement tasklist-block-title.titleInput" data-action="keydown:tasklist-block-title#handleKeyDown keyup:tasklist-block-title#handleKeyUp" test_selector="tasklist-block-title-input" aria-describedby="validation-8073755c-f95b-4ba7-84a1-32d5b29e6382" class="FormControl-input FormControl-medium js-tasklist-title-input" type="text" name="tasklist_title" id="tasklist_title">
</div>
<div class="FormControl-inlineValidation" id="validation-8073755c-f95b-4ba7-84a1-32d5b29e6382" hidden="hidden">
<span class="FormControl-inlineValidation--visual"><svg aria-hidden="true" height="12" viewBox="0 0 12 12" version="1.1" width="12" data-view-component="true" class="octicon octicon-alert-fill">
<path d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 0 1-1.146 1.954H1.33A1.313 1.313 0 0 1 .183 9.058ZM7 7V3H5v4Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path>
</svg></span>
<span></span>
</div>
</primer-text-field>
<button data-action="click:tracking-block#hideTitleEditMode" type="button" data-view-component="true" class="Button--secondary Button--medium Button ml-2"> <span class="Button-content">
<span class="Button-label">Cancel</span>
</span>
</button>
<button type="submit" data-view-component="true" class="Button--primary Button--medium Button ml-2"> <span class="Button-content">
<span class="Button-label">Save</span>
</span>
</button></form>
</div>
<div data-target="tracking-block.titleViewMode tasklist-block-title.titleViewMode" data-view-component="true" class="d-flex flex-items-center">
<h3 data-target="tasklist-block-title.titleText" data-view-component="true" class="m-0 flex-1">Tasks</h3>
<div data-view-component="true" class="Button-withTooltip">
<button data-action="click:tracking-block#showTitleEditMode" id="icon-button-645ef96b-cc38-4aa1-9284-63abd2d5a6ca" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium tasklist-title-edit-button ml-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil Button-visual">
<path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"></path>
</svg>
</button> <tool-tip id="tooltip-317d6061-dfb0-4407-a50a-0a817559f491" for="icon-button-645ef96b-cc38-4aa1-9284-63abd2d5a6ca" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Edit tasklist title</tool-tip>
</div>
</div></tasklist-block-title>
<div data-view-component="true" class="flex-items-center flex-justify-between d-flex">
<span data-view-component="true" class="Label Label--success">Beta</span>
<a style="margin-bottom: 2px; white-space: nowrap;" target="_blank" href="https://github.com/community/community/discussions/39106" data-view-component="true" class="Link Link--muted ml-2 mr-4">Give feedback</a>
<action-menu data-target="tracking-block-main.dropdownMenu" data-select-variant="none" data-view-component="true" class="tracking-block-list-item-dropdown-menu">
<focus-group direction="vertical" mnemonics="" retain="">
<div data-view-component="true" class="Button-withTooltip">
<button data-targets="tracking-block.dropdownMenu" id="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-button" popovertarget="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-overlay" aria-controls="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-list" aria-haspopup="true" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--small Truncate tracking-block-menu-btn color-bg-transparent p-1 m-0 position-relative"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal Button-visual">
<path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path>
</svg>
</button> <tool-tip id="tooltip-c1b52d84-c5be-4aeb-bdc2-f536ea24c64b" for="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-button" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Tasklist Tasks, more options</tool-tip>
</div>
<anchored-position id="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-overlay" anchor="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" aria-label="Menu" data-view-component="true">
<div data-view-component="true" class="Overlay Overlay--size-auto">
<div data-view-component="true">
<ul aria-labelledby="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-button" id="tracking-block-dropdown-menu-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<li data-action="click:tracking-block#showTitleEditMode" data-analytics-event="{"category":"Tasklist Block","action":"rename","label":null}" data-targets="action-list.items" type="button" role="none" data-view-component="true" class="ActionListItem">
<button tabindex="-1" id="item-2da6f151-4ccf-4732-83e9-686ad87d78b8" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil">
<path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"></path>
</svg>
<span>Rename</span>
</span></button>
</li>
<li data-action="click:tracking-block#copyBlockMarkdown" data-analytics-event="{"category":"Tasklist Block","action":"copy markdown","label":null}" data-targets="action-list.items" type="button" role="none" data-view-component="true" class="ActionListItem">
<button tabindex="-1" id="item-e0056188-7e88-46b5-b3d7-fb98185ef908" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy">
<path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path>
</svg>
<span class="copy-markdown-button" data-hydro-click-payload="{"event_type":"tasklist_block.user_action","payload":{"action":"copy-markdown","user_id":12824323,"tasklist_block_id":"5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7","originating_url":null}}" data-hydro-click-hmac="d5b4c10b851aa831a490caca84c2db54e8eccb44a655a7c7602fe7df5dc120aa">
Copy markdown
</span>
</span></button>
</li>
<li data-targets="action-list.items" type="button" role="none" data-view-component="true" class="ActionListItem">
<button tabindex="-1" data-show-dialog-id="delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" id="delete-tasklist-button-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-trash color-fg-danger">
<path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75ZM4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.748 1.748 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15ZM6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Z"></path>
</svg>
<span>Delete tasklist</span>
</span></button>
</li>
</ul>
</div>
</div></anchored-position> </focus-group>
</action-menu>
<div class="Overlay--hidden Overlay-backdrop--center" data-modal-dialog-overlay="">
<modal-dialog width="full" role="dialog" id="delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" aria-modal="true" aria-disabled="true" aria-describedby="delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-title delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-auto Overlay--motion-scaleFade">
<div font="SF Pro Display" data-view-component="true" class="Overlay-header text-bold f2 color-fg-default">
<div class="Overlay-headerContentWrap">
<div class="Overlay-titleWrap">
<h1 class="Overlay-title sr-only" id="delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-title">
Delete tasklist
</h1>
Delete tasklist block?
</div>
<div class="Overlay-actionWrap">
<button data-close-dialog-id="delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
<path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg></button>
</div>
</div>
</div>
<div data-view-component="true" class="Overlay-body color-fg-muted">Are you sure? All relationships in this tasklist will be removed.</div>
<div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd"> <button data-close-dialog-id="delete-tasklist-dialog-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" type="submit" data-view-component="true" class="Button--secondary Button--medium Button d-inline-block"> <span class="Button-content">
<span class="Button-label">Cancel</span>
</span>
</button>
<button data-action="click:tracking-block#removeTasklistBlock" type="submit" data-view-component="true" class="Button--danger Button--medium Button d-inline-block"> <span class="Button-content">
<span class="Button-label">Delete</span>
</span>
</button>
</div>
</modal-dialog></div>
</div> </div>
<div class="d-flex py-1 ml-3">
<span style="font-weight: normal" class="color-fg-muted">No tasks being tracked yet.</span>
</div>
<ol dir="auto" class="TrackingBlock-list mb-0 list-style-none" data-target="tracking-block.list">
<li hidden="" tabindex="0" class="TrackingBlock-item js-template d-flex mt-0 px-3 py-1 gap-2 flex-justify-between position-relative js-tasklist-draggable-issue border-bottom" data-target="tracking-block.emptyItemTemplate" data-draft-issue="">
<div class="tasklist-issue-handle js-tasklist-drag-handle draft-handle flex-self-start">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-grabber dragger-icon">
<path d="M10 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0-4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm-4 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm5-9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path>
</svg>
</div>
<div class="d-flex Truncate tasklist-flex-grow">
<label class="tasklist-checkbox">
<input data-action="change:tracking-block" data-targets="tracking-block.inputs" class="mr-2" type="checkbox">
<span class="sr-only tasklist-draft"></span>
</label>
<div data-tracking-block-draft-title="" class="tasklist-flex-grow d-flex">
<div hidden="hidden" data-morpheus-ignore="hidden" data-view-component="true" class="js-title-text-field-wrapper tasklist-textarea-container width-full">
<textarea class="js-size-to-fit" aria-label="Draft title" data-action="change:tracking-block keydown:tracking-block focusout:tracking-block#draftTitleInputOutFocus" rows="1"></textarea>
</div>
<div data-targets="tracking-block.renderedTitles" data-action="click:tracking-block#handleDraftTitleClick" data-morpheus-ignore="hidden" data-view-component="true" class="js-draft-title tasklist-draft-title-container empty-template-title d-flex flex-items-center width-full">
<span data-view-component="true" class="wb-break-word"></span>
</div> </div>
</div>
<div data-targets="tracking-block.itemMenus">
<action-menu data-select-variant="none" data-view-component="true" class="tracking-block-list-item-dropdown-menu">
<focus-group direction="vertical" mnemonics="" retain="">
<div data-view-component="true" class="Button-withTooltip">
<button style="max-height:24px" data-targets="tracking-block.dropdownMenu" id="tracking-block-list-item-dropdown-menu-1234-1-button" popovertarget="tracking-block-list-item-dropdown-menu-1234-1-overlay" aria-controls="tracking-block-list-item-dropdown-menu-1234-1-list" aria-haspopup="true" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--small Truncate color-bg-transparent p-1 m-0 position-relative"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal Button-visual">
<path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path>
</svg>
</button> <tool-tip id="tooltip-f65cb7f8-279e-4a1c-87de-78d5eff25a46" for="tracking-block-list-item-dropdown-menu-1234-1-button" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Options</tool-tip>
</div>
<anchored-position id="tracking-block-list-item-dropdown-menu-1234-1-overlay" anchor="tracking-block-list-item-dropdown-menu-1234-1-button" align="end" side="outside-bottom" anchor-offset="normal" popover="auto" aria-label="Menu" data-view-component="true">
<div data-view-component="true" class="Overlay Overlay--size-auto">
<div data-view-component="true">
<ul aria-labelledby="tracking-block-list-item-dropdown-menu-1234-1-button" id="tracking-block-list-item-dropdown-menu-1234-1-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<li data-targets="action-list.items" type="button" data-tracking-block-convert-button="" role="none" data-view-component="true" class="ActionListItem color-fg-default d-flex">
<button tabindex="-1" id="item-2014f617-7dbd-49a8-be3c-d16be5f91dc0" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<div data-view-component="true" class="d-flex flex-items-center flex-justify-between">
<span data-view-component="true">Convert to issue</span>
</div>
</span></button>
</li>
<li data-action="click:tracking-block#handleMarkAsDone" data-targets="action-list.items" type="button" role="none" data-view-component="true" class="ActionListItem color-fg-default">
<button tabindex="-1" id="item-ef7d22af-e015-4141-b933-51556ea3bf3e" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<div data-view-component="true" class="d-flex flex-items-center flex-justify-between">
<span data-view-component="true">Toggle completion</span>
</div>
</span></button>
</li>
<li data-action="click:tracking-block#handleRename" data-targets="action-list.items" type="button" role="none" data-view-component="true" class="ActionListItem color-fg-default d-flex">
<button tabindex="-1" id="item-cef1856f-bc7c-4337-bf91-b2f14d826aa2" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<div data-view-component="true" class="d-flex flex-items-center flex-justify-between">
<span data-view-component="true">Rename</span>
</div>
</span></button>
</li>
<li data-targets="action-list.items" type="button" data-tracking-block-remove-button="" role="none" data-view-component="true" class="ActionListItem--danger ActionListItem d-flex">
<button tabindex="-1" id="item-df6c7f6d-94a0-4ac5-95a9-96a01be4133e" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
<div data-view-component="true" class="d-flex flex-items-center flex-justify-between">
<span data-view-component="true">Remove</span>
</div>
</span></button>
</li>
</ul>
</div>
</div></anchored-position> </focus-group>
</action-menu> </div>
</li>
<li hidden="" class="TrackingBlock-item js-template d-flex mt-0 px-3 py-1 gap-2 flex-justify-between position-relative js-tasklist-draggable-issue" data-target="tracking-block.emptyIssueTemplate" data-issue="">
<div class="tasklist-issue-handle js-tasklist-drag-handle draft-handle">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-grabber dragger-icon">
<path d="M10 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0-4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm-4 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm5-9a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path>
</svg>
</div>
<div class="d-flex js-item-title flex-items-center">
<div class="js-issue-template-content"></div>
</div>
<div style="flex-grow: 1" data-view-component="true"></div>
</li>
</ol>
<div data-view-component="true" class="js-tracking-block-omnibar-container d-flex flex-items-center">
<button leading_visual_icon="plus" system_arguments="font-weight normal" data-target="tracking-block.omnibarToggleButton" data-action="click:tracking-block#handleOmnibarToggleButtonClick" data-morpheus-ignore="hidden" type="button" data-view-component="true" class="Button--invisible Button--medium Button ml-2 mt-2 pl-2 color-fg-muted text-normal border-0"> <span class="Button-content">
<span class="Button-visual Button-leadingVisual">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus">
<path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z"></path>
</svg>
</span>
<span class="Button-label">Add item to <span class="js-tracking-block-omnibar-title">Tasks</span></span>
</span>
</button>
<tracking-block-omnibar class="width-full" data-target="tracking-block.omnibar" hidden="" data-morpheus-ignore="hidden">
<!-- '"` --><!-- </textarea></xmp> --><form data-action="submit:tracking-block-omnibar#handleSubmit auto-complete-change:tracking-block-omnibar#handleAutoCompleteSelect" data-turbo="false" action="" accept-charset="UTF-8" method="post">
<div class="tasklist-omnibar px-1">
<div class="tasklist-omnibar-autocomplete-wrapper">
<auto-complete data-target="tracking-block-omnibar.autocomplete" src="/microsoft/playwright/issues/23425/tracking_block/5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7/autocomplete" for="tasklist-omnibar-list-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" data-view-component="true" class="tasklist-omnibar-input-wrapper">
<div class="FormControl FormControl--fullWidth">
<label for="tasklist-omnibar-input-element" class="FormControl-label sr-only">
Type to add an item or paste in an issue URL
</label>
<div class="FormControl-input-wrap FormControl-medium FormControl-input-wrap--leadingVisual">
<span class="FormControl-input-leadingVisualWrap">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus FormControl-input-leadingVisual">
<path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z"></path>
</svg>
</span>
<input id="tasklist-omnibar-input-element" name="tasklist_omnibar" autocomplete="off" type="text" placeholder="Type to add an item or paste in an issue URL" data-view-component="true" class="FormControl-input FormControl-medium">
</div>
</div>
<div class="Overlay-backdrop--anchor">
<div class="Overlay Overlay--height-auto Overlay--width-auto">
<div class="Overlay-body Overlay-body--paddingNone">
<ul id="tasklist-omnibar-list-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7" data-view-component="true" class="ActionListWrap ActionListWrap--inset"></ul>
</div>
</div>
</div>
<div id="tasklist-omnibar-list-5344f7f9-91dd-4b1a-88ce-4c4c6be3b6e7-feedback" class="sr-only"></div>
</auto-complete> </div>
</div></form>
</tracking-block-omnibar>
<svg hidden="hidden" data-target="tracking-block.isSavingIcon" style="box-sizing: content-box; color: var(--color-icon-primary);" width="16" height="16" viewBox="0 0 16 16" fill="none" data-view-component="true" class="ml-auto mr-3 anim-rotate">
<circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2" vector-effect="non-scaling-stroke"></circle>
<path d="M15 8a7.002 7.002 0 00-7-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke"></path>
</svg>
</div>
<!-- '"` --><!-- </textarea></xmp> --><form data-form-tracking-block-update="" data-turbo="false" action="/microsoft/playwright/issues/23425" accept-charset="UTF-8" data-remote="true" method="post"><input type="hidden" name="_method" value="put" autocomplete="off"></form>
</div>
</tracking-block> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.34.3</li>
<li>Operating System: macOS 13.4</li>
<li>Browser: Chromium</li>
<li>Other info: VS Code 1.78.2, extension version v1.0.11</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/segevfiner/playwright-ct-vscode-issue">https://github.com/segevfiner/playwright-ct-vscode-issue</a></p>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li><code class="notranslate">pnpm i</code></li>
<li>Open <code class="notranslate">HelloWorld.pw.ts</code> in VS Code.</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">It works and I can run the tests via the VS Code extension.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">The extension gives an error:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[{
"resource": "/Users/segevfiner/junk/playwright-ct-issue/src/components/__tests__/HelloWorld.pw.ts",
"owner": "pw.diagnostics",
"severity": 8,
"message": "Unexpected token '<'",
"source": "playwright",
"startLineNumber": 2,
"startColumn": 1,
"endLineNumber": 3,
"endColumn": 1
}]"><pre class="notranslate">[{
<span class="pl-ent">"resource"</span>: <span class="pl-s"><span class="pl-pds">"</span>/Users/segevfiner/junk/playwright-ct-issue/src/components/__tests__/HelloWorld.pw.ts<span class="pl-pds">"</span></span>,
<span class="pl-ent">"owner"</span>: <span class="pl-s"><span class="pl-pds">"</span>pw.diagnostics<span class="pl-pds">"</span></span>,
<span class="pl-ent">"severity"</span>: <span class="pl-c1">8</span>,
<span class="pl-ent">"message"</span>: <span class="pl-s"><span class="pl-pds">"</span>Unexpected token '<'<span class="pl-pds">"</span></span>,
<span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>playwright<span class="pl-pds">"</span></span>,
<span class="pl-ent">"startLineNumber"</span>: <span class="pl-c1">2</span>,
<span class="pl-ent">"startColumn"</span>: <span class="pl-c1">1</span>,
<span class="pl-ent">"endLineNumber"</span>: <span class="pl-c1">3</span>,
<span class="pl-ent">"endColumn"</span>: <span class="pl-c1">1</span>
}]</pre></div>
<p dir="auto">The tests do work when run from the CLI, and it used to work in previous Playwright versions.</p> | 0 |
<p dir="auto">Compiled from getbootstrap.com:<br>
.modal-backdrop.fade {opacity:0;}<br>
.modal-backdrop.in {opacity:0.5;}</p>
<p dir="auto">The result is a solid black backdrop with opacity:1;<br>
These declarations are of equal specificity and cancel each other out.</p>
<p dir="auto">the declaration for "in" should read:<br>
.modal-backdrop.fade.in{opacity:0.5;}</p> | <p dir="auto">Hi!</p>
<p dir="auto">I just generated a customized version and the modal background is totally black (I also generated a version without any change to be sure it wasn't me that caused that):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7c884cd09470c8345f0304ad6c0a9768a9b9ad1b1cf415c28d5eb6df1beb82ab/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393333382f66653335323434612d306233362d313165332d393531332d3962363637663362646665652e706e67"><img src="https://camo.githubusercontent.com/7c884cd09470c8345f0304ad6c0a9768a9b9ad1b1cf415c28d5eb6df1beb82ab/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393333382f66653335323434612d306233362d313165332d393531332d3962363637663362646665652e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/5287285/1009338/fe35244a-0b36-11e3-9513-9b667f3bdfee.png" style="max-width: 100%;"></a></p>
<p dir="auto">The download link on the home page does have transparency:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/c35f738d5bc9c495c9e5c3e792a7c2a713e064f7ba536da495ecd6830f696e96/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393335332f33396635313138342d306233372d313165332d383231622d3263396365363830626339352e706e67"><img src="https://camo.githubusercontent.com/c35f738d5bc9c495c9e5c3e792a7c2a713e064f7ba536da495ecd6830f696e96/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393335332f33396635313138342d306233372d313165332d383231622d3263396365363830626339352e706e67" alt="image" data-canonical-src="https://f.cloud.github.com/assets/5287285/1009353/39f51184-0b37-11e3-821b-2c9ce680bc95.png" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.32.3]</li>
<li>Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]</li>
<li>Browser: [All, Chromium, Firefox, WebKit]</li>
</ul>
<p dir="auto">I am coming over to this project from webdriverio to evaluate this.</p>
<p dir="auto">In Selenium and webdriverio we would just call waitForEnabled() or waitForEnabled({ reverse: true }) but I see only</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="waitFor("attached"|"detached"|"visible"|"hidden")"><pre class="notranslate"><code class="notranslate">waitFor("attached"|"detached"|"visible"|"hidden")
</code></pre></div>
<p dir="auto">I see that isEnabled has timeout option but that does not work for me to really know when it will be. Is there a polling or something that we can tap into and if so how would one go about ?</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.33]</li>
<li>Operating System: [Windows 11]</li>
<li>Browser: [WebKit]</li>
</ul>
<p dir="auto">i set userAgent in browsercontext using launchPersistentContext as<br>
<code class="notranslate">Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1</code></p>
<p dir="auto">but when opening new window and checking in webkits console its showing as<br>
<code class="notranslate">Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/605.1.15 (KHTML, like Gecko)</code></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/108714133/237222541-2ac571a5-3dda-4b6c-b4f8-c6afcd781ad6.png"><img src="https://user-images.githubusercontent.com/108714133/237222541-2ac571a5-3dda-4b6c-b4f8-c6afcd781ad6.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">below code used for test</p>
<h3 dir="auto">Source code</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const { webkit } = require('playwright');
(async () => {
const context = await webkit.launchPersistentContext('my-data', {
userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604',
headless: false
});
const page = await context.newPage();
page.goto('https://www.whatismybrowser.com/detect/what-is-my-user-agent/');
})();
"><pre class="notranslate"><code class="notranslate">const { webkit } = require('playwright');
(async () => {
const context = await webkit.launchPersistentContext('my-data', {
userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604',
headless: false
});
const page = await context.newPage();
page.goto('https://www.whatismybrowser.com/detect/what-is-my-user-agent/');
})();
</code></pre></div> | 0 |
<p dir="auto"><strong>Update:</strong><br>
If anyone ends up needing this functionality, I've released it as <a href="https://github.com/rpkilby/vue-nonreactive">vue-nonreactive</a> with the appropriate admonitions and everything.</p>
<hr>
<p dir="auto">We have some non-plain models where we need to disable Vue's observation and walking. An example is a resource model that has access to a cache so that it can lookup related resources. This causes all of the objects in the cache to become watched (probably inefficient), as well as some additional interactions with other code. Currently, we get around this by setting a dummy Observer on the cache. Something similar to...</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import get from 'http';
import Resource from 'resource';
new Vue({
data: { instance: {}, },
ready() { this.fetch(); },
methods: {
fetch() {
const Observer = Object.getPrototypeOf(this.instance.__ob__).constructor;
get('/api/frobs')
.then(function(data) {
// initialize Resource w/ JSON document
const resource = new Resource(data);
// Protect cache with dummy observer
resource.cache.__ob__ = new Observer({});
this.instance = resource;
});
},
},
});"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">get</span> <span class="pl-k">from</span> <span class="pl-s">'http'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">Resource</span> <span class="pl-k">from</span> <span class="pl-s">'resource'</span><span class="pl-kos">;</span>
<span class="pl-k">new</span> <span class="pl-v">Vue</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">data</span>: <span class="pl-kos">{</span> <span class="pl-c1">instance</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">ready</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">fetch</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">methods</span>: <span class="pl-kos">{</span>
<span class="pl-en">fetch</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-v">Observer</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">instance</span><span class="pl-kos">.</span><span class="pl-c1">__ob__</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span><span class="pl-kos">;</span>
<span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'/api/frobs'</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// initialize Resource w/ JSON document</span>
<span class="pl-k">const</span> <span class="pl-s1">resource</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Resource</span><span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// Protect cache with dummy observer</span>
<span class="pl-s1">resource</span><span class="pl-kos">.</span><span class="pl-c1">cache</span><span class="pl-kos">.</span><span class="pl-c1">__ob__</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Observer</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-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">instance</span> <span class="pl-c1">=</span> <span class="pl-s1">resource</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">This does work, but</p>
<ul dir="auto">
<li>relies on vue's internals</li>
<li>requires an already observed object since we cannot import the <code class="notranslate">Observer</code> class directly.</li>
</ul>
<p dir="auto"><strong>Proposal:</strong><br>
Add an official method for explicitly disabling Vue's observation/walking. eg, something like...</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const someThing = {
nestedThing: {},
};
// make entire object non-reactive
Vue.nonreactive(someThing);
// make nested object non-reactive
Vue.nonreactive(someThing.nestedThing);
vm.$set('key.path', someThing);"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">someThing</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">nestedThing</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">// make entire object non-reactive</span>
<span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">nonreactive</span><span class="pl-kos">(</span><span class="pl-s1">someThing</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// make nested object non-reactive</span>
<span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">nonreactive</span><span class="pl-kos">(</span><span class="pl-s1">someThing</span><span class="pl-kos">.</span><span class="pl-c1">nestedThing</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">vm</span><span class="pl-kos">.</span><span class="pl-en">$set</span><span class="pl-kos">(</span><span class="pl-s">'key.path'</span><span class="pl-kos">,</span> <span class="pl-s1">someThing</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Considerations:</p>
<ul dir="auto">
<li>
<p dir="auto">What should happen if a user set a reactive key path to an non-reactive object? Should vue warn the user? eg,</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="vm.$set('a', Vue.nonreactive({});
// different from..
vm.$set('a', {
someKey: Vue.nonreactive({}),
});"><pre class="notranslate"><span class="pl-s1">vm</span><span class="pl-kos">.</span><span class="pl-en">$set</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">nonreactive</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">// different from..</span>
<span class="pl-s1">vm</span><span class="pl-kos">.</span><span class="pl-en">$set</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">someKey</span>: <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">nonreactive</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>
</li>
<li>
<p dir="auto">Should an already reactive object warn the user if attempted to be made non-reactive? eg,</p>
</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// error
Vue.nonreactive(vm.$data.a)
// valid
Vue.nonreactive(_.clone(vm.$data.a));"><pre class="notranslate"><span class="pl-c">// error</span>
<span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">nonreactive</span><span class="pl-kos">(</span><span class="pl-s1">vm</span><span class="pl-kos">.</span><span class="pl-c1">$data</span><span class="pl-kos">.</span><span class="pl-c1">a</span><span class="pl-kos">)</span>
<span class="pl-c">// valid</span>
<span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">nonreactive</span><span class="pl-kos">(</span><span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-s1">vm</span><span class="pl-kos">.</span><span class="pl-c1">$data</span><span class="pl-kos">.</span><span class="pl-c1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">for example,there is a row component which includes some cols,i wanna the cols have transition effect,and give row some props.But ,the props i wrote does no effect on the row component.and if i use 'row > transtion-group' combination, some css will lose there effect</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto"><transtion-group type=row :option={row's props}></p> | 0 |
<p dir="auto">When adding a node to a load balance with state=present, it throws an error on subsequent ansible runs with:</p>
<p dir="auto">"Duplicate nodes detected. One or more nodes already configured on load balancer."</p>
<p dir="auto">I would assume "present" should just be a changed=False noop if it's already in the LB.</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ios_config, iosxr_config, nxos_config<br>
Any config module with before and after</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version
ansible 2.2.1.0
config file = /home/jmighion/git/blank-ansible-repo/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">$ ansible --version
ansible 2.2.1.0
config file = /home/jmighion/git/blank-ansible-repo/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">inventory = inventory<br>
forks = 1400<br>
roles_path = roles<br>
retry_files_enabled = False</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Any commands in <code class="notranslate">before:</code> or <code class="notranslate">after:</code> in any network config module that has those params will not be added to the command stack if you're using a template. Not sure why the before or after commands cannot be added after the template is rendered or added into the template before rendering so the commands.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Configure NTP
ios_config:
before: default ntp
src: ios.j2
save: yes
provider: "{{ cli }}""><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Configure NTP</span>
<span class="pl-ent">ios_config</span>:
<span class="pl-ent">before</span>: <span class="pl-s">default ntp</span>
<span class="pl-ent">src</span>: <span class="pl-s">ios.j2</span>
<span class="pl-ent">save</span>: <span class="pl-s">yes</span>
<span class="pl-ent">provider</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ cli }}<span class="pl-pds">"</span></span></pre></div>
<p dir="auto">ios.j2:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ntp authentication-key 1 md5 {{ ntp_peering_key }}
ntp authenticate
ntp trusted-key 1
ntp source {{ ntp_source }}
ntp server {{ npt_service_ipv4 }} key 1"><pre class="notranslate"><span class="pl-s">ntp authentication-key 1 md5 {{ ntp_peering_key }}</span>
<span class="pl-s">ntp authenticate</span>
<span class="pl-s">ntp trusted-key 1</span>
<span class="pl-s">ntp source {{ ntp_source }}</span>
<span class="pl-s">ntp server {{ npt_service_ipv4 }} key 1</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="default ntp
ntp authentication-key 1 md5 {{ ntp_peering_key }}
ntp authenticate
ntp trusted-key 1
ntp source {{ ntp_source }}
ntp server {{ npt_service_ipv4 }} key 1"><pre class="notranslate"><code class="notranslate">default ntp
ntp authentication-key 1 md5 {{ ntp_peering_key }}
ntp authenticate
ntp trusted-key 1
ntp source {{ ntp_source }}
ntp server {{ npt_service_ipv4 }} key 1
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""backup_path": "/home/jmighion/git/blank-ansible-repo/roles/config_ntp/backup/host_config.2017-03-16@17:35:09",
"changed": true,
"invocation": {
"module_args": {
"after": null,
"auth_pass": null,
"authorize": false,
"backup": true,
"before": [
"default ntp"
],
"config": null,
"defaults": false,
"force": false,
"host": "test_host",
"lines": null,
"match": "line",
"parents": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": null,
"provider": {
"host": "test_host",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"username": "test_user"
},
"replace": "line",
"save": true,
"src": "ntp authentication-key 1 md5 stuff!\nntp authenticate\nntp trusted-key 1\nntp source Vlan0\nntp server ip.ip.ip.ip key 1\n",
"ssh_keyfile": null,
"timeout": 10,
"transport": null,
"use_ssl": true,
"username": "test_user",
"validate_certs": true
}
},
"warnings": []"><pre class="notranslate"><code class="notranslate">"backup_path": "/home/jmighion/git/blank-ansible-repo/roles/config_ntp/backup/host_config.2017-03-16@17:35:09",
"changed": true,
"invocation": {
"module_args": {
"after": null,
"auth_pass": null,
"authorize": false,
"backup": true,
"before": [
"default ntp"
],
"config": null,
"defaults": false,
"force": false,
"host": "test_host",
"lines": null,
"match": "line",
"parents": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": null,
"provider": {
"host": "test_host",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"username": "test_user"
},
"replace": "line",
"save": true,
"src": "ntp authentication-key 1 md5 stuff!\nntp authenticate\nntp trusted-key 1\nntp source Vlan0\nntp server ip.ip.ip.ip key 1\n",
"ssh_keyfile": null,
"timeout": 10,
"transport": null,
"use_ssl": true,
"username": "test_user",
"validate_certs": true
}
},
"warnings": []
</code></pre></div> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">π</g-emoji> Provide a description of the new feature</h2>
<h2 dir="auto"><em>What is the expected behavior of the proposed feature? What is the scenario this would be used?</em></h2>
<p dir="auto">This is for the Fancy Zones module. This feature would let users assign shortcuts to move the active window to a specific zone of a layout.<br>
For example: If a layout has four zones that are divided right at the center of the screen, and having assigned four shortcuts,<br>
for example:<br>
ctrl + alt + 9 for top right<br>
ctrl + alt + 7 for top left<br>
ctrl + alt + 3 for bottom right<br>
ctrl + alt + 1 for bottom left<br>
pressing any of the above shortcut would move the active window the zone specific to that shortcut.<br>
If you'd like to see this feature implemented, add a π reaction to this post.</p> | <p dir="auto">Add the option to toggle SHOW/HIDE the desktop icons when hitting a hotkey or combo. Shift+click / double click / double right click on the desktop may be a good option as it doesn't do anything at the present.</p>
<p dir="auto">Windows looks so much cleaner when the icons are hidden, yet the desktop is a useful place. I think it could really power up the desktop if you could have widgets and icons hidden and toggled by a power toys hotkey.</p>
<p dir="auto">The desktop really doesn't have many features, so if you wanted to you could run with this idea and probably come up with some more Power options. I don't find that virtual desktops are well utilized, so maybe something could be added there too.</p> | 0 |
<p dir="auto">Uncaught Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow. (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter. (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13)</p>
<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.201.0<br>
<strong>System</strong>: Microsoft Windows 7 Ultimate<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\browser\atom-window.js:152:27)<br>
at emitOne (events.js:77:13)<br>
at BrowserWindow.emit (events.js:166:7)<br>
at callFunction (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br>
at emitMany (events.js:108:13)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)"><pre class="notranslate"><code class="notranslate">At C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\abs\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 2x -0:38.3.0 window:toggle-full-screen (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> 2x -0:38.3.0 window:toggle-full-screen (atom-text-editor.editor.is-focused)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"autoHideMenuBar": true
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span>
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
No installed packages
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
<span class="pl-en">No</span> <span class="pl-en">installed</span> packages
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | <p dir="auto">I right-clicked on a folder in the tree view</p>
<p dir="auto"><strong>Atom Version</strong>: 0.194.0<br>
<strong>System</strong>: Windows 7 Entreprise<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br>
at emitOne (events.js:77:13)<br>
at BrowserWindow.emit (events.js:166:7)<br>
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br>
at emitMany (events.js:108:13)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"ignoredNames": [
"node_modules"
],
"themes": [
"atom-dark-ui",
"seti-syntax"
],
"disabledPackages": [
"Tern"
],
"projectHome": "Y:\\app-tfoumax"
},
"editor": {
"invisibles": {},
"softWrap": true,
"showIndentGuide": true
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"ignoredNames"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"disabledPackages"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"invisibles"</span>: {},
<span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
autocomplete-plus, v2.12.0
autocomplete-snippets, v1.2.0
javascript-snippets, v1.0.0
jshint, v1.3.5
language-ejs, v0.1.0
linter, v0.12.1
pretty-json, v0.3.3
save-session, v0.14.0
Search, v0.4.0
seti-syntax, v0.4.0
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span>
language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span>
pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span>
save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span>
Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | 1 |
<p dir="auto">When setting a placeholder in a standard text input placeholder field, the placeholder is not centered in Safari 5.1.3</p>
<p dir="auto">Screenshots:</p>
<p dir="auto">Placeholder (not centered)<br>
<a href="http://imgur.com/rZ0ij,qUU7V#0" rel="nofollow">http://imgur.com/rZ0ij,qUU7V#0</a></p>
<p dir="auto">Entered Text (centered)<br>
<a href="http://imgur.com/rZ0ij,qUU7V#1" rel="nofollow">http://imgur.com/rZ0ij,qUU7V#1</a></p> | <p dir="auto">Is it not.</p> | 0 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong></p>
<p dir="auto">The babel-cli in <code class="notranslate">--watch</code> mode does not output any messages following the first compilation. It seems as though the CLI is not doing anything even though files are compiling.</p>
<p dir="auto"><strong>Input Code</strong></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="babel src -d lib --watch"><pre class="notranslate">babel src -d lib --watch</pre></div>
<p dir="auto"><strong>Expected behavior/code</strong></p>
<p dir="auto">The CLI should display an output summary after every <code class="notranslate">--watch</code> mode compilation.</p>
<p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p>
<p dir="auto">N/A.</p>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): v7.0.0-beta.41 - v7.0.0-beta.46</li>
<li>Node/npm version: Node 10/npm 6</li>
<li>OS: macOS v10.13.4</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"><strong>Additional context/Screenshots</strong></p>
<p dir="auto">This issue began with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="300601829" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/7439" data-hovercard-type="pull_request" data-hovercard-url="/babel/babel/pull/7439/hovercard" href="https://github.com/babel/babel/pull/7439">#7439</a> in <a href="https://github.com/babel/babel/releases/tag/v7.0.0-beta.41">v7.0.0-beta.41</a>. The babel-cli has a new a new <code class="notranslate">--verbose</code> flag for seeing exactly what files were compiled, but even with the verbose output of what files are being compiled there are no subsequent summary messages. An output summary should be displayed every compilation, regardless of the <code class="notranslate">--verbose</code> flag.</p> | <blockquote>
<p dir="auto">Issue originally made by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jimfb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jimfb">@jimfb</a></p>
</blockquote>
<h3 dir="auto">Description</h3>
<p dir="auto">A JSX element like <code class="notranslate"><div ref="foo" ref="noise"></code> is not technically legal/valid. Babel should do something reasonable (throw, pick one value and warn, etc). The bug report below seems to indicate that it currently produces illegal javascript when this happens.</p>
<p dir="auto">Came up in: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="133161146" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/6024" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/6024/hovercard" href="https://github.com/facebook/react/issues/6024#event-549130689">facebook/react#6024 (comment)</a></p> | 0 |
<p dir="auto">I am using Visual Studio 2015 Update 1 and Typescript for VS2015 1.8.4.<br>
I have a project that contains TypeScript files.<br>
Here's my <code class="notranslate">tsconfig.json</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"compileOnSave": true,
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false,
"noEmitOnError": true
},
"exclude": [
"node_modules",
"typings"
]
}"><pre class="notranslate"><code class="notranslate">{
"compileOnSave": true,
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false,
"noEmitOnError": true
},
"exclude": [
"node_modules",
"typings"
]
}
</code></pre></div>
<p dir="auto">When I write incorrect TypeScript, let's say i have <code class="notranslate">file1.ts</code> and write <code class="notranslate">foo</code> , I obtain the error message<br>
<code class="notranslate">Cannot find name 'foo'</code></p>
<p dir="auto">If I try to build the project, it will result in a build failure. When the <code class="notranslate">file1.ts</code> file is correct, it generates the <code class="notranslate">file.js</code> file next to it and I can build successfully. So far so good.</p>
<p dir="auto">Now, if I change once again <code class="notranslate">file1.ts</code> , it will show <code class="notranslate">Cannot find name 'foo'</code> in the error list but building the project succeeds.</p>
<p dir="auto">What I expect is for the project build to fail.</p>
<p dir="auto">The project build will fail again when I remove the generated <code class="notranslate">file1.js</code> file.</p>
<p dir="auto">Shouldn't the TypeScript compiler try to recompile all the *.ts files that are newer than their output when I perform a build, or have the <code class="notranslate">compileOnSave</code> option to remove the output?</p> | <p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.2</p>
<p dir="auto">When building a Visual Studio solution using a tsconfig.json file, the CompileTypeScriptWithTSConfig task reports "Skipping target "CompileTypeScriptWithTSConfig" because all output files are up-to-date with respect to the input files.", even though I have indeed modified my .ts files since the last build. I see this behavior both building from the command line and from within the IDE. If I select "Rebuild Solution" from within the IDE, the files get compiled correctly. Also, if I remove the tsconfig.json file (thus using the properties in the .csproj file), the files also get compiled correctly.</p>
<p dir="auto">FWIW, I would actually prefer to use the .csproj file rather than a tsconfig.json file, but as it stands now I cannot specify certain options (such as --noImplicitReturns and --noFallthroughCasesInSwitch) in the .csproj file.</p> | 1 |
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ uname -a
Darwin users-MacBook-Air.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
$ go version
go version devel +c468957 Sun Sep 27 01:04:59 2015 +0000 darwin/amd64
# The only thing the program does is fmt.Print("Hello\n")
$ cd hello
$ go build -ldflags -w
$ hexdump -C hello | grep -c `basename $HOME`
58"><pre class="notranslate">$ uname -a
Darwin users-MacBook-Air.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015<span class="pl-k">;</span> root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
$ go version
go version devel +c468957 Sun Sep 27 01:04:59 2015 +0000 darwin/amd64
<span class="pl-c"><span class="pl-c">#</span> The only thing the program does is fmt.Print("Hello\n")</span>
$ <span class="pl-c1">cd</span> hello
$ go build -ldflags -w
$ hexdump -C hello <span class="pl-k">|</span> grep -c <span class="pl-s"><span class="pl-pds">`</span>basename <span class="pl-smi">$HOME</span><span class="pl-pds">`</span></span>
58</pre></div> | <p dir="auto">by <strong>awreece</strong>:</p>
<pre class="notranslate">This is a feature request for an additional flag for compilation to create a sanitized
or hardened binary.
This binary could include a number of features, espescially including:
- fake paths (ala /go/root/<pkgname> instead of the real filename)
- doesn't have stack tracing on panic
- doesn't print faulting instruction, address on segfault
The existing pack tool allows you to strip prefixes from paths, but there's no option to
pass that through the go build tool chain. Furthermore, this doesn't disable printing
stack traces, etc.</pre> | 1 |
<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 installed PyTorch via conda in a Windows 10 machine, Python 3.6 environment.</p>
<p dir="auto">I get this error:<br>
ImportError: cannot import name 'caffe2_pb2'</p>
<p dir="auto">When trying to execute this tutorial:<br>
<a href="https://pytorch.org/tutorials/advanced/super_resolution_with_caffe2.html" rel="nofollow">https://pytorch.org/tutorials/advanced/super_resolution_with_caffe2.html</a></p>
<p dir="auto">Specifically when importing the Caffe2 ONNX Backend</p>
<h2 dir="auto">Traceback</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "onnxLoader.py", line 9, in <br>
import caffe2.python.onnx.backend as onnx_caffe2_backend<br>
File "C:\Users\alejo\AppData\Local\conda\conda\envs\pyTorchEnv\lib\site-packages\caffe2\python_<em>init</em>_.py", line 2, in <br>
from caffe2.proto import caffe2_pb2<br>
ImportError: cannot import name 'caffe2_pb2'</p>
<h2 dir="auto">Environment</h2>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0): 1.0</li>
<li>OS (e.g., Linux): Windows 10</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): conda</li>
<li>Python version: 3.6.8</li>
<li>CUDA/cuDNN version: 9.0</li>
<li>GPU models and configuration: GeForce GTX 960M</li>
</ul> | <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">Reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m3rlin45/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m3rlin45">@m3rlin45</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from caffe2.python import workspace"><pre class="notranslate"><code class="notranslate">from caffe2.python import workspace
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from caffe2.python import workspace
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\m3rlin45\Documents\foo\env\lib\site-packages\caffe2\python\__init__.py", line 2, in <module>
from caffe2.proto import caffe2_pb2
ImportError: cannot import name 'caffe2_pb2'"><pre class="notranslate"><code class="notranslate">Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from caffe2.python import workspace
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\m3rlin45\Documents\foo\env\lib\site-packages\caffe2\python\__init__.py", line 2, in <module>
from caffe2.proto import caffe2_pb2
ImportError: cannot import name 'caffe2_pb2'
</code></pre></div>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Repro on a VM:</p>
<ul dir="auto">
<li>Spin up fresh windows server 2016 VM on azure</li>
<li>install python 3.6.7 from python.org</li>
<li>disable path limit during install</li>
<li>install virtualenv</li>
<li>install vs15 redist to help virtualenv work</li>
<li>set up a virtualenv and activated it</li>
<li>install torch via instructions on pytorch.org, windows, python 3.6, no cuda</li>
<li>open python</li>
<li>run: <code class="notranslate">from caffe2.python import workspace</code></li>
</ul> | 1 |
<p dir="auto">I'm using ansible 2.0.0.1 and while excuting any command on the remote server or local server, I'm getting following error</p>
<p dir="auto">[root@wautomation-tst01 ansible]# ansible werindbalajil01 -l ping<br>
ERROR! need more than 2 values to unpack</p>
<p dir="auto">I trying reinstalling, but still getting the same issue</p>
<p dir="auto">anybody help?</p>
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Can you help us out in labelling this by telling us what kind of ticket this this? You can say:</p>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">Ansible 2.0.0.1</p>
<h5 dir="auto">Ansible Configuration:</h5>
<p dir="auto">Nothing, i just finished installing the ansible in Oracle Linuc 6.4 (same kernal as RHEL 6), after the installation when i try to execute any ansible core commands (such as Ping, file or Setup) are showing following error</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">OEL 6.3<br>
[root@wautomation-tst01 ansible]# uname -a<br>
Linux wautomation-tst01.us.int.rci.com 2.6.39-400.109.4.el6uek.x86_64 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3525390" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/1" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/1/hovercard" href="https://github.com/ansible/ansible/issues/1">#1</a> SMP Mon Jul 22 11:44:00 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux</p>
<p dir="auto">Python version<br>
[root@wautomation-tst01 ansible]# python --version<br>
Python 2.6.6</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">When i try to use the basic ansible command it coming with following error<br>
ERROR! need more than 2 values to unpack</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">running any ansuble core commands. E.g</p>
<p dir="auto">[root@wautomation-tst01 ansible]# ansible 127.0.0.1 -m ping<br>
ERROR! need more than 2 values to unpack<br>
[root@wautomation-tst01 ansible]# ansible -vvv 127.0.0.1 -m ping<br>
Using /etc/ansible/ansible.cfg as config file<br>
ERROR! need more than 2 values to unpack</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">ping command output</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">[root@wautomation-tst01 ansible]# ansible -vvv 127.0.0.1 -m ping<br>
Using /etc/ansible/ansible.cfg as config file<br>
ERROR! need more than 2 values to unpack</p> | <p dir="auto">Issue Type:<br>
Bug Report</p>
<p dir="auto">Ansible Version:<br>
2.0.0.2<br>
<=1.9.4 is not affected</p>
<p dir="auto">Ansible Configuration:<br>
Default (no ansible.cfg)</p>
<p dir="auto">Environment:<br>
Gentoo amd64</p>
<p dir="auto">Summary:<br>
After upgrading to ansible 2.0 (2.0.0.2) it began to give me an error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""ERROR! need more than 2 values to unpack""><pre class="notranslate"><code class="notranslate">"ERROR! need more than 2 values to unpack"
</code></pre></div>
<p dir="auto">when I have spaces in group names in my inventory files. It was ok when I have ansible 1.9.4.</p>
<p dir="auto">Steps To Reproduce:<br>
Install ansible 2.0.<br>
Make test inventory file:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat hosts
[test group]
localhost"><pre class="notranslate"><code class="notranslate">$ cat hosts
[test group]
localhost
</code></pre></div>
<p dir="auto">Expected Results:<br>
<code class="notranslate">ansible -m ping -i hosts all</code><br>
should start successfully</p>
<p dir="auto">Actual Results:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible -i hosts -m ping all -vvv
No config file found; using defaults
ERROR! need more than 2 values to unpack"><pre class="notranslate"><code class="notranslate">$ ansible -i hosts -m ping all -vvv
No config file found; using defaults
ERROR! need more than 2 values to unpack
</code></pre></div> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=xarx" rel="nofollow">Xarx</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8344?redirect=false" rel="nofollow">SPR-8344</a></strong> and commented</p>
<p dir="auto">What happens:<br>
When org.springframework.beans.factory.support.DefaultListBeanFactory.findAutowireCandidates() determines candidate beans, it instantiates all of them at the end. Even when the candidates are marked as lazy-inited. In my opinion, this is unnecessary. Lazy-inited candidate should be instantiated only when it is actually chosen to be the right candidate - which is done later in DefaultListBeanFactory.doResolveDependency().</p>
<p dir="auto">What should happen:<br>
In my opinion, beans marked as lazy-init should be instantiated only when actually used by the application code. Spring internals should avoid instantiating them unless really necessary.</p>
<p dir="auto">This bug is a generalization of Bug <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112340" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12991" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12991/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12991">#12991</a>. I filed this bug separately because its resolution might be more complicated (though it needn't) than <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112340" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12991" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12991/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12991">#12991</a>, hence this bug has less chance to be resolved quickly.</p>
<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="398107689" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12240" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12240/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12240">#12240</a> Migration from 2.5.6 to 3.0.2 - Lazy Init functions differently. (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112340" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12991" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12991/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12991">#12991</a> Even when primary candidate exists, other lazy bean candidates are instantiated (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">4 votes, 5 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=koen.serneels" rel="nofollow">Koen Serneels</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9404?redirect=false" rel="nofollow">SPR-9404</a></strong> and commented</p>
<p dir="auto">I have been migrating from hibernate 3.3.x to hibernate 4.1.3-final using Spring 3.1.1-release.<br>
Besides the hibernate specific refactorings (due to API changes) I thought the only changes for the Spring integration were changing packages names:</p>
<ul dir="auto">
<li>Use the LocalSessionFactoryBean from the hibernate4 package</li>
<li>Use the HibernateTransactionManger (which we only use for testing) from the hibernate4 package.</li>
</ul>
<p dir="auto">As it turned out the migration when smooth and everything was working on a local tomcat.<br>
However, once we ran our app on glassfish with the JtaTransactionManager (I tested it on GF3.1.2) we got a "No Session found for current thread" when obtaining sessionFactory.currentSession().<br>
After checking SpringSessionContext, we learned that if TransactionSynchronizationManager does not return a existing session or SessionHolder, a check<br>
is performed for a jtaSessionContext, which was null.<br>
The fact that no SessionHolder is registered made also sense as this done by the HibernateTransactionManager and we are using the JtaTransactionManager.</p>
<p dir="auto">So then learned that in case of JTA you have to specify manually how the tx manager/user transaction can be found.<br>
This was done automatically for you in the hibernate3 LocalSessionFactoryBean, but no longer in the hibernate4 LocalSessionFactoryBean.<br>
So to solve this we configured:</p>
<p dir="auto">hibernate.transaction.jta.platform and set it to SunOneJtaPlatform.</p>
<p dir="auto">This resolved the "No Session found for current thread" as it initialized the jtaSessionContext with the txmanager provided by the configured JtaPlatform.</p>
<p dir="auto">However, now it turns out that the hibernate session is not flushed before the transaction is commited and hence no modifications are written to database.<br>
In the supplied sample we have a basic hibernate setup with H2. Next we have a JtaTransactionManager and a transactional facade.<br>
Next we have a test entity having a single property. The facade has two methods, one to store the entity and one to retrieve the entity.<br>
They both marked as <code class="notranslate">@Transactional</code> and if called will run in there own transaction.<br>
The trigger is a plain JEE servlet which retrieves the facade from application context.<br>
First the store method is called (tx1) then the retrieve method is called (tx2).<br>
As you will see with the Spring hibernate4 integration there was nothing saved.<br>
With the hibernate3 integration everything works as expected and the record is saved<br>
(it can be retrieved by the subsequent retrieval transaction)</p>
<p dir="auto">What is also bizarre is that in hibernate3 modus everything goes via the Spring TransactionSynchronizationManager (even in JTA mode).<br>
Also the current session is bound via a thread local referenced via the synchronization.<br>
This is bound using a SpringSessionSynchronization which will call flush before transaction completion.</p>
<p dir="auto">All of this is gone with the hibernate4 integration from the moment a JTA environment is detected.<br>
As of then everything goes via the JTA transaction manager, as there where no Spring Transacion management involved.<br>
This could be normal to a certain extend, but it feels odd compared to the way is was done with hibernate3.</p>
<p dir="auto">I supplied two samples:</p>
<ul dir="auto">
<li>
<p dir="auto">hibernate3.zip : this is the working one, deploy it on GF and goto "<a href="http://localhost:8080/hibernate3/Persist" rel="nofollow">http://localhost:8080/hibernate3/Persist</a>"<br>
You will see that it stores a record and is able to retrieve it again</p>
</li>
<li>
<p dir="auto">hibernate4.zip : the exact same sample as above, but now with hibernate4 and using LocalSessionFactoryBean from the hibernate4 package and the hibernate.transaction.jta.platform set.<br>
You will see that it stores a record and is NOT able to retrieve it.</p>
</li>
</ul>
<p dir="auto">Both samples have a POM so it should be trivial to build them.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.1</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/19646/hibernate3.zip" rel="nofollow">hibernate3.zip</a> (<em>7.33 kB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/19647/hibernate4.zip" rel="nofollow">hibernate4.zip</a> (<em>7.35 kB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398151014" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14115" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14115/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14115">#14115</a> Hibernate 4 smart flushing does not work unless CMTTransactionFactory is being specified (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398109875" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12571" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12571/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12571">#12571</a> util:map support for key-types other than String not working (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398150642" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14060" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14060/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14060">#14060</a> Spring JtaTransactionManager is not flushing during before completion phase when using Hibernate 4 or Hibernate 3 (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">5 votes, 4 watchers</p> | 0 |
<p dir="auto">I am using the latest packages with google_sign_in version 3.0.4 and flutter version 0.4.4. The following code doesn't catch sign_in_failed error when I dismiss the google sign in dialog and I get a PlatformException.</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try {
googleUser = await _googleSignIn.signIn();
} catch (error) {
googleUser = null;
print(error);
}"><pre class="notranslate"><span class="pl-k">try</span> {
googleUser <span class="pl-k">=</span> <span class="pl-k">await</span> _googleSignIn.<span class="pl-en">signIn</span>();
} <span class="pl-k">catch</span> (error) {
googleUser <span class="pl-k">=</span> <span class="pl-c1">null</span>;
<span class="pl-en">print</span>(error);
}</pre></div>
<p dir="auto">Is there some mistake in my code or is it a bug in the package?</p> | <p dir="auto">iOS build fails after updating to cloud_firestore 0.8.0 (Android has a workaround, please look at ticket <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="357979408" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/21543" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/21543/hovercard" href="https://github.com/flutter/flutter/issues/21543">#21543</a>). I am using beta channel and everything is up to date.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Build works using cloud_firestore: "^0.7.4" in pubspec.yaml</li>
</ol>
<p dir="auto">Launching lib/main.dart on iPhone X in debug mode...<br>
Starting Xcode build...<br>
Xcode build done.<br>
...</p>
<ol start="2" dir="auto">
<li>After upgrading to cloud_firestore: "^0.8.0" in pubspec.yaml</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ic/AndroidStudioProjects/TimecapS/build/ios -sdk iphonesimulator -arch x86_64 SCRIPT_OUTPUT_STREAM_FILE=/var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout -showBuildSettings
[ +1 ms] Build settings from command line:
ARCHS = x86_64
BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
SCRIPT_OUTPUT_STREAM_FILE = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout
SDKROOT = iphonesimulator11.4
VERBOSE_SCRIPT_LOGGING = YES
Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = YES
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = Vic
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
ARCHS = x86_64
ARCHS_STANDARD = i386 x86_64
ARCHS_STANDARD_32_64_BIT = i386 x86_64
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = i386 x86_64
ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
BUILD_ROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Products
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
CACHE_ROOT = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode
CCHROOT = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext
CODE_SIGN_IDENTITY = -
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug
CONFIGURATION_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
CONFIGURATION_TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos
CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
CORRESPONDING_DEVICE_SDK_NAME = iphoneos11.4
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = x86_64
CURRENT_PROJECT_VERSION = 1
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min=
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4
DERIVED_FILES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
EFFECTIVE_PLATFORM_NAME = -iphonesimulator
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/Vic/AndroidStudioProjects/TimecapS
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_FRAMEWORK_DIR = /Users/Vic/Development/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/Vic/Development/flutter
FLUTTER_TARGET = /Users/Vic/AndroidStudioProjects/TimecapS/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/../.symlinks/flutter/ios" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/GoogleSignIn/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/../.symlinks/flutter/ios" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/GoogleSignIn/Frameworks" /Users/Vic/AndroidStudioProjects/TimecapS/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OBJC_LEGACY_DISPATCH = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 COCOAPODS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Firebase/CoreOnly/Sources "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences" /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Firebase/CoreOnly/Sources "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences"
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/Vic
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = Vic
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 8.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/shared_preferences" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/shared_preferences" /Users/Vic/AndroidStudioProjects/TimecapS/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_x86_64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 17G65
MAC_OS_X_VERSION_ACTUAL = 101306
MAC_OS_X_VERSION_MAJOR = 101300
MAC_OS_X_VERSION_MINOR = 1306
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Runner.app
MODULE_CACHE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = YES
NATIVE_ARCH = i386
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJC_ABI_VERSION = 2
OBJECT_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal
OBJROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences"
OTHER_CPLUSPLUSFLAGS = -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences"
OTHER_LDFLAGS = -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"FirebaseStorage" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_analytics" -l"firebase_auth" -l"firebase_core" -l"firebase_database" -l"firebase_storage" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"image_picker" -l"leveldb-library" -l"nanopb" -l"path_provider" -l"shared_preferences" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"FirebaseStorage" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_analytics" -l"firebase_auth" -l"firebase_core" -l"firebase_database" -l"firebase_storage" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"image_picker" -l"leveldb-library" -l"nanopb" -l"path_provider" -l"shared_preferences" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Vic/Development/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
PLATFORM_DISPLAY_NAME = iOS Simulator
PLATFORM_NAME = iphonesimulator
PLATFORM_PREFERRED_ARCH = x86_64
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
PODS_PODFILE_DIR_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/ios/.
PODS_ROOT = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PREVIEW_DART_2 = true
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.spacetime.timecaps
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/DerivedSources
PROJECT_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/ios
PROJECT_FILE_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build
PROJECT_TEMP_ROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SCRIPT_OUTPUT_STREAM_FILE = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
SDK_DIR_iphonesimulator11_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
SDK_NAME = iphonesimulator11.4
SDK_NAMES = iphonesimulator11.4
SDK_PRODUCT_BUILD_VERSION = 15F79
SDK_VERSION = 11.4
SDK_VERSION_ACTUAL = 110400
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 400
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/Vic/AndroidStudioProjects/TimecapS/ios
SRCROOT = /Users/Vic/AndroidStudioProjects/TimecapS/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_PLATFORM_TARGET_PREFIX = ios
SYMROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_ROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = Vic
USER_APPS_DIR = /Users/Vic/Applications
USER_LIBRARY_DIR = /Users/Vic/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = NO
VALID_ARCHS = i386 x86_64
VERBOSE_PBXCP = NO
VERBOSE_SCRIPT_LOGGING = YES
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = Vic
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 9F2000
XCODE_VERSION_ACTUAL = 0941
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0940
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = x86_64
variant = normal
[ +86 ms] Failed to build iOS app
[ +1 ms] Error output from Xcode build:
β³
[ +1 ms] ** BUILD FAILED **
The following build commands failed:
CompileC /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.o /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
[ ] Xcode's output:
β³
[ ] Build settings from command line:
ARCHS = x86_64
BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
SCRIPT_OUTPUT_STREAM_FILE = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout
SDKROOT = iphonesimulator11.4
VERBOSE_SCRIPT_LOGGING = YES
=== BUILD TARGET BoringSSL OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET GTMSessionFetcher OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET leveldb-library OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET GoogleToolboxForMac OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseCore OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET Protobuf OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseAuth OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseDatabase OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET nanopb OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-RxLibrary OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-gRPCCertificates OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseStorage OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET GTMOAuth2 OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_analytics OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_auth OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_core OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_storage OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET google_sign_in OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET image_picker OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET path_provider OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-Core OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-ProtoRPC OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseFirestore OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
CompileC /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.o /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Vic/Development/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/Vic/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/Vic/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=6.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Index/DataStore -iquote /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-generated-files.hmap -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-own-target-headers.hmap -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-all-target-headers.hmap -iquote /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-project-headers.hmap -I/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore/include -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/cloud_firestore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/DerivedSources/x86_64 -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/DerivedSources -F/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore -F/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/../.symlinks/flutter/ios -F/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseInstanceID/Frameworks -include /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target\ Support\ Files/cloud_firestore/cloud_firestore-prefix.pch -MMD -MT dependencies -MF /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.d --serialize-diagnostics /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.dia -c /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m -o /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.o
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:100:42: warning: 'UIUserNotificationSettings' is only available on iOS 8.0 or newer [-Wunguarded-availability]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked partial here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:99:1: note: annotate 'application:didRegisterUserNotificationSettings:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:115:44: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:113:1: note: annotate 'application:didReceiveRemoteNotification:fetchCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:168:49: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:167:1: note: annotate 'application:performFetchWithCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:176:27: warning: 'NSUserActivity' is only available on iOS 8.0 or newer [-Wunguarded-availability]
continueUserActivity:(NSUserActivity*)userActivity
^
In module 'Foundation' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:17:12: note: 'NSUserActivity' has been explicitly marked partial here
@interface NSUserActivity : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:175:1: note: annotate 'application:continueUserActivity:restorationHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:70:42: warning: 'UIUserNotificationSettings' is only available on iOS 8.0 or newer [-Wunguarded-availability]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked partial here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:69:1: note: annotate 'application:didRegisterUserNotificationSettings:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:83:44: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:81:1: note: annotate 'application:didReceiveRemoteNotification:fetchCompletionHandler:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:139:49: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:138:1: note: annotate 'application:performFetchWithCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:147:27: warning: 'NSUserActivity' is only available on iOS 8.0 or newer [-Wunguarded-availability]
continueUserActivity:(NSUserActivity*)userActivity
^
In module 'Foundation' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:17:12: note: 'NSUserActivity' has been explicitly marked partial here
@interface NSUserActivity : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:146:1: note: annotate 'application:continueUserActivity:restorationHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:7:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/Firebase/Firebase.h:86:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FirebaseStorage.h:24:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FIRStorageTaskSnapshot.h:53:50: warning: 'NSProgress' is only available on iOS 7.0 or newer [-Wunguarded-availability]
@property(readonly, strong, nonatomic, nullable) NSProgress *progress;
^
In module 'Foundation' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h:37:12: note: 'NSProgress' has been explicitly marked partial here
@interface NSProgress : NSObject {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:7:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/Firebase/Firebase.h:86:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FirebaseStorage.h:24:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FIRStorageTaskSnapshot.h:33:12: note: annotate 'FIRStorageTaskSnapshot' with an availability attribute to silence this warning
@interface FIRStorageTaskSnapshot : NSObject
^
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:50:22: error: no visible @interface for 'FIRQuery' declares the selector 'queryWhereField:arrayContains:'
query = [query queryWhereField:fieldName arrayContains:value];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:117:45: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
@"oldIndex" : [NSNumber numberWithInt:documentChange.oldIndex],
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:118:45: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
@"newIndex" : [NSNumber numberWithInt:documentChange.newIndex],
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:166:21: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
[self writeSize:blob.length];
~ ^~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:206:29: error: no known class method for selector 'fieldValueForArrayUnion:'
return [FIRFieldValue fieldValueForArrayUnion:[self readValue]];
^~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:209:29: error: no known class method for selector 'fieldValueForArrayRemove:'
return [FIRFieldValue fieldValueForArrayRemove:[self readValue]];
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:288:7: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
transactions[transactionId] = transaction;
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:295:29: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
transactionResults[transactionId] = doTransactionResult;
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:302:14: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
return transactionResults[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:316:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:340:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:349:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:358:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
19 warnings and 3 errors generated.
[ +208 ms] Could not build the application for the simulator.
[ +2 ms] Error launching application on iPhone X.
[ +14 ms] "flutter run" took 12,342ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:417:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:356:18)
#3 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9 Future._complete (dart:async/future_impl.dart:476:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"><pre class="notranslate"><code class="notranslate">ic/AndroidStudioProjects/TimecapS/build/ios -sdk iphonesimulator -arch x86_64 SCRIPT_OUTPUT_STREAM_FILE=/var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout -showBuildSettings
[ +1 ms] Build settings from command line:
ARCHS = x86_64
BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
SCRIPT_OUTPUT_STREAM_FILE = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout
SDKROOT = iphonesimulator11.4
VERBOSE_SCRIPT_LOGGING = YES
Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = YES
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = Vic
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
ARCHS = x86_64
ARCHS_STANDARD = i386 x86_64
ARCHS_STANDARD_32_64_BIT = i386 x86_64
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = i386 x86_64
ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
BUILD_ROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Products
BUILD_STYLE =
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
CACHE_ROOT = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode
CCHROOT = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext
CODE_SIGN_IDENTITY = -
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug
CONFIGURATION_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
CONFIGURATION_TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos
CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
CORRESPONDING_DEVICE_SDK_NAME = iphoneos11.4
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = x86_64
CURRENT_PROJECT_VERSION = 1
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min=
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4
DERIVED_FILES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
EFFECTIVE_PLATFORM_NAME = -iphonesimulator
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/Vic/AndroidStudioProjects/TimecapS
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_FRAMEWORK_DIR = /Users/Vic/Development/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/Vic/Development/flutter
FLUTTER_TARGET = /Users/Vic/AndroidStudioProjects/TimecapS/lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/../.symlinks/flutter/ios" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/GoogleSignIn/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/../.symlinks/flutter/ios" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/GoogleSignIn/Frameworks" /Users/Vic/AndroidStudioProjects/TimecapS/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OBJC_LEGACY_DISPATCH = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 COCOAPODS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Firebase/CoreOnly/Sources "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences" /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Firebase/CoreOnly/Sources "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences"
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/Vic
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = Vic
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 8.0
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/shared_preferences" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/BoringSSL" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseAuth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseCore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseDatabase" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseFirestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/FirebaseStorage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMOAuth2" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GTMSessionFetcher" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/GoogleToolboxForMac" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Protobuf" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_analytics" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_auth" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_database" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/firebase_storage" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-Core" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-ProtoRPC" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/gRPC-RxLibrary" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/google_sign_in" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/image_picker" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/leveldb-library" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/nanopb" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/path_provider" "/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/shared_preferences" /Users/Vic/AndroidStudioProjects/TimecapS/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_x86_64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 17G65
MAC_OS_X_VERSION_ACTUAL = 101306
MAC_OS_X_VERSION_MAJOR = 101300
MAC_OS_X_VERSION_MINOR = 1306
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/Runner.app
MODULE_CACHE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
MTL_ENABLE_DEBUG_INFO = YES
NATIVE_ARCH = i386
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJC_ABI_VERSION = 2
OBJECT_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal
OBJROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences"
OTHER_CPLUSPLUSFLAGS = -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_analytics" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_database" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/firebase_storage" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/image_picker" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/path_provider" -isystem "/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/shared_preferences"
OTHER_LDFLAGS = -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"FirebaseStorage" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_analytics" -l"firebase_auth" -l"firebase_core" -l"firebase_database" -l"firebase_storage" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"image_picker" -l"leveldb-library" -l"nanopb" -l"path_provider" -l"shared_preferences" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -ObjC -l"BoringSSL" -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseDatabase" -l"FirebaseFirestore" -l"FirebaseStorage" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"cloud_firestore" -l"firebase_analytics" -l"firebase_auth" -l"firebase_core" -l"firebase_database" -l"firebase_storage" -l"gRPC" -l"gRPC-Core" -l"gRPC-ProtoRPC" -l"gRPC-RxLibrary" -l"google_sign_in" -l"icucore" -l"image_picker" -l"leveldb-library" -l"nanopb" -l"path_provider" -l"shared_preferences" -l"sqlite3" -l"z" -framework "CFNetwork" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "MobileCoreServices" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Vic/Development/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
PLATFORM_DISPLAY_NAME = iOS Simulator
PLATFORM_NAME = iphonesimulator
PLATFORM_PREFERRED_ARCH = x86_64
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
PODS_PODFILE_DIR_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/ios/.
PODS_ROOT = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PREVIEW_DART_2 = true
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.spacetime.timecaps
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/DerivedSources
PROJECT_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/ios
PROJECT_FILE_PATH = /Users/Vic/AndroidStudioProjects/TimecapS/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build
PROJECT_TEMP_ROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SCRIPT_OUTPUT_STREAM_FILE = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
SDK_DIR_iphonesimulator11_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
SDK_NAME = iphonesimulator11.4
SDK_NAMES = iphonesimulator11.4
SDK_PRODUCT_BUILD_VERSION = 15F79
SDK_VERSION = 11.4
SDK_VERSION_ACTUAL = 110400
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 400
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/Vic/AndroidStudioProjects/TimecapS/ios
SRCROOT = /Users/Vic/AndroidStudioProjects/TimecapS/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_PLATFORM_TARGET_PREFIX = ios
SYMROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1,2
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILES_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_FILE_DIR = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
TEMP_ROOT = /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 501
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = Vic
USER_APPS_DIR = /Users/Vic/Applications
USER_LIBRARY_DIR = /Users/Vic/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = NO
VALID_ARCHS = i386 x86_64
VERBOSE_PBXCP = NO
VERBOSE_SCRIPT_LOGGING = YES
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = Vic
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_PRODUCT_BUILD_VERSION = 9F2000
XCODE_VERSION_ACTUAL = 0941
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0940
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = x86_64
variant = normal
[ +86 ms] Failed to build iOS app
[ +1 ms] Error output from Xcode build:
β³
[ +1 ms] ** BUILD FAILED **
The following build commands failed:
CompileC /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.o /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
[ ] Xcode's output:
β³
[ ] Build settings from command line:
ARCHS = x86_64
BUILD_DIR = /Users/Vic/AndroidStudioProjects/TimecapS/build/ios
SCRIPT_OUTPUT_STREAM_FILE = /var/folders/dn/frzzj7vj0h3f1mjb57hdbm2h0000gn/T/flutter_build_log_pipe.Q3Mhpy/pipe_to_stdout
SDKROOT = iphonesimulator11.4
VERBOSE_SCRIPT_LOGGING = YES
=== BUILD TARGET BoringSSL OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET GTMSessionFetcher OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET leveldb-library OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET GoogleToolboxForMac OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseCore OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET Protobuf OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseAuth OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseDatabase OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET nanopb OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-RxLibrary OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-gRPCCertificates OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseStorage OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET GTMOAuth2 OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_analytics OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_auth OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_core OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET firebase_storage OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET google_sign_in OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET image_picker OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET path_provider OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-Core OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET gRPC-ProtoRPC OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET FirebaseFirestore OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET cloud_firestore OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
CompileC /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.o /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Vic/Development/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/Vic/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/Vic/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=6.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Index/DataStore -iquote /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-generated-files.hmap -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-own-target-headers.hmap -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-all-target-headers.hmap -iquote /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/cloud_firestore-project-headers.hmap -I/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore/include -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/cloud_firestore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/BoringSSL -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Firebase -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAnalytics -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseAuth -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseCore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseDatabase -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseFirestore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseInstanceID -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/FirebaseStorage -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GTMSessionFetcher -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/GoogleToolboxForMac -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Protobuf -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/cloud_firestore -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-Core -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-ProtoRPC -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/gRPC-RxLibrary -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/leveldb-library -I/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/nanopb -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/DerivedSources/x86_64 -I/Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/DerivedSources -F/Users/Vic/AndroidStudioProjects/TimecapS/build/ios/Debug-iphonesimulator/cloud_firestore -F/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/../.symlinks/flutter/ios -F/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/FirebaseInstanceID/Frameworks -include /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target\ Support\ Files/cloud_firestore/cloud_firestore-prefix.pch -MMD -MT dependencies -MF /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.d --serialize-diagnostics /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.dia -c /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m -o /Users/Vic/Library/Developer/Xcode/DerivedData/Runner-cwiepmzzqjtzpnhhqugtkinagffl/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/cloud_firestore.build/Objects-normal/x86_64/CloudFirestorePlugin.o
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:100:42: warning: 'UIUserNotificationSettings' is only available on iOS 8.0 or newer [-Wunguarded-availability]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked partial here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:99:1: note: annotate 'application:didRegisterUserNotificationSettings:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:115:44: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:113:1: note: annotate 'application:didReceiveRemoteNotification:fetchCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:168:49: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:167:1: note: annotate 'application:performFetchWithCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:176:27: warning: 'NSUserActivity' is only available on iOS 8.0 or newer [-Wunguarded-availability]
continueUserActivity:(NSUserActivity*)userActivity
^
In module 'Foundation' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:17:12: note: 'NSUserActivity' has been explicitly marked partial here
@interface NSUserActivity : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:40:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h:11:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:175:1: note: annotate 'application:continueUserActivity:restorationHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:70:42: warning: 'UIUserNotificationSettings' is only available on iOS 8.0 or newer [-Wunguarded-availability]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked partial here
@interface UIUserNotificationSettings : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:69:1: note: annotate 'application:didRegisterUserNotificationSettings:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:83:44: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:81:1: note: annotate 'application:didReceiveRemoteNotification:fetchCompletionHandler:' with an availability attribute to silence this warning
- (void)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:139:49: warning: 'UIBackgroundFetchResult' is only available on iOS 7.0 or newer [-Wunguarded-availability]
performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
^
In module 'UIKit' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Target Support Files/cloud_firestore/cloud_firestore-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:76:29: note: 'UIBackgroundFetchResult' has been explicitly marked partial here
typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:138:1: note: annotate 'application:performFetchWithCompletionHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:147:27: warning: 'NSUserActivity' is only available on iOS 8.0 or newer [-Wunguarded-availability]
continueUserActivity:(NSUserActivity*)userActivity
^
In module 'Foundation' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:17:12: note: 'NSUserActivity' has been explicitly marked partial here
@interface NSUserActivity : NSObject
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:5:
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.h:5:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h:50:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPluginAppLifeCycleDelegate.h:146:1: note: annotate 'application:continueUserActivity:restorationHandler:' with an availability attribute to silence this warning
- (BOOL)application:(UIApplication*)application
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:7:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/Firebase/Firebase.h:86:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FirebaseStorage.h:24:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FIRStorageTaskSnapshot.h:53:50: warning: 'NSProgress' is only available on iOS 7.0 or newer [-Wunguarded-availability]
@property(readonly, strong, nonatomic, nullable) NSProgress *progress;
^
In module 'Foundation' imported from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h:37:12: note: 'NSProgress' has been explicitly marked partial here
@interface NSProgress : NSObject {
^
In file included from /Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:7:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/Firebase/Firebase.h:86:
In file included from /Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FirebaseStorage.h:24:
/Users/Vic/AndroidStudioProjects/TimecapS/ios/Pods/Headers/Private/FirebaseStorage/FIRStorageTaskSnapshot.h:33:12: note: annotate 'FIRStorageTaskSnapshot' with an availability attribute to silence this warning
@interface FIRStorageTaskSnapshot : NSObject
^
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:50:22: error: no visible @interface for 'FIRQuery' declares the selector 'queryWhereField:arrayContains:'
query = [query queryWhereField:fieldName arrayContains:value];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:117:45: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
@"oldIndex" : [NSNumber numberWithInt:documentChange.oldIndex],
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:118:45: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
@"newIndex" : [NSNumber numberWithInt:documentChange.newIndex],
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:166:21: warning: implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'UInt32' (aka 'unsigned int') [-Wshorten-64-to-32]
[self writeSize:blob.length];
~ ^~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:206:29: error: no known class method for selector 'fieldValueForArrayUnion:'
return [FIRFieldValue fieldValueForArrayUnion:[self readValue]];
^~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:209:29: error: no known class method for selector 'fieldValueForArrayRemove:'
return [FIRFieldValue fieldValueForArrayRemove:[self readValue]];
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:288:7: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
transactions[transactionId] = transaction;
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:295:29: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
transactionResults[transactionId] = doTransactionResult;
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:302:14: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
return transactionResults[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:316:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:340:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:349:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
/Users/Vic/Development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.0/ios/Classes/CloudFirestorePlugin.m:358:37: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
FIRTransaction *transaction = transactions[transactionId];
^
self->
19 warnings and 3 errors generated.
[ +208 ms] Could not build the application for the simulator.
[ +2 ms] Error launching application on iPhone X.
[ +14 ms] "flutter run" took 12,342ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:417:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:356:18)
#3 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9 Future._complete (dart:async/future_impl.dart:476:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_email_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_email_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_email_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_email_verification_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_email_verification_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_email_verification_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_mobile_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_mobile_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_mobile_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_mobile_verification_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_mobile_verification_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_mobile_verification_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_screen.dart:6:8 β’ unused_import
info β’ Duplicate import β’ lib/screens/login/sign_up_birthday_screen.dart:3:8 β’ duplicate_import
info β’ The value of the field '_date' isn't used β’ lib/screens/login/sign_up_birthday_screen.dart:12:12 β’ unused_field
info β’ Await only futures β’ lib/screens/login/sign_up_birthday_screen.dart:17:5 β’ await_only_futures
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_capcha_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_capcha_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_capcha_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_email_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_email_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_email_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_mobile_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_mobile_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_mobile_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_mobile_verification_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_mobile_verification_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_mobile_verification_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_name_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_name_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_name_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_nickname_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_nickname_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_nickname_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_password_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_password_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_password_screen.dart:6:8 β’ unused_import
"><pre class="notranslate"><code class="notranslate"> info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_email_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_email_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_email_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_email_verification_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_email_verification_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_email_verification_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_mobile_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_mobile_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_mobile_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_mobile_verification_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_mobile_verification_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_mobile_verification_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/reset_password_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/reset_password_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/reset_password_screen.dart:6:8 β’ unused_import
info β’ Duplicate import β’ lib/screens/login/sign_up_birthday_screen.dart:3:8 β’ duplicate_import
info β’ The value of the field '_date' isn't used β’ lib/screens/login/sign_up_birthday_screen.dart:12:12 β’ unused_field
info β’ Await only futures β’ lib/screens/login/sign_up_birthday_screen.dart:17:5 β’ await_only_futures
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_capcha_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_capcha_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_capcha_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_email_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_email_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_email_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_mobile_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_mobile_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_mobile_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_mobile_verification_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_mobile_verification_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_mobile_verification_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_name_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_name_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_name_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_nickname_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_nickname_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_nickname_screen.dart:6:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_form.dart' β’ lib/screens/login/sign_up_password_screen.dart:3:8 β’ unused_import
info β’ Unused import: 'package:timecaps/containers/login_google_button.dart' β’ lib/screens/login/sign_up_password_screen.dart:4:8 β’ unused_import
info β’ Unused import: 'package:timecaps/styles/colors.dart' β’ lib/screens/login/sign_up_password_screen.dart:6:8 β’ unused_import
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
[β] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.6 17G65, locale en-GB)
β’ Flutter version 0.7.3 at /Users/Vic/Development/flutter
β’ Framework revision 3b309bda07 (12 days ago), 2018-08-28 12:39:24 -0700
β’ Engine revision af42b6dc95
β’ Dart version 2.1.0-dev.1.0.flutter-ccb16f7282
[β] Android toolchain - develop for Android devices (Android SDK 27.0.3)
β’ Android SDK at /Users/Vic/Library/Android/sdk
β’ Android NDK location not configured (optional; useful for native profiling support)
β’ Platform android-27, build-tools 27.0.3
β’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
β’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
β’ All Android licenses accepted.
[β] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
β’ Xcode at /Applications/Xcode.app/Contents/Developer
β’ Xcode 9.4.1, Build version 9F2000
β’ ios-deploy 1.9.2
β’ CocoaPods version 1.5.3
[β] Android Studio (version 3.1)
β’ Android Studio at /Applications/Android Studio.app/Contents
β’ Flutter plugin version 28.0.1
β’ Dart plugin version 173.4700
β’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[β] IntelliJ IDEA Community Edition (version 2018.1.5)
β’ IntelliJ at /Applications/IntelliJ IDEA CE.app
β’ Flutter plugin version 25.0.2
β’ Dart plugin version 181.4892.1
[β] Connected devices (1 available)
β’ iPhone X β’ 38F89E13-65F8-4733-958A-E8D2F604D5D6 β’ ios β’ iOS 11.4 (simulator)
β’ No issues found!
"><pre class="notranslate"><code class="notranslate">
[β] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.6 17G65, locale en-GB)
β’ Flutter version 0.7.3 at /Users/Vic/Development/flutter
β’ Framework revision 3b309bda07 (12 days ago), 2018-08-28 12:39:24 -0700
β’ Engine revision af42b6dc95
β’ Dart version 2.1.0-dev.1.0.flutter-ccb16f7282
[β] Android toolchain - develop for Android devices (Android SDK 27.0.3)
β’ Android SDK at /Users/Vic/Library/Android/sdk
β’ Android NDK location not configured (optional; useful for native profiling support)
β’ Platform android-27, build-tools 27.0.3
β’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
β’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
β’ All Android licenses accepted.
[β] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
β’ Xcode at /Applications/Xcode.app/Contents/Developer
β’ Xcode 9.4.1, Build version 9F2000
β’ ios-deploy 1.9.2
β’ CocoaPods version 1.5.3
[β] Android Studio (version 3.1)
β’ Android Studio at /Applications/Android Studio.app/Contents
β’ Flutter plugin version 28.0.1
β’ Dart plugin version 173.4700
β’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[β] IntelliJ IDEA Community Edition (version 2018.1.5)
β’ IntelliJ at /Applications/IntelliJ IDEA CE.app
β’ Flutter plugin version 25.0.2
β’ Dart plugin version 181.4892.1
[β] Connected devices (1 available)
β’ iPhone X β’ 38F89E13-65F8-4733-958A-E8D2F604D5D6 β’ ios β’ iOS 11.4 (simulator)
β’ No issues found!
</code></pre></div> | 0 |
<p dir="auto">`</p>
<p dir="auto"><strong>Current behavior</strong><br>
ng build</p>
<p dir="auto">ng build --aot</p>
<p dir="auto">ng build --prod</p>
<p dir="auto">ng build --prod --aot</p>
<p dir="auto">can not build successfully;</p>
<p dir="auto"><strong>Expected behavior</strong><br>
i can ng serve to running in local;</p>
<p dir="auto">but can't build .</p>
<p dir="auto">And i have updated everything use 'ncu -u ' & 'npm install'</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
lazy load route;</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
I use angular-cli build my project .</p>
<p dir="auto">When i 'ng serve', it often comes out error:<br>
'ERROR in Error encountered resolving symbol values statically. Reference to a local (non-exported) symbol 'Routes'. Consider exporting the symbol (position 10:7 in the original .ts file), resolving symbol RoutingModule in projectname/src/app/app-routing.module.ts<br>
';</p>
<p dir="auto">My code is about the same in the tutorial :</p>
<p dir="auto"><a href="http://codingthesmartway.com/angular-2-routing-with-modules/" rel="nofollow">http://codingthesmartway.com/angular-2-routing-with-modules/</a></p>
<p dir="auto">as below:</p>
<p dir="auto">import { NgModule } from '@angular/core';<br>
import { Routes, RouterModule } from '@angular/router';<br>
import { FirstComponent } from './first.component';<br>
import { SecondComponent } from './second.component';<br>
import { ThirdComponent } from './third.component';</p>
<p dir="auto">const routes: Routes = [<br>
{path: '', pathMatch: 'full', redirectTo: 'first'}<br>
{path: 'first', component: FirstComponent},<br>
{path: 'second', component: SecondComponent},<br>
{path: 'third', component: ThirdComponent},<br>
];</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NgModule/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NgModule">@NgModule</a>({<br>
imports: [RouterModule.forRoot(routes)],<br>
exports: [RouterModule]<br>
})<br>
export class AppRoutingModule {}</p>
<p dir="auto">export const routingComponents = [FirstComponent, SecondComponent, ThirdComponent];</p>
<p dir="auto">My code:</p>
<p dir="auto"><strong>start</strong><br>
import { NgModule } from '@angular/core';<br>
import { Routes, RouterModule } from '@angular/router';<br>
import { HomeComponent } from './home/home.component';<br>
import { LoginComponent } from './login/login.component';<br>
import { AuditComponent } from './audit/audit.component';<br>
import { UserComponent } from './user/user.component';<br>
import { HouseSourceComponent } from './house-source/house-source.component';</p>
<p dir="auto">declare var require: any;</p>
<p dir="auto">export const routes : Routes = [<br>
{<br>
path: '',<br>
redirectTo: 'home',<br>
pathMatch : 'full'<br>
},<br>
{<br>
path: 'home',<br>
component : HomeComponent<br>
},</p>
<p dir="auto">{<br>
path: 'login',<br>
component : LoginComponent<br>
},</p>
<p dir="auto">{<br>
path: 'about',<br>
loadChildren : () => new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./about/about.module').AboutModule);<br>
})<br>
})<br>
},</p>
<p dir="auto">{<br>
path: 'houseSource',<br>
loadChildren : () =><br>
new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./house-source/house-source.module').HouseSourceModule);<br>
})<br>
})<br>
},<br>
{<br>
path: 'user',<br>
loadChildren : () =><br>
new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./user/user.module').UserModule);<br>
})<br>
})<br>
},<br>
{<br>
path: 'audit',<br>
loadChildren : () =><br>
new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./audit/audit.module').AuditModule);<br>
})<br>
})<br>
},<br>
{<br>
path: 'houseSourceAudit',<br>
loadChildren : () =><br>
new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./house-source-audit/house-source-audit.module').HouseSourceAuditModule);<br>
})<br>
})<br>
},{<br>
path: 'userAudit',<br>
loadChildren : () =><br>
new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./user-audit/user-audit.module').UserAuditModule);<br>
})<br>
})<br>
},{<br>
path: 'userAuditDetail/:id',<br>
loadChildren : () =><br>
new Promise(resolve => {<br>
(require as any).ensure([],(require : any) => {<br>
resolve(require('./user-audit-detail/user-audit-detail.module').UserAuditDetailModule);<br>
})<br>
})<br>
}<br>
]<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NgModule/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NgModule">@NgModule</a>({<br>
imports: [RouterModule.forRoot(routes)],<br>
exports: [RouterModule],<br>
providers: []<br>
})<br>
export class RoutingModule {}</p>
<p dir="auto"><em><strong>end</strong></em>**</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> @angular/[email protected]</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript :@2.2.1</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p>
</li>
</ul>
<p dir="auto">βββ¬ @angular/[email protected]<br>
β βββ¬ @angular/[email protected]<br>
β β βββ [email protected]<br>
β βββ @ngtools/[email protected]<br>
β βββ¬ @ngtools/[email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
βββ @angular/[email protected]<br>
βββ @angular/[email protected]<br>
βββ¬ @angular/[email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ @angular/[email protected]<br>
βββ @angular/[email protected]<br>
βββ UNMET PEER DEPENDENCY @angular/[email protected]<br>
βββ UNMET PEER DEPENDENCY @angular/[email protected]<br>
βββ @angular/[email protected]<br>
βββ @angular/[email protected]<br>
βββ @angular/[email protected]<br>
βββ @angular/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ UNMET PEER DEPENDENCY @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected] extraneous<br>
βββ @angular2-material/[email protected]<br>
βββ @angular2-material/[email protected]<br>
βββ @ng-bootstrap/[email protected]<br>
βββ @types/[email protected]<br>
βββ @types/[email protected]<br>
βββ [email protected] extraneous<br>
βββ [email protected]<br>
βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ [email protected]<br>
βββ [email protected]<br>
βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ¬ [email protected]<br>
β β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ [email protected]<br>
βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ @types/[email protected]<br>
β βββ @types/[email protected]<br>
β βββ @types/[email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ¬ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ¬ [email protected]<br>
β β β βββ¬ [email protected]<br>
β β β βββ [email protected]<br>
β β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
β βββ [email protected]<br>
βββ [email protected]<br>
βββ [email protected]</p> | <ul class="contains-task-list">
<li><strong>I'm submitting a ...</strong></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> bug report</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> feature request</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> support request => Please do not submit support request here, see note at the top of this template.</li>
</ul>
<p dir="auto"><strong>Current behavior</strong><br>
If you have base class A, with dependencies specified in its constructor, and then create class B, which subclasses A, and do not specify a constructor, when you try to inject class B into a component, its dependencies are not resolved per its parent constructor. As a workaround, I am duplicating the constructor of A in B.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
Dependencies specified in the parent constructor are resolved.</p>
<ul dir="auto">
<li><strong>What is the motivation / use case for changing the behavior?</strong><br>
Developer ergonomics. This bug fix should be feasible since the entire prototype chain is available from within the decorator (at least in modern browsers): <a href="https://www.typescriptlang.org/play/#src=abstract%20class%20RuntimeErrorHandler%20%7B%0D%0A%09constructor(msg%3A%20string)%20%7B%7D%0D%0A%7D%0D%0A%0D%0Afunction%20test(constructor%3A%20Function)%20%7B%0D%0A%09console.log(constructor.prototype)%3B%0D%0A%7D%0D%0A%0D%0A%40test%0D%0Aclass%20ConsoleErrorHandler%20extends%20RuntimeErrorHandler%20%7B%7D" rel="nofollow">https://www.typescriptlang.org/play/#src=abstract%20class%20RuntimeErrorHandler%20%7B%0D%0A%09constructor(msg%3A%20string)%20%7B%7D%0D%0A%7D%0D%0A%0D%0Afunction%20test(constructor%3A%20Function)%20%7B%0D%0A%09console.log(constructor.prototype)%3B%0D%0A%7D%0D%0A%0D%0A%40test%0D%0Aclass%20ConsoleErrorHandler%20extends%20RuntimeErrorHandler%20%7B%7D</a></li>
<li><strong>Please tell us about your environment:</strong><br>
Node 5.</li>
<li><strong>Angular version:</strong> 2.0.0-beta.X</li>
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5 | Dart]</li>
</ul> | 0 |
<p dir="auto">When running the latest julia (0.3.0-prerelease+2494) inside emacs, julia either crashes (shell, eshell):</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" to list help topics
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.3.0-prerelease+2494 (2014-04-04 23:25 UTC)
_/ |\__'_|_|_|\__'_| | Commit 7d495c0* (0 days old master)
|__/ | x86_64-linux-gnu
οΏ½[?2004hοΏ½[0GοΏ½[0Kjulia> οΏ½[?2004lERROR: integer division error
in div at promotion.jl:172
$ "><pre class="notranslate"><span class="pl-k">$</span> julia
_
_ _ <span class="pl-c1">_</span>(_)_ <span class="pl-k">|</span> A fresh approach to technical computing
(_) <span class="pl-k">|</span> (_) (_) <span class="pl-k">|</span> Documentation<span class="pl-k">:</span> http<span class="pl-k">:</span><span class="pl-k">//</span>docs<span class="pl-k">.</span>julialang<span class="pl-k">.</span>org
_ _ _<span class="pl-k">|</span> <span class="pl-k">|</span>_ __ _ <span class="pl-k">|</span> Type <span class="pl-s"><span class="pl-pds">"</span>help()<span class="pl-pds">"</span></span> to list help topics
<span class="pl-k">|</span> <span class="pl-k">|</span> <span class="pl-k">|</span> <span class="pl-k">|</span> <span class="pl-k">|</span> <span class="pl-k">|</span> <span class="pl-k">|</span><span class="pl-k">/</span> <span class="pl-s"><span class="pl-pds"><span class="pl-c1">_</span>`</span> | |</span>
<span class="pl-s"> | | |_| | | | (_| | | Version 0.3.0-prerelease+2494 (2014-04-04 23:25 UTC)</span>
<span class="pl-s"> _/ |<span class="pl-cce">\_</span>_'_|_|_|<span class="pl-cce">\_</span>_'_| | Commit 7d495c0* (0 days old master)</span>
<span class="pl-s">|__/ | x86_64-linux-gnu</span>
<span class="pl-s"></span>
<span class="pl-s">οΏ½[?2004hοΏ½[0GοΏ½[0Kjulia> οΏ½[?2004lERROR: integer division error</span>
<span class="pl-s"> in div at promotion.jl:172</span>
<span class="pl-s"></span>
<span class="pl-s">$ </span></pre></div>
<p dir="auto">or the prompt is double printed (eterm-color):</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> 1+1julia> 1+1
2
julia> julia> 2+2julia> 2+2
4"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">1</span><span class="pl-k">+</span><span class="pl-c1">1</span>julia<span class="pl-k">></span> <span class="pl-c1">1</span><span class="pl-k">+</span><span class="pl-c1">1</span>
<span class="pl-c1">2</span>
julia<span class="pl-k">></span> julia<span class="pl-k">></span> <span class="pl-c1">2</span><span class="pl-k">+</span><span class="pl-c1">2</span>julia<span class="pl-k">></span> <span class="pl-c1">2</span><span class="pl-k">+</span><span class="pl-c1">2</span>
<span class="pl-c1">4</span></pre></div>
<p dir="auto">This issue should perhaps be retitled something like "allow use with limited terminals".</p>
<p dir="auto">Somewhat related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="24912484" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/5271" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/5271/hovercard" href="https://github.com/JuliaLang/julia/issues/5271">#5271</a></p> | <p dir="auto">EDIT: "August 2018 Update: xoroshiro128+ fails PractRand very badly. Since this article was published, its authors have supplanted it with xoshiro256**. It has essentially the same performance, but better statistical properties. <strong>xoshiro256</strong> is now my preferred PRNG**." I previously quoted: <s>"The clear winner is xoroshiro128+"</s></p>
<p dir="auto"><a href="https://nullprogram.com/blog/2017/09/21/" rel="nofollow">https://nullprogram.com/blog/2017/09/21/</a></p>
<blockquote>
<p dir="auto">Nobody ever got fired for choosing Mersenne Twister. Itβs the classical choice for simulations, and is still usually recommended to this day. However, Mersenne Twisterβs best days are behind it. ..</p>
<p dir="auto">Ultimately I would never choose Mersenne Twister for anything anymore. This was also not surprising.</p>
</blockquote> | 0 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: <code class="notranslate">1.16.3</code></li>
<li>Operating System: <code class="notranslate">macOS 12.0.1 (21A559)</code></li>
<li>Browser: WebKit</li>
<li>Extra: ARM64</li>
</ul>
<h3 dir="auto">System:</h3>
<ul dir="auto">
<li>OS: macOS 11.6</li>
<li>Memory: 2.85 GB / 32.00 GB</li>
</ul>
<h3 dir="auto">Binaries:</h3>
<ul dir="auto">
<li>Node: 16.3.0 - /usr/local/bin/node</li>
<li>Yarn: 1.22.10 - /usr/local/bin/yarn</li>
<li>npm: 7.7.6 - /usr/local/bin/npm</li>
</ul>
<h3 dir="auto">Languages:</h3>
<ul dir="auto">
<li>Bash: 5.1.4 - /usr/local/bin/bash</li>
</ul>
<h3 dir="auto">Code Snippet</h3>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { expect, test } from '@playwright/test';
async function delay(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
test('twitter', async ({page}) => {
await page.goto('https://twitter.com/dan_abramov/status/1086215004808978434');
await delay(5000);
const title = await page.evaluate(() => document.title);
const text = await page.evaluate(() => document.body.textContent);
console.log('[trace] title:', title);
expect(title.startsWith('Dan on Twitter')).toBeTruthy();
console.log('[trace] text:', text);
});"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">expect</span><span class="pl-kos">,</span> <span class="pl-s1">test</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">delay</span><span class="pl-kos">(</span><span class="pl-s1">ms</span>: <span class="pl-smi">number</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-c1">=></span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">ms</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'twitter'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span>page<span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://twitter.com/dan_abramov/status/1086215004808978434'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-en">delay</span><span class="pl-kos">(</span><span class="pl-c1">5000</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">evaluate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-c1">title</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">evaluate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-c1">body</span><span class="pl-kos">.</span><span class="pl-c1">textContent</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">'[trace] title:'</span><span class="pl-kos">,</span> <span class="pl-s1">title</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">title</span><span class="pl-kos">.</span><span class="pl-en">startsWith</span><span class="pl-kos">(</span><span class="pl-s">'Dan on Twitter'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBeTruthy</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">'[trace] text:'</span><span class="pl-kos">,</span> <span class="pl-s1">text</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="β demo_project yarn playwright test src/t.spec.ts --browser webkit
yarn run v1.22.11
$ /Users/username/Downloads/202111/temp/demo_project/node_modules/.bin/playwright test src/t.spec.ts --browser webkit
Running 1 test using 1 worker
β [webkit] βΊ src/t.spec.ts:6:1 βΊ twitter (5s)
1) [webkit] βΊ src/t.spec.ts:6:1 βΊ twitter ========================================================
browserContext.newPage: Target closed
1 failed
[webkit] βΊ src/t.spec.ts:6:1 βΊ twitter =========================================================
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
β demo_project"><pre class="notranslate"><code class="notranslate">β demo_project yarn playwright test src/t.spec.ts --browser webkit
yarn run v1.22.11
$ /Users/username/Downloads/202111/temp/demo_project/node_modules/.bin/playwright test src/t.spec.ts --browser webkit
Running 1 test using 1 worker
β [webkit] βΊ src/t.spec.ts:6:1 βΊ twitter (5s)
1) [webkit] βΊ src/t.spec.ts:6:1 βΊ twitter ========================================================
browserContext.newPage: Target closed
1 failed
[webkit] βΊ src/t.spec.ts:6:1 βΊ twitter =========================================================
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
β demo_project
</code></pre></div>
<p dir="auto">Also tested both headless / non-headless webkit on Ubuntu 20.04 (amd64), it worked well.</p> | <h3 dir="auto">Fix: <code class="notranslate">npm i -D @playwright/[email protected]</code>.</h3>
<p dir="auto">It gets included in version 1.17.0.</p>
<hr>
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.16.1</li>
<li>Operating System: MacOS Monterey 12.0.1</li>
<li>Node.js: 14.18.0</li>
<li>Browser: Webkit</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const myContext = await browser.newContext();"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">myContext</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newContext</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">Since latest upgrade of MacOS (Monterey 12.0.1) all my tests fail with webkit browser (headless or not).<br>
The fail is detected when instantiating <code class="notranslate">browser.newContext()</code> with the following error: <code class="notranslate">browser.newContext: Target closed</code></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1481595/139021226-e02f76bb-63d7-47af-b564-24e5b1803b2a.jpg"><img src="https://user-images.githubusercontent.com/1481595/139021226-e02f76bb-63d7-47af-b564-24e5b1803b2a.jpg" alt="CleanShot 2021-10-27 at 09 37 53@2x" style="max-width: 100%;"></a></p>
<p dir="auto">This is only with webkit, everything was ok before the MacOS upgrade, and everything is ok with Firefox and Chromium.</p> | 1 |
<p dir="auto">When making themes with <a href="https://github.com/divshot/themestrap"><code class="notranslate">themestrap</code></a>, I often end up making new variables for a number of hardcoded things in bootstrap.<br>
Most often these are the <code class="notranslate">border-width</code>s of a lot of elements.</p>
<p dir="auto">How are you guys thinking about addings more variables in general, and especially in the <code class="notranslate">border-width</code>-case? I would follow up with a Pull Request if you approve.</p>
<p dir="auto">I think I would go about like this:</p>
<div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@border-width-default: 1px;
@hr-border-width: @border-width-default;
[β¦]"><pre class="notranslate"><span class="pl-k">@border-width-default</span><span class="pl-kos">:</span> 1px;
<span class="pl-k">@hr-border-width</span><span class="pl-kos">:</span> <span class="pl-k">@border-width-default</span>;
[β¦]</pre></div>
<p dir="auto">Inspired by the <code class="notranslate">@border-radius</code> declarations, we could also go about it like this:</p>
<div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@border-width-default: 1px;
@border-width-large: 3px;
@hr-border-witdh: @border-width-default;
@btn-border-witdh: @border-width-large;
[β¦]"><pre class="notranslate"><span class="pl-k">@border-width-default</span><span class="pl-kos">:</span> 1px;
<span class="pl-k">@border-width-large</span><span class="pl-kos">:</span> 3px;
<span class="pl-k">@hr-border-witdh</span><span class="pl-kos">:</span> <span class="pl-k">@border-width-default</span>;
<span class="pl-k">@btn-border-witdh</span><span class="pl-kos">:</span> <span class="pl-k">@border-width-large</span>;
[β¦]</pre></div> | <p dir="auto">Navbar.less file has the following definition of the .navbar-fixed-... styles:</p>
<div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=".navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-fixed-bottom {
bottom: 0;
margin-bottom: 0; // override .navbar defaults
border-width: 1px 0 0;
}"><pre class="notranslate">.<span class="pl-c1">navbar-fixed-top</span> {
<span class="pl-c1">top</span><span class="pl-kos">:</span> <span class="pl-c1">0</span>;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">1<span class="pl-smi">px</span></span>;
}
.<span class="pl-c1">navbar-fixed-bottom</span> {
<span class="pl-c1">bottom</span><span class="pl-kos">:</span> <span class="pl-c1">0</span>;
<span class="pl-c1">margin-bottom</span><span class="pl-kos">:</span> <span class="pl-c1">0</span>; <span class="pl-c1">/</span><span class="pl-c1">/</span> override .<span class="pl-c1">navbar</span> <span class="pl-ent">defaults</span>
<span class="pl-ent">border-width</span><span class="pl-kos">:</span> 1px 0 0;
}</pre></div>
<p dir="auto">It would be better if the border width (1px) was defined via a variable. With the fixed 1px value. to override it, I need to create a duplicate entry for the styles in a CSS file. It would be easier to use a variable, which could be overwritten by a custom LESS file (the preferred approach for style customization).</p> | 1 |
<p dir="auto">Numpy tried to convert an infinite list to numpy.ndarray and I never stopped.<br>
This problem occurs when an array appended with itself more than once.</p>
<h3 dir="auto">Example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from numpy import asarray as ar
#from numpy import array as ar
a = []
#Range must be more than 1.
for i in range(2):
a.append(a)
#This line does not stop.
print(ar(a))"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">numpy</span> <span class="pl-k">import</span> <span class="pl-s1">asarray</span> <span class="pl-k">as</span> <span class="pl-s1">ar</span>
<span class="pl-c">#from numpy import array as ar</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> []
<span class="pl-c">#Range must be more than 1.</span>
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">2</span>):
<span class="pl-s1">a</span>.<span class="pl-en">append</span>(<span class="pl-s1">a</span>)
<span class="pl-c">#This line does not stop.</span>
<span class="pl-en">print</span>(<span class="pl-en">ar</span>(<span class="pl-s1">a</span>))</pre></div>
<h3 dir="auto">Numpy/Python version information:</h3>
<p dir="auto">np.<strong>version</strong>: 1.16.5<br>
Python: 3.7.4</p> | <p dir="auto">I grant that this one is quite abusive, but bugs that lead to this problem <em>can</em> happen:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ipython3 --pylab
Python 3.5.0 (default, Nov 20 2015, 16:20:41)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Using matplotlib backend: TkAgg
Python are go!
In [1]: L = []
In [2]: L.append(L)
In [3]: L.append(L)
In [4]: X = asarray(L)
^C^C^\Quit (core dumped)"><pre class="notranslate"><code class="notranslate">$ ipython3 --pylab
Python 3.5.0 (default, Nov 20 2015, 16:20:41)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Using matplotlib backend: TkAgg
Python are go!
In [1]: L = []
In [2]: L.append(L)
In [3]: L.append(L)
In [4]: X = asarray(L)
^C^C^\Quit (core dumped)
</code></pre></div>
<p dir="auto">Ergo, numpy gets into an infinite loop using 100% CPU and hangs. Interestingly, the following variant does not lead to the same problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ipython3 --pylab
Python 3.5.0 (default, Nov 20 2015, 16:20:41)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Using matplotlib backend: TkAgg
Python are go!
In [1]: L = []
In [2]: L.append([L,L])
In [3]: X = asarray(L)
In [4]: print(X.ndim)
32 # huh?
In [6]: print(X)
# lots of ASCII-art"><pre class="notranslate"><code class="notranslate">$ ipython3 --pylab
Python 3.5.0 (default, Nov 20 2015, 16:20:41)
Type "copyright", "credits" or "license" for more information.
IPython 4.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Using matplotlib backend: TkAgg
Python are go!
In [1]: L = []
In [2]: L.append([L,L])
In [3]: X = asarray(L)
In [4]: print(X.ndim)
32 # huh?
In [6]: print(X)
# lots of ASCII-art
</code></pre></div> | 1 |
<p dir="auto">Hi guys,</p>
<p dir="auto">There seems to be an issue with the way Twig load templates. I know it has been mentioned in the tread below that this is related to the fact that you must follow the naming convention name.format.engine.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2884438" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3150" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/3150/hovercard" href="https://github.com/symfony/symfony/issues/3150">#3150</a></p>
<p dir="auto">However, the stand alone version of Twig doesn't trigger the same issue. I can for instance name the template <b>flash.en.twig</b> and it will find it no problem. <b>If the loading issue is related to a "format" exception, then it shouldn't allow formats that are invalid IMO</b>. Therefore, an appropriate exception message should be put in place (I will share the fix once I'm done).</p>
<p dir="auto">The error I get:<br>
Unable to find template "FiveTeaserBundle:Flash:flashs.twig".<br>
/Users/simon/Projects/Five/Poison14.com/www/src/Five/TeaserBundle/Resources/views/Flash/flashs.twig</p>
<p dir="auto">My Controller Method</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" public function showNoFlashAction()
{
return $this->render( 'FiveTeaserBundle:Flash:flash.twig' );
} "><pre class="notranslate"><code class="notranslate"> public function showNoFlashAction()
{
return $this->render( 'FiveTeaserBundle:Flash:flash.twig' );
}
</code></pre></div>
<p dir="auto">At the end of the day, I know SF2 is FREE and I really admire all the efforts and time that have been put together.<br>
Anyhow, I just wanted to point it out as other people might be wasting a lot of time around this.</p>
<p dir="auto"><b>Thumbs up for the awesome work! :-)</b></p>
<p dir="auto">Thanks,<br>
Simon</p> | 1 |
|
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>Script can be found below</li>
<li>MacBook Pro M1 (Mac OS Big Sir (11.5))</li>
<li>TensorFlow installed from (source)</li>
<li>TensorFlow version (2.5 version) with Metal Support</li>
<li>Python version: 3.9</li>
<li>GPU model and memory: MacBook Pro M1 and 16 GB</li>
</ul>
<p dir="auto">Steps needed for installing Tensorflow with metal support.<br>
<a href="https://developer.apple.com/metal/tensorflow-plugin/" rel="nofollow">https://developer.apple.com/metal/tensorflow-plugin/</a></p>
<p dir="auto">I am trying to train a model on Macbook Pro M1, but the performance is so bad and the train doesn't work properly. It takes a ridiculously long time just for a single epoch.</p>
<p dir="auto">Code needed for reproducing this behavior.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
from tensorflow.keras.datasets import imdb
from tensorflow.keras.layers import Embedding, Dense, LSTM
from tensorflow.keras.losses import BinaryCrossentropy
from tensorflow.keras.models import Sequential
from tensorflow.keras.optimizers import Adam
from tensorflow.keras.preprocessing.sequence import pad_sequences
# Model configuration
additional_metrics = ['accuracy']
batch_size = 128
embedding_output_dims = 15
loss_function = BinaryCrossentropy()
max_sequence_length = 300
num_distinct_words = 5000
number_of_epochs = 5
optimizer = Adam()
validation_split = 0.20
verbosity_mode = 1
# Disable eager execution
tf.compat.v1.disable_eager_execution()
# Load dataset
(x_train, y_train), (x_test, y_test) = imdb.load_data(num_words=num_distinct_words)
print(x_train.shape)
print(x_test.shape)
# Pad all sequences
padded_inputs = pad_sequences(x_train, maxlen=max_sequence_length, value = 0.0) # 0.0 because it corresponds with <PAD>
padded_inputs_test = pad_sequences(x_test, maxlen=max_sequence_length, value = 0.0) # 0.0 because it corresponds with <PAD>
# Define the Keras model
model = Sequential()
model.add(Embedding(num_distinct_words, embedding_output_dims, input_length=max_sequence_length))
model.add(LSTM(10))
model.add(Dense(1, activation='sigmoid'))
# Compile the model
model.compile(optimizer=optimizer, loss=loss_function, metrics=additional_metrics)
# Give a summary
model.summary()
# Train the model
history = model.fit(padded_inputs, y_train, batch_size=batch_size, epochs=number_of_epochs, verbose=verbosity_mode, validation_split=validation_split)
# Test the model after training
test_results = model.evaluate(padded_inputs_test, y_test, verbose=False)
print(f'Test results - Loss: {test_results[0]} - Accuracy: {100*test_results[1]}%')"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
from tensorflow.keras.datasets import imdb
from tensorflow.keras.layers import Embedding, Dense, LSTM
from tensorflow.keras.losses import BinaryCrossentropy
from tensorflow.keras.models import Sequential
from tensorflow.keras.optimizers import Adam
from tensorflow.keras.preprocessing.sequence import pad_sequences
# Model configuration
additional_metrics = ['accuracy']
batch_size = 128
embedding_output_dims = 15
loss_function = BinaryCrossentropy()
max_sequence_length = 300
num_distinct_words = 5000
number_of_epochs = 5
optimizer = Adam()
validation_split = 0.20
verbosity_mode = 1
# Disable eager execution
tf.compat.v1.disable_eager_execution()
# Load dataset
(x_train, y_train), (x_test, y_test) = imdb.load_data(num_words=num_distinct_words)
print(x_train.shape)
print(x_test.shape)
# Pad all sequences
padded_inputs = pad_sequences(x_train, maxlen=max_sequence_length, value = 0.0) # 0.0 because it corresponds with <PAD>
padded_inputs_test = pad_sequences(x_test, maxlen=max_sequence_length, value = 0.0) # 0.0 because it corresponds with <PAD>
# Define the Keras model
model = Sequential()
model.add(Embedding(num_distinct_words, embedding_output_dims, input_length=max_sequence_length))
model.add(LSTM(10))
model.add(Dense(1, activation='sigmoid'))
# Compile the model
model.compile(optimizer=optimizer, loss=loss_function, metrics=additional_metrics)
# Give a summary
model.summary()
# Train the model
history = model.fit(padded_inputs, y_train, batch_size=batch_size, epochs=number_of_epochs, verbose=verbosity_mode, validation_split=validation_split)
# Test the model after training
test_results = model.evaluate(padded_inputs_test, y_test, verbose=False)
print(f'Test results - Loss: {test_results[0]} - Accuracy: {100*test_results[1]}%')
</code></pre></div>
<p dir="auto">I have noticed this same problem with LSTM layers</p> | <p dir="auto">When multiple processes import keras simultaneously, there is a race condition with reading/writng the <code class="notranslate">~/.keras/keras.json</code> file here: <a href="https://github.com/fchollet/keras/blob/master/keras/backend/__init__.py#L15-L47">https://github.com/fchollet/keras/blob/master/keras/backend/__init__.py#L15-L47</a>. One process can be in the middle of writing the file while the other is trying to read it, leading to a failure when the reading process tries to decode the JSON.</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.418]
Windows Terminal version (if applicable): 0.6.2951
"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): 0.6.2951
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">adding <code class="notranslate">shift +ins</code> for paste does not work, while <code class="notranslate">ctrl+shift+v</code> works in <code class="notranslate">profile.json</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "keybindings": [{ "unbound": "nextTab", "keys": ["ctrl+tab"] },
{ "keys": ["Shift+Ins"], "command": "paste" }, //does not work
{ "keys": ["ctrl+shift+v"], "command": "paste" } //works
]"><pre class="notranslate"><code class="notranslate"> "keybindings": [{ "unbound": "nextTab", "keys": ["ctrl+tab"] },
{ "keys": ["Shift+Ins"], "command": "paste" }, //does not work
{ "keys": ["ctrl+shift+v"], "command": "paste" } //works
]
</code></pre></div>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">pasting of highlighted text triggered by <code class="notranslate">CopyonSelect</code></p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">some terminal control chars <code class="notranslate">~2</code> gets printed instead of <code class="notranslate">CopyonSelect</code> text</p> | <h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">Ability to clone the current tab preserving the current directory</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=gpablo" rel="nofollow">Pablo</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7710?redirect=false" rel="nofollow">SPR-7710</a></strong> and commented</p>
<p dir="auto">In freemarker, if I use the formInput macro with an array parameter:</p>
<p dir="auto"><<code class="notranslate">@spring</code>.formInput "command.values[0]"/></p>
<p dir="auto">spring generates a form with an invalid id: 'values[0]'</p>
<p dir="auto">This is related to <a href="https://jira.springframework.org/browse/SPR-2380" rel="nofollow">https://jira.springframework.org/browse/SPR-2380</a>, which was the same bug but with jsp. It is possible that the same happens with velocity.</p>
<p dir="auto">To fix it in freemarker, you can change, in spring.ftl:</p>
<p dir="auto">160c160<br>
< <input type="${fieldType}" id="${status.expression}" name="${status.expression}" value="<#if fieldType!="password">${stringStatusValue}</#if>" ${attributes}<<code class="notranslate">@closeTag</code>/><br>
β</p>
<blockquote>
<p dir="auto"><input type="${fieldType}" id='${status.expression?replace("[", "<em>")?replace("]", "</em>")}' name="${status.expression}" value="<#if fieldType!="password">${stringStatusValue}</#if>" ${attributes}<<code class="notranslate">@closeTag</code>/></p>
</blockquote>
<p dir="auto">This change replaces the [ and ] with _.</p>
<p dir="auto">I am currently using spring 2.5, so it would be nice to have it backported, if possible.</p>
<p dir="auto">thanks a lot.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.8, 2.5 RC1, 2.5 RC2, 2.5 final, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 3.0 M1, 3.0 M2, 3.0 M3, 3.0 M4, 3.0 RC1, 3.0 RC2, 3.0 RC3, 3.0 GA, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 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="398114780" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13374" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13374/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13374">#13374</a> Using array syntax generates invalid id using freemarker (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=przemek.ch" rel="nofollow">Przemek Ch</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8732?redirect=false" rel="nofollow">SPR-8732</a></strong> and commented</p>
<p dir="auto">Method</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="protected String autogenerateId() throws JspException {
return StringUtils.deleteAny(getName(), "[]");
}"><pre class="notranslate"><span class="pl-k">protected</span> <span class="pl-smi">String</span> <span class="pl-s1">autogenerateId</span>() <span class="pl-k">throws</span> <span class="pl-s1">JspException</span> {
<span class="pl-k">return</span> <span class="pl-smi">StringUtils</span>.<span class="pl-en">deleteAny</span>(<span class="pl-en">getName</span>(), <span class="pl-s">"[]"</span>);
}</pre></div>
<p dir="auto">form AbstractDataBoundFormElementTag class doesn't work with freemarker.</p>
<p dir="auto">Example</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<@spring.formInput path="lead.additionalSalesList[1].saleResult.policyId" attributes='class="policyId_1"'/>"><pre class="notranslate"><@spring.formInput path="lead.additionalSalesList[1].saleResult.policyId" attributes='class="policyId_1"'/></pre></div>
<p dir="auto">generates</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<input id="additionalSalesList[1].saleResult.policyId" class="policyId_0" type="text" value="" name="additionalSalesList[1].saleResult.policyId">"><pre class="notranslate"><<span class="pl-ent">input</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>additionalSalesList[1].saleResult.policyId<span class="pl-pds">"</span></span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>policyId_0<span class="pl-pds">"</span></span> <span class="pl-e">type</span>=<span class="pl-s"><span class="pl-pds">"</span>text<span class="pl-pds">"</span></span> <span class="pl-e">value</span>=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span> <span class="pl-e">name</span>=<span class="pl-s"><span class="pl-pds">"</span>additionalSalesList[1].saleResult.policyId<span class="pl-pds">"</span></span>></pre></div>
<p dir="auto">According to <a href="https://jira.springsource.org/browse/SPR-2380" rel="nofollow">https://jira.springsource.org/browse/SPR-2380</a> the code above should generate id="additionalSalesList1.saleResult.policyId"</p>
<p dir="auto">[] in ID is not a valid HTML so libraries like jQuery cant handle such elements</p>
<p dir="auto">Tricks like this <code class="notranslate">$(":input[name='additionalSalesList[1]\\.saleResult\\.policyId']")</code> are needed now to select such items using jQuery.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.6</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="398108500" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12366" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12366/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12366">#12366</a> Using array syntax generates invalid id in freemarker (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398091064" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9845" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9845/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9845">#9845</a> Binding in Velocity templates using EL accessors ([, ]) for collections produces non xhtml strict compliant output</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/ba03d5b0c7d7211f910c5bc48c0895fe86614104/hovercard" href="https://github.com/spring-projects/spring-framework/commit/ba03d5b0c7d7211f910c5bc48c0895fe86614104"><tt>ba03d5b</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/e7e74c83d84dcd552d0e75458c91bc920e64d4d4/hovercard" href="https://github.com/spring-projects/spring-framework/commit/e7e74c83d84dcd552d0e75458c91bc920e64d4d4"><tt>e7e74c8</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/a9f42061510e5015965a6a680d866db519b5356d/hovercard" href="https://github.com/spring-projects/spring-framework/commit/a9f42061510e5015965a6a680d866db519b5356d"><tt>a9f4206</tt></a></p>
<p dir="auto">2 votes, 5 watchers</p> | 1 |
<p dir="auto">I'm trying to use <a href="https://github.com/Hacker0x01/react-datepicker">react-datepicker</a> in one of my react components. When I import the <code class="notranslate">CSS</code> file like mentioned below, I get an error.</p>
<p dir="auto"><code class="notranslate">import 'react-datepicker/dist/react-datepicker.css'</code></p>
<p dir="auto">The error I get is,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error in react-datepicker/dist/react-datepicker.css
Module parse failed: /path/to/my/project/folder/node_modules/react-datepicker/dist/react-datepicker.css
Unexpected token (1:0) You may need an appropriate loader to handle this file type. | .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, | .react-datepicker__month-read-view--down-arrow { | margin-left: -8px;
"><pre class="notranslate"><code class="notranslate">Error in react-datepicker/dist/react-datepicker.css
Module parse failed: /path/to/my/project/folder/node_modules/react-datepicker/dist/react-datepicker.css
Unexpected token (1:0) You may need an appropriate loader to handle this file type. | .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, | .react-datepicker__month-read-view--down-arrow { | margin-left: -8px;
</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/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>latest</td>
</tr>
<tr>
<td>node</td>
<td>8.4.0</td>
</tr>
<tr>
<td>OS</td>
<td>macOS High Sierra</td>
</tr>
<tr>
<td>browser</td>
<td>Google Chrome Version 61.0.3163.100</td>
</tr>
</tbody>
</table> | <p dir="auto">The glamor style tag is always included regardless of use of glamor. This is in <code class="notranslate">2.0.0-beta.24</code>.</p>
<p dir="auto"><code class="notranslate"><style type="text/css" data-glamor=""></style></code> is present within the DOM upon rendering dev or final build.</p>
<p dir="auto">Take for example this <code class="notranslate">_document.js</code> fragment.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import Document, { Head, Main, NextScript } from 'next/document'
export default class MyDocument extends Document {
static async getInitialProps ({ renderPage }) {
const page = renderPage()
return { ...page }
}
render () {
return (
<html>
<Head>
<title>Site Title</title>
</Head>
<body>
<Main />
<NextScript />
</body>
<style jsx global>{`
html, body {
background-color: #f00;
font-size: 16px;
color: #fef;
}
p {
color: red;
}
`}</style>
</html>
)
}
}"><pre class="notranslate"><code class="notranslate">import Document, { Head, Main, NextScript } from 'next/document'
export default class MyDocument extends Document {
static async getInitialProps ({ renderPage }) {
const page = renderPage()
return { ...page }
}
render () {
return (
<html>
<Head>
<title>Site Title</title>
</Head>
<body>
<Main />
<NextScript />
</body>
<style jsx global>{`
html, body {
background-color: #f00;
font-size: 16px;
color: #fef;
}
p {
color: red;
}
`}</style>
</html>
)
}
}
</code></pre></div> | 0 |
<p dir="auto">It's currently not possible to compute the full eigendecomposition with <code class="notranslate">eigsh</code>.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> A = rand(5, 4)
>>> AA = np.dot(A.T, A)
>>> from scipy.sparse.linalg import eigsh
>>> eigsh(AA, AA.shape[0])
[...]
ValueError: k must be between 1 and the order of the square input matrix."><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-en">rand</span>(<span class="pl-c1">5</span>, <span class="pl-c1">4</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-v">AA</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">dot</span>(<span class="pl-v">A</span>.<span class="pl-v">T</span>, <span class="pl-v">A</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">sparse</span>.<span class="pl-s1">linalg</span> <span class="pl-k">import</span> <span class="pl-s1">eigsh</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-en">eigsh</span>(<span class="pl-v">AA</span>, <span class="pl-v">AA</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">0</span>])
[...]
<span class="pl-v">ValueError</span>: <span class="pl-s1">k</span> <span class="pl-s1">must</span> <span class="pl-s1">be</span> <span class="pl-s1">between</span> <span class="pl-c1">1</span> <span class="pl-c1">and</span> <span class="pl-s1">the</span> <span class="pl-s1">order</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">square</span> <span class="pl-s1">input</span> <span class="pl-s1">matrix</span>.</pre></div>
<p dir="auto"><a href="https://github.com/scipy/scipy/blob/master/scipy/sparse/linalg/eigen/arpack/arpack.py#L1506">https://github.com/scipy/scipy/blob/master/scipy/sparse/linalg/eigen/arpack/arpack.py#L1506</a></p>
<p dir="auto">I think <code class="notranslate">k >= n</code> should be replaced by <code class="notranslate">k > n</code>.</p> | <p dir="auto">In the context of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1093032513" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15351" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/15351/hovercard" href="https://github.com/scipy/scipy/issues/15351">#15351</a> and reviewing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1089902835" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15299" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/15299/hovercard" href="https://github.com/scipy/scipy/pull/15299">#15299</a>, I noticed a bunch of inconsistencies that should be fixed IMO.</p>
<h2 dir="auto">TL;DR</h2>
<p dir="auto"><a href="https://github.com/scipy/scipy/issues/15600#issuecomment-1041258485" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/15600/hovercard">Courtesy</a> of <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tirthasheshpatel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tirthasheshpatel">@tirthasheshpatel</a>:</p>
<ul dir="auto">
<li><code class="notranslate">factorial</code>, <code class="notranslate">factorial2</code>, and <code class="notranslate">factorialk</code> behave inconsistently for several different combinations of inputs. (for example, <code class="notranslate">factorial2</code> returning 0-dim arrays for scalars and, <code class="notranslate">factorial2</code> and <code class="notranslate">factorialk</code> aren't vectorized). See the first table for more details. This issue can be tacked by adding a new parameter like <code class="notranslate">legacy</code> which, by default, preserves the old behaviour but when false, handles the current inconsistent behavior correctly.</li>
<li>Support for float and complex inputs can easily be added using <a href="https://en.wikipedia.org/wiki/Double_factorial#Alternative_extension_of_the_multifactorial" rel="nofollow">this extension</a>. This enhancement adds a new boolean parameter <code class="notranslate">extend='zero'|'complex'</code> (and perhaps <code class="notranslate">'recurrence'</code> down the line) that specifies whether to use the extension formula or the default formula. See the second table for more details.</li>
</ul>
<h2 dir="auto">Design Space</h2>
<p dir="auto">There are several dimensions that come into play:</p>
<ul dir="auto">
<li>scalar vs. array inputs</li>
<li>for integers: approximation or exact computation (<code class="notranslate">exact=</code>)</li>
<li>extensions to negative integers</li>
<li>extensions to floats</li>
<li>extensions to complex numbers</li>
<li>extensions to poles (possible e.g. for <code class="notranslate">factorial2</code>)</li>
<li>for the array-case, failing soft (e.g. inserting NaNs) or hard (raising error)</li>
</ul>
<h2 dir="auto">Current Behaviour (as of 1.8.0)</h2>
<table role="table">
<thead>
<tr>
<th>Inputs</th>
<th><code class="notranslate">factorial(</code><br><code class="notranslate">exact=False)</code></th>
<th><code class="notranslate">factorial(</code><br><code class="notranslate">exact=True)</code></th>
<th><code class="notranslate">factorial2(</code><br><code class="notranslate">exact=False)</code></th>
<th><code class="notranslate">factorial2(</code><br><code class="notranslate">exact=True)</code></th>
<th><code class="notranslate">factorialk(</code><br><code class="notranslate">exact=False)</code></th>
<th><code class="notranslate">factorialk(</code><br><code class="notranslate">exact=True)</code></th>
</tr>
</thead>
<tbody>
<tr>
<td>Scalar positive integer</td>
<td>float</td>
<td>int</td>
<td>!! <em><strong>0-dim<br>float array</strong></em> !!</td>
<td>int</td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td>int</td>
</tr>
<tr>
<td>Scalar negative integer</td>
<td>0.0</td>
<td>0</td>
<td>!!Β <code class="notranslate">array(0.)</code>Β !!</td>
<td>0</td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td>0</td>
</tr>
<tr>
<td>Scalar positive float</td>
<td>float</td>
<td><code class="notranslate">ValueError</code> (but text misleading)</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Scalar negative float</td>
<td>0.0</td>
<td>0</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Scalar complex</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Scalar NaN</td>
<td>NaN</td>
<td>NaN</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Positive integer in array</td>
<td>float</td>
<td>int</td>
<td>float</td>
<td>!!Β <code class="notranslate">TypeError</code>Β !!</td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Negative integer in array</td>
<td>0.0</td>
<td>0</td>
<td>0.0</td>
<td>!! <code class="notranslate">TypeError</code> !!</td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Positive float in array</td>
<td>float</td>
<td><code class="notranslate">ValueError</code> (but text misleading)</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Negative float in array</td>
<td>0.0</td>
<td>0</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Complex in array</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>NaN in array</td>
<td>NaN</td>
<td>NaN</td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
<tr>
<td>Empty array</td>
<td><code class="notranslate">array([])</code></td>
<td><code class="notranslate">IndexError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">TypeError</code></td>
<td><code class="notranslate">NotImpl</code> <code class="notranslate">Error</code></td>
<td><code class="notranslate">TypeError</code></td>
</tr>
</tbody>
</table>
<p dir="auto">Note that:</p>
<ul dir="auto">
<li><code class="notranslate">factorial2(<scalar>, exact=False)</code> returns a zero-dimensional array instead of a scalar.</li>
<li>All the <code class="notranslate">TypeErrors</code> are IMO implementation oversights (and in case of "!!", against documentation) - i.e. we should provide better error messages.</li>
<li>There is a full <a href="https://en.wikipedia.org/wiki/Double_factorial#Alternative_extension_of_the_multifactorial" rel="nofollow">generalization</a> of <code class="notranslate">factorialk</code> which is basically just a fraction of two gamma functions, which would work for all complex n & k (up to poles), as well as arrays.</li>
</ul>
<h2 dir="auto">Extension Issues</h2>
<p dir="auto">In addition to this hodgepodge of behaviour, some people would like to have the float/complex extensions of these functions (e..g. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1092835847" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15349" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/15349/hovercard" href="https://github.com/scipy/scipy/pull/15349">#15349</a>). I tend to agree, but that raises another problem:</p>
<h4 dir="auto">Complex extensions are incompatible with current inputs β€0</h4>
<p dir="auto">First off, everything that's 0 currently on the negative axis gets a different value. But also note the "β€"; namely, 0!! is 1 in the regular definition, but ~0.79=sqrt(2/pi) in the <a href="https://en.wikipedia.org/wiki/Double_factorial#Complex_arguments" rel="nofollow">extension</a>.</p>
<h4 dir="auto">Extensions based on recurrence are incompatible with current status as well as complex extension</h4>
<p dir="auto">This came up for example in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1089902835" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15299" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/15299/hovercard" href="https://github.com/scipy/scipy/pull/15299">#15299</a>. It's <a href="https://en.wikipedia.org/wiki/Double_factorial#Negative_arguments" rel="nofollow">possible</a> (for example) to invert the recurrence relation n!! = n * (n-2)!!, and so extend the double-factorial to negative integers. The resulting value would be neither 0 (currently) nor the pole in the complex extension.</p>
<h2 dir="auto">Design Considerations</h2>
<p dir="auto">If we (or at least I) were designing from scratch:</p>
<ul dir="auto">
<li>Changing from the <code class="notranslate">exact=False</code> to <code class="notranslate">exact=True</code> should <em>never</em> fundamentally change the result (e.g. going from 0 to non-zero, or casting inputs to integers as seen in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1093032513" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15351" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/15351/hovercard" href="https://github.com/scipy/scipy/issues/15351">#15351</a>).
<ul dir="auto">
<li>As such, the exact keyword only really matters to positive scalar integers; in all other cases, it could be retired, resp. raise, or simply be turned into a no-op (cf. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1094046680" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15359" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/15359/hovercard" href="https://github.com/scipy/scipy/pull/15359">#15359</a>)</li>
<li>Open question whether it's worth to properly implement <code class="notranslate">exact=True</code> for array-case (currently, only <code class="notranslate">factorial</code> does).</li>
</ul>
</li>
<li>Complex extensions (together with non-positive floats) should be behind a keyword, roughly because:
<ul dir="auto">
<li>0-for-negative-values is a valid approach, and has been in scipy ~forever.</li>
<li>Since the values being produced are incompatible (for certain inputs), the complex extension should be explicitly opt-in.</li>
</ul>
</li>
<li>Using recurrence relations for extending into poles is an open question; not sure if worth it, but if so, probably with another <del>keyword</del> value for the <code class="notranslate">extend</code> keyword.</li>
<li>Use the most general approximation, except when alternatives with better accuracy / performance exist.</li>
<li>Probably need to think about dtype casting rules for empty arrays (keep dtype? always float? ...)</li>
</ul>
<h2 dir="auto">Possible Future Behaviour (note <code class="notranslate">extend=</code>, not <code class="notranslate">exact=</code>)</h2>
<table role="table">
<thead>
<tr>
<th>Inputs</th>
<th><code class="notranslate">factorial(</code><br><code class="notranslate">extend=</code><br><code class="notranslate">'zero')</code></th>
<th><code class="notranslate">factorial(</code><br><code class="notranslate">extend=</code><br><code class="notranslate">'complex')</code></th>
<th><code class="notranslate">factorial2(</code><br><code class="notranslate">extend=</code><br><code class="notranslate">'zero')</code></th>
<th><code class="notranslate">factorial2(</code><br><code class="notranslate">extend=</code><br><code class="notranslate">'complex')</code></th>
<th><code class="notranslate">factorialk(</code><br><code class="notranslate">extend=</code><br><code class="notranslate">'zero')</code></th>
<th><code class="notranslate">factorialk(</code><br><code class="notranslate">extend=</code><br><code class="notranslate">'complex')</code></th>
</tr>
</thead>
<tbody>
<tr>
<td>Scalar positive integerΒ w/ <code class="notranslate">exact=True</code></td>
<td>n!</td>
<td>n!</td>
<td>n!!</td>
<td>n!!</td>
<td>n!(k)</td>
<td>n!(k)</td>
</tr>
<tr>
<td>Scalar positive integer</td>
<td>Ξ(n+1)</td>
<td>Ξ(n+1)</td>
<td>(1)</td>
<td>(1)</td>
<td>(2)</td>
<td>(2)</td>
</tr>
<tr>
<td>Scalar negative integer / poles</td>
<td>0.0</td>
<td>NaN</td>
<td>0.0</td>
<td>NaN</td>
<td>0.0</td>
<td>NaN</td>
</tr>
<tr>
<td>Scalar positive float</td>
<td>Ξ(n+1)</td>
<td>Ξ(n+1)</td>
<td>(1)</td>
<td>(1)</td>
<td>(2)</td>
<td>(2)</td>
</tr>
<tr>
<td>Scalar negative float</td>
<td>0.0</td>
<td>Ξ(n+1)</td>
<td>0.0</td>
<td>(1)</td>
<td>0.0</td>
<td>(2)</td>
</tr>
<tr>
<td>Scalar complex</td>
<td><code class="notranslate">ValueError</code></td>
<td>Ξ(n+1)</td>
<td><code class="notranslate">ValueError</code></td>
<td>(1)</td>
<td><code class="notranslate">ValueError</code></td>
<td>(2)</td>
</tr>
<tr>
<td>Scalar NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
</tr>
<tr>
<td>Positive integer in array</td>
<td>Ξ(n+1)</td>
<td>Ξ(n+1)</td>
<td>(1)</td>
<td>(1)</td>
<td>(2)</td>
<td>(2)</td>
</tr>
<tr>
<td>Negative integer in array</td>
<td>0.0</td>
<td>NaN</td>
<td>0.0</td>
<td>NaN</td>
<td>0.0</td>
<td>NaN</td>
</tr>
<tr>
<td>Positive float in array</td>
<td>Ξ(n+1)</td>
<td>Ξ(n+1)</td>
<td>(1)</td>
<td>(1)</td>
<td>(2)</td>
<td>(2)</td>
</tr>
<tr>
<td>Negative float in array</td>
<td>0.0</td>
<td>Ξ(n+1)</td>
<td>0.0</td>
<td>(1)</td>
<td>0.0</td>
<td>(2)</td>
</tr>
<tr>
<td>Complex in array</td>
<td><code class="notranslate">ValueError</code></td>
<td>Ξ(n+1)</td>
<td><code class="notranslate">ValueError</code></td>
<td>(1)</td>
<td><code class="notranslate">ValueError</code></td>
<td>(2)</td>
</tr>
<tr>
<td>NaN in array</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
<td>NaN</td>
</tr>
<tr>
<td>Empty array</td>
<td><code class="notranslate">array([])</code></td>
<td><code class="notranslate">array([])</code></td>
<td><code class="notranslate">array([])</code></td>
<td><code class="notranslate">array([])</code></td>
<td><code class="notranslate">array([])</code></td>
<td><code class="notranslate">array([])</code></td>
</tr>
</tbody>
</table>
<p dir="auto">The formulas in question are:</p>
<ul dir="auto">
<li>(1): z!! = 2^((z-1)/2) Ξ(z/2 + 1) / Ξ(1/2 + 1)</li>
<li>(2): z!(Ξ±) = Ξ±^((z-1)/Ξ±) Ξ(z/Ξ± + 1) / Ξ(1/Ξ± + 1)</li>
</ul>
<p dir="auto">I'd very much welcome feedback on this - there are some trade-offs to be made (e.g. whether negative floats should also raises without <code class="notranslate">extend='complex'</code> or whether the errors in the array-case should just map to NaN; also there are different approximations for n!! in use <a href="https://github.com/scipy/scipy/blob/v1.8.0/scipy/special/_basic.py#L2411-L2412">currently</a>), but I think the above would be reasonable. In particular, the scalar and array case behave the same way.</p>
<h2 dir="auto">Implementation Plan</h2>
<p dir="auto">I would propose to introduce another keyword (sorry...) <code class="notranslate">legacy</code>, defaulting to <code class="notranslate">True</code>, but implement <code class="notranslate">legacy=False</code> with all the corrected behaviour. Where there's any planned change in behaviour, we raises a deprecation warning recommending to switch to <code class="notranslate">legacy=False</code>. After 2 releases, we switch the default from <code class="notranslate">legacy=True</code> to <code class="notranslate">legacy=False</code>, after two more releases we raise on <code class="notranslate">legacy=True</code>, and after two more we remove the keyword.</p>
<p dir="auto">Looking more closely at relevant changes in (currently non-raising) behaviour, it really only affects the zero-dimensional arrays for <code class="notranslate">factorial2(scalar_val, exact=False)</code>. In particular, if we let <code class="notranslate">exact=True</code> be a no-op for non-integers (the less "noisy" options from the point of UX), we would keep essentially all current non-raising behaviour intact.</p>
<p dir="auto">CC <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/steppi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/steppi">@steppi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tirthasheshpatel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tirthasheshpatel">@tirthasheshpatel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/j-bowhay/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/j-bowhay">@j-bowhay</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tupui/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tupui">@tupui</a></p>
<h3 dir="auto">Edit History:</h3>
<ul dir="auto">
<li>v4 (2022-03-10): Make <code class="notranslate">exact=True</code> a no-op for non-integers (less noisy), following <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1094046680" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15359" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/15359/hovercard" href="https://github.com/scipy/scipy/pull/15359">#15359</a>. Extend deprecation period of <code class="notranslate">legacy</code>-keyword along the same lines as proposed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1164529699" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/15722" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/15722/hovercard" href="https://github.com/scipy/scipy/issues/15722">#15722</a>.</li>
<li>v3 (2022-02-16; up to rev 20): Added (current & proposed) behaviour for NaN and empty arrays; good catch <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tirthasheshpatel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tirthasheshpatel">@tirthasheshpatel</a>!</li>
<li>v2 (2022-02-16; up to rev 15): Added TL;DR, clarification on impact of <code class="notranslate">legacy</code>, changed <code class="notranslate">extend</code> from boolean argument to take an enum.</li>
<li>v1 (2022-02-16; up to rev 10): Original</li>
</ul> | 0 |
<p dir="auto">When using <code class="notranslate">jax.numpy.histogram2d</code> together with the <code class="notranslate">range</code> keyword argument, an error occurs.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax
import jax.numpy as jnp
import numpy as np
samples = jax.random.uniform(jax.random.PRNGKey(123), shape=(2, 30))
lims = [[-.5, .5], [-.5, .5]]
# numpy version works fine
hist = np.histogram2d(samples[0, :], samples[1, :], range=lims)
# jnp version fail with error below
hist = jnp.histogram2d(samples[0, :], samples[1, :], range=lims)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span>
<span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-s1">samples</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">123</span>), <span class="pl-s1">shape</span><span class="pl-c1">=</span>(<span class="pl-c1">2</span>, <span class="pl-c1">30</span>))
<span class="pl-s1">lims</span> <span class="pl-c1">=</span> [[<span class="pl-c1">-</span><span class="pl-c1">.5</span>, <span class="pl-c1">.5</span>], [<span class="pl-c1">-</span><span class="pl-c1">.5</span>, <span class="pl-c1">.5</span>]]
<span class="pl-c"># numpy version works fine</span>
<span class="pl-s1">hist</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">histogram2d</span>(<span class="pl-s1">samples</span>[<span class="pl-c1">0</span>, :], <span class="pl-s1">samples</span>[<span class="pl-c1">1</span>, :], <span class="pl-s1">range</span><span class="pl-c1">=</span><span class="pl-s1">lims</span>)
<span class="pl-c"># jnp version fail with error below</span>
<span class="pl-s1">hist</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">histogram2d</span>(<span class="pl-s1">samples</span>[<span class="pl-c1">0</span>, :], <span class="pl-s1">samples</span>[<span class="pl-c1">1</span>, :], <span class="pl-s1">range</span><span class="pl-c1">=</span><span class="pl-s1">lims</span>)</pre></div>
<p dir="auto">Error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
Traceback (most recent call last):
File "/home/jnphist2d.py", line 11, in <module>
hist = jnp.histogram2d(samples[0, :], samples[1, :], range=lims)
File "/home/usr/anaconda3/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 1005, in histogram2d
hist, edges = histogramdd(sample, bins, range, weights, density)
File "/home/usr/anaconda3/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 1031, in histogramdd
bin_idx = searchsorted(bin_edges, sample[:, i], side='right')
File "/home/usr/anaconda3/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5717, in searchsorted
raise ValueError("a should be 1-dimensional")
ValueError: a should be 1-dimensional"><pre class="notranslate"><code class="notranslate">WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
Traceback (most recent call last):
File "/home/jnphist2d.py", line 11, in <module>
hist = jnp.histogram2d(samples[0, :], samples[1, :], range=lims)
File "/home/usr/anaconda3/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 1005, in histogram2d
hist, edges = histogramdd(sample, bins, range, weights, density)
File "/home/usr/anaconda3/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 1031, in histogramdd
bin_idx = searchsorted(bin_edges, sample[:, i], side='right')
File "/home/usr/anaconda3/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5717, in searchsorted
raise ValueError("a should be 1-dimensional")
ValueError: a should be 1-dimensional
</code></pre></div> | <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from jax import numpy as jnp
a = [-2,2]
b=jnp.array([a,a])
print(b)
jnp.histogram2d(jnp.ones(10), jnp.ones(10), bins=10, range=b)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> [<span class="pl-c1">-</span><span class="pl-c1">2</span>,<span class="pl-c1">2</span>]
<span class="pl-s1">b</span><span class="pl-c1">=</span><span class="pl-s1">jnp</span>.<span class="pl-en">array</span>([<span class="pl-s1">a</span>,<span class="pl-s1">a</span>])
<span class="pl-en">print</span>(<span class="pl-s1">b</span>)
<span class="pl-s1">jnp</span>.<span class="pl-en">histogram2d</span>(<span class="pl-s1">jnp</span>.<span class="pl-en">ones</span>(<span class="pl-c1">10</span>), <span class="pl-s1">jnp</span>.<span class="pl-en">ones</span>(<span class="pl-c1">10</span>), <span class="pl-s1">bins</span><span class="pl-c1">=</span><span class="pl-c1">10</span>, <span class="pl-s1">range</span><span class="pl-c1">=</span><span class="pl-s1">b</span>)</pre></div>
<p dir="auto">Suggested fix from the user: <a href="https://github.com/google/jax/blob/7a40aa0114e46a7a8975e04b175dfbc7b0b388ef/jax/_src/numpy/lax_numpy.py#L1054">this line</a> should probably have <code class="notranslate">range[i]</code>. (That seems to fix it, but I didn't try writing tests!)</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jakevdp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jakevdp">@jakevdp</a> could you take a look?</p> | 1 |
<p dir="auto">Why is that doubled?</p>
<p dir="auto">.container:before,<br>
.container:after {<br>
display: table;<br>
content: " ";<br>
}</p>
<p dir="auto">.container:after {<br>
clear: both;<br>
}</p>
<p dir="auto">.container:before,<br>
.container:after {<br>
display: table;<br>
content: " ";<br>
}</p>
<p dir="auto">.container:after {<br>
clear: both;<br>
}</p>
<p dir="auto">.row:before,<br>
.row:after {<br>
display: table;<br>
content: " ";<br>
}</p>
<p dir="auto">.row:after {<br>
clear: both;<br>
}</p>
<p dir="auto">.row:before,<br>
.row:after {<br>
display: table;<br>
content: " ";<br>
}</p>
<p dir="auto">.row:after {<br>
clear: both;<br>
}</p> | <p dir="auto">show on bootstrap.css</p>
<p dir="auto"><a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L581">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L581</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L723">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L723</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L743">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L743</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2023">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2023</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2433">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2433</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2617">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2617</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2637">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L2637</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3032">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3032</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3296">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3296</a><br>
<a href="https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3453">https://github.com/twbs/bootstrap/blob/3.0.0-wip/dist/css/bootstrap.css#L3453</a></p> | 1 |
<p dir="auto">For example, let us say, there is an already formed web page and for example there is a section with product description, that doesn't use any classes of the web page due to <code class="notranslate">reset.css v 2.0</code> and for example it would be great to apply <code class="notranslate">bootstrap.css</code> to this section specifically.</p>
<p dir="auto">Maybe it will be possible in future versions or there is a distinct no to that?</p> | <p dir="auto">To prevent random mixing of styles maybe we should use prefix?</p>
<p dir="auto">For example, <code class="notranslate">.tb-span6</code> or <code class="notranslate">.tb-row</code> instead <code class="notranslate">.span6</code> or <code class="notranslate">.row</code>?</p>
<p dir="auto"><code class="notranslate">.menu</code>, <code class="notranslate">.navbar</code> is so common class names so it may a little confusing without prefix</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<h1 dir="auto">Expected behavior</h1>
<h1 dir="auto">Actual behavior</h1> | <ul dir="auto">
<li>
<p dir="auto">Your Windows build number: 10.0.18362.86</p>
</li>
<li>
<p dir="auto">What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)</p>
</li>
</ul>
<ol dir="auto">
<li>
<p dir="auto">open the terminal app;</p>
</li>
<li>
<p dir="auto">add the tab by "ctrl+t" or "click the add tab button";<br>
example step: add 1 cmd tab, add 1 PowerShell tab,add 2 cmd tab<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5210026/57499425-35291080-7312-11e9-9bb8-a06050a7b550.png"><img src="https://user-images.githubusercontent.com/5210026/57499425-35291080-7312-11e9-9bb8-a06050a7b550.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto">scroll the tab bar by mouse scroll, it does not display all tabs.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5210026/57498832-0d38ad80-7310-11e9-8fb7-c858a656c613.png"><img src="https://user-images.githubusercontent.com/5210026/57498832-0d38ad80-7310-11e9-8fb7-c858a656c613.png" alt="image" style="max-width: 100%;"></a></p>
</li>
</ol> | 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>.): 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.): <code class="notranslate">kubectl apply</code>, <code class="notranslate">kubectl apply label:kind/bug</code> and <code class="notranslate">apply error label:kind/bug</code></p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:38:40Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:32:42Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:38:40Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:32:42Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: Docker container</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): Debian GNU/Linux 8 (jessie)</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): Linux 37638c28ef33 4.8.4-1-ARCH <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux (apparently uname -a shows the host system on containers?)</li>
<li><strong>Install tools</strong>: gcloud</li>
<li><strong>Others</strong>: Docker container running the deployment script on our CI (Codeship)</li>
</ul>
<p dir="auto"><strong>What happened</strong>: Our deploy script reads our yaml files and feeds them to <code class="notranslate">kubectl apply -f</code>. Today we didn't have a regular error like "this property can't be updated", it gave us a server error apparently applying a bad patch to the kubernetes resource.<br>
Here is the stderr output: <a href="https://gist.github.com/Draiken/e189868555a53d7c0c5254c7eb04a4f8">https://gist.github.com/Draiken/e189868555a53d7c0c5254c7eb04a4f8</a></p>
<p dir="auto"><strong>What you expected to happen</strong>: kubectl apply either refuse to send the patch if we're doing some impossible update or successfully update the deployment.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible): Unfortunately, I wasn't able to reproduce it. After the error I took the same yaml file used when the error happened and kubectl apply worked without errors.<br>
Here is the resource on kubernetes: <a href="https://gist.github.com/55145dc42d1e06ee625306247040fba3">https://gist.github.com/55145dc42d1e06ee625306247040fba3</a><br>
Here is the resource we applied: <a href="https://gist.github.com/25932503e3b6d0dc8a810f8fb3682411">https://gist.github.com/25932503e3b6d0dc8a810f8fb3682411</a></p> | <p dir="auto">I have a cluster with ~130 pods. Running back-to-back 'get pods' shows me wildly different understandings of their state, even though I can tell from docker that they have not crashed or anything.</p>
<p dir="auto">thockin@freakshow kubernetes master /$ ./cluster/kubectl.sh get pods -l app=hostnames | awk '{print $(NF)}' | sort | uniq -c<br>
Running: ./cluster/../cluster/gce/../../_output/dockerized/bin/linux/amd64/kubectl get pods -l app=hostnames<br>
127 Running<br>
1 STATUS<br>
6 Unknown</p>
<p dir="auto">thockin@freakshow kubernetes master /$ ./cluster/kubectl.sh get pods -l app=hostnames | awk '{print $(NF)}' | sort | uniq -c<br>
Running: ./cluster/../cluster/gce/../../_output/dockerized/bin/linux/amd64/kubectl get pods -l app=hostnames<br>
82 Running<br>
1 STATUS<br>
51 Unknown</p>
<p dir="auto">Nothing changed in between these calls.</p> | 0 |
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default class foo {
}
export default function bar() {
}
var x = 10;
export default x;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-smi">foo</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">var</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">x</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">In the above example, the error messages are:</p>
<ol dir="auto">
<li>On <code class="notranslate">foo</code>: "Duplicate identifier 'foo'."</li>
<li>On <code class="notranslate">bar</code>: "Duplicate identifier 'bar'."</li>
<li>On <code class="notranslate">export default x</code>: "Duplicate identifier 'default'."</li>
</ol>
<p dir="auto">Then we have...</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default function foo() {
}
export default function bar() {
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<ol dir="auto">
<li>On <code class="notranslate">foo</code>: "Duplicate function implementation."</li>
<li>On <code class="notranslate">bar</code>: "Duplicate function implementation."</li>
</ol> | <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> | 0 |
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">When plotting the <a href="https://github.com/matplotlib/matplotlib/files/696920/bug.zip">attached</a> time vs. masked arrays using <code class="notranslate">plot_date</code>, <code class="notranslate">matplotlib</code> chooses a timespan of 4Β½ years despite the time axis covering less than 4 days (I had to make it a zip or github would not permit it as an attachment). This happens because most of the data in <code class="notranslate">y</code> is masked; the data in the time-axis are not masked at all, so it should still be able to choose a sensible time range.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="plot_date(t, x)"><pre class="notranslate"><code class="notranslate">plot_date(t, x)
</code></pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/500246/21818304/2c712cbc-d75f-11e6-9d80-b242764beb26.png"><img src="https://cloud.githubusercontent.com/assets/500246/21818304/2c712cbc-d75f-11e6-9d80-b242764beb26.png" alt="actual outcome" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">The expected span of time axes is obtained with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="plot_date(t.data, x.data)"><pre class="notranslate"><code class="notranslate">plot_date(t.data, x.data)
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/500246/21818347/5e1b1a52-d75f-11e6-8e62-357aa0f7e946.png"><img src="https://cloud.githubusercontent.com/assets/500246/21818347/5e1b1a52-d75f-11e6-8e62-357aa0f7e946.png" alt="expected outcome" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<p dir="auto">I'm using matplotlib 2.0.0rc2 installed through pip</p> | <p dir="auto">As explained in my original StackOverflow <a href="http://stackoverflow.com/q/35163031/4739755" rel="nofollow">question</a>, I've found some unexpected behavior when plotting single points in matplotlib.pyplot with Datetime objects. Plotting multiple points (>1) gives the range of dates with some buffer on either side. Plotting a single point causes the range to span multiple years (2014 - 2018 using Feb 03, 2016).</p>
<p dir="auto">When using the AutoDateLocator(), the (assumed) issue isn't as noticeable since the generated ticks are fairly conservative, but using a WeekdayLocator() instead results in a dense mess of ticks. The application I'm using this for deals with time spans of <em>at most</em> a few months, so suddenly getting a range of multiple <em>years</em> is quite jarring.</p>
<p dir="auto">Below is some code that generates 6 matplotlib.pyplot plot images to demonstrate a few example cases and the output from running the script with the --verbose-debug flag</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
import matplotlib.dates as md
from datetime import datetime
# Create figures
fig0 = plt.figure(0)
fig1 = plt.figure(1)
fig2 = plt.figure(2)
fig3 = plt.figure(3)
fig4 = plt.figure(4)
fig5 = plt.figure(5)
fig6 = plt.figure(6)
# Add some subplots
sub3 = fig3.add_subplot(111)
sub4 = fig4.add_subplot(111)
sub5 = fig5.add_subplot(111)
sub6 = fig6.add_subplot(111)
# Creating a regular plot directly with a single point
plt.figure(0)
plt.plot((2,), (3,), marker='o')
plt.title('Regular plot, single point')
# Doing the same, but with a subplot
sub3.plot((2,), (3,), marker='o')
sub3.set_title('Subplot, single point')
# Creating a regular plot using a Datetime object with multiple points
# Using the AutoDateLocator()
test_date_one = datetime.strptime('2016-02-03', '%Y-%m-%d')
test_date_two = datetime.strptime('2016-03-03', '%Y-%m-%d')
plt.figure(1)
plt.plot((test_date_one, test_date_two), (2, 3), marker='o')
fig1.autofmt_xdate()
plt.title('Regular plot, multiple Datetime points')
# Now with a single point
plt.figure(2)
plt.plot(test_date_one, 2, marker='o')
fig2.autofmt_xdate()
plt.title('Regular plot, single Datetime point')
# Doing the same, but with a subplot
# Multiple points
sub4.plot((test_date_one, test_date_two), (2, 3), marker='o')
fig4.autofmt_xdate()
sub4.set_title('Subplot, multiple Datetime points')
# Single point
sub5.plot(test_date_one, 2, marker='o')
fig5.autofmt_xdate()
sub5.set_title('Subplot, single Datetime point')
# Finally, single Datetime point with WeekdayLocator()
sub6.plot(test_date_two, 3, marker='o')
sub6.xaxis.set_major_locator(md.WeekdayLocator())
fig6.autofmt_xdate()
sub6.set_title('Subplot, single Datetime point, WeekdayLocator()')
plt.show()"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt
import matplotlib.dates as md
from datetime import datetime
# Create figures
fig0 = plt.figure(0)
fig1 = plt.figure(1)
fig2 = plt.figure(2)
fig3 = plt.figure(3)
fig4 = plt.figure(4)
fig5 = plt.figure(5)
fig6 = plt.figure(6)
# Add some subplots
sub3 = fig3.add_subplot(111)
sub4 = fig4.add_subplot(111)
sub5 = fig5.add_subplot(111)
sub6 = fig6.add_subplot(111)
# Creating a regular plot directly with a single point
plt.figure(0)
plt.plot((2,), (3,), marker='o')
plt.title('Regular plot, single point')
# Doing the same, but with a subplot
sub3.plot((2,), (3,), marker='o')
sub3.set_title('Subplot, single point')
# Creating a regular plot using a Datetime object with multiple points
# Using the AutoDateLocator()
test_date_one = datetime.strptime('2016-02-03', '%Y-%m-%d')
test_date_two = datetime.strptime('2016-03-03', '%Y-%m-%d')
plt.figure(1)
plt.plot((test_date_one, test_date_two), (2, 3), marker='o')
fig1.autofmt_xdate()
plt.title('Regular plot, multiple Datetime points')
# Now with a single point
plt.figure(2)
plt.plot(test_date_one, 2, marker='o')
fig2.autofmt_xdate()
plt.title('Regular plot, single Datetime point')
# Doing the same, but with a subplot
# Multiple points
sub4.plot((test_date_one, test_date_two), (2, 3), marker='o')
fig4.autofmt_xdate()
sub4.set_title('Subplot, multiple Datetime points')
# Single point
sub5.plot(test_date_one, 2, marker='o')
fig5.autofmt_xdate()
sub5.set_title('Subplot, single Datetime point')
# Finally, single Datetime point with WeekdayLocator()
sub6.plot(test_date_two, 3, marker='o')
sub6.xaxis.set_major_locator(md.WeekdayLocator())
fig6.autofmt_xdate()
sub6.set_title('Subplot, single Datetime point, WeekdayLocator()')
plt.show()
</code></pre></div>
<p dir="auto"><strong>Debug Output</strong><br>
$HOME=C:\Users******<br>
matplotlib data path C:\Python27\lib\site-packages\matplotlib\mpl-data</p>
<hr>
<p dir="auto">You have the following UNSUPPORTED LaTeX preamble customizations:</p>
<p dir="auto">Please do not ask for support with these customizations active.</p>
<hr>
<p dir="auto">loaded rc file C:\Python27\lib\site-packages\matplotlib\mpl-data\matplotlibrc<br>
matplotlib version 1.5.1<br>
verbose.level debug<br>
interactive is False<br>
platform is win32<br>
loaded modules: <dictionary-keyiterator object at 0x04E08810><br>
CACHEDIR=C:\Users*<em><strong>.matplotlib<br>
Using fontManager instance from C:\Users*</strong></em>.matplotlib\fontList.cache<br>
backend TkAgg version 8.5<br>
Could not load matplotlib icon: can't use "pyimage10" as iconphoto: not a photo image<br>
Could not load matplotlib icon: can't use "pyimage19" as iconphoto: not a photo image<br>
Could not load matplotlib icon: can't use "pyimage28" as iconphoto: not a photo image<br>
Could not load matplotlib icon: can't use "pyimage37" as iconphoto: not a photo image<br>
Could not load matplotlib icon: can't use "pyimage46" as iconphoto: not a photo image<br>
Could not load matplotlib icon: can't use "pyimage55" as iconphoto: not a photo image<br>
findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=400:stretch=normal:size=medium to Bitstream Vera Sans (u'c:\python27\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf') with score of 0.000000<br>
findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=400:stretch=normal:size=large to Bitstream Vera Sans (u'c:\python27\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf') with score of 0.000000</p> | 1 |
<p dir="auto">From this <a href="http://jsbin.com/iDiZUf/6/edit?js,output" rel="nofollow">http://jsbin.com/iDiZUf/6/edit?js,output</a> snippet, you can reproduce by:</p>
<ol dir="auto">
<li>Load page: <a href="http://jsbin.com/iDiZUf/6/edit?js,output" rel="nofollow">http://jsbin.com/iDiZUf/6/edit?js,output</a></li>
<li>Click glyphicon-question-sign next to "Preapplication"</li>
<li>Click "1. Type of Submission"</li>
<li>Click "1. Type of Submission" again.</li>
<li>Try to click glyphicon-question-sign next to "Changed/Corrected Application"</li>
</ol>
<p dir="auto">The behavior you find is that the click from 5. does not show the popover as expected. I suspected this was a z-index related issue and oniijin from IRC helped troubleshoot. Oniijin suggested modifying the javascript:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$('.easyPopover').on('click', function (e) {
$('.in').css('z-index','-1');
$('.easyPopover').not(this).popover('hide');
$(this).popover('toggle');
$('.in').css('z-index','10');
});"><pre class="notranslate"><code class="notranslate">$('.easyPopover').on('click', function (e) {
$('.in').css('z-index','-1');
$('.easyPopover').not(this).popover('hide');
$(this).popover('toggle');
$('.in').css('z-index','10');
});
</code></pre></div>
<p dir="auto">With the z-index handling in-place - popover starts behaving more like I expected. I suspect this is the way it should behave out of the box, but I am not certain. My goal in starting down this entire path, was to ensure that only one popover appeared to the user at a time. Thanks, L <img class="emoji" title=":neckbeard:" alt=":neckbeard:" src="https://github.githubassets.com/images/icons/emoji/neckbeard.png" height="20" width="20" align="absmiddle"></p> | <p dir="auto">Using toggle popover hidden and ok. When using hide command, popover is hidden, but button inside popover still trigering mouse over.</p>
<p dir="auto"><a href="http://jsfiddle.net/conx/n8FYQ/4/" rel="nofollow">http://jsfiddle.net/conx/n8FYQ/4/</a></p> | 1 |
<p dir="auto">already baked into V8 (I think?) so hopefully not too big of a stretch.</p>
<p dir="auto">(can get by on userland hacks but, for example, interacting with the AWS API requires hand rolling your own signing which is probably a big blocker for most folks)</p> | <p dir="auto">Some applications like handling password will require hashing and encryption. These operations could be implemented in js/ts, but It really needs to be handled from a trusted environment to be secure. It looks like there have been some attempts to get this one rolling before recently with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="395880648" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1461" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/1461/hovercard" href="https://github.com/denoland/deno/pull/1461">#1461</a>.</p> | 1 |
<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>
<p dir="auto">Previous issues have been posted to VSCode GitHub. They encouraged people to post here, but based on searching user profiles, they never did. Links:</p>
<p dir="auto">This may be a duplicate of <a href="https://github.com/electron/electron/issues/18262" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/18262/hovercard">Crash on macOS with Electron v3.1.6</a></p>
<p dir="auto">But I don't know if the problem is the same as what they supposedly narrowed it down to. Plus they never followed up with more testing.</p>
<p dir="auto">03/2020- <a href="https://github.com/microsoft/vscode/issues/88500" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/88500/hovercard">vscode v 1.41.1 crashing on Mac OSX Catalina</a></p>
<p dir="auto">04/2019-<a href="https://github.com/microsoft/vscode/issues/77568" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/77568/hovercard">crash when closing vscode in macOS(10.14.5)</a></p>
<p dir="auto">02/9/2019- <a href="https://github.com/microsoft/vscode/issues/68307" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/68307/hovercard">VSCode doesn't boot properly on vscode 1.31</a></p>
<p dir="auto">In the case of Catalina:</p>
<p dir="auto"><strong>original issue beta-</strong> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="488341771" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/80236" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/80236/hovercard" href="https://github.com/microsoft/vscode/issues/80236">microsoft/vscode#80236</a></p>
<p dir="auto"><strong>Apparent problem 08/2019-</strong> <a href="https://apple.stackexchange.com/questions/367283/apps-that-are-chromium-or-electron-base-crashes-on-catalina-beta-6-19a536g" rel="nofollow">https://apple.stackexchange.com/questions/367283/apps-that-are-chromium-or-electron-base-crashes-on-catalina-beta-6-19a536g</a></p>
<h3 dir="auto">Issue Details</h3>
<p dir="auto"><a href="https://gist.github.com/zrodriguez89/098827f860663f27dc0a9612daf1d9da">Crash Reports Gist</a></p>
<ul dir="auto">
<li><strong>Electron Version:</strong></li>
</ul>
<p dir="auto">Where can I find electron version corresponding to VSCode?</p>
<p dir="auto">Both errors on Mac OS X 10.14.6 - Mojave<br>
Both errors VSCode version 1.43.0</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Use VSCode regularly without crashing</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Freezes up then crashes.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">The best way to reproduce is using VSCode to run SQL code while using the PostgreSQL Microsoft extension. Also need to install pgadmin (I use pgcli). I can also provide SQL files to setup and use.</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto">None as of now</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">I have had it crash on the newest VSCode version, but currently don't have a saved bug report. I can try to get one if needed.</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>
<p dir="auto">window.print not work in a pdf view using 9.x version. printer doesnβt give response. I try to open a pdf file from http service like <code class="notranslate">http://xxxx/a.pdf</code>using webview, but get a 0kb blank pdf file ( save as pdf file) when I use window.print() or electron api webview.print()/webcontents.print(), it seems that the only way to print within a PDF viewer is to click the print icon.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28087610/99143234-daa30a00-2696-11eb-9ed6-748e4a35e5ae.png"><img src="https://user-images.githubusercontent.com/28087610/99143234-daa30a00-2696-11eb-9ed6-748e4a35e5ae.png" alt="image" style="max-width: 100%;"></a></p>
<ul dir="auto">
<li><strong>Electron Version:</strong><br>
9.3.4</li>
<li><strong>Operating System:</strong><br>
win 10</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>
</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">print correctly</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">not work</p>
<h3 dir="auto">To Reproduce</h3>
<h3 dir="auto">Screenshots</h3>
<h3 dir="auto">Additional Information</h3> | 0 |
<p dir="auto">It would be convenient in many cases to be able to add a filtering condition to comprehensions, something like:<br>
[ f(x) for x in 1:n if somecondition(x)]</p>
<p dir="auto">where the resulting array only contains those x where somecondition(x) == true. This mirrors python's syntax.</p> | <p dir="auto">Quoting <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rtzui/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rtzui">@rtzui</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3572324" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/547" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/547/hovercard" href="https://github.com/JuliaLang/julia/issues/547">#547</a>:<br>
On the other hand more powerful:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x=[1,2,3,4,510,1,2,3,1,9]
y=[sqrt(a) | a β x, x%2==0]"><pre class="notranslate"><code class="notranslate">x=[1,2,3,4,510,1,2,3,1,9]
y=[sqrt(a) | a β x, x%2==0]
</code></pre></div>
<p dir="auto">(Discussion from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pao">@pao</a>)<br>
There is an open syntactic question. The Haskell syntax (shown above) has guards as boolean expressions separated by commas and interspersed with membership assertions, which works as long as you can tell the difference between an expression evaluating to a boolean and a loop assignment statement. Python uses the keyword "if" to precede each guard. I'm sure there are other approaches as well.</p>
<p dir="auto">(From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JeffBezanson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JeffBezanson">@JeffBezanson</a>)<br>
It's maybe not ideal, but you can accomplish this as:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="x=[1,2,3,4,510,1,2,3,1,9]
y=[sqrt(a) | a in x[x%2==0] ]"><pre class="notranslate"><code class="notranslate">x=[1,2,3,4,510,1,2,3,1,9]
y=[sqrt(a) | a in x[x%2==0] ]
</code></pre></div> | 1 |
<p dir="auto"><strong>Windows 10<br>
TF Version: b'v1.11.0-rc2-4-gc19e29306c' 1.11.0<br>
Anaconda Python 3.6.5<br>
GPU: GeForce GTX 1070 Max-Q Design<br>
Tensorflow 2.0 (gpu) preview installed via pip.</strong></p>
<p dir="auto">I'm building a <a href="https://github.com/danaugrs/huskarl">reinforcement learning framework</a> on top of TensorFlow 2.0 using the <code class="notranslate">tf.keras</code> API and I've come across the following issue.</p>
<p dir="auto">The 2.0 API docs for <a href="https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/keras/losses" rel="nofollow"><code class="notranslate">tf.keras.losses</code></a> shows many objects that are not actually available in the preview package. For example the loss classes such as Huber. Hinge, etc... are not accessible.</p>
<ol dir="auto">
<li>Why are those classes not included in the preview package?</li>
<li>Why are there both classes and functions for many of the same loss types? That seems like unnecessary duplication.<br>
2a. Why is there a <code class="notranslate">Huber</code> class but no <code class="notranslate">huber</code> function?</li>
<li>I'd love to contribute PRs and help fix these issues. Would that be desired?</li>
</ol>
<p dir="auto">Edit: This has also been noticed here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="413335049" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/26007" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/26007/hovercard" href="https://github.com/tensorflow/tensorflow/issues/26007">#26007</a></p> | <p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10</li>
<li>TensorFlow installed from (source or binary): binary</li>
<li>TensorFlow version (or github SHA if from source): 1.12</li>
</ul>
<p dir="auto"><strong>Provide the text output from tflite_convert</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: CONCATENATION, CONV_2D, MAXIMUM, MAX_POOL_2D, MUL, PAD. Here is a list of operators for which you will need custom implementations: ExtractImagePatches.
"><pre class="notranslate"><code class="notranslate">Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: CONCATENATION, CONV_2D, MAXIMUM, MAX_POOL_2D, MUL, PAD. Here is a list of operators for which you will need custom implementations: ExtractImagePatches.
</code></pre></div>
<p dir="auto">Also, please include a link to a GraphDef or the model if possible.</p>
<p dir="auto"><strong>Any other info / logs</strong></p>
<p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.</p> | 0 |
<h1 dir="auto">What / Why</h1>
<blockquote>
<p dir="auto">n/a</p>
</blockquote>
<h2 dir="auto">When</h2>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">Where</h2>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">How</h2>
<h3 dir="auto">Current Behavior</h3>
<ul dir="auto">
<li>n/a</li>
</ul>
<h3 dir="auto">Steps to Reproduce</h3>
<ul dir="auto">
<li>n/a</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">Who</h2>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">References</h2>
<ul dir="auto">
<li>n/a</li>
</ul> | <h1 dir="auto">What / Why</h1>
<blockquote>
<p dir="auto">n/a</p>
</blockquote>
<h2 dir="auto">When</h2>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">Where</h2>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">How</h2>
<h3 dir="auto">Current Behavior</h3>
<ul dir="auto">
<li>n/a</li>
</ul>
<h3 dir="auto">Steps to Reproduce</h3>
<ul dir="auto">
<li>n/a</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">Who</h2>
<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">References</h2>
<ul dir="auto">
<li>n/a</li>
</ul> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.7</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="computeFunctionFromDBFieldName = (): any => {
if (this.dbFieldName) {
return function(object: any): string {
return argJsonObject[this.dbFieldName];
...
}"><pre class="notranslate"><span class="pl-s1">computeFunctionFromDBFieldName</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">any</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">dbFieldName</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">object</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">argJsonObject</span><span class="pl-kos">[</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">dbFieldName</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>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" this.computeFunctionFromDBFieldName = function () {
if (_this.dbFieldName) {
return function (argJsonObject) {
return argJsonObject[_this.dbFieldName];
};"><pre class="notranslate"><code class="notranslate"> this.computeFunctionFromDBFieldName = function () {
if (_this.dbFieldName) {
return function (argJsonObject) {
return argJsonObject[_this.dbFieldName];
};
</code></pre></div>
<p dir="auto"><strong>Actual behavior:</strong><br>
Generated js</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" this.computeFunctionFromDBFieldName = function () {
if (_this.dbFieldName) {
return function (argJsonObject) {
return argJsonObject[this.dbFieldName];
};"><pre class="notranslate"><code class="notranslate"> this.computeFunctionFromDBFieldName = function () {
if (_this.dbFieldName) {
return function (argJsonObject) {
return argJsonObject[this.dbFieldName];
};
</code></pre></div>
<p dir="auto">The expected difference would be that the _this would also be in the array referencing.</p> | <p dir="auto">Hi,</p>
<p dir="auto">I just updated the typescript compiler from 1.0.1.0 to 1.1.0.1.</p>
<p dir="auto">Then when I using the Webstorm Typescript Transpiling, it keeps reporting TS2300: Duplicate identifier.<br>
I investigate a bit, it seems like the references is the problem.</p>
<p dir="auto">In our current project, we include all the .ts files and external library .d.ts files in one references.d.ts file and include a single references.d.ts file for each .ts file we coded.<br>
This reference mechanism works just fine on tsc 1.0.1.0</p>
<p dir="auto">But on 1.1.0.1, it seems like it can not do self reference any more. Then I try to make specific reference for each .ts file. However it still get some TS2300: Duplicate identifier in some classes when the dependencies depend on another same dependency. It seems like it will reference the same dependency twice to cause Duplicate identifier error.</p>
<p dir="auto">eg:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="A.ts:
/// <reference path="D.ts" />
B.ts:
/// <reference path="D.ts" />
C.ts:
/// <reference path="A.ts" />
/// <reference path="B.ts" />"><pre class="notranslate"><code class="notranslate">A.ts:
/// <reference path="D.ts" />
B.ts:
/// <reference path="D.ts" />
C.ts:
/// <reference path="A.ts" />
/// <reference path="B.ts" />
</code></pre></div>
<p dir="auto">Because I am using AngularJS framework, so it is quite common that A and B are services to inject D service, C as controller to inject A and B services.</p>
<p dir="auto">In this scenario, typescript compiler report TS2300: Duplicate identifier 'D' when it compile C.ts</p>
<p dir="auto">PS: I know this references issue will not occurs in VS since it has some 'magic' implicant reference mechanism to reference all the .ts/ .d.ts files. I hope it is not the Webstorm issue, because it seems like compile issue more or less.</p>
<p dir="auto">Also, it will be great if there is some standard Typescript coding style to do the proper dependencies reference when people are using Webstorm or other IDE than VS. Maybe some auto fixing dependencies reference as plugin would be better.</p> | 0 |
<p dir="auto">keyMirror as other utils could be exposed as React.utils.keyMirror or by the way you want, many people have to include the package separated and this could be optimized.</p> | <p dir="auto">I'm finding I really love something like <code class="notranslate">keyMirror</code> on non-react related fluxy projects. Is there a good NPM module for this, or considerations of making it a separate module?</p> | 1 |
<p dir="auto">I'm on Windows 7, using the Romanian (Programmers) keyboard arangement. Right-Alt + s is supposed to be Θ (s with comma below), but in Atom it opens a Spec Suite window (which seems to be running some kind of tests). Maybe the issue is that you should differentiate between left and right Alt?</p> | <blockquote>
<p dir="auto">Atom doesn't handle keyboards with Right Alt (i.e. AltGr). This is a very basic mistake. I have a Hungarian keyboard layout, I can only write specific keys like "|" (pipe) by pressing Right Alt (AltGr) and then W, which Atom doesn't recognize and treat like Alt-W or something?<br>
The point is there are some layouts like greek, hungarian, czech with special keys, which an EDITOR should handle the right way!!<br>
E.g. I can't write CTRL-", because it writes the number "2" instead. I think this key might be interpreted like CTRL-ALT sequence, but not sure either.<br>
Anyway, without it, it's just not an editor.<br>
Like Windows Media player; you can't pause a movie with it hitting space bar...</p>
</blockquote>
<p dir="auto">From: support/9f98abca9f4a11e3955c6445541b1a76</p> | 1 |
<p dir="auto">I am trying to model a employee hierarchy where every employee can be a manager of a team of employees and, at the same time, she can be part of a team managed by other employee:</p>
<p dir="auto">curl -XPOST '<a href="http://localhost:9200/manager_employee" rel="nofollow">http://localhost:9200/manager_employee</a>' -d '{<br>
"mappings": {<br>
"employee": {<br>
"_parent": {<br>
"type": "employee"<br>
},<br>
"properties": {<br>
"name": {<br>
"type": "string"<br>
}<br>
}<br>
}<br>
}<br>
}'</p>
<p dir="auto">The problem is when modeling a employee which is not managed by anyone (let's think about the CEO). I tried both alternatives bellow:</p>
<p dir="auto">curl -s -XPOST localhost:9200/_bulk --data-binary '<br>
{ "index" : { "_index" : "manager_employee", "_type" : "employee", "_id" : "employee1" , _parent:"employee1"} }<br>
{ "name" : "chris"}<br>
{ "index" : { "_index" : "manager_employee", "_type" : "employee", "_id" : "employee2" , _parent:"employee1"} }<br>
{ "name" : "joseph" }<br>
{ "index" : { "_index" : "manager_employee", "_type" : "employee", "_id" : "employee3" , _parent:"employee1"} }<br>
{ "name" : "john" }'</p>
<p dir="auto">i.e., the CEO is managed by herself and</p>
<p dir="auto">curl -s -XPOST localhost:9200/_bulk --data-binary '<br>
{ "index" : { "_index" : "manager_employee", "_type" : "employee", "_id" : "employee1" , _parent:"dummyID1"} }<br>
{ "name" : "chris"}<br>
{ "index" : { "_index" : "manager_employee", "_type" : "employee", "_id" : "employee2" , _parent:"employee1", _routing:"dummyID1"} }<br>
{ "name" : "joseph" }<br>
{ "index" : { "_index" : "manager_employee", "_type" : "employee", "_id" : "employee3" , _parent:"employee1", _routing:"dummyID1"} }<br>
{ "name" : "john" }'</p>
<p dir="auto">the CEO is managed by some dummy manager</p>
<p dir="auto">In both cases:</p>
<p dir="auto">curl -XGET 'localhost:9200/manager_employee/employee/_search' -d '{<br>
"filter" : {<br>
"has_child" : {<br>
"child_type" : "employee",<br>
"query" : {<br>
"term" : {<br>
"employee.name" : "john"<br>
}<br>
}<br>
}}}'</p>
<p dir="auto">works returning chris, but the other side of the relations fails:</p>
<p dir="auto">curl -XGET 'localhost:9200/manager_employee/employee/_search' -d '{<br>
"filter" : {<br>
"has_parent" : {<br>
"parent_type" : "employee",<br>
"query" : {<br>
"term" : {<br>
"employee.name" : "chris"<br>
}<br>
}<br>
}}}'</p>
<p dir="auto">returns an empty hit set.</p>
<p dir="auto">Is there any other way (without defining different) types of implementing this? Any workaround? Is it a bug that the relation is correctly mapped from children to parent but not from parent to children when using the same type in both sides of the relation?</p>
<p dir="auto">Thank you in advance,</p> | <p dir="auto">We don't explicitly prohibit types from referring to themselves as parents. This functionality worked fine before 0.90 release, but since 0.90 it seems to be broken for the <code class="notranslate">has_parent</code> query. In the following script, both search requests return results in 0.20.x but only the second search request returns results in 0.90.x and above.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="curl -XDELETE localhost:9200/test-idx
curl -XPUT localhost:9200/test-idx -d '{
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 0
},
"mappings": {
"doc": {
"_parent": {
"type": "doc"
}
}
}
}'
curl -XPUT "localhost:9200/test-idx/doc/1?routing=1&pretty" -d '{"name": "doc_1"}'
curl -XPUT "localhost:9200/test-idx/doc/2?parent=1&pretty" -d '{"name": "doc_2"}'
curl -XPOST "localhost:9200/test-idx/_refresh?pretty"
echo
curl "localhost:9200/test-idx/doc/_search?pretty" -d '{
"query": {
"has_parent": {
"type": "doc",
"query" : {
"match_all": {
}
}
}
}
}'
echo
curl "localhost:9200/test-idx/doc/_search?pretty" -d '{
"query": {
"has_child": {
"type": "doc",
"query" : {
"match_all": {
}
}
}
}
}'"><pre class="notranslate"><code class="notranslate">curl -XDELETE localhost:9200/test-idx
curl -XPUT localhost:9200/test-idx -d '{
"settings": {
"index.number_of_shards": 1,
"index.number_of_replicas": 0
},
"mappings": {
"doc": {
"_parent": {
"type": "doc"
}
}
}
}'
curl -XPUT "localhost:9200/test-idx/doc/1?routing=1&pretty" -d '{"name": "doc_1"}'
curl -XPUT "localhost:9200/test-idx/doc/2?parent=1&pretty" -d '{"name": "doc_2"}'
curl -XPOST "localhost:9200/test-idx/_refresh?pretty"
echo
curl "localhost:9200/test-idx/doc/_search?pretty" -d '{
"query": {
"has_parent": {
"type": "doc",
"query" : {
"match_all": {
}
}
}
}
}'
echo
curl "localhost:9200/test-idx/doc/_search?pretty" -d '{
"query": {
"has_child": {
"type": "doc",
"query" : {
"match_all": {
}
}
}
}
}'
</code></pre></div>
<p dir="auto">search result in 0.20.6:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"took" : 54,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "test-idx",
"_type" : "doc",
"_id" : "2",
"_score" : 1.0, "_source" : {"name": "doc_2"}
} ]
}
}
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "test-idx",
"_type" : "doc",
"_id" : "1",
"_score" : 1.0, "_source" : {"name": "doc_1"}
} ]
}
}"><pre class="notranslate"><code class="notranslate">{
"took" : 54,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "test-idx",
"_type" : "doc",
"_id" : "2",
"_score" : 1.0, "_source" : {"name": "doc_2"}
} ]
}
}
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "test-idx",
"_type" : "doc",
"_id" : "1",
"_score" : 1.0, "_source" : {"name": "doc_1"}
} ]
}
}
</code></pre></div>
<p dir="auto">search result in the current master:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"took" : 66,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}
{
"took" : 16,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "test-idx",
"_type" : "doc",
"_id" : "1",
"_score" : 1.0,
"_source":{"name": "doc_1"}
} ]
}
}"><pre class="notranslate"><code class="notranslate">{
"took" : 66,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}
{
"took" : 16,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "test-idx",
"_type" : "doc",
"_id" : "1",
"_score" : 1.0,
"_source":{"name": "doc_1"}
} ]
}
}
</code></pre></div> | 1 |
<p dir="auto">by <strong>xuxinhua1984</strong>:</p>
<pre class="notranslate">The code is:(test.go)
package main
import "fmt"
func main() {
fmt.Println("Hello, World")
}
Then, I build it: go build test.go. It is OK.
But when I delete $GOROOT/src/pkg/fmt directory, then build test.go, it failed:
cannot find package "fmt" in any of:
/usr/local/go/src/pkg/fmt (from $GOROOT)
However, I can build it by 6g and link it by 6l:
go tool 6g test.go
go tool 6l test.6
this will generate 6.out
Why "go build" depends on $GOROOT/src/pkg ?</pre> | <p dir="auto">by <strong>dpsplunk</strong>:</p>
<pre class="notranslate">See <a href="http://tip.golang.org/pkg/syscall/" rel="nofollow">http://tip.golang.org/pkg/syscall/</a> and search in page for EPOLLET
Compare value against /usr/include/sys/epoll.h on Linux (or possibly
/usr/include/x86_64-linux-gnu/sys/epoll.h if on Ubuntu 12.04)
Go version has a negative value; whereas, Linux version is positive.
Value is positive on Linux Ubuntu 10.04 LTS and Ubuntu 12.04 LTS.</pre> | 0 |
<p dir="auto">Using the groupby().rolling() object seems to duplicate a level of the index.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [9]: d.groupby(level='ticker').rolling(30).mean()
Out[9]:
ticker ticker date
BMO BMO 2006-01-02 NaN
2006-01-03 NaN
TD TD 2016-09-22 57.139340
2016-09-23 57.171864
In [10]: d.groupby(level='ticker').apply(pd.rolling_mean, 30)
Out[10]:
ticker date
BMO 2006-01-02 NaN
2006-01-03 NaN
TD 2016-09-22 57.139340
2016-09-23 57.171864
In [11]: d.groupby(level='ticker').apply(lambda x: x.rolling(30).mean())
Out[11]:
ticker date
BMO 2006-01-02 NaN
2006-01-03 NaN
TD 2016-09-22 57.139340
2016-09-23 57.171864"><pre class="notranslate"><code class="notranslate">In [9]: d.groupby(level='ticker').rolling(30).mean()
Out[9]:
ticker ticker date
BMO BMO 2006-01-02 NaN
2006-01-03 NaN
TD TD 2016-09-22 57.139340
2016-09-23 57.171864
In [10]: d.groupby(level='ticker').apply(pd.rolling_mean, 30)
Out[10]:
ticker date
BMO 2006-01-02 NaN
2006-01-03 NaN
TD 2016-09-22 57.139340
2016-09-23 57.171864
In [11]: d.groupby(level='ticker').apply(lambda x: x.rolling(30).mean())
Out[11]:
ticker date
BMO 2006-01-02 NaN
2006-01-03 NaN
TD 2016-09-22 57.139340
2016-09-23 57.171864
</code></pre></div>
<p dir="auto">I would expect the output to be the same in all three cases.</p> | <p dir="auto">I found another oddity while digging through <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170700095" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13966" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/13966/hovercard" href="https://github.com/pandas-dev/pandas/issues/13966">#13966</a>.</p>
<p dir="auto">Begin with the initial DataFrame in that issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({'A': [1] * 20 + [2] * 12 + [3] * 8,
'B': np.arange(40)})"><pre class="notranslate"><code class="notranslate">df = pd.DataFrame({'A': [1] * 20 + [2] * 12 + [3] * 8,
'B': np.arange(40)})
</code></pre></div>
<p dir="auto">Save the grouping:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [215]: g = df.groupby('A')"><pre class="notranslate"><code class="notranslate">In [215]: g = df.groupby('A')
</code></pre></div>
<p dir="auto">Compute the rolling sum:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [216]: r = g.rolling(4)
In [217]: r.sum()
Out[217]:
A B
A
1 0 NaN NaN
1 NaN NaN
2 NaN NaN
3 4.0 6.0
4 4.0 10.0
5 4.0 14.0
6 4.0 18.0
7 4.0 22.0
8 4.0 26.0
9 4.0 30.0
... ... ...
2 30 8.0 114.0
31 8.0 118.0
3 32 NaN NaN
33 NaN NaN
34 NaN NaN
35 12.0 134.0
36 12.0 138.0
37 12.0 142.0
38 12.0 146.0
39 12.0 150.0
[40 rows x 2 columns]"><pre class="notranslate"><code class="notranslate">In [216]: r = g.rolling(4)
In [217]: r.sum()
Out[217]:
A B
A
1 0 NaN NaN
1 NaN NaN
2 NaN NaN
3 4.0 6.0
4 4.0 10.0
5 4.0 14.0
6 4.0 18.0
7 4.0 22.0
8 4.0 26.0
9 4.0 30.0
... ... ...
2 30 8.0 114.0
31 8.0 118.0
3 32 NaN NaN
33 NaN NaN
34 NaN NaN
35 12.0 134.0
36 12.0 138.0
37 12.0 142.0
38 12.0 146.0
39 12.0 150.0
[40 rows x 2 columns]
</code></pre></div>
<p dir="auto">It maintains the <code class="notranslate">by</code> column (<code class="notranslate">A</code>)! That column should not be in the resulting DataFrame.</p>
<p dir="auto">It gets weirder if I compute the sum over the entire grouping and then re-do the rolling calculation. Now <code class="notranslate">by</code> column is gone as expected:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [218]: g.sum()
Out[218]:
B
A
1 190
2 306
3 284
In [219]: r.sum()
Out[219]:
B
A
1 0 NaN
1 NaN
2 NaN
3 6.0
4 10.0
5 14.0
6 18.0
7 22.0
8 26.0
9 30.0
... ...
2 30 114.0
31 118.0
3 32 NaN
33 NaN
34 NaN
35 134.0
36 138.0
37 142.0
38 146.0
39 150.0
[40 rows x 1 columns]"><pre class="notranslate"><code class="notranslate">In [218]: g.sum()
Out[218]:
B
A
1 190
2 306
3 284
In [219]: r.sum()
Out[219]:
B
A
1 0 NaN
1 NaN
2 NaN
3 6.0
4 10.0
5 14.0
6 18.0
7 22.0
8 26.0
9 30.0
... ...
2 30 114.0
31 118.0
3 32 NaN
33 NaN
34 NaN
35 134.0
36 138.0
37 142.0
38 146.0
39 150.0
[40 rows x 1 columns]
</code></pre></div>
<p dir="auto">So the grouping summation has some sort of side effect.</p> | 1 |
<p dir="auto">Cannot pip install numpy.</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto"><code class="notranslate">python -m pip install numpy</code></p>
<h3 dir="auto">Error message:</h3>
<p dir="auto">Collecting numpy<br>
Using cached numpy-1.19.5.zip (7.3 MB)<br>
Installing build dependencies ... done<br>
Getting requirements to build wheel ... done<br>
Preparing wheel metadata ... error<br>
ERROR: Command errored out with exit status 1:<br>
command: /Users/jeffstewart/maroon-bells/venv/bin/python /Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/tmpvko_1s0y<br>
cwd: /private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c<br>
Complete output (185 lines):<br>
Running from numpy source directory.<br>
setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates<br>
run_build = parse_setuppy_commands()<br>
Processing numpy/random/_bounded_integers.pxd.in<br>
Processing numpy/random/_philox.pyx<br>
Processing numpy/random/_bounded_integers.pyx.in<br>
Processing numpy/random/_sfc64.pyx<br>
Processing numpy/random/_mt19937.pyx<br>
Processing numpy/random/bit_generator.pyx<br>
Processing numpy/random/mtrand.pyx<br>
Processing numpy/random/_generator.pyx<br>
Processing numpy/random/_pcg64.pyx<br>
Processing numpy/random/_common.pyx<br>
Cythonizing sources<br>
blas_opt_info:<br>
blas_mkl_info:<br>
customize UnixCCompiler<br>
libraries mkl_rt not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']<br>
NOT AVAILABLE</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="blis_info:
libraries blis not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
libraries accelerate not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
Library accelerate was not found. Ignoring
libraries veclib not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
Library veclib was not found. Ignoring
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
libraries flame not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries tatlas,tatlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries satlas,satlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries ptf77blas,ptcblas,atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries f77blas,cblas,atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running dist_info
running build_src
build_src
building py_modules sources
creating build
creating build/src.macosx-11.1-arm64-3.9
creating build/src.macosx-11.1-arm64-3.9/numpy
creating build/src.macosx-11.1-arm64-3.9/numpy/distutils
building library "npymath" sources
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
File "/Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 248, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 31, in run
egg_info.run()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/egg_info.py", line 24, in run
self.run_command("build_src")
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 144, in run
self.build_sources()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 155, in build_sources
self.build_library_sources(*libname_info)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 663, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------"><pre class="notranslate"><code class="notranslate">blis_info:
libraries blis not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
libraries accelerate not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
Library accelerate was not found. Ignoring
libraries veclib not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
Library veclib was not found. Ignoring
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
libraries flame not found in ['/Users/jeffstewart/maroon-bells/venv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries tatlas,tatlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries satlas,satlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries ptf77blas,ptcblas,atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries f77blas,cblas,atlas not found in /Users/jeffstewart/maroon-bells/venv/lib
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running dist_info
running build_src
build_src
building py_modules sources
creating build
creating build/src.macosx-11.1-arm64-3.9
creating build/src.macosx-11.1-arm64-3.9/numpy
creating build/src.macosx-11.1-arm64-3.9/numpy/distutils
building library "npymath" sources
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
File "/Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 248, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-build-env-98_m8bsv/overlay/lib/python3.9/site-packages/setuptools/command/dist_info.py", line 31, in run
egg_info.run()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/egg_info.py", line 24, in run
self.run_command("build_src")
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/jeffstewart/.pyenv/versions/3.9.1/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 144, in run
self.build_sources()
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 155, in build_sources
self.build_library_sources(*libname_info)
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "/private/var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/pip-install-cgcf8n0u/numpy_f7d15ee151114f0aa52d02ed62f75e3c/numpy/distutils/command/build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 663, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
</code></pre></div>
<p dir="auto">ERROR: Command errored out with exit status 1: /Users/jeffstewart/maroon-bells/venv/bin/python /Users/jeffstewart/maroon-bells/venv/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/6q/jk0p94b12x713m1c02tyt1fc0000gn/T/tmpvko_1s0y Check the logs for full command output.</p>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">Numpy version 1.19.5<br>
Python version 3.9.1<br>
macOS Big Sur 11.1 (Apple Silicon)</p> | <p dir="auto">I'm not 100% sure if this is an issue with numpy or with me, so I'm cross-posting <a href="https://stackoverflow.com/questions/65708176/troubles-installing-numpy-1-19-5-with-python-3-9-1-on-macos-bigsur" rel="nofollow">my stackoverflow</a> question here.</p>
<h3 dir="auto">NumPy/Python version information:</h3>
<ul dir="auto">
<li>Python 3.9.1</li>
<li>Numpy 1.19.5</li>
</ul>
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python3 -m pip install numpy"><pre class="notranslate">python3 -m pip install numpy</pre></div>
<h3 dir="auto">Output</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Collecting numpy
Using cached numpy-1.19.5.zip (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: numpy
Building wheel for numpy (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/tmpr_75wn9m
cwd: /private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794
Complete output (1046 lines):
Running from numpy source directory.
numpy/random/_bounded_integers.pxd.in has not changed
numpy/random/_philox.pyx has not changed
numpy/random/_bounded_integers.pyx.in has not changed
numpy/random/_sfc64.pyx has not changed
numpy/random/_mt19937.pyx has not changed
numpy/random/bit_generator.pyx has not changed
Processing numpy/random/_bounded_integers.pyx
numpy/random/mtrand.pyx has not changed
numpy/random/_generator.pyx has not changed
numpy/random/_pcg64.pyx has not changed
numpy/random/_common.pyx has not changed
Cythonizing sources
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
blis_info:
libraries blis not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
libraries accelerate not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
Library accelerate was not found. Ignoring
libraries veclib not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
Library veclib was not found. Ignoring
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
libraries flame not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries tatlas,tatlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries satlas,satlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries ptf77blas,ptcblas,atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries f77blas,cblas,atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath' to include_dirs.
None - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_internal.h']
building library "npysort" sources
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common' to include_dirs.
None - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_sort.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_partition.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_binsearch.h']
building library "npyrandom" sources
building extension "numpy.core._multiarray_tests" sources
building extension "numpy.core._multiarray_umath" sources
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath' to include_dirs.
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath' to include_dirs.
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/funcs.inc', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/simd.inc', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/loops.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/matmul.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/clip.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_internal.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/templ_common.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._umath_tests" sources
building extension "numpy.core._rational_tests" sources
building extension "numpy.core._struct_ufunc_tests" sources
building extension "numpy.core._operand_flag_tests" sources
building extension "numpy.fft._pocketfft_internal" sources
building extension "numpy.linalg.lapack_lite" sources
building extension "numpy.linalg._umath_linalg" sources
building extension "numpy.random._mt19937" sources
building extension "numpy.random._philox" sources
building extension "numpy.random._pcg64" sources
building extension "numpy.random._sfc64" sources
building extension "numpy.random._common" sources
building extension "numpy.random.bit_generator" sources
building extension "numpy.random._generator" sources
building extension "numpy.random._bounded_integers" sources
building extension "numpy.random.mtrand" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.macosx-10.9-universal2-3.9
creating build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/conftest.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/version.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/_globals.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/dual.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/_distributor_init.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/ctypeslib.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/matlib.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/_pytesttester.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying build/src.macosx-10.9-universal2-3.9/numpy/__config__.py -> build/lib.macosx-10.9-universal2-3.9/numpy
creating build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/py3k.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/_inspect.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
creating build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
copying numpy/compat/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
copying numpy/compat/tests/test_compat.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/umath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/fromnumeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_dtype.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_add_newdocs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_methods.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_internal.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_string_helpers.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_asarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/records.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/setup_common.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/memmap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/overrides.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/getlimits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_dtype_ctypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/defchararray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/machar.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/einsumfunc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/umath_tests.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_ufunc_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_exceptions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/numerictypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_type_aliases.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/cversions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/arrayprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
creating build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_numerictypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalar_methods.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarmath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_item_selection.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_machar.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_unicode.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_arrayprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarbuffer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_indexerrors.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_print.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_half.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_mem_overlap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_errstate.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_records.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarinherit.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_indexing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_umath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_datetime.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test__exceptions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_extint128.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_umath_complex.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/_locales.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_defchararray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_conversion_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_abc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_ufunc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_dtype.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_umath_accuracy.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_getlimits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_einsum.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_longdouble.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_overrides.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalar_ctors.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_memmap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_nditer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_cpu_features.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_protocols.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/unixccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/numpy_distribution.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/conv_template.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/cpuinfo.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/ccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/msvc9compiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/npy_pkg_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/misc_util.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/log.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/line_endings.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/lib2def.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/pathccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/system_info.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/core.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/exec_command.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/from_template.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/mingw32ccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/extension.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/msvccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/intelccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/_shell_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying build/src.macosx-10.9-universal2-3.9/numpy/distutils/__config__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/config_compiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_ext.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install_headers.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_py.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_src.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_scripts.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/bdist_rpm.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install_clib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_clib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/autodist.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/egg_info.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/develop.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install_data.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/gnu.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/compaq.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/intel.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/none.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nag.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/ibm.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/sun.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nv.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/lahey.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/g95.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/mips.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/hpux.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/environment.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pathf95.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/absoft.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/vast.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_system_info.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_mingw32ccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_from_template.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_intel.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_misc_util.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_shell_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_exec_command.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_npy_pkg_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_nagfor.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_gnu.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/misc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/internals.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/creation.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/dispatch.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/constants.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/ufuncs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/broadcasting.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/basics.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/subclassing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/indexing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/byteswapping.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/structured_arrays.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/glossary.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
creating build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/cfuncs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/common_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/crackfortran.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/cb_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/f2py2e.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/func2subr.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/__version__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/diagnose.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/capi_maps.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/f90mod_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/f2py_testing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/use_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/auxfuncs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/__main__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
creating build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_mixed.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_logical.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_assumed_shape.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_common.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_kind.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_array_from_pyobj.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_real.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/util.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_size.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_callback.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_string.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_quoted_character.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_parameter.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_semicolon_split.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_compile_function.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_block_docstring.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_integer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_character.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_complex.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_crackfortran.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/helper.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/_pocketfft.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
creating build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
copying numpy/fft/tests/test_pocketfft.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
copying numpy/fft/tests/test_helper.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
copying numpy/fft/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/_iotools.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/mixins.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/nanfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/recfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/histograms.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/scimath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/_version.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/user_array.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/format.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/twodim_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/financial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/index_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/npyio.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/stride_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/arrayterator.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/arraysetops.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/arraypad.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/type_check.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/_datasource.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/ufunclike.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
creating build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_type_check.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_twodim_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test__iotools.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_ufunclike.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_index_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_arrayterator.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test__version.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_io.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_arraysetops.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_arraypad.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_mixins.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_packbits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test__datasource.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_stride_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_financial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_recfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_nanfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_format.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_histograms.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/linalg
copying numpy/linalg/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg
copying numpy/linalg/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg
copying numpy/linalg/linalg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg
creating build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_linalg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_build.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/extras.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/testutils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/core.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/bench.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/timer_comparison.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/mrecords.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
creating build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_old_ma.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_core.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_subclassing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_extras.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_mrecords.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
copying numpy/matrixlib/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
copying numpy/matrixlib/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
copying numpy/matrixlib/defmatrix.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
creating build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_matrix_linalg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_defmatrix.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_interaction.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_masked_matrix.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/_polybase.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
creating build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_chebyshev.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite_e.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_laguerre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_legendre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_printing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_classes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polyutils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/random
copying numpy/random/_pickle.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random
copying numpy/random/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random
copying numpy/random/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random
creating build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_randomstate.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_direct.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_extending.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_smoke.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_randomstate_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_seed_sequence.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937_regressions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_random.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
creating build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/nosetester.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/noseclasses.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/parameterized.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/decorators.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
creating build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/test_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/test_decorators.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/test_doctesting.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_warnings.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_matlib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_ctypeslib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_numpy_version.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_reloading.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_public_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_scripts.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
running build_clib
customize UnixCCompiler
customize UnixCCompiler using new_build_clib
building 'npymath' library
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9
creating build/temp.macosx-10.9-universal2-3.9/numpy
creating build/temp.macosx-10.9-universal2-3.9/numpy/core
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/npymath
creating build/temp.macosx-10.9-universal2-3.9/build
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath
compile options: '-Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/core/src/npymath/npy_math.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_complex.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/ieee754.c
gcc: numpy/core/src/npymath/halffloat.c
ar: adding 4 object files to build/temp.macosx-10.9-universal2-3.9/libnpymath.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: build/temp.macosx-10.9-universal2-3.9/libnpymath.a will be fat and ar(1) will not be able to operate on it
ranlib:@ build/temp.macosx-10.9-universal2-3.9/libnpymath.a
building 'npysort' library
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort
compile options: '-Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/quicksort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/timsort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/mergesort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/radixsort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/selection.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/heapsort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/binsearch.c
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
22 warnings generated.
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
22 warnings generated.
ar: adding 7 object files to build/temp.macosx-10.9-universal2-3.9/libnpysort.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: build/temp.macosx-10.9-universal2-3.9/libnpysort.a will be fat and ar(1) will not be able to operate on it
ranlib:@ build/temp.macosx-10.9-universal2-3.9/libnpysort.a
building 'npyrandom' library
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/numpy/random
creating build/temp.macosx-10.9-universal2-3.9/numpy/random/src
creating build/temp.macosx-10.9-universal2-3.9/numpy/random/src/distributions
compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/random/src/distributions/distributions.c
gcc: numpy/random/src/distributions/logfactorial.c
gcc: numpy/random/src/distributions/random_hypergeometric.c
gcc: numpy/random/src/distributions/random_mvhg_marginals.c
gcc: numpy/random/src/distributions/random_mvhg_count.c
ar: adding 5 object files to build/temp.macosx-10.9-universal2-3.9/libnpyrandom.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: build/temp.macosx-10.9-universal2-3.9/libnpyrandom.a will be fat and ar(1) will not be able to operate on it
ranlib:@ build/temp.macosx-10.9-universal2-3.9/libnpyrandom.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using new_build_ext
building 'numpy.core._multiarray_tests' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/common
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/_multiarray_tests.c
gcc: numpy/core/src/common/mem_overlap.c
gcc -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/_multiarray_tests.o build/temp.macosx-10.9-universal2-3.9/numpy/core/src/common/mem_overlap.o -Lbuild/temp.macosx-10.9-universal2-3.9 -lnpymath -o build/lib.macosx-10.9-universal2-3.9/numpy/core/_multiarray_tests.cpython-39-darwin.so
building 'numpy.core._multiarray_umath' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/multiarray
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/umath
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/common
creating build/temp.macosx-10.9-universal2-3.9/private
creating build/temp.macosx-10.9-universal2-3.9/private/var
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy/_build_utils
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy/_build_utils/src
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/umath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-faltivec -I/System/Library/Frameworks/vecLib.framework/Headers -std=c99'
gcc: numpy/core/src/multiarray/alloc.c
gcc: numpy/core/src/multiarray/array_assign_scalar.c
gcc: numpy/core/src/multiarray/conversion_utils.c
gcc: numpy/core/src/multiarray/common.c
gcc: numpy/core/src/multiarray/buffer.c
gcc: numpy/core/src/multiarray/datetime_strings.c
gcc: numpy/core/src/multiarray/descriptor.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/einsum.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/hashdescr.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/multiarraymodule.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/lowlevel_strided_loops.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/nditer_constr.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/refcount.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/scalarapi.c
gcc: numpy/core/src/multiarray/temp_elide.c
gcc: numpy/core/src/multiarray/vdot.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/umath/ufunc_object.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/loops.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/umath/ufunc_type_resolution.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/ieee754.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/common/ucsnarrow.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/common/array_assign.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_cpu_features.c
gcc: /private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy/_build_utils/src/apple_sgemv_fix.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/umath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c numpy/core/src/multiarray/alloc.c -o build/temp.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/alloc.o -MMD -MF build/temp.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/alloc.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers -std=c99" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly"><pre class="notranslate"><code class="notranslate">Collecting numpy
Using cached numpy-1.19.5.zip (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: numpy
Building wheel for numpy (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/tmpr_75wn9m
cwd: /private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794
Complete output (1046 lines):
Running from numpy source directory.
numpy/random/_bounded_integers.pxd.in has not changed
numpy/random/_philox.pyx has not changed
numpy/random/_bounded_integers.pyx.in has not changed
numpy/random/_sfc64.pyx has not changed
numpy/random/_mt19937.pyx has not changed
numpy/random/bit_generator.pyx has not changed
Processing numpy/random/_bounded_integers.pyx
numpy/random/mtrand.pyx has not changed
numpy/random/_generator.pyx has not changed
numpy/random/_pcg64.pyx has not changed
numpy/random/_common.pyx has not changed
Cythonizing sources
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
blis_info:
libraries blis not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
libraries accelerate not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
Library accelerate was not found. Ignoring
libraries veclib not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
Library veclib was not found. Ignoring
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
libraries flame not found in ['/Library/Frameworks/Python.framework/Versions/3.9/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries tatlas,tatlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries satlas,satlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries ptf77blas,ptcblas,atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries f77blas,cblas,atlas not found in /Library/Frameworks/Python.framework/Versions/3.9/lib
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
gfortran: warning: this compiler does not support X86 (arch flags ignored)
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath' to include_dirs.
None - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_internal.h']
building library "npysort" sources
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common' to include_dirs.
None - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_sort.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_partition.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_binsearch.h']
building library "npyrandom" sources
building extension "numpy.core._multiarray_tests" sources
building extension "numpy.core._multiarray_umath" sources
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath' to include_dirs.
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath' to include_dirs.
adding 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/funcs.inc', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/simd.inc', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/loops.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/matmul.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/clip.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_internal.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/templ_common.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/config.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/_numpyconfig.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._umath_tests" sources
building extension "numpy.core._rational_tests" sources
building extension "numpy.core._struct_ufunc_tests" sources
building extension "numpy.core._operand_flag_tests" sources
building extension "numpy.fft._pocketfft_internal" sources
building extension "numpy.linalg.lapack_lite" sources
building extension "numpy.linalg._umath_linalg" sources
building extension "numpy.random._mt19937" sources
building extension "numpy.random._philox" sources
building extension "numpy.random._pcg64" sources
building extension "numpy.random._sfc64" sources
building extension "numpy.random._common" sources
building extension "numpy.random.bit_generator" sources
building extension "numpy.random._generator" sources
building extension "numpy.random._bounded_integers" sources
building extension "numpy.random.mtrand" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.macosx-10.9-universal2-3.9
creating build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/conftest.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/version.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/_globals.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/dual.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/_distributor_init.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/ctypeslib.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/matlib.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying numpy/_pytesttester.py -> build/lib.macosx-10.9-universal2-3.9/numpy
copying build/src.macosx-10.9-universal2-3.9/numpy/__config__.py -> build/lib.macosx-10.9-universal2-3.9/numpy
creating build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/py3k.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
copying numpy/compat/_inspect.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat
creating build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
copying numpy/compat/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
copying numpy/compat/tests/test_compat.py -> build/lib.macosx-10.9-universal2-3.9/numpy/compat/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/umath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/fromnumeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_dtype.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_add_newdocs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_methods.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_internal.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_string_helpers.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_asarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/records.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/setup_common.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/memmap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/overrides.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/getlimits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_dtype_ctypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/defchararray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/machar.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/einsumfunc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/umath_tests.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_ufunc_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_exceptions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/numerictypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/_type_aliases.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/cversions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/arrayprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
copying numpy/core/code_generators/generate_numpy_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core
creating build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_numerictypes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalar_methods.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarmath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_item_selection.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_machar.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_unicode.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_arrayprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarbuffer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_indexerrors.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_print.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_half.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_mem_overlap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_errstate.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_records.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarinherit.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_indexing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_umath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_datetime.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test__exceptions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_extint128.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_umath_complex.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/_locales.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_defchararray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_conversion_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalarprint.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_abc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_ufunc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_dtype.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_umath_accuracy.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_getlimits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_einsum.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_longdouble.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_overrides.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_scalar_ctors.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_memmap.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_nditer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_cpu_features.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_protocols.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
copying numpy/core/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/core/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/unixccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/numpy_distribution.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/conv_template.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/cpuinfo.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/ccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/msvc9compiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/npy_pkg_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/misc_util.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/log.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/line_endings.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/lib2def.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/pathccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/system_info.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/core.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/exec_command.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/from_template.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/mingw32ccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/extension.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/msvccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/intelccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying numpy/distutils/_shell_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
copying build/src.macosx-10.9-universal2-3.9/numpy/distutils/__config__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/config_compiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_ext.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install_headers.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_py.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_src.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/sdist.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_scripts.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/bdist_rpm.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install_clib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/build_clib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/autodist.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/egg_info.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/develop.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
copying numpy/distutils/command/install_data.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/command
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/gnu.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/compaq.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/intel.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/none.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nag.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/ibm.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/sun.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/nv.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/lahey.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/g95.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/mips.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/hpux.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/environment.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/pathf95.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/absoft.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
copying numpy/distutils/fcompiler/vast.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/fcompiler
creating build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_system_info.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_mingw32ccompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_from_template.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_intel.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_misc_util.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_shell_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_exec_command.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_npy_pkg_config.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_nagfor.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
copying numpy/distutils/tests/test_fcompiler_gnu.py -> build/lib.macosx-10.9-universal2-3.9/numpy/distutils/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/misc.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/internals.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/creation.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/dispatch.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/constants.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/ufuncs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/broadcasting.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/basics.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/subclassing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/indexing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/byteswapping.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/structured_arrays.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
copying numpy/doc/glossary.py -> build/lib.macosx-10.9-universal2-3.9/numpy/doc
creating build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/cfuncs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/common_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/crackfortran.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/cb_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/f2py2e.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/func2subr.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/__version__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/diagnose.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/capi_maps.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/f90mod_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/f2py_testing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/use_rules.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/auxfuncs.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
copying numpy/f2py/__main__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py
creating build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_mixed.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_logical.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_assumed_shape.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_common.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_kind.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_array_from_pyobj.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_real.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/util.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_size.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_callback.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_string.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_quoted_character.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_parameter.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_semicolon_split.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_compile_function.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_block_docstring.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_integer.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_character.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_return_complex.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_crackfortran.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
copying numpy/f2py/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/f2py/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/helper.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
copying numpy/fft/_pocketfft.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft
creating build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
copying numpy/fft/tests/test_pocketfft.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
copying numpy/fft/tests/test_helper.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
copying numpy/fft/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/fft/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/_iotools.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/mixins.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/nanfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/recfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/histograms.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/scimath.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/_version.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/user_array.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/format.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/twodim_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/financial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/index_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/npyio.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/stride_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/arrayterator.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/arraysetops.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/arraypad.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/type_check.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/_datasource.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
copying numpy/lib/ufunclike.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib
creating build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_type_check.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_twodim_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test__iotools.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_shape_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_ufunclike.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_index_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_arrayterator.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test__version.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_io.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_arraysetops.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_function_base.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_arraypad.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_mixins.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_packbits.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test__datasource.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_stride_tricks.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_financial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_recfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_nanfunctions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_format.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_histograms.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
copying numpy/lib/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/lib/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/linalg
copying numpy/linalg/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg
copying numpy/linalg/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg
copying numpy/linalg/linalg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg
creating build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_linalg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_build.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
copying numpy/linalg/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/linalg/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/extras.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/testutils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/core.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/bench.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/timer_comparison.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
copying numpy/ma/mrecords.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma
creating build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_old_ma.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_core.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_deprecations.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_subclassing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_extras.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_mrecords.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
copying numpy/ma/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/ma/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
copying numpy/matrixlib/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
copying numpy/matrixlib/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
copying numpy/matrixlib/defmatrix.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib
creating build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_matrix_linalg.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_defmatrix.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_interaction.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_numeric.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_masked_matrix.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_multiarray.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
copying numpy/matrixlib/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/matrixlib/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/laguerre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/_polybase.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/polyutils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/hermite_e.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/chebyshev.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/legendre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
copying numpy/polynomial/hermite.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial
creating build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_chebyshev.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite_e.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polynomial.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_laguerre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_legendre.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_printing.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_hermite.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_classes.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
copying numpy/polynomial/tests/test_polyutils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/polynomial/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/random
copying numpy/random/_pickle.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random
copying numpy/random/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random
copying numpy/random/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random
creating build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_randomstate.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_direct.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_extending.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_smoke.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_randomstate_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_seed_sequence.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_generator_mt19937_regressions.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_random.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
copying numpy/random/tests/test_regression.py -> build/lib.macosx-10.9-universal2-3.9/numpy/random/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/setup.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
copying numpy/testing/print_coercion_tables.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing
creating build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/nosetester.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/noseclasses.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/parameterized.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
copying numpy/testing/_private/decorators.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/_private
creating build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/test_utils.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/test_decorators.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
copying numpy/testing/tests/test_doctesting.py -> build/lib.macosx-10.9-universal2-3.9/numpy/testing/tests
creating build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_warnings.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_matlib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_ctypeslib.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_numpy_version.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/__init__.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_reloading.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_public_api.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
copying numpy/tests/test_scripts.py -> build/lib.macosx-10.9-universal2-3.9/numpy/tests
running build_clib
customize UnixCCompiler
customize UnixCCompiler using new_build_clib
building 'npymath' library
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9
creating build/temp.macosx-10.9-universal2-3.9/numpy
creating build/temp.macosx-10.9-universal2-3.9/numpy/core
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/npymath
creating build/temp.macosx-10.9-universal2-3.9/build
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath
compile options: '-Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/core/src/npymath/npy_math.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/npy_math_complex.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/ieee754.c
gcc: numpy/core/src/npymath/halffloat.c
ar: adding 4 object files to build/temp.macosx-10.9-universal2-3.9/libnpymath.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: build/temp.macosx-10.9-universal2-3.9/libnpymath.a will be fat and ar(1) will not be able to operate on it
ranlib:@ build/temp.macosx-10.9-universal2-3.9/libnpymath.a
building 'npysort' library
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort
compile options: '-Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/quicksort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/timsort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/mergesort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/radixsort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/selection.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/heapsort.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npysort/binsearch.c
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
22 warnings generated.
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
numpy/core/src/npysort/selection.c.src:328:9: warning: code will never be executed [-Wunreachable-code]
npy_intp k;
^~~~~~~~~~~
numpy/core/src/npysort/selection.c.src:326:14: note: silence by adding parentheses to mark code as explicitly dead
else if (0 && kth == num - 1) {
^
/* DISABLES CODE */ ( )
22 warnings generated.
ar: adding 7 object files to build/temp.macosx-10.9-universal2-3.9/libnpysort.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: build/temp.macosx-10.9-universal2-3.9/libnpysort.a will be fat and ar(1) will not be able to operate on it
ranlib:@ build/temp.macosx-10.9-universal2-3.9/libnpysort.a
building 'npyrandom' library
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/numpy/random
creating build/temp.macosx-10.9-universal2-3.9/numpy/random/src
creating build/temp.macosx-10.9-universal2-3.9/numpy/random/src/distributions
compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: numpy/random/src/distributions/distributions.c
gcc: numpy/random/src/distributions/logfactorial.c
gcc: numpy/random/src/distributions/random_hypergeometric.c
gcc: numpy/random/src/distributions/random_mvhg_marginals.c
gcc: numpy/random/src/distributions/random_mvhg_count.c
ar: adding 5 object files to build/temp.macosx-10.9-universal2-3.9/libnpyrandom.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: build/temp.macosx-10.9-universal2-3.9/libnpyrandom.a will be fat and ar(1) will not be able to operate on it
ranlib:@ build/temp.macosx-10.9-universal2-3.9/libnpyrandom.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using new_build_ext
building 'numpy.core._multiarray_tests' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/common
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-std=c99'
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/_multiarray_tests.c
gcc: numpy/core/src/common/mem_overlap.c
gcc -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -g build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/_multiarray_tests.o build/temp.macosx-10.9-universal2-3.9/numpy/core/src/common/mem_overlap.o -Lbuild/temp.macosx-10.9-universal2-3.9 -lnpymath -o build/lib.macosx-10.9-universal2-3.9/numpy/core/_multiarray_tests.cpython-39-darwin.so
building 'numpy.core._multiarray_umath' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/multiarray
creating build/temp.macosx-10.9-universal2-3.9/numpy/core/src/umath
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath
creating build/temp.macosx-10.9-universal2-3.9/build/src.macosx-10.9-universal2-3.9/numpy/core/src/common
creating build/temp.macosx-10.9-universal2-3.9/private
creating build/temp.macosx-10.9-universal2-3.9/private/var
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy/_build_utils
creating build/temp.macosx-10.9-universal2-3.9/private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy/_build_utils/src
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/umath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c'
extra options: '-faltivec -I/System/Library/Frameworks/vecLib.framework/Headers -std=c99'
gcc: numpy/core/src/multiarray/alloc.c
gcc: numpy/core/src/multiarray/array_assign_scalar.c
gcc: numpy/core/src/multiarray/conversion_utils.c
gcc: numpy/core/src/multiarray/common.c
gcc: numpy/core/src/multiarray/buffer.c
gcc: numpy/core/src/multiarray/datetime_strings.c
gcc: numpy/core/src/multiarray/descriptor.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/einsum.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/hashdescr.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/multiarraymodule.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/lowlevel_strided_loops.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/nditer_constr.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/refcount.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/multiarray/scalarapi.c
gcc: numpy/core/src/multiarray/temp_elide.c
gcc: numpy/core/src/multiarray/vdot.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/umath/ufunc_object.c
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/umath/loops.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/umath/ufunc_type_resolution.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath/ieee754.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/common/ucsnarrow.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: numpy/core/src/common/array_assign.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
gcc: build/src.macosx-10.9-universal2-3.9/numpy/core/src/common/npy_cpu_features.c
gcc: /private/var/folders/sj/513cf1k90574g2h7mptp9b7w0000gn/T/pip-install-mtuk3bc5/numpy_5b293783d0ab4a569af156663e842794/numpy/_build_utils/src/apple_sgemv_fix.c
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
clang: error: the clang compiler does not support 'faltivec', please use -maltivec and include altivec.h explicitly
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/umath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/common -Ibuild/src.macosx-10.9-universal2-3.9/numpy/core/src/npymath -c numpy/core/src/multiarray/alloc.c -o build/temp.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/alloc.o -MMD -MF build/temp.macosx-10.9-universal2-3.9/numpy/core/src/multiarray/alloc.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers -std=c99" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
</code></pre></div> | 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.2.7</td>
</tr>
</tbody>
</table>
<p dir="auto">If you have a configuration node with a non-string type, e.g. <code class="notranslate">IntegerNode</code>, and pass an env variable, even though the env variable will be resolved in an integer, the value won't pass the validation and throw an error when booting.</p>
<p dir="auto">e.g.:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="parameters:
int_val_param: '%env(INT_ENV_VAL)%'
app:
int_val: '%int_val_param%'"><pre class="notranslate"><span class="pl-ent">parameters</span>:
<span class="pl-ent">int_val_param</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(INT_ENV_VAL)%<span class="pl-pds">'</span></span>
<span class="pl-ent">app</span>:
<span class="pl-ent">int_val</span>: <span class="pl-s"><span class="pl-pds">'</span>%int_val_param%<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">or:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="app:
int_val: '%env(INT_ENV_VAL)%'"><pre class="notranslate"><span class="pl-ent">app</span>:
<span class="pl-ent">int_val</span>: <span class="pl-s"><span class="pl-pds">'</span>%env(INT_ENV_VAL)%<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">with:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Configuration file
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$treeBuilder->root('app')
->children()
->integerNode('int_val')
->isRequired()
->end()
->end()
;
return $treeBuilder;
}"><pre class="notranslate"><span class="pl-c">// Configuration file</span>
<span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">getConfigTreeBuilder</span>()
{
<span class="pl-s1"><span class="pl-c1">$</span>treeBuilder</span> = <span class="pl-k">new</span> <span class="pl-v">TreeBuilder</span>();
<span class="pl-s1"><span class="pl-c1">$</span>treeBuilder</span>-><span class="pl-en">root</span>(<span class="pl-s">'app'</span>)
-><span class="pl-en">children</span>()
-><span class="pl-en">integerNode</span>(<span class="pl-s">'int_val'</span>)
-><span class="pl-en">isRequired</span>()
-><span class="pl-en">end</span>()
-><span class="pl-en">end</span>()
;
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>treeBuilder</span>;
}</pre></div>
<p dir="auto">will throw:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [Symfony\Component\DependencyInjection\Exception\EnvParameterException]
Incompatible use of dynamic environment variables "INT_ENV_VAL" found in parameters.
[Symfony\Component\Config\Definition\Exception\InvalidTypeException]
Invalid type for path "app.int_val". Expected int, but got 'string'."><pre class="notranslate"><code class="notranslate"> [Symfony\Component\DependencyInjection\Exception\EnvParameterException]
Incompatible use of dynamic environment variables "INT_ENV_VAL" found in parameters.
[Symfony\Component\Config\Definition\Exception\InvalidTypeException]
Invalid type for path "app.int_val". Expected int, but got 'string'.
</code></pre></div>
<p dir="auto">Issue reproduced on the repo: <a href="https://github.com/theofidry/symfony-22594">https://github.com/theofidry/symfony-22594</a></p> | <p dir="auto">Depends on: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4066627" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3879" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/3879/hovercard" href="https://github.com/symfony/symfony/issues/3879">#3879</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4158065" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3968" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/3968/hovercard" href="https://github.com/symfony/symfony/pull/3968">#3968</a> (<code class="notranslate">OptionsParser::replaceDefaults</code> is required)</p>
<p dir="auto">I want to add three options to the ChoiceType that abstract functionality of EntityType for use in all choice fields. See also <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3451976" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3479" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/3479/hovercard" href="https://github.com/symfony/symfony/pull/3479">#3479</a>.</p>
<p dir="auto">The new options are:</p>
<h5 dir="auto">"choice_labels"</h5>
<p dir="auto">If given, the "choices" option is interpreted as storing the choices in the values instead of the keys. This way, choices can be created that select between values that are not allowed to be passed as array keys (any non-integer or non-string value).</p>
<p dir="auto">"choice_labels" can be:</p>
<ul dir="auto">
<li>an array with a label for each choice</li>
<li>a callable that is executed for each choice and returns the label</li>
<li>a property path string, if the choices are objects</li>
</ul>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
// The following two are equivalent
$builder->add('foo', 'choice', array(
'choices' => array(0 => 'no', 1 => 'yes'),
));
$builder->add('foo', 'choice', array(
'choices' => array(0, 1),
'choice_labels' => array('no', 'yes'),
));
// The following ones cannot be expressed without the new option
$builder->add('foo', 'choice', array(
'choices' => array(null, false, true),
'choice_labels' => array('maybe', 'no', 'yes'),
));
$builder->add('foo', 'choice', array(
'choices' => array($obj1, $obj2),
'choice_labels' => 'name',
));
$builder->add('foo', 'choice', array(
'choices' => array($obj1, $obj2),
'choice_labels' => function ($obj) {
return 'Label for ' . $obj->name;
},
));"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-c">// The following two are equivalent</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-c1">0</span> => <span class="pl-s">'no'</span>, <span class="pl-c1">1</span> => <span class="pl-s">'yes'</span>),
));
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-c1">0</span>, <span class="pl-c1">1</span>),
<span class="pl-s">'choice_labels'</span> => <span class="pl-en">array</span>(<span class="pl-s">'no'</span>, <span class="pl-s">'yes'</span>),
));
<span class="pl-c">// The following ones cannot be expressed without the new option</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-c1">null</span>, <span class="pl-c1">false</span>, <span class="pl-c1">true</span>),
<span class="pl-s">'choice_labels'</span> => <span class="pl-en">array</span>(<span class="pl-s">'maybe'</span>, <span class="pl-s">'no'</span>, <span class="pl-s">'yes'</span>),
));
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>),
<span class="pl-s">'choice_labels'</span> => <span class="pl-s">'name'</span>,
));
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>),
<span class="pl-s">'choice_labels'</span> => <span class="pl-k">function</span> (<span class="pl-s1"><span class="pl-c1">$</span>obj</span>) {
<span class="pl-k">return</span> <span class="pl-s">'Label for '</span> . <span class="pl-s1"><span class="pl-c1">$</span>obj</span>-><span class="pl-c1">name</span>;
},
));</pre></div>
<h5 dir="auto">"choice_values"</h5>
<p dir="auto">Like "choice_labels", but stores/generates the values that are stored in the "value" attributes of the generated HTML. Values must be strings and unique (i.e. no two choices must have the same value).</p>
<p dir="auto">By default, the choices are used as values, if possible. If not possible, integer values are generated.</p>
<p dir="auto">Like "choice_labels", this option can be an array, a callable or a string (if choices are objects).</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
$builder->add('foo', 'choice', array(
'choices' => array($obj1, $obj2),
'choice_labels' => 'name',
'choice_values' => 'id',
));"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>),
<span class="pl-s">'choice_labels'</span> => <span class="pl-s">'name'</span>,
<span class="pl-s">'choice_values'</span> => <span class="pl-s">'id'</span>,
));</pre></div>
<h5 dir="auto">"choice_attr"</h5>
<p dir="auto">Like choice_values.</p>
<h5 dir="auto">"group_by"</h5>
<p dir="auto">The "group_by" option stores a callable that returns the choice group for each choice or a property path if the choices are objects.</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
$builder->add('favNumber', 'choice', array(
'choices' => range(0, 100),
'choice_labels' => range(0, 100),
'group_by' => function ($choice) {
return $choice % 2 == 0 ? 'Even' : 'Odd',
}
));"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'favNumber'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => range(<span class="pl-c1">0</span>, <span class="pl-c1">100</span>),
<span class="pl-s">'choice_labels'</span> => range(<span class="pl-c1">0</span>, <span class="pl-c1">100</span>),
<span class="pl-s">'group_by'</span> => <span class="pl-k">function</span> (<span class="pl-s1"><span class="pl-c1">$</span>choice</span>) {
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>choice</span> % <span class="pl-c1">2</span> == <span class="pl-c1">0</span> ? <span class="pl-s">'Even'</span> : <span class="pl-s">'Odd'</span>,
}
));</pre></div>
<h5 dir="auto">"preferred_choices"</h5>
<p dir="auto">The "preferred_choices" option allows to pass the values of the preferred choices as array, a callable or a property path if the choices are objects.</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$builder->add('foo', 'choice', array(
'choices' => array(null, false, true),
'choice_labels' => array('maybe', 'no', 'yes'),
'preferred_choices' => array(true, false),
));
$builder->add('foo', 'choice', array(
'choices' => array($obj1, $obj2),
'preferred_choices' => 'preferred', // i.e. isPreferred()
));
$builder->add('foo', 'choice', array(
'choices' => array($obj1, $obj2),
'preferred_choices' => function ($obj) {
return $obj instanceof PreferredSomething;
},
));"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-c1">null</span>, <span class="pl-c1">false</span>, <span class="pl-c1">true</span>),
<span class="pl-s">'choice_labels'</span> => <span class="pl-en">array</span>(<span class="pl-s">'maybe'</span>, <span class="pl-s">'no'</span>, <span class="pl-s">'yes'</span>),
<span class="pl-s">'preferred_choices'</span> => <span class="pl-en">array</span>(<span class="pl-c1">true</span>, <span class="pl-c1">false</span>),
));
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>),
<span class="pl-s">'preferred_choices'</span> => <span class="pl-s">'preferred'</span>, <span class="pl-c">// i.e. isPreferred()</span>
));
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'foo'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>),
<span class="pl-s">'preferred_choices'</span> => <span class="pl-k">function</span> (<span class="pl-s1"><span class="pl-c1">$</span>obj</span>) {
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>obj</span> instanceof <span class="pl-v">PreferredSomething</span>;
},
));</pre></div>
<h4 dir="auto">Poll</h4>
<p dir="auto">If the "choices" option is given as hierarchical array sorting each choice into a choice group, there are two possible ways for associating choices with their labels/values. Which one do you prefer?</p>
<h5 dir="auto">A. Duplicate the hierarchy</h5>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
$builder->add('favNumber', 'choice', array(
'choices' => array(
'Even' => array($obj0, $obj2, $obj4),
'Odd' => array($obj1, $obj3, $obj5),
),
'choice_labels' => array(
'Even' => array('Zero', 'Two', 'Four'),
'Odd' => array('One', 'Three', 'Five'),
),
'choice_values' => array(
'Even' => array(0, 2, 4),
'Odd' => array(1, 3, 5),
),
));"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'favNumber'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(
<span class="pl-s">'Even'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj0</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj4</span>),
<span class="pl-s">'Odd'</span> => <span class="pl-en">array</span>(<span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj3</span>, <span class="pl-s1"><span class="pl-c1">$</span>obj5</span>),
),
<span class="pl-s">'choice_labels'</span> => <span class="pl-en">array</span>(
<span class="pl-s">'Even'</span> => <span class="pl-en">array</span>(<span class="pl-s">'Zero'</span>, <span class="pl-s">'Two'</span>, <span class="pl-s">'Four'</span>),
<span class="pl-s">'Odd'</span> => <span class="pl-en">array</span>(<span class="pl-s">'One'</span>, <span class="pl-s">'Three'</span>, <span class="pl-s">'Five'</span>),
),
<span class="pl-s">'choice_values'</span> => <span class="pl-en">array</span>(
<span class="pl-s">'Even'</span> => <span class="pl-en">array</span>(<span class="pl-c1">0</span>, <span class="pl-c1">2</span>, <span class="pl-c1">4</span>),
<span class="pl-s">'Odd'</span> => <span class="pl-en">array</span>(<span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-c1">5</span>),
),
));</pre></div>
<h5 dir="auto">B. Array-index based</h5>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
$builder->add('favNumber', 'choice', array(
'choices' => array(
'Even' => array(0 => $obj0, 2 => $obj2, 4 => $obj4),
'Odd' => array(1 => $obj1, 3 => $obj3, 5 => $obj5),
),
'choice_labels' => array(
array(0 => 'Zero', 1 => 'One', 2 => 'Two', 3 => 'Three', 4 => 'Four', 5 => 'Five'),
),
'choice_values' => array(
array(0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5),
),
));"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">add</span>(<span class="pl-s">'favNumber'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'choices'</span> => <span class="pl-en">array</span>(
<span class="pl-s">'Even'</span> => <span class="pl-en">array</span>(<span class="pl-c1">0</span> => <span class="pl-s1"><span class="pl-c1">$</span>obj0</span>, <span class="pl-c1">2</span> => <span class="pl-s1"><span class="pl-c1">$</span>obj2</span>, <span class="pl-c1">4</span> => <span class="pl-s1"><span class="pl-c1">$</span>obj4</span>),
<span class="pl-s">'Odd'</span> => <span class="pl-en">array</span>(<span class="pl-c1">1</span> => <span class="pl-s1"><span class="pl-c1">$</span>obj1</span>, <span class="pl-c1">3</span> => <span class="pl-s1"><span class="pl-c1">$</span>obj3</span>, <span class="pl-c1">5</span> => <span class="pl-s1"><span class="pl-c1">$</span>obj5</span>),
),
<span class="pl-s">'choice_labels'</span> => <span class="pl-en">array</span>(
<span class="pl-en">array</span>(<span class="pl-c1">0</span> => <span class="pl-s">'Zero'</span>, <span class="pl-c1">1</span> => <span class="pl-s">'One'</span>, <span class="pl-c1">2</span> => <span class="pl-s">'Two'</span>, <span class="pl-c1">3</span> => <span class="pl-s">'Three'</span>, <span class="pl-c1">4</span> => <span class="pl-s">'Four'</span>, <span class="pl-c1">5</span> => <span class="pl-s">'Five'</span>),
),
<span class="pl-s">'choice_values'</span> => <span class="pl-en">array</span>(
<span class="pl-en">array</span>(<span class="pl-c1">0</span> => <span class="pl-c1">0</span>, <span class="pl-c1">1</span> => <span class="pl-c1">1</span>, <span class="pl-c1">2</span> => <span class="pl-c1">2</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">5</span> => <span class="pl-c1">5</span>),
),
));</pre></div>
<p dir="auto">Please name your preferred option in the comments.</p> | 0 |
<p dir="auto">I've reduced this down to about bare minimum:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std;
native mod foo {
fn bar(x: int);
}
obj new(i: int) {
fn f() {
str::as_buf("", {|_x| foo::bar(i) });
}
}"><pre class="notranslate"><code class="notranslate">use std;
native mod foo {
fn bar(x: int);
}
obj new(i: int) {
fn f() {
str::as_buf("", {|_x| foo::bar(i) });
}
}
</code></pre></div>
<p dir="auto">Errors out with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rust: upcall fail 'Assertion cx.fcx.llobjfields.contains_key(did.node) failed', ../src/comp/middle/trans.rs:2679
rust: domain main @0x102029600 root task failed"><pre class="notranslate"><code class="notranslate">rust: upcall fail 'Assertion cx.fcx.llobjfields.contains_key(did.node) failed', ../src/comp/middle/trans.rs:2679
rust: domain main @0x102029600 root task failed
</code></pre></div> | <p dir="auto">The following code crashes rustc <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/f05eaa4a650132174a43113e7bf1bce293515428/hovercard" href="https://github.com/rust-lang/rust/commit/f05eaa4a650132174a43113e7bf1bce293515428"><tt>f05eaa4</tt></a> (2011-12-09):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std;
import std::option;
import std::ptr;
import std::str;
import std::vec;
#[link_name = "pcre"]
native mod _native {
type _pcre;
type _pcre_extra;
fn pcre_exec(re: *_pcre, extra: *_pcre_extra, subject: str::sbuf,
length: int, startoffset: int, options: int,
ovector: *int, ovecsize: int);
}
obj pcre(_re: *_native::_pcre) {
fn match(target: str) -> option::t<[str]> unsafe {
let oveclen = 30;
let ovec = vec::init_elt_mut::<int>(0, oveclen as uint);
let ovecp = vec::unsafe::to_ptr::<int>(ovec);
let r = str::as_buf(target, { |_target|
_native::pcre_exec(_re, ptr::null(),
_target, str::byte_len(target) as int,
0, 0, ovecp, oveclen)
});
ret option::none;
}
}"><pre class="notranslate"><code class="notranslate">use std;
import std::option;
import std::ptr;
import std::str;
import std::vec;
#[link_name = "pcre"]
native mod _native {
type _pcre;
type _pcre_extra;
fn pcre_exec(re: *_pcre, extra: *_pcre_extra, subject: str::sbuf,
length: int, startoffset: int, options: int,
ovector: *int, ovecsize: int);
}
obj pcre(_re: *_native::_pcre) {
fn match(target: str) -> option::t<[str]> unsafe {
let oveclen = 30;
let ovec = vec::init_elt_mut::<int>(0, oveclen as uint);
let ovecp = vec::unsafe::to_ptr::<int>(ovec);
let r = str::as_buf(target, { |_target|
_native::pcre_exec(_re, ptr::null(),
_target, str::byte_len(target) as int,
0, 0, ovecp, oveclen)
});
ret option::none;
}
}
</code></pre></div>
<p dir="auto">Stack:<br>
(gdb) bt full<br>
#0 upcall_fail (expr=0x5fd750 "Assertion cx.fcx.llobjfields.contains_key(did.node) failed",</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="file=0x5fd790 "src/comp/middle/trans.rs", line=2914) at ./src/rt/rust_upcall.cpp:65"><pre class="notranslate"><code class="notranslate">file=0x5fd790 "src/comp/middle/trans.rs", line=2914) at ./src/rt/rust_upcall.cpp:65
</code></pre></div>
<p dir="auto">No locals.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="227519" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1/hovercard" href="https://github.com/rust-lang/rust/issues/1">#1</a> 0x0000000000445ef1 in middle::trans::trans_local_var::_adf4c1777aa541de ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228601" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/2" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/2/hovercard" href="https://github.com/rust-lang/rust/issues/2">#2</a> 0x00000000004469ac in middle::trans::trans_var::_d1e14f52b7acf547 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228607" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/3" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/3/hovercard" href="https://github.com/rust-lang/rust/issues/3">#3</a> 0x00000000004461b0 in middle::trans::trans_path::_5717eb102c51bae9 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228626" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/4" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/4/hovercard" href="https://github.com/rust-lang/rust/issues/4">#4</a> 0x0000000000448af2 in middle::trans::trans_lval::_1f6f126aa370757e ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228628" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/5" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/5/hovercard" href="https://github.com/rust-lang/rust/issues/5">#5</a> 0x0000000000450c41 in middle::trans::trans_temp_lval::_1f6f126aa370757e ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228638" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/6" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/6/hovercard" href="https://github.com/rust-lang/rust/issues/6">#6</a> 0x000000000044ca53 in middle::trans::trans_arg_expr::_f2ab945cefa5f446 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228641" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/7" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/7/hovercard" href="https://github.com/rust-lang/rust/issues/7">#7</a> 0x000000000044dde0 in middle::trans::trans_args::_5b185ed913f17816 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228645" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/8" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/8/hovercard" href="https://github.com/rust-lang/rust/issues/8">#8</a> 0x000000000044e1ea in middle::trans::trans_call::_9bc861feeed3fbef ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228646" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/9" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/9/hovercard" href="https://github.com/rust-lang/rust/issues/9">#9</a> 0x0000000000451be9 in middle::trans::trans_expr::_e7480723aeaebdfe ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228647" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/10" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/10/hovercard" href="https://github.com/rust-lang/rust/issues/10">#10</a> 0x000000000045873b in middle::trans::trans_block_dps::_95df69d395a561cc ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228649" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/11" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/11/hovercard" href="https://github.com/rust-lang/rust/issues/11">#11</a> 0x000000000045a884 in middle::trans::trans_closure::_5f30b7b117e0c7c7 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228650" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/12" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/12/hovercard" href="https://github.com/rust-lang/rust/issues/12">#12</a> 0x000000000043e92e in middle::trans::trans_expr_fn::_9276f38be3371c81 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228651" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/13" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/13/hovercard" href="https://github.com/rust-lang/rust/issues/13">#13</a> 0x0000000000451ace in middle::trans::trans_expr::_e7480723aeaebdfe ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228652" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/14" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/14/hovercard" href="https://github.com/rust-lang/rust/issues/14">#14</a> 0x0000000000450b1c in middle::trans::trans_expr_save_in::_58e068603372c187 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228654" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/15" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/15/hovercard" href="https://github.com/rust-lang/rust/issues/15">#15</a> 0x0000000000451093 in middle::trans::trans_temp_lval::_1f6f126aa370757e ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228656" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/16" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/16/hovercard" href="https://github.com/rust-lang/rust/issues/16">#16</a> 0x000000000044ca53 in middle::trans::trans_arg_expr::_f2ab945cefa5f446 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228659" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/17" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/17/hovercard" href="https://github.com/rust-lang/rust/issues/17">#17</a> 0x000000000044dde0 in middle::trans::trans_args::_5b185ed913f17816 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228661" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/18" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/18/hovercard" href="https://github.com/rust-lang/rust/issues/18">#18</a> 0x000000000044e1ea in middle::trans::trans_call::_9bc861feeed3fbef ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228664" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/19" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/19/hovercard" href="https://github.com/rust-lang/rust/issues/19">#19</a> 0x0000000000451be9 in middle::trans::trans_expr::_e7480723aeaebdfe ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228665" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/20" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/20/hovercard" href="https://github.com/rust-lang/rust/issues/20">#20</a> 0x0000000000450eea in middle::trans::trans_temp_lval::_1f6f126aa370757e ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228666" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/21/hovercard" href="https://github.com/rust-lang/rust/issues/21">#21</a> 0x000000000045624b in middle::trans::init_local::_6fb0f262f37ff83d ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228668" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/22" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/22/hovercard" href="https://github.com/rust-lang/rust/issues/22">#22</a> 0x0000000000456dc2 in middle::trans::trans_stmt::_c6405279a5bafb3f ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228799" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/23" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/23/hovercard" href="https://github.com/rust-lang/rust/issues/23">#23</a> 0x00000000004584df in middle::trans::trans_block_dps::_95df69d395a561cc ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228801" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/24" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/24/hovercard" href="https://github.com/rust-lang/rust/issues/24">#24</a> 0x000000000045a884 in middle::trans::trans_closure::_5f30b7b117e0c7c7 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228804" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/25" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/25/hovercard" href="https://github.com/rust-lang/rust/issues/25">#25</a> 0x000000000045ab8b in middle::trans::trans_fn::_3faad8b8f452ee78 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228805" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/26" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/26/hovercard" href="https://github.com/rust-lang/rust/issues/26">#26</a> 0x00000000004848a1 in middle::trans_objects::process_normal_mthd::_58e8157eea4a94d2 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228806" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/27" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/27/hovercard" href="https://github.com/rust-lang/rust/issues/27">#27</a> 0x0000000000480b2d in middle::trans_objects::create_vtbl::_2bedb929f9a5e9c4 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228808" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/28" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/28/hovercard" href="https://github.com/rust-lang/rust/issues/28">#28</a> 0x000000000047bceb in middle::trans_objects::trans_obj::_fcc8a3a1f08fa3a2 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228809" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/29" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/29/hovercard" href="https://github.com/rust-lang/rust/issues/29">#29</a> 0x000000000045f81f in middle::trans::trans_item::_736b03787cae8654 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228810" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/30" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/30/hovercard" href="https://github.com/rust-lang/rust/issues/30">#30</a> 0x0000000000469778 in middle::trans::trans_crate::_5e8b9ab58c8b592f ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228811" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/31" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/31/hovercard" href="https://github.com/rust-lang/rust/issues/31">#31</a> 0x00000000005f3df0 in driver::rustc::compile_input::thunk9162 ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228812" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/32" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/32/hovercard" href="https://github.com/rust-lang/rust/issues/32">#32</a> 0x00000000005a6998 in driver::rustc::time::_3e691b2a4ba58aee ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228814" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/33" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/33/hovercard" href="https://github.com/rust-lang/rust/issues/33">#33</a> 0x00000000005a94dd in driver::rustc::compile_input::_7475af45dcc3eb6c ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228816" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/34" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/34/hovercard" href="https://github.com/rust-lang/rust/issues/34">#34</a> 0x00000000005b10ef in driver::rustc::main::_cd8b8c8185af3dee ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228817" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/35" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/35/hovercard" href="https://github.com/rust-lang/rust/issues/35">#35</a> 0x00007ffff601e306 in task_start_wrapper (a=0x7ffff511f014) at ./src/rt/rust_task.cpp:176</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" task = 0x8c1cc0
rval = 42
failed = false
env = <optimized out>"><pre class="notranslate"><code class="notranslate"> task = 0x8c1cc0
rval = 42
failed = false
env = <optimized out>
</code></pre></div>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228822" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/36" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/36/hovercard" href="https://github.com/rust-lang/rust/issues/36">#36</a> 0x00000000deadbeef in ?? ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228825" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/37" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/37/hovercard" href="https://github.com/rust-lang/rust/issues/37">#37</a> 0x008c1cc000000000 in ?? ()</p>
<p dir="auto">No symbol table info available.<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="228826" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/38" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/38/hovercard" href="https://github.com/rust-lang/rust/issues/38">#38</a> 0x0000000000000000 in ?? ()</p>
<p dir="auto">No symbol table info available.</p>
<p dir="auto">I have not tried reproducing with HEAD yet as HEAD does not build for me right now.</p> | 1 |
<p dir="auto">One of the benefits of using <code class="notranslate">{ loose: ["es6.modules"] }</code> is that <code class="notranslate">import</code> statements don't have to appear at the top level.</p>
<p dir="auto">However, references to variable bindings created by nested <code class="notranslate">import</code> statements appear not to be rewritten:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function test() {
import x, {y as z} from "some/module";
console.log(x, z);
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">import</span> <span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">z</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"some/module"</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">z</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">becomes</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""use strict";
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function test() {
var _someModule = require("some/module");
var _someModule2 = _interopRequireDefault(_someModule);
console.log(x, z);
}"><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">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">obj</span> <span class="pl-c1">&&</span> <span class="pl-s1">obj</span><span class="pl-kos">.</span><span class="pl-c1">__esModule</span> ? <span class="pl-s1">obj</span> : <span class="pl-kos">{</span> <span class="pl-s">"default"</span>: <span class="pl-s1">obj</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span>
<span class="pl-k">function</span> <span class="pl-en">test</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">_someModule</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"some/module"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_someModule2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">_someModule</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">z</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">I would expect this code to become something like</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function test() {
var _someModule = require("some/module");
var _someModule2 = _interopRequireDefault(_someModule);
console.log(_someModule2["default"], _someModule.y);
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">_someModule</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"some/module"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_someModule2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">_someModule</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">_someModule2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">_someModule</span><span class="pl-kos">.</span><span class="pl-c1">y</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | <p dir="auto">One misunderstanding I have about Babel is why the example on the homepage has <code class="notranslate">myOldWeirdJavaScript</code> as the input and <code class="notranslate">myNewTransformedJavaScript</code> as the ouput. Isn't it the other way around, ES6->ES5? Nowhere on the site does it actually say babel compiles ES6 into ES5, as obvious at that may be. I confusingly thought it compiles ES5->ES6 based on the example.</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/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above stepsοΌ</p>
<h3 dir="auto">Actual Res</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22095448/56109517-7e8c7700-5f83-11e9-816b-6adffb494127.png"><img src="https://user-images.githubusercontent.com/22095448/56109517-7e8c7700-5f83-11e9-816b-6adffb494127.png" alt="02EB46E4-E55A-49F8-A293-33D347108BCE" style="max-width: 100%;"></a><br>
ult</p>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.2</li>
<li>Operating System version: Win7</li>
<li>Java version: jdk8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>start dubbo service with google-Protobuf serialization</li>
<li>invoke service with generic reference</li>
<li>get response</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">server return right response</p>
<h3 dir="auto">Actual Result</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caused by: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.rpc.RpcException: Deserialize argument failed.
org.apache.dubbo.rpc.RpcException: Deserialize argument failed.
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:129)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at com.ctrip.framework.cdubbo.internal.health.HealthCheckFilter.invoke(HealthCheckFilter.java:74)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at com.ctrip.framework.cdubbo.internal.metadata.MetadataFilter.invoke(MetadataFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at com.ctrip.framework.cdubbo.internal.delegate.server.CDubboServerInvoker.invoke(CDubboServerInvoker.java:66)
at com.ctrip.framework.cdubbo.internal.filter.CatProviderFilter.invoke(CatProviderFilter.java:28)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:150)
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:152)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:102)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:193)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboChannelHandlerDelegate.doReceivedRequest(CDubboChannelHandlerDelegate.java:108)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboChannelHandlerDelegate.received(CDubboChannelHandlerDelegate.java:66)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf-json
at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:520)
at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:527)
at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:351)
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:126)
... 23 more
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:191)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:153)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:141)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:62)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:199)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboChannelHandlerDelegate.received(CDubboChannelHandlerDelegate.java:69)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)"><pre class="notranslate"><code class="notranslate">Caused by: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.rpc.RpcException: Deserialize argument failed.
org.apache.dubbo.rpc.RpcException: Deserialize argument failed.
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:129)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at com.ctrip.framework.cdubbo.internal.health.HealthCheckFilter.invoke(HealthCheckFilter.java:74)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at com.ctrip.framework.cdubbo.internal.metadata.MetadataFilter.invoke(MetadataFilter.java:41)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at com.ctrip.framework.cdubbo.internal.delegate.server.CDubboServerInvoker.invoke(CDubboServerInvoker.java:66)
at com.ctrip.framework.cdubbo.internal.filter.CatProviderFilter.invoke(CatProviderFilter.java:28)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:150)
at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:152)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:102)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:193)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboChannelHandlerDelegate.doReceivedRequest(CDubboChannelHandlerDelegate.java:108)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboChannelHandlerDelegate.received(CDubboChannelHandlerDelegate.java:66)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf-json
at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:520)
at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:527)
at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:351)
at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:126)
... 23 more
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:191)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:153)
at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:141)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:62)
at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:199)
at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.ctrip.framework.cdubbo.internal.delegate.CDubboChannelHandlerDelegate.received(CDubboChannelHandlerDelegate.java:69)
at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
</code></pre></div> | 0 |
<p dir="auto">Hi!<br>
Will you implement touch swipe for carousel?<br>
Thanks.</p> | <p dir="auto"><a href="http://getbootstrap.com/javascript/" rel="nofollow">http://getbootstrap.com/javascript/</a></p>
<p dir="auto">is it possible to make it work when we swipe.</p> | 1 |
<p dir="auto">Why there's no default crossFade animation for fallback and error drawables? I want to toggle image (null <-> not null) and animate between image and fallback (or error if it occurs). Animation only shows in fallback -> image direction but not the other way around.</p>
<p dir="auto">I'm loading my images like this:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="private ImageView vPhoto;
private void setPhoto(File photoFile)
{
Glide.with(this)
.load(photoFile)
.signature(new MediaStoreSignature("", photoFile != null ? photoFile.lastModified() : 0L, getResources().getConfiguration().orientation))
.centerCrop()
.error(R.drawable.ic_broken_image)
.fallback(R.drawable.ic_photo)
.into(vPhoto);
}"><pre class="notranslate"><span class="pl-k">private</span> <span class="pl-smi">ImageView</span> <span class="pl-s1">vPhoto</span>;
<span class="pl-k">private</span> <span class="pl-smi">void</span> <span class="pl-s1">setPhoto</span>(<span class="pl-smi">File</span> <span class="pl-s1">photoFile</span>)
{
<span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>)
.<span class="pl-en">load</span>(<span class="pl-s1">photoFile</span>)
.<span class="pl-en">signature</span>(<span class="pl-k">new</span> <span class="pl-smi">MediaStoreSignature</span>(<span class="pl-s">""</span>, <span class="pl-s1">photoFile</span> != <span class="pl-c1">null</span> ? <span class="pl-s1">photoFile</span>.<span class="pl-en">lastModified</span>() : <span class="pl-c1">0L</span>, <span class="pl-en">getResources</span>().<span class="pl-en">getConfiguration</span>().<span class="pl-s1">orientation</span>))
.<span class="pl-en">centerCrop</span>()
.<span class="pl-en">error</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">ic_broken_image</span>)
.<span class="pl-en">fallback</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">ic_photo</span>)
.<span class="pl-en">into</span>(<span class="pl-s1">vPhoto</span>);
}</pre></div>
<p dir="auto">It doesn't event work if I explicitly add crossFade() method.</p> | <p dir="auto">I would like to do two functions but hard to found source support on it with Glide.<br>
Since I have a dynamic size list view, I don't know the exactly height of it.<br>
I need to make a background ImageView behind it, and the background is a network image.<br>
****<strong>I have wait all of the listview item generate finished an get the exactly Width and Height.</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if( bitmap.height < imageView.height ){
repeat bitmap
}else if( bitmap.height > imageView.height){
chop bottom
}"><pre class="notranslate"><code class="notranslate">if( bitmap.height < imageView.height ){
repeat bitmap
}else if( bitmap.height > imageView.height){
chop bottom
}
</code></pre></div>
<ol dir="auto">
<li>Image should align top, fill width, chop the bottom.</li>
<li>If there are too many items and the background is not long enough, it should repeat the image<br>
through some method like this:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="BitmapDrawable bitmapDrawable = new BitmapDrawable(context.getResources(), bitmap);
bitmapDrawable.setTileModeXY(Shader.TileMode.CLAMP, Shader.TileMode.REPEAT);
bitmap = bitmapDrawable.getBitmap();"><pre class="notranslate"><code class="notranslate">BitmapDrawable bitmapDrawable = new BitmapDrawable(context.getResources(), bitmap);
bitmapDrawable.setTileModeXY(Shader.TileMode.CLAMP, Shader.TileMode.REPEAT);
bitmap = bitmapDrawable.getBitmap();
</code></pre></div>
<p dir="auto">Thank you.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/llBottom"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imgBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignBottom="@+id/llPoPit"
android:layout_alignLeft="@+id/llPoPit"
android:layout_alignRight="@+id/llPoPit"
android:layout_alignTop="@+id/llPoPit"
android:adjustViewBounds="true" />
<LinearLayout
android:id="@+id/llItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView
android:id="@+id/lstOnSalesItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:nestedScrollingEnabled="false"
android:paddingBottom="@dimen/margin_small" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="@null"
android:scaleType="fitCenter" />
</LinearLayout>
</RelativeLayout>"><pre class="notranslate"><code class="notranslate"><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/llBottom"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imgBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignBottom="@+id/llPoPit"
android:layout_alignLeft="@+id/llPoPit"
android:layout_alignRight="@+id/llPoPit"
android:layout_alignTop="@+id/llPoPit"
android:adjustViewBounds="true" />
<LinearLayout
android:id="@+id/llItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView
android:id="@+id/lstOnSalesItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:nestedScrollingEnabled="false"
android:paddingBottom="@dimen/margin_small" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="@null"
android:scaleType="fitCenter" />
</LinearLayout>
</RelativeLayout>
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RequestOptions requestOptions = new RequestOptions()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.dontAnimate();
final int dW = Long.valueOf(Math.round((double)llPoPit.getMeasuredWidth())).intValue();
final int dH = Long.valueOf(Math.round((double)llPoPit.getMeasuredHeight())).intValue();
ChopOrRepeatTransformation transformation = new ChopOrRepeatTransformation(
act, dW, dH, ChopOrRepeatTransformation.CropType.TOP
); // this is Copy from Chop Transformation
requestOptions.transform(transformation);
Glide.with(act).asBitmap().load(bgUrl)
.apply(requestOptions)
.into(imgBackground);"><pre class="notranslate"><code class="notranslate">RequestOptions requestOptions = new RequestOptions()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.dontAnimate();
final int dW = Long.valueOf(Math.round((double)llPoPit.getMeasuredWidth())).intValue();
final int dH = Long.valueOf(Math.round((double)llPoPit.getMeasuredHeight())).intValue();
ChopOrRepeatTransformation transformation = new ChopOrRepeatTransformation(
act, dW, dH, ChopOrRepeatTransformation.CropType.TOP
); // this is Copy from Chop Transformation
requestOptions.transform(transformation);
Glide.with(act).asBitmap().load(bgUrl)
.apply(requestOptions)
.into(imgBackground);
</code></pre></div> | 0 |
<p dir="auto">React <code class="notranslate">15.2</code> now warns of any DOM properties that are not valid HTML5. <code class="notranslate">material-ui</code> is producing a lot of these warnings as it is passing down props it shouldn't be to DOM components.</p> | <h3 dir="auto">Problem description</h3>
<p dir="auto">React is about to release a new version of React: v15.2.0. They are introducting a new warning.<br>
For more details, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163148958" data-permission-text="Title is private" data-url="https://github.com/react-bootstrap/react-bootstrap/issues/1994" data-hovercard-type="issue" data-hovercard-url="/react-bootstrap/react-bootstrap/issues/1994/hovercard" href="https://github.com/react-bootstrap/react-bootstrap/issues/1994">react-bootstrap/react-bootstrap#1994</a> is a good place to start.</p>
<p dir="auto">We are already aware of this issue (props forwarding down the tree) and we have tried to address it. However, I'm pretty sure it's not solve at 100% yet.</p> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by zaazbb (<a href="https://github.com/zaazbb">@zaazbb</a>)</strong></p>
<p dir="auto">asyncio + uvloop is very fast now.</p>
<p dir="auto">uvloop makes asyncio fast. In fact, it is at least 2x faster than nodejs, gevent, as well as any other Python asynchronous framework. The performance of uvloop-based asyncio is close to that of Go programs.</p>
<p dir="auto">from: <a href="https://magic.io/blog/uvloop-blazing-fast-python-networking/" rel="nofollow">https://magic.io/blog/uvloop-blazing-fast-python-networking/</a></p> | <p dir="auto"><strong>Migrated issue, originally created by ΠΠ³ΠΎΡ ΠΠΎΡΠΎΠ±Π΅ΡΡ</strong></p>
<p dir="auto">Hello!</p>
<p dir="auto">How about integrate it?<br>
Is it even possible?</p> | 1 |
<p dir="auto">We are in 2019 β we need a support SVG!</p> | <ul dir="auto">
<li>Electron version: 1.6.10</li>
<li>Operating system: elementary OS 0.4.1 Loki</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">It should be possible to set a tray image in SVG format. This would allow tray icons to adapt to the current theme (ie. appear white on black, or black on white).</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">The image must be supplied as a PNG or a JPG and therefore does not adapt to the platform's theme.</p>
<h3 dir="auto">How to reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new Tray('/path/to/image.png');"><pre class="notranslate"><code class="notranslate">new Tray('/path/to/image.png');
</code></pre></div> | 1 |
<p dir="auto">First of all you guys created an amazing framework. It looks great and it works great so far for everything I need it for.</p>
<p dir="auto">But I find myself more and more creating some hacks around DatePicker and TextField. In case if user wants to reset the value of those controls I need to put "x" iconButtons outside of controls and then have a headache with styling to put the icon next to the control.<br>
It would be amazing if there would be an option for those controls "addCloseButton" or something like that to the controls for a quick reset of the value.<br>
I do not have a prototype per say but a good example would be <a href="http://jedwatson.github.io/react-select/" rel="nofollow">http://jedwatson.github.io/react-select/</a> take a look how it has "x" icon I'm talking about.</p>
<p dir="auto">Thanks!</p> | <p dir="auto">Once a <code class="notranslate">DatePicker</code> field is set, there is no way to clear it. You can only select a different date, not completely remove the date.</p> | 1 |
<h2 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>.):<br>
No<br>
<strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br>
'<node/discovery> failed to parse response as JWS object [square/go-jose: compact JWS format must have three parts]'</h2>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br>
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}</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): Centos 7.1</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 4.1.12-37.5.1.el7uek.x86_64 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192602" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/2" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/2/hovercard" href="https://github.com/kubernetes/kubernetes/issues/2">#2</a> SMP Thu Jun 9 16:01:20 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
Failed with error:<br>
<node/discovery> failed to parse response as JWS object [square/go-jose: compact JWS format must have three parts]</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
The cluster should be able to join the master node</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<ol dir="auto">
<li>kubeadm init on master</li>
<li>kubeadm join on cluster</li>
</ol>
<p dir="auto"><strong>Anything else do we need to know</strong>:<br>
kubeadm version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.0-alpha.2.380+85fe0f1aadf91e", GitCommit:"85fe0f1aadf91e134102cf3c01a9eed11a7e257f", GitTreeState:"clean", BuildDate:"2016-11-02T14:58:17Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"linux/amd64"}<br>
For kube-discovery image</p>
<blockquote>
<p dir="auto">docker inspect <br>
[root@ovm21 ~]# docker inspect c5e0c9a457fc<br>
[<br>
{<br>
"Id": "sha256:c5e0c9a457fcb53ac5c564656f3fabba733ab1e8187e98d095c88356b9245de8",<br>
"RepoTags": [<br>
"gcr.io/google_containers/kube-discovery-amd64:1.0"<br>
],<br>
"RepoDigests": [<br>
"gcr.io/google_containers/kube-discovery-amd64@sha256:7ebce8129c41bf64053f56a4f4418e198265b104b17f3f2d5b61667e208528f4"<br>
],<br>
"Parent": "",<br>
"Comment": "",<br>
"Created": "2016-09-24T17:16:49.942311731Z",<br>
"Container": "5581c81bd1defe34d67a2c267841bc164e0decd53b1a9114b745585e628de106",<br>
"ContainerConfig": {<br>
"Hostname": "6250540837a8",<br>
"Domainname": "",<br>
"User": "",<br>
"AttachStdin": false,<br>
"AttachStdout": false,<br>
"AttachStderr": false,<br>
"Tty": false,<br>
"OpenStdin": false,<br>
"StdinOnce": false,<br>
"Env": [<br>
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"<br>
],<br>
"Cmd": [<br>
"/bin/sh",<br>
"-c",<br>
"#(nop) ENTRYPOINT \u0026{["/bin/sh" "-c" "\"/usr/local/bin/kube-discovery\""]}"<br>
],<br>
"Image": "2b3aeb5c0ccc7b85afa3c110b8b6fc3698f1da723f4845cd4250895c599393e1",<br>
"Volumes": null,<br>
"WorkingDir": "",<br>
"Entrypoint": [<br>
"/bin/sh",<br>
"-c",<br>
""/usr/local/bin/kube-discovery""<br>
],<br>
"OnBuild": [],<br>
"Labels": {}<br>
},<br>
"DockerVersion": "1.9.1",<br>
"Author": "",<br>
"Config": {<br>
"Hostname": "6250540837a8",<br>
"Domainname": "",<br>
"User": "",<br>
"AttachStdin": false,<br>
"AttachStdout": false,<br>
"AttachStderr": false,<br>
"Tty": false,<br>
"OpenStdin": false,<br>
"StdinOnce": false,<br>
"Env": [<br>
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"<br>
],<br>
"Cmd": null,<br>
"Image": "2b3aeb5c0ccc7b85afa3c110b8b6fc3698f1da723f4845cd4250895c599393e1",<br>
"Volumes": null,<br>
"WorkingDir": "",<br>
"Entrypoint": [<br>
"/bin/sh",<br>
"-c",<br>
""/usr/local/bin/kube-discovery""<br>
],<br>
"OnBuild": [],<br>
"Labels": {}<br>
},<br>
"Architecture": "amd64",<br>
"Os": "linux",<br>
"Size": 134164555,<br>
"VirtualSize": 134164555,<br>
"GraphDriver": {<br>
"Name": "btrfs",<br>
"Data": null<br>
},<br>
"RootFS": {<br>
"Type": "layers",<br>
"Layers": [<br>
"sha256:42755cf4ee95900a105b4e33452e787026ecdefffcc1992f961aa286dc3f7f95",<br>
"sha256:7815ca90458efad6a994cbe56b123737a3b92c472493d5581fb960821680a338",<br>
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"<br>
]<br>
}<br>
}<br>
]</p>
</blockquote> | <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>
<ul dir="auto">
<li>kubectl join</li>
<li>preflight</li>
<li>kubelet is not empty</li>
</ul>
<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>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Cloud provider or hardware configuration</strong>:<br>
AWS EC2 Classic ami-45b69e52 m3.2xlarge instance type in us-east-1 region.</p>
</li>
<li>
<p dir="auto"><strong>OS</strong> (e.g. from /etc/os-release):</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial"><pre class="notranslate"><code class="notranslate">NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
</code></pre></div>
<ul dir="auto">
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Linux ip-10-159-146-253 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux"><pre class="notranslate"><code class="notranslate">Linux ip-10-159-146-253 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
</code></pre></div>
<ul dir="auto">
<li><strong>Install tools</strong>:<br>
N/A</li>
<li><strong>Others</strong>:<br>
N/A</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
I was standing up a 3-node cluster following the instructions here: <a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/kubeadm/</a></p>
<p dir="auto">Commands I ran on each slave:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo su -
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y docker.io
apt-get install -y kubelet kubeadm kubectl kubernetes-cni"><pre class="notranslate"><code class="notranslate">sudo su -
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update
apt-get install -y docker.io
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
</code></pre></div>
<p dir="auto">Additional commands run on the master:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kubeadm init --pod-network-cidr=10.244.0.0/16
kubectl apply -f flannel.yml"><pre class="notranslate"><code class="notranslate">kubeadm init --pod-network-cidr=10.244.0.0/16
kubectl apply -f flannel.yml
</code></pre></div>
<p dir="auto">flannel.yml:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
kind: ConfigMap
apiVersion: v1
metadata:
name: kube-flannel-cfg
namespace: kube-system
labels:
tier: node
app: flannel
data:
cni-conf.json: |
{
"name": "cbr0",
"type": "flannel",
"delegate": {
"isDefaultGateway": true
}
}
net-conf.json: |
{
"Network": "10.244.0.0/16",
"Backend": {
"Type": "vxlan"
}
}
---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: kube-flannel-ds
namespace: kube-system
labels:
tier: node
app: flannel
spec:
template:
metadata:
labels:
tier: node
app: flannel
spec:
hostNetwork: true
nodeSelector:
beta.kubernetes.io/arch: amd64
containers:
- name: kube-flannel
image: quay.io/coreos/flannel-git:v0.6.1-28-g5dde68d-amd64
command: [ "/opt/bin/flanneld", "--ip-masq", "--kube-subnet-mgr" ]
securityContext:
privileged: true
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: run
mountPath: /run
- name: flannel-cfg
mountPath: /etc/kube-flannel/
- name: install-cni
image: quay.io/coreos/flannel-git:v0.6.1-28-g5dde68d-amd64
command: [ "/bin/sh", "-c", "set -e -x; cp -f /etc/kube-flannel/cni-conf.json /etc/cni/net.d/10-flannel.conf; while true; do sleep 3600; done" ]
volumeMounts:
- name: cni
mountPath: /etc/cni/net.d
- name: flannel-cfg
mountPath: /etc/kube-flannel/
volumes:
- name: run
hostPath:
path: /run
- name: cni
hostPath:
path: /etc/cni/net.d
- name: flannel-cfg
configMap:
name: kube-flannel-cfg"><pre class="notranslate"><code class="notranslate">---
kind: ConfigMap
apiVersion: v1
metadata:
name: kube-flannel-cfg
namespace: kube-system
labels:
tier: node
app: flannel
data:
cni-conf.json: |
{
"name": "cbr0",
"type": "flannel",
"delegate": {
"isDefaultGateway": true
}
}
net-conf.json: |
{
"Network": "10.244.0.0/16",
"Backend": {
"Type": "vxlan"
}
}
---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: kube-flannel-ds
namespace: kube-system
labels:
tier: node
app: flannel
spec:
template:
metadata:
labels:
tier: node
app: flannel
spec:
hostNetwork: true
nodeSelector:
beta.kubernetes.io/arch: amd64
containers:
- name: kube-flannel
image: quay.io/coreos/flannel-git:v0.6.1-28-g5dde68d-amd64
command: [ "/opt/bin/flanneld", "--ip-masq", "--kube-subnet-mgr" ]
securityContext:
privileged: true
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: run
mountPath: /run
- name: flannel-cfg
mountPath: /etc/kube-flannel/
- name: install-cni
image: quay.io/coreos/flannel-git:v0.6.1-28-g5dde68d-amd64
command: [ "/bin/sh", "-c", "set -e -x; cp -f /etc/kube-flannel/cni-conf.json /etc/cni/net.d/10-flannel.conf; while true; do sleep 3600; done" ]
volumeMounts:
- name: cni
mountPath: /etc/cni/net.d
- name: flannel-cfg
mountPath: /etc/kube-flannel/
volumes:
- name: run
hostPath:
path: /run
- name: cni
hostPath:
path: /etc/cni/net.d
- name: flannel-cfg
configMap:
name: kube-flannel-cfg
</code></pre></div>
<p dir="auto">ssh-d onto slave node and ran - as per the documentation - (anonymised to protect the not-so-innocent):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo su -
kubeadm join --token=[TOKEN] [MASTER IP]"><pre class="notranslate"><code class="notranslate">sudo su -
kubeadm join --token=[TOKEN] [MASTER IP]
</code></pre></div>
<p dir="auto">Output was:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running pre-flight checks
preflight check errors:
/var/lib/kubelet is not empty"><pre class="notranslate"><code class="notranslate">Running pre-flight checks
preflight check errors:
/var/lib/kubelet is not empty
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
I expected the node to join the cluster and output data according to the docs: <a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/kubeadm/</a></p>
<p dir="auto">As I understand the architecture, each node has to have a kubelet on it. I have a feeling that some preflight checks have been added for something else, reused for this and aren't quite appropriate. I may be wrong, though!</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
Create three AWS EC2 Classic ami-45b69e52 m3.2xlarge instance type in us-east-1 region.<br>
Run the commands as I did.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:<br>
No.</p> | 0 |
<p dir="auto">5 machines now, Chrome and Firefox, Windows and ChromeOS, and i am seeing a common pattern.</p>
<p dir="auto">All <code class="notranslate">.row</code>s have a negative margin.</p>
<p dir="auto">Example: <a href="http://jsfiddle.net/Yd4ee/1/" rel="nofollow">http://jsfiddle.net/Yd4ee/1/</a><br>
Screenshot: <a href="http://d.pr/i/wIh1" rel="nofollow">http://d.pr/i/wIh1</a></p>
<p dir="auto">At first i thought this <em>had</em> to be a usage issue.. Then i noticed that even the official documentation is suffering from the same negative margin on all of the machines i tested: <a href="http://d.pr/i/u2Vm" rel="nofollow">http://d.pr/i/u2Vm</a></p>
<p dir="auto">What is the cause? Is my only solution to hack it for now?</p> | <p dir="auto">I have tried to make my layout <strong>100%</strong>. And for that I didn't use any <code class="notranslate"><div class ="container"></code>. Just started with <code class="notranslate"><div class ="row"></code>.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<div class="row">
<div class="col-md-3">
<div class="sectionLeft">
Sidebar Content
</div>
</div>
<div class="col-md-9">
Test content
</div>
</div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-md-3</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">sectionLeft</span>"<span class="pl-kos">></span>
Sidebar Content
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-md-9</span>"<span class="pl-kos">></span>
Test content
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">but it showing <strong>horizontal scroll bar</strong>. I don't know why. But I saw that it may cause from <code class="notranslate">margin-left</code> and <code class="notranslate">margin-right</code> negative value.<br>
But I am using Bootstrap v3.0.0 it should be fixed.</p>
<p dir="auto">Please see my full code from <a href="http://bootply.com/81888" rel="nofollow">http://bootply.com/81888</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/5d9c94e3dc891dfa866a1901863f1e50e2276d747796b42d4d1d7257770cdb25/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313039353030382f313137313037302f30353136666662362d323066622d313165332d383965312d3461396164353535366237622e6a7067"><img src="https://camo.githubusercontent.com/5d9c94e3dc891dfa866a1901863f1e50e2276d747796b42d4d1d7257770cdb25/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313039353030382f313137313037302f30353136666662362d323066622d313165332d383965312d3461396164353535366237622e6a7067" alt="screenshot" data-canonical-src="https://f.cloud.github.com/assets/1095008/1171070/0516ffb6-20fb-11e3-89e1-4a9ad5556b7b.jpg" style="max-width: 100%;"></a></p> | 1 |
<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.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</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>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with retries, ETA/Countdown & rate limits disabled.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="320405238" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4707" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4707/hovercard" href="https://github.com/celery/celery/issues/4707">#4707</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="320525925" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4709" data-hovercard-type="pull_request" data-hovercard-url="/celery/celery/pull/4709/hovercard" href="https://github.com/celery/celery/pull/4709">#4709</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="321429920" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4721" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4721/hovercard" href="https://github.com/celery/celery/issues/4721">#4721</a></li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.3.0rc1</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ celery -A bug report
software -> celery:4.3.0rc1 (rhubarb) kombu:4.4.0 py:3.7.2
billiard:3.6.0.0 redis:3.2.1
platform -> system:Linux arch:64bit
kernel version:4.9.125-linuxkit imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://redis:6379/0
broker_url: 'redis://redis:6379/0'
result_backend: 'redis://redis:6379/0'"><pre class="notranslate"><code class="notranslate">$ celery -A bug report
software -> celery:4.3.0rc1 (rhubarb) kombu:4.4.0 py:3.7.2
billiard:3.6.0.0 redis:3.2.1
platform -> system:Linux arch:64bit
kernel version:4.9.125-linuxkit imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://redis:6379/0
broker_url: 'redis://redis:6379/0'
result_backend: 'redis://redis:6379/0'
</code></pre></div>
<p dir="auto"></p>
</details>
<h2 dir="auto">Steps to Reproduce</h2>
<h3 dir="auto">Required Dependencies</h3>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: Python 3.5</li>
<li><strong>Minimal Broker Version</strong>: Redis 3.0</li>
<li><strong>Minimal Result Backend Version</strong>: Redis 3.0</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: Linux (Docker for Mac)</li>
<li><strong>Minimal Broker Client Version</strong>: redis-py 3.2.1</li>
<li><strong>Minimal Result Backend Client Version</strong>: redis-py 3.2.1</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==2.4.2 # via kombu
billiard==3.6.0.0 # via celery
celery[redis]==4.3.0rc1
kombu==4.4.0
pytz==2018.9 # via celery
redis==3.2.1 # via celery
vine==1.3.0 # via amqp"><pre class="notranslate"><code class="notranslate">amqp==2.4.2 # via kombu
billiard==3.6.0.0 # via celery
celery[redis]==4.3.0rc1
kombu==4.4.0
pytz==2018.9 # via celery
redis==3.2.1 # via celery
vine==1.3.0 # via amqp
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Minimally Reproducible Test Case</h3>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# bug/celery.py
from celery import Celery
from redis import StrictRedis
REDIS_URL = 'redis://redis:6379/0'
app = Celery(
'bug',
broker=REDIS_URL,
backend=REDIS_URL,
)
redis = StrictRedis.from_url(REDIS_URL)
@app.task(ignore_result=True)
def ignore_me_A(key, value):
redis.set(key, value)
@app.task
def ignore_me_B(key, value):
redis.set(key, value)
# bug/main.py
from time import sleep, time
from .celery import ignore_me_A, ignore_me_B, redis
KEY_PATTERN = 'celery-task-meta-*'
def value_equals(key, expected):
raw = redis.get(key)
if raw:
return raw.decode('utf-8') == expected
return False
def test_task_result(task):
assert len(list(redis.scan_iter(KEY_PATTERN))) == 0
key = f'results/{task.name}'
value = str(time())
task.apply_async((key, value), ignore_result=True)
while not value_equals(key, value):
print(f'waiting for result of {key}')
sleep(1.0)
redis.delete(key)
assert len(list(redis.scan_iter(KEY_PATTERN))) == 0
print('result of `ignore_me_A` is not persisted')
def main():
for key in redis.scan_iter(KEY_PATTERN):
redis.delete(key)
test_task_result(ignore_me_A)
test_task_result(ignore_me_B)
if __name__ == "__main__":
main()"><pre class="notranslate"><span class="pl-c"># bug/celery.py</span>
<span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span>
<span class="pl-k">from</span> <span class="pl-s1">redis</span> <span class="pl-k">import</span> <span class="pl-v">StrictRedis</span>
<span class="pl-v">REDIS_URL</span> <span class="pl-c1">=</span> <span class="pl-s">'redis://redis:6379/0'</span>
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(
<span class="pl-s">'bug'</span>,
<span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-v">REDIS_URL</span>,
<span class="pl-s1">backend</span><span class="pl-c1">=</span><span class="pl-v">REDIS_URL</span>,
)
<span class="pl-s1">redis</span> <span class="pl-c1">=</span> <span class="pl-v">StrictRedis</span>.<span class="pl-en">from_url</span>(<span class="pl-v">REDIS_URL</span>)
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>(<span class="pl-s1">ignore_result</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">ignore_me_A</span>(<span class="pl-s1">key</span>, <span class="pl-s1">value</span>):
<span class="pl-s1">redis</span>.<span class="pl-en">set</span>(<span class="pl-s1">key</span>, <span class="pl-s1">value</span>)
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-s1">task</span></span>
<span class="pl-k">def</span> <span class="pl-en">ignore_me_B</span>(<span class="pl-s1">key</span>, <span class="pl-s1">value</span>):
<span class="pl-s1">redis</span>.<span class="pl-en">set</span>(<span class="pl-s1">key</span>, <span class="pl-s1">value</span>)
<span class="pl-c"># bug/main.py</span>
<span class="pl-k">from</span> <span class="pl-s1">time</span> <span class="pl-k">import</span> <span class="pl-s1">sleep</span>, <span class="pl-s1">time</span>
<span class="pl-k">from</span> .<span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-s1">ignore_me_A</span>, <span class="pl-s1">ignore_me_B</span>, <span class="pl-s1">redis</span>
<span class="pl-v">KEY_PATTERN</span> <span class="pl-c1">=</span> <span class="pl-s">'celery-task-meta-*'</span>
<span class="pl-k">def</span> <span class="pl-en">value_equals</span>(<span class="pl-s1">key</span>, <span class="pl-s1">expected</span>):
<span class="pl-s1">raw</span> <span class="pl-c1">=</span> <span class="pl-s1">redis</span>.<span class="pl-en">get</span>(<span class="pl-s1">key</span>)
<span class="pl-k">if</span> <span class="pl-s1">raw</span>:
<span class="pl-k">return</span> <span class="pl-s1">raw</span>.<span class="pl-en">decode</span>(<span class="pl-s">'utf-8'</span>) <span class="pl-c1">==</span> <span class="pl-s1">expected</span>
<span class="pl-k">return</span> <span class="pl-c1">False</span>
<span class="pl-k">def</span> <span class="pl-en">test_task_result</span>(<span class="pl-s1">task</span>):
<span class="pl-k">assert</span> <span class="pl-en">len</span>(<span class="pl-en">list</span>(<span class="pl-s1">redis</span>.<span class="pl-en">scan_iter</span>(<span class="pl-v">KEY_PATTERN</span>))) <span class="pl-c1">==</span> <span class="pl-c1">0</span>
<span class="pl-s1">key</span> <span class="pl-c1">=</span> <span class="pl-s">f'results/<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">task</span>.<span class="pl-s1">name</span><span class="pl-kos">}</span></span>'</span>
<span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-en">str</span>(<span class="pl-en">time</span>())
<span class="pl-s1">task</span>.<span class="pl-en">apply_async</span>((<span class="pl-s1">key</span>, <span class="pl-s1">value</span>), <span class="pl-s1">ignore_result</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-k">while</span> <span class="pl-c1">not</span> <span class="pl-en">value_equals</span>(<span class="pl-s1">key</span>, <span class="pl-s1">value</span>):
<span class="pl-en">print</span>(<span class="pl-s">f'waiting for result of <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">key</span><span class="pl-kos">}</span></span>'</span>)
<span class="pl-en">sleep</span>(<span class="pl-c1">1.0</span>)
<span class="pl-s1">redis</span>.<span class="pl-en">delete</span>(<span class="pl-s1">key</span>)
<span class="pl-k">assert</span> <span class="pl-en">len</span>(<span class="pl-en">list</span>(<span class="pl-s1">redis</span>.<span class="pl-en">scan_iter</span>(<span class="pl-v">KEY_PATTERN</span>))) <span class="pl-c1">==</span> <span class="pl-c1">0</span>
<span class="pl-en">print</span>(<span class="pl-s">'result of `ignore_me_A` is not persisted'</span>)
<span class="pl-k">def</span> <span class="pl-en">main</span>():
<span class="pl-k">for</span> <span class="pl-s1">key</span> <span class="pl-c1">in</span> <span class="pl-s1">redis</span>.<span class="pl-en">scan_iter</span>(<span class="pl-v">KEY_PATTERN</span>):
<span class="pl-s1">redis</span>.<span class="pl-en">delete</span>(<span class="pl-s1">key</span>)
<span class="pl-en">test_task_result</span>(<span class="pl-s1">ignore_me_A</span>)
<span class="pl-en">test_task_result</span>(<span class="pl-s1">ignore_me_B</span>)
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>:
<span class="pl-en">main</span>()</pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Start Celery worker (<code class="notranslate">celery -A bug worker</code>) and execute <code class="notranslate">python3 -m bug.main</code> - <strong>there should be no "celery-task-meta-*" keys in Redis</strong>, and the output should be:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="waiting for result of results/bug.celery.ignore_me_A
...
result of `ignore_me_A` is not persisted
waiting for result of results/bug.celery.ignore_me_B
...
result of `ignore_me_B` is not persisted"><pre class="notranslate"><code class="notranslate">waiting for result of results/bug.celery.ignore_me_A
...
result of `ignore_me_A` is not persisted
waiting for result of results/bug.celery.ignore_me_B
...
result of `ignore_me_B` is not persisted
</code></pre></div>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto"><code class="notranslate">python3 -m bug.main</code> exits with error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="waiting for result of results/bug.celery.ignore_me_A
...
result of `ignore_me_A` is not persisted
waiting for result of results/bug.celery.ignore_me_B
...
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/src/bug/main.py", line 39, in <module>
main()
File "/src/bug/main.py", line 35, in main
test_task_result(ignore_me_B)
File "/src/bug/main.py", line 26, in test_task_result
assert len(list(redis.scan_iter(KEY_PATTERN))) == 0
AssertionError"><pre class="notranslate"><code class="notranslate">waiting for result of results/bug.celery.ignore_me_A
...
result of `ignore_me_A` is not persisted
waiting for result of results/bug.celery.ignore_me_B
...
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/src/bug/main.py", line 39, in <module>
main()
File "/src/bug/main.py", line 35, in main
test_task_result(ignore_me_B)
File "/src/bug/main.py", line 26, in test_task_result
assert len(list(redis.scan_iter(KEY_PATTERN))) == 0
AssertionError
</code></pre></div>
<p dir="auto">And <code class="notranslate">redis-cli keys *</code> shows:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1) "_kombu.binding.celery"
2) "_kombu.binding.celeryev"
3) "celery-task-meta-8406a282-ea03-439c-bc49-91a56e201860"
4) "_kombu.binding.celery.pidbox""><pre class="notranslate"><code class="notranslate">1) "_kombu.binding.celery"
2) "_kombu.binding.celeryev"
3) "celery-task-meta-8406a282-ea03-439c-bc49-91a56e201860"
4) "_kombu.binding.celery.pidbox"
</code></pre></div> | <p dir="auto">I know there are a few other posts similar to this already, and I have copied their solutions.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Example = app.register_task(Example())
Example.apply_async()"><pre class="notranslate"><code class="notranslate">Example = app.register_task(Example())
Example.apply_async()
</code></pre></div>
<p dir="auto">But this format does not register tasks. I think there must be a simple problem with my app or celery settings. Class-based tasks are still supposed to work, right? When I run tasks.py in isolation and print tasks, I can see the class-based tasks as registered. By the time they get to the workers, they are no longer registered, but my decorator-based tasks are.</p>
<p dir="auto">Edit: Further work. When I run</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery -A caliper.celery.celery_app:app inspect registered"><pre class="notranslate"><code class="notranslate">celery -A caliper.celery.celery_app:app inspect registered
</code></pre></div>
<p dir="auto">I can actually see the QueuedOneTimeSurvey task in there, BUT the workers are - empty -. When I add a task to the queue, then all of the decorator-base tasks get added to the workers, but the lone class-based task doesn't get added.</p>
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</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/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</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/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</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/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</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" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="239492364" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4112" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4112/hovercard" href="https://github.com/celery/celery/issues/4112">#4112</a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="211035884" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/3874" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3874/hovercard" href="https://github.com/celery/celery/issues/3874">#3874</a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="199384975" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/3744" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3744/hovercard" href="https://github.com/celery/celery/issues/3744">#3744</a></p>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.4.0</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.4.0 (cliffs) kombu:4.6.8 py:3.7.6
billiard:3.6.3.0 py-amqp:2.5.2
platform -> system:Linux arch:64bit, ELF
kernel version:4.4.0-1098-aws imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled
CELERYD_LOG_LEVEL: 'INFO'
CELERY_ACCEPT_CONTENT: ['pickle']
CELERY_BROKER_URL: 'amqp://staging:********@********'
CELERY_IMPORTS: ['caliper.celery.tasks',
'caliper.celery.tasks_lambda']
CELERY_RESULT_SERIALIZER: 'pickle'
CELERY_SEND_TASK_ERROR_EMAILS: True
CELERY_TASK_DEFAULT_EXCHANGE: 'default'
CELERY_TASK_DEFAULT_EXCHANGE_TYPE: 'direct'
CELERY_TASK_DEFAULT_QUEUE: 'caliper.default'
CELERY_TASK_IGNORE_RESULT: True
CELERY_TASK_QUEUES: {
'caliper.OneTimeSurvey': {'binding_key': '********'},
'caliper.default': {'binding_key': '********'}}
CELERY_TASK_ROUTES:
('caliper.celery.routers.CaliperRouter',)
CELERY_TASK_SERIALIZER: 'pickle'
CELERY_WORKER_PREFETCH_MULTIPLIER: 4
binding: {
'binding_key': '********'}
existing: {
}
os: <module 'os' from '/usr/lib/python3.7/os.py'>
q: 'caliper.OneTimeSurvey'
settings: <module 'siphon.settings' from '/deploy/siphon/siphon/settings.py'>
settings_messagebroker: <module 'siphon.settings_messagebroker' from '/deploy/siphon/siphon/settings_messagebroker.py'>
task_protocol: 1"><pre class="notranslate"><code class="notranslate">software -> celery:4.4.0 (cliffs) kombu:4.6.8 py:3.7.6
billiard:3.6.3.0 py-amqp:2.5.2
platform -> system:Linux arch:64bit, ELF
kernel version:4.4.0-1098-aws imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled
CELERYD_LOG_LEVEL: 'INFO'
CELERY_ACCEPT_CONTENT: ['pickle']
CELERY_BROKER_URL: 'amqp://staging:********@********'
CELERY_IMPORTS: ['caliper.celery.tasks',
'caliper.celery.tasks_lambda']
CELERY_RESULT_SERIALIZER: 'pickle'
CELERY_SEND_TASK_ERROR_EMAILS: True
CELERY_TASK_DEFAULT_EXCHANGE: 'default'
CELERY_TASK_DEFAULT_EXCHANGE_TYPE: 'direct'
CELERY_TASK_DEFAULT_QUEUE: 'caliper.default'
CELERY_TASK_IGNORE_RESULT: True
CELERY_TASK_QUEUES: {
'caliper.OneTimeSurvey': {'binding_key': '********'},
'caliper.default': {'binding_key': '********'}}
CELERY_TASK_ROUTES:
('caliper.celery.routers.CaliperRouter',)
CELERY_TASK_SERIALIZER: 'pickle'
CELERY_WORKER_PREFETCH_MULTIPLIER: 4
binding: {
'binding_key': '********'}
existing: {
}
os: <module 'os' from '/usr/lib/python3.7/os.py'>
q: 'caliper.OneTimeSurvey'
settings: <module 'siphon.settings' from '/deploy/siphon/siphon/settings.py'>
settings_messagebroker: <module 'siphon.settings_messagebroker' from '/deploy/siphon/siphon/settings_messagebroker.py'>
task_protocol: 1
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.7</li>
<li><strong>Minimal Celery Version</strong>: 4.4.0</li>
<li><strong>Minimal Kombu Version</strong>: 4.6.8</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: Ubuntu 16</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==2.5.2
anyjson==0.3.3
asgiref==3.2.3
backcall==0.1.0
bcrypt==3.1.7
beautifulsoup4==4.5.1
billiard==3.6.3.0
boto==2.38.0
boto3==1.4.0
botocore==1.4.93
celery==4.4.0
certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
concurrencytest==0.1.2
cryptography==2.8
decorator==4.4.1
Django==3.0
django-localflavor==2.2
django-ses==0.8.13
django-timedeltafield==0.7.10
djorm-pgarray==1.2
docutils==0.16
dogslow==1.2
ExifRead==2.1.2
extras==1.0.0
facebook-sdk==3.1.0
fixtures==3.0.0
flickrapi==2.4.0
future==0.18.2
geographiclib==1.50
geojson==2.5.0
geopy==1.20.0
graypy==2.1.0
html2text==2019.9.26
httplib2==0.14.0
idna==2.8
importlib-metadata==1.5.0
ipython==7.10.2
ipython-genutils==0.2.0
iso8601==0.1.12
jedi==0.16.0
jmespath==0.9.4
kafka==1.3.5
kombu==4.6.8
linecache2==1.0.0
lxml==4.5.0
mock==3.0.5
nose==1.3.7
numpy==1.17.4
oauth==1.0.1
oauth2==1.9.0.post1
oauthlib==3.1.0
overpy==0.4
pandas==0.25.3
paramiko==2.7.1
parso==0.6.1
pbr==5.4.4
pexpect==4.8.0
pickleshare==0.7.5
Pillow==6.2.1
prompt-toolkit==3.0.3
psycopg2==2.7.5
ptyprocess==0.6.0
pycparser==2.19
Pygments==2.5.2
pykml==0.2.0
pylibmc==1.6.1
PyNaCl==1.3.0
python-dateutil==2.8.1
python-mimeparse==1.6.0
python-stdnum==1.13
python-subunit==1.3.0
pytz==2019.3
raven==6.10.0
requests==2.22.0
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
s3transfer==0.1.13
scipy==1.4.0
selenium==3.141.0
simplekml==1.3.1
six==1.14.0
SQLAlchemy==1.3.12
sqlalchemy-redshift==0.7.5
sqlparse==0.3.0
testtools==2.3.0
traceback2==1.4.0
traitlets==4.3.3
unittest2==1.1.0
urllib3==1.25.8
utm==0.5.0
vine==1.3.0
virtualenv==16.7.9
wcwidth==0.1.8
xlrd==1.2.0
xlwt==1.3.0
zipp==3.0.0"><pre class="notranslate"><code class="notranslate">amqp==2.5.2
anyjson==0.3.3
asgiref==3.2.3
backcall==0.1.0
bcrypt==3.1.7
beautifulsoup4==4.5.1
billiard==3.6.3.0
boto==2.38.0
boto3==1.4.0
botocore==1.4.93
celery==4.4.0
certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
concurrencytest==0.1.2
cryptography==2.8
decorator==4.4.1
Django==3.0
django-localflavor==2.2
django-ses==0.8.13
django-timedeltafield==0.7.10
djorm-pgarray==1.2
docutils==0.16
dogslow==1.2
ExifRead==2.1.2
extras==1.0.0
facebook-sdk==3.1.0
fixtures==3.0.0
flickrapi==2.4.0
future==0.18.2
geographiclib==1.50
geojson==2.5.0
geopy==1.20.0
graypy==2.1.0
html2text==2019.9.26
httplib2==0.14.0
idna==2.8
importlib-metadata==1.5.0
ipython==7.10.2
ipython-genutils==0.2.0
iso8601==0.1.12
jedi==0.16.0
jmespath==0.9.4
kafka==1.3.5
kombu==4.6.8
linecache2==1.0.0
lxml==4.5.0
mock==3.0.5
nose==1.3.7
numpy==1.17.4
oauth==1.0.1
oauth2==1.9.0.post1
oauthlib==3.1.0
overpy==0.4
pandas==0.25.3
paramiko==2.7.1
parso==0.6.1
pbr==5.4.4
pexpect==4.8.0
pickleshare==0.7.5
Pillow==6.2.1
prompt-toolkit==3.0.3
psycopg2==2.7.5
ptyprocess==0.6.0
pycparser==2.19
Pygments==2.5.2
pykml==0.2.0
pylibmc==1.6.1
PyNaCl==1.3.0
python-dateutil==2.8.1
python-mimeparse==1.6.0
python-stdnum==1.13
python-subunit==1.3.0
pytz==2019.3
raven==6.10.0
requests==2.22.0
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
s3transfer==0.1.13
scipy==1.4.0
selenium==3.141.0
simplekml==1.3.1
six==1.14.0
SQLAlchemy==1.3.12
sqlalchemy-redshift==0.7.5
sqlparse==0.3.0
testtools==2.3.0
traceback2==1.4.0
traitlets==4.3.3
unittest2==1.1.0
urllib3==1.25.8
utm==0.5.0
vine==1.3.0
virtualenv==16.7.9
wcwidth==0.1.8
xlrd==1.2.0
xlwt==1.3.0
zipp==3.0.0
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CELERY_TASK_IGNORE_RESULT = True
CELERY_IMPORTS = ['cal.celery.tasks', 'cal.tasks_lambda']
CELERY_TASK_ROUTES = ('cal.celery.routers.Router', )
CELERY_TASK_QUEUES = {
'caliper.OneTimeSurvey': ****,
}
for q in CELERY_TASK_QUEUES:
existing = CELERY_TASK_QUEUES[q]
binding = {'binding_key': q}
CELERY_TASK_QUEUES[q] = dict(list(existing.items()) + list(binding.items()))
CELERY_TASK_DEFAULT_QUEUE = 'cal.default'
CELERY_TASK_DEFAULT_EXCHANGE = 'default'
CELERY_TASK_DEFAULT_EXCHANGE_TYPE = 'direct'
CELERY_SEND_TASK_ERROR_EMAILS = True
CELERYD_LOG_LEVEL = "INFO"
CELERY_ACCEPT_CONTENT = ['pickle']
CELERY_TASK_SERIALIZER = 'pickle'
CELERY_RESULT_SERIALIZER = 'pickle'
CELERY_WORKER_PREFETCH_MULTIPLIER = 4"><pre class="notranslate"><code class="notranslate">CELERY_TASK_IGNORE_RESULT = True
CELERY_IMPORTS = ['cal.celery.tasks', 'cal.tasks_lambda']
CELERY_TASK_ROUTES = ('cal.celery.routers.Router', )
CELERY_TASK_QUEUES = {
'caliper.OneTimeSurvey': ****,
}
for q in CELERY_TASK_QUEUES:
existing = CELERY_TASK_QUEUES[q]
binding = {'binding_key': q}
CELERY_TASK_QUEUES[q] = dict(list(existing.items()) + list(binding.items()))
CELERY_TASK_DEFAULT_QUEUE = 'cal.default'
CELERY_TASK_DEFAULT_EXCHANGE = 'default'
CELERY_TASK_DEFAULT_EXCHANGE_TYPE = 'direct'
CELERY_SEND_TASK_ERROR_EMAILS = True
CELERYD_LOG_LEVEL = "INFO"
CELERY_ACCEPT_CONTENT = ['pickle']
CELERY_TASK_SERIALIZER = 'pickle'
CELERY_RESULT_SERIALIZER = 'pickle'
CELERY_WORKER_PREFETCH_MULTIPLIER = 4
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import django
django.setup()
from siphon import settings_celery
import celery
from celery import Celery
app = Celery(accept_content=['pickle'])
app.conf.task_protocol = 1
app.config_from_object(settings_celery, namespace='CELERY')
class QueuedOneTimeSurvey(celery.Task):
name='QueuedOneTimeSurvey'
def run(self):
@transaction.atomic
def run_inner():
print("hello")
return run_inner()
QueuedOneTimeSurvey = app.register_task(QueuedOneTimeSurvey())
QueuedOneTimeSurveyTask.apply_async()"><pre class="notranslate"><code class="notranslate">import django
django.setup()
from siphon import settings_celery
import celery
from celery import Celery
app = Celery(accept_content=['pickle'])
app.conf.task_protocol = 1
app.config_from_object(settings_celery, namespace='CELERY')
class QueuedOneTimeSurvey(celery.Task):
name='QueuedOneTimeSurvey'
def run(self):
@transaction.atomic
def run_inner():
print("hello")
return run_inner()
QueuedOneTimeSurvey = app.register_task(QueuedOneTimeSurvey())
QueuedOneTimeSurveyTask.apply_async()
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">I expect the task to register and execute.</p>
<h1 dir="auto">Actual Behavior</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2020-03-06 16:23:29,425: ERROR/MainProcess] Received unregistered task of type 'QueuedOneTimeSurvey'.
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:
b'\x80\x02}q\x00(X\x04\x00\x00\x00taskq\x01X\x13\x00\x00\x00QueuedOneTimeSurveyq\x02X\x02\x00\x00\x00idq\x03X$\x00\x00\x0040f69c1a-c201-4498-9e36-43abe605a2f2q\x04X\x04\x00\x00\x00argsq\x05)X\x06\x00\x00\x00kwargsq\x06}q\x07X\x05\x00\x00\x00groupq\x08NX\x07\x00\x00\x00retriesq\tK\x00X\x03\x00\x00\x00etaq\nNX\x07\x00\x00\x00expiresq\x0bNX\x03\x00\x00\x00utcq\x0c\x88X\t\x00\x00\x00callbacksq\rNX\x08\x00\x00\x00errbacksq\x0eNX\t\x00\x00\x00timelimitq\x0fNN\x86q\x10X\x07\x00\x00\x00tasksetq\x11NX\x05\x00\x00\x00chordq\x12Nu.' (273b)
Traceback (most recent call last):
File "/deploy/pythonenvs/env/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received
strategy = strategies[type_]
KeyError: 'QueuedOneTimeSurvey'"><pre class="notranslate"><code class="notranslate">[2020-03-06 16:23:29,425: ERROR/MainProcess] Received unregistered task of type 'QueuedOneTimeSurvey'.
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:
b'\x80\x02}q\x00(X\x04\x00\x00\x00taskq\x01X\x13\x00\x00\x00QueuedOneTimeSurveyq\x02X\x02\x00\x00\x00idq\x03X$\x00\x00\x0040f69c1a-c201-4498-9e36-43abe605a2f2q\x04X\x04\x00\x00\x00argsq\x05)X\x06\x00\x00\x00kwargsq\x06}q\x07X\x05\x00\x00\x00groupq\x08NX\x07\x00\x00\x00retriesq\tK\x00X\x03\x00\x00\x00etaq\nNX\x07\x00\x00\x00expiresq\x0bNX\x03\x00\x00\x00utcq\x0c\x88X\t\x00\x00\x00callbacksq\rNX\x08\x00\x00\x00errbacksq\x0eNX\t\x00\x00\x00timelimitq\x0fNN\x86q\x10X\x07\x00\x00\x00tasksetq\x11NX\x05\x00\x00\x00chordq\x12Nu.' (273b)
Traceback (most recent call last):
File "/deploy/pythonenvs/env/lib/python3.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received
strategy = strategies[type_]
KeyError: 'QueuedOneTimeSurvey'
</code></pre></div> | 0 |
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.5.3</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">When trying to view the logs for a task on a manual DAG run I get a nasty error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/venv/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/venv/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/venv/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/venv/lib/python3.9/site-packages/airflow/www/auth.py", line 47, in decorated
return func(*args, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/www/decorators.py", line 166, in view_func
return f(*args, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/www/decorators.py", line 125, in wrapper
return f(*args, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/utils/session.py", line 75, in wrapper
return func(*args, session=session, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/www/views.py", line 2823, in graph
dt_nr_dr_data = get_date_time_num_runs_dag_runs_form_data(request, session, dag)
File "/venv/lib/python3.9/site-packages/airflow/www/views.py", line 193, in get_date_time_num_runs_dag_runs_form_data
date_time = dagrun.execution_date
AttributeError: 'NoneType' object has no attribute 'execution_date'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/venv/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/venv/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/venv/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/venv/lib/python3.9/site-packages/airflow/www/auth.py", line 47, in decorated
return func(*args, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/www/decorators.py", line 166, in view_func
return f(*args, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/www/decorators.py", line 125, in wrapper
return f(*args, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/utils/session.py", line 75, in wrapper
return func(*args, session=session, **kwargs)
File "/venv/lib/python3.9/site-packages/airflow/www/views.py", line 2823, in graph
dt_nr_dr_data = get_date_time_num_runs_dag_runs_form_data(request, session, dag)
File "/venv/lib/python3.9/site-packages/airflow/www/views.py", line 193, in get_date_time_num_runs_dag_runs_form_data
date_time = dagrun.execution_date
AttributeError: 'NoneType' object has no attribute 'execution_date'
</code></pre></div>
<p dir="auto">Looking through the code I can see it is failing to find the dag_run. The cause of this is because the run_id is set to the string:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="manual__2023-04-26T18:18:28.720589 00:00"><pre class="notranslate"><code class="notranslate">manual__2023-04-26T18:18:28.720589 00:00
</code></pre></div>
<p dir="auto">but in the db its actually:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="manual__2023-04-26T18:18:28.720589+00:00"><pre class="notranslate"><code class="notranslate">manual__2023-04-26T18:18:28.720589+00:00
</code></pre></div>
<p dir="auto">(notice the absence of the plus for the timezone separator).</p>
<p dir="auto">As a hack and to prove this was the issue I modified line 1390 in airflow/models/dag.py from:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="query = query.filter(DagRun.dag_id == self.dag_id, DagRun.run_id == run_id)"><pre class="notranslate"><code class="notranslate">query = query.filter(DagRun.dag_id == self.dag_id, DagRun.run_id == run_id)
</code></pre></div>
<p dir="auto">to:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="query = query.filter(DagRun.dag_id == self.dag_id, DagRun.run_id == run_id.replace(' 00:00', '+00:00'))"><pre class="notranslate"><code class="notranslate">query = query.filter(DagRun.dag_id == self.dag_id, DagRun.run_id == run_id.replace(' 00:00', '+00:00'))
</code></pre></div>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">The log files for my task should have been presented to me in their full glory.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Initiate a manual run of a task. Let it finish.<br>
Click the "success" icon from the home screen for the dag<br>
Click the "run_id" value for the latest run.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Virtualenv installation</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">This was upgraded from an unused install of airflow v2.1.2 although there were no previously run DAGs and this happens on new run so I dont think its an issue related to the migration of data.</p>
<p dir="auto">Python 3.9.9</p>
<h3 dir="auto">Anything else</h3>
<p dir="auto">Happens every time.</p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | <h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.5.3</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">When TI has cleared RunID + replace to spacebar<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/61796911/234028990-58a56692-d3dc-4ef2-8c4d-ff5235357581.png"><img width="779" alt="Π‘Π½ΠΈΠΌΠΎΠΊ ΡΠΊΡΠ°Π½Π° 2023-04-24 Π² 17 34 35" src="https://user-images.githubusercontent.com/61796911/234028990-58a56692-d3dc-4ef2-8c4d-ff5235357581.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/61796911/234029184-a284524c-8409-4d27-820c-63407794e023.png"><img width="688" alt="Π‘Π½ΠΈΠΌΠΎΠΊ ΡΠΊΡΠ°Π½Π° 2023-04-24 Π² 17 35 18" src="https://user-images.githubusercontent.com/61796911/234029184-a284524c-8409-4d27-820c-63407794e023.png" style="max-width: 100%;"></a></p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce</h3>
<ol dir="auto">
<li>Filter by RunID</li>
<li>Clear Task Instance</li>
<li>Look at RunID value</li>
</ol>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Ubuntu 22.04.1 LTS</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Official Apache Airflow Helm Chart</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | 1 |
<p dir="auto">Hello, I start to use TypeScript recently. It's super useful language for me :)<br>
By the way, I'm in a tutorial about <code class="notranslate">String Type</code> in here <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" rel="nofollow">https://www.typescriptlang.org/docs/handbook/basic-types.html</a></p>
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.10</p>
<p dir="auto"><strong>Code</strong></p>
<h2 dir="auto">It <em>doesn't</em> work.</h2>
<p dir="auto"><em>hello.ts</em></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let name: string = "bob";"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">name</span>: <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">"bob"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Whenever I compile, the compiler will emit the following.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ tsc hello.ts
../../usr/local/lib/node_modules/typescript/lib/lib.d.ts(16757,13): error TS2451: Cannot redeclare block-scoped variable 'name'.
hello.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'name'."><pre class="notranslate">$ tsc hello.ts
../../usr/local/lib/node_modules/typescript/lib/lib.d.ts(16757,13): error TS2451: Cannot redeclare block-scoped variable <span class="pl-s"><span class="pl-pds">'</span>name<span class="pl-pds">'</span></span>.
hello.ts(1,5): error TS2451: Cannot redeclare block-scoped variable <span class="pl-s"><span class="pl-pds">'</span>name<span class="pl-pds">'</span></span>.</pre></div>
<h2 dir="auto">It works.</h2>
<p dir="auto"><em>hello.ts</em></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let aname: string = "bob";"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">aname</span>: <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">"bob"</span><span class="pl-kos">;</span></pre></div>
<h2 dir="auto">Expecting Behavior</h2>
<p dir="auto">I read a part of the <code class="notranslate">lib.d.ts</code> and it has <code class="notranslate">declare var name: string;</code>. So I may understand the compiler emits an error. However what concept cannot we use the variable <code class="notranslate">name</code> in TypeScript?<br>
And I think the tutorial which doesn't work is not good :(<br>
Or is there something is wrong with me? I hope to replay an answer :)</p> | <h1 dir="auto">Proposed module resolution strategy</h1>
<p dir="auto"><strong>UPDATE</strong>: proposal below is updated based on the results of the design meeting.<br>
Initial version can be found <a href="https://gist.github.com/vladima/725949fd9464e6a94771">here</a>.</p>
<p dir="auto">Primary differences:</p>
<ul dir="auto">
<li>instead of having <code class="notranslate">baseUrl</code> as a separate module resolution strategy we are introducing a set of properties<br>
that will allow to customize resoluton process in existing resolution strategies but base strategy still is used as a fallback.</li>
<li><code class="notranslate">rootDirs</code> are decoupled from the <code class="notranslate">baseUrl</code> and can be used without it.</li>
</ul>
<p dir="auto">Currently TypeScript supports two ways of resolving module names: <code class="notranslate">classic</code> (module name always resolves to a file, module are searched using a folder walk)<br>
and <code class="notranslate">node</code> (uses <a href="https://github.com/Microsoft/TypeScript/issues/2338" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2338/hovercard">rules</a> similar to <a href="https://nodejs.org/api/modules.html#modules_all_together" rel="nofollow">node module loader</a>, was introduced in TypeScript 1.6).<br>
These approaches worked reasonably well but they were not able to model <em>baseUrl</em> based mechanics used by<br>
<a href="http://requirejs.org/docs/api.html#config-baseUrl" rel="nofollow">RequireJS</a> or <a href="https://github.com/systemjs/systemjs/blob/master/docs/overview.md#baseurl">SystemJS</a>.</p>
<p dir="auto">We could introduce third type of module resolution that will fill this gap but this will mean that once user has started to use this new type then support to<br>
discover typings embedded in node modules (and distributed via <code class="notranslate">npm</code>) is lost. Effectively user that wanted both to use <code class="notranslate">baseUrl</code> to refer to modules defined inside the project<br>
and rely on <code class="notranslate">npm</code> to obtain modules with typings will have to choose what part of the system will be broken.</p>
<p dir="auto">Instead of doing this we'll allow to declare a set of properties that will augment existing module resolution strategies. These properties are:<br>
<code class="notranslate">baseUrl</code>, <code class="notranslate">paths</code> and <code class="notranslate">rootDirs</code> (<code class="notranslate">paths</code> can only be used if <code class="notranslate">baseUrl</code> is set). If at least one of these properties is defined then compiler will try to<br>
use it to resolve module name and if it fail - will fallback to a default behavior for a current resolution strategy.</p>
<p dir="auto">Also choice of resolution strategy determines what does it mean to load a module from a given path. To be more concrete given some module name <code class="notranslate">/a/b/c</code>:</p>
<ul dir="auto">
<li><code class="notranslate">classic</code> resolver will check for the presense of files <code class="notranslate">/a/b/c.ts</code>, <code class="notranslate">/a/b/c.tsx</code> and <code class="notranslate">/a/b/c.d.ts</code>.</li>
<li><code class="notranslate">node</code> resolver will first try to load module as file by probing the same files as <code class="notranslate">classic</code> and then try to load module from directory<br>
(check <code class="notranslate">/a/b/c/index</code> with supported extension, then peek into <code class="notranslate">package.json</code> etc. More details can be found in <a href="https://github.com/Microsoft/TypeScript/issues/2338" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2338/hovercard">this issue</a>)</li>
</ul>
<h1 dir="auto">Properties</h1>
<ul dir="auto">
<li><a href="#baseUrl">baseUrl</a></li>
<li><a href="#pathMappings">path mappings</a></li>
<li><a href="#rootDirs">rootDirs</a></li>
</ul>
<h2 dir="auto">BaseUrl <a id="user-content-baseurl"></a></h2>
<p dir="auto">All non-rooted paths are computed relative to <em>baseUrl</em>.<br>
Value of <em>baseUrl</em> is determined as either:</p>
<ul dir="auto">
<li>value of <em>baseUrl</em> command line argument (if given path is relative it is computed based on current directory)</li>
<li>value of <em>baseUrl</em> propery in 'tsconfig.json' (if given path is relative it is computed based on then location of 'tsconfig.json')</li>
</ul>
<h2 dir="auto">Path mappings <a id="user-content-pathmappings"></a></h2>
<p dir="auto">Sometimes modules are not directly located under <em>baseUrl</em>. It is possible to control how locations are computed in such cases<br>
using path mappings. Path mappings are specified using the following JSON structure:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"paths": {
"pattern-1": ["list of substitutions"],
"pattern-2": ["list of substitutions"],
...
"pattern-N": ["list of substitutions"]
}
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"paths"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"pattern-1"</span>: <span class="pl-kos">[</span><span class="pl-s">"list of substitutions"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"pattern-2"</span>: <span class="pl-kos">[</span><span class="pl-s">"list of substitutions"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
...
<span class="pl-s">"pattern-N"</span>: <span class="pl-kos">[</span><span class="pl-s">"list of substitutions"</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Patterns and substitutions are strings that can have zero or one asteriks ('*').<br>
Interpretation of both patterns and substitutions will be described in <a href="#resolutionProcess">Resolution process</a> section.</p>
<h2 dir="auto">Resolution process <a id="user-content-resolutionprocess"></a></h2>
<p dir="auto">Non-relative module names are resolved slightly differently comparing<br>
to relative (start with "./" or "../") and rooted module names (start with "/", drive name or schema).</p>
<h3 dir="auto">Resolution of non-relative module names (mostly matches SystemJS)</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
// mimics path mappings in SystemJS
// NOTE: moduleExists checks if file with any supported extension exists on disk
function resolveNonRelativeModuleName(moduleName: string): string {
// check if module name should be used as-is or it should be mapped to different value
let longestMatchedPrefixLength = 0;
let matchedPattern: string;
let matchedWildcard: string;
for (let pattern in config.paths) {
assert(pattern.countOf('*') <= 1);
let indexOfWildcard = pattern.indexOf('*');
if (indexOfWildcard !== -1) {
// if pattern contains asterisk then asterisk acts as a capture group with a greedy matching
// i.e. for the string 'abbb' pattern 'a*b' will get 'bb' as '*'
// check if module name starts with prefix, ends with suffix and these two don't overlap
let prefix = pattern.substr(0, indexOfWildcard);
let suffix = pattern.substr(indexOfWildcard + 1);
if (moduleName.length >= prefix.length + suffix.length &&
moduleName.startsWith(prefix) &&
moduleName.endsWith(suffix)) {
// use length of matched prefix as betterness criteria
if (longestMatchedPrefixLength < prefix.length) {
// save length of the prefix
longestMatchedPrefixLength = prefix.length;
// save matched pattern
matchedPattern = pattern;
// save matched wildcard content
matchedWildcard = moduleName.substr(prefix.length, moduleName.length - suffix.length);
}
}
}
else {
// pattern does not contain asterisk - module name should exactly match pattern to succeed
if (pattern === moduleName) {
// save pattern
matchedPattern = pattern;
// drop saved wildcard match
matchedWildcard = undefined;
// exact match is found - can exit early
break;
}
}
}
if (!matchedPattern) {
// no pattern was matched so module name can be used as-is
let path = combine(baseUrl, moduleName);
return moduleExists(path) ? path : undefined;
}
// some pattern was matched - module name needs to be substituted
let substitutions = config.paths[matchedPattern].asArray();
for (let subst of substitutions) {
assert(substs.countOf('*') <= 1);
// replace * in substitution with matched wildcard
let path = matchedWildcard ? subst.replace("*", matchedWildcard) : subst;
// if substituion is a relative path - combine it with baseUrl
path = isRelative(path) ? combine(baseUrl, path) : path;
if (moduleExists(path)) {
return path;
}
}
return undefined;
}
"><pre class="notranslate"><span class="pl-c">// mimics path mappings in SystemJS</span>
<span class="pl-c">// NOTE: moduleExists checks if file with any supported extension exists on disk</span>
<span class="pl-k">function</span> <span class="pl-en">resolveNonRelativeModuleName</span><span class="pl-kos">(</span><span class="pl-s1">moduleName</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-kos">{</span>
<span class="pl-c">// check if module name should be used as-is or it should be mapped to different value</span>
<span class="pl-k">let</span> <span class="pl-s1">longestMatchedPrefixLength</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">matchedPattern</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">matchedWildcard</span>: <span class="pl-s1">string</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">pattern</span> <span class="pl-k">in</span> <span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">paths</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-s1">pattern</span><span class="pl-kos">.</span><span class="pl-en">countOf</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">)</span> <span class="pl-c1"><=</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">indexOfWildcard</span> <span class="pl-c1">=</span> <span class="pl-s1">pattern</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">indexOfWildcard</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-kos">{</span>
<span class="pl-c">// if pattern contains asterisk then asterisk acts as a capture group with a greedy matching</span>
<span class="pl-c">// i.e. for the string 'abbb' pattern 'a*b' will get 'bb' as '*'</span>
<span class="pl-c">// check if module name starts with prefix, ends with suffix and these two don't overlap</span>
<span class="pl-k">let</span> <span class="pl-s1">prefix</span> <span class="pl-c1">=</span> <span class="pl-s1">pattern</span><span class="pl-kos">.</span><span class="pl-en">substr</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-s1">indexOfWildcard</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">suffix</span> <span class="pl-c1">=</span> <span class="pl-s1">pattern</span><span class="pl-kos">.</span><span class="pl-en">substr</span><span class="pl-kos">(</span><span class="pl-s1">indexOfWildcard</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">moduleName</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">>=</span> <span class="pl-s1">prefix</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">+</span> <span class="pl-s1">suffix</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">&&</span>
<span class="pl-s1">moduleName</span><span class="pl-kos">.</span><span class="pl-en">startsWith</span><span class="pl-kos">(</span><span class="pl-s1">prefix</span><span class="pl-kos">)</span> <span class="pl-c1">&&</span>
<span class="pl-s1">moduleName</span><span class="pl-kos">.</span><span class="pl-en">endsWith</span><span class="pl-kos">(</span><span class="pl-s1">suffix</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// use length of matched prefix as betterness criteria</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">longestMatchedPrefixLength</span> <span class="pl-c1"><</span> <span class="pl-s1">prefix</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// save length of the prefix</span>
<span class="pl-s1">longestMatchedPrefixLength</span> <span class="pl-c1">=</span> <span class="pl-s1">prefix</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span>
<span class="pl-c">// save matched pattern</span>
<span class="pl-s1">matchedPattern</span> <span class="pl-c1">=</span> <span class="pl-s1">pattern</span><span class="pl-kos">;</span>
<span class="pl-c">// save matched wildcard content </span>
<span class="pl-s1">matchedWildcard</span> <span class="pl-c1">=</span> <span class="pl-s1">moduleName</span><span class="pl-kos">.</span><span class="pl-en">substr</span><span class="pl-kos">(</span><span class="pl-s1">prefix</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">,</span> <span class="pl-s1">moduleName</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">-</span> <span class="pl-s1">suffix</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-c">// pattern does not contain asterisk - module name should exactly match pattern to succeed</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">pattern</span> <span class="pl-c1">===</span> <span class="pl-s1">moduleName</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// save pattern</span>
<span class="pl-s1">matchedPattern</span> <span class="pl-c1">=</span> <span class="pl-s1">pattern</span><span class="pl-kos">;</span>
<span class="pl-c">// drop saved wildcard match </span>
<span class="pl-s1">matchedWildcard</span> <span class="pl-c1">=</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-c">// exact match is found - can exit early </span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">matchedPattern</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// no pattern was matched so module name can be used as-is</span>
<span class="pl-k">let</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">combine</span><span class="pl-kos">(</span><span class="pl-s1">baseUrl</span><span class="pl-kos">,</span> <span class="pl-s1">moduleName</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-en">moduleExists</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span> ? <span class="pl-s1">path</span> : <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// some pattern was matched - module name needs to be substituted</span>
<span class="pl-k">let</span> <span class="pl-s1">substitutions</span> <span class="pl-c1">=</span> <span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">paths</span><span class="pl-kos">[</span><span class="pl-s1">matchedPattern</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">asArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">subst</span> <span class="pl-k">of</span> <span class="pl-s1">substitutions</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-s1">substs</span><span class="pl-kos">.</span><span class="pl-en">countOf</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">)</span> <span class="pl-c1"><=</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// replace * in substitution with matched wildcard</span>
<span class="pl-k">let</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-s1">matchedWildcard</span> ? <span class="pl-s1">subst</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-s">"*"</span><span class="pl-kos">,</span> <span class="pl-s1">matchedWildcard</span><span class="pl-kos">)</span> : <span class="pl-s1">subst</span><span class="pl-kos">;</span>
<span class="pl-c">// if substituion is a relative path - combine it with baseUrl</span>
<span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">isRelative</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span> ? <span class="pl-en">combine</span><span class="pl-kos">(</span><span class="pl-s1">baseUrl</span><span class="pl-kos">,</span> <span class="pl-s1">path</span><span class="pl-kos">)</span> : <span class="pl-s1">path</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">moduleExists</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">path</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Resolution of relative module names</h3>
<h4 dir="auto">Default resolution logic (matches SystemJS)</h4>
<p dir="auto">Relative module names are computed treating location of source file that contains the import as base folder.<br>
Path mappings are not applied.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function resolveRelativeModuleName(moduleName: string, containingFile: string): string {
let path = combine(getDirectoryName(containingFile), moduleName);
return moduleExists(path) ? path : undefined;
}"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">resolveRelativeModuleName</span><span class="pl-kos">(</span><span class="pl-s1">moduleName</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">containingFile</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">combine</span><span class="pl-kos">(</span><span class="pl-en">getDirectoryName</span><span class="pl-kos">(</span><span class="pl-s1">containingFile</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">moduleName</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-en">moduleExists</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span> ? <span class="pl-s1">path</span> : <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<h4 dir="auto">Using <code class="notranslate">rootDirs</code><a id="user-content-rootdirs"></a></h4>
<p dir="auto">'rootDirs' allows the project to be spreaded across multiple locations and resolve modules with relative names as if multiple project roots were merged together in one folder. For example project contains source files that are located in different directories on then file system (not under the same root) but user still still prefers to use relative module names because in runtime such names can be successfully resolved due to bundling.</p>
<p dir="auto">For example consider this project structure:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" shared
βββ projects
βββ project
βββ src
βββ viewManager.ts (imports './views/view1')
βββ views
βββ view2.ts (imports './view1')
userFiles
βββ project
βββ src
βββ views
βββ view1.ts (imports './view2')"><pre class="notranslate"><code class="notranslate"> shared
βββ projects
βββ project
βββ src
βββ viewManager.ts (imports './views/view1')
βββ views
βββ view2.ts (imports './view1')
userFiles
βββ project
βββ src
βββ views
βββ view1.ts (imports './view2')
</code></pre></div>
<p dir="auto">Logically files in <code class="notranslate">userFiles/project</code> and <code class="notranslate">shared/projects/project</code> belong to the same project and<br>
after build they indeed will be bundled together.</p>
<p dir="auto">In order to support this we'll add configuration property "rootDirs":</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"rootDirs": [
"rootDir-1/",
"rootDir-2/",
...
"rootDir-n/"
]
}"><pre class="notranslate">{
<span class="pl-ent">"rootDirs"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>rootDir-1/<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>rootDir-2/<span class="pl-pds">"</span></span>,
<span class="pl-ii">...</span>
<span class="pl-s"><span class="pl-pds">"</span>rootDir-n/<span class="pl-pds">"</span></span>
]
}</pre></div>
<p dir="auto">This property stores list of base folders, every folder name can be either absolute or relative.<br>
Elements in <code class="notranslate">rootDirs</code> that represent non-absolute paths will be converted to absolute using location of tsconfig.json as a base folder - this is the common approach for all paths defined in tsconfig.json</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="///Algorithm for resolving relative module name
function resolveRelativeModuleName(moduleName: string, containingFile: string): string {
// convert relative module name to absolute using location of containing file
// this step is exactly the same as when doing resolution without path mapping
let path = combine(getDirectoryName(containingFile), moduleName);
// convert absolute module name to non-relative
// try to find element in 'rootDirs' that is the longest prefix for "path' and return path.substr(prefix.length) as non-relative name
let { matchingRootDir, nonRelativeName } = tryFindLongestPrefixAndReturnSuffix(rootDirs, path);
if (!matchingRootDir) {
// cannot extract non relative name
return undefined;
}
// first try to load module from initial location
if (moduleExists(path)) {
return path;
}
// then try other entries in rootDirs
for (const rootDir of rootDirs) {
if (rootDir === matchingRootDir) {
continue;
}
const candidate = combine(rootDir, nonRelativeName);
if (moduleExists(candidate)) {
return candidate;
}
}
// failure case
return undefined;
}"><pre class="notranslate"><span class="pl-c">///Algorithm for resolving relative module name</span>
<span class="pl-k">function</span> <span class="pl-en">resolveRelativeModuleName</span><span class="pl-kos">(</span><span class="pl-s1">moduleName</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">containingFile</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-kos">{</span>
<span class="pl-c">// convert relative module name to absolute using location of containing file</span>
<span class="pl-c">// this step is exactly the same as when doing resolution without path mapping</span>
<span class="pl-k">let</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">combine</span><span class="pl-kos">(</span><span class="pl-en">getDirectoryName</span><span class="pl-kos">(</span><span class="pl-s1">containingFile</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">moduleName</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// convert absolute module name to non-relative</span>
<span class="pl-c">// try to find element in 'rootDirs' that is the longest prefix for "path' and return path.substr(prefix.length) as non-relative name</span>
<span class="pl-k">let</span> <span class="pl-kos">{</span> matchingRootDir<span class="pl-kos">,</span> nonRelativeName <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">tryFindLongestPrefixAndReturnSuffix</span><span class="pl-kos">(</span><span class="pl-s1">rootDirs</span><span class="pl-kos">,</span> <span class="pl-s1">path</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">matchingRootDir</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// cannot extract non relative name</span>
<span class="pl-k">return</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// first try to load module from initial location</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">moduleExists</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">path</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// then try other entries in rootDirs</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">rootDir</span> <span class="pl-k">of</span> <span class="pl-s1">rootDirs</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">rootDir</span> <span class="pl-c1">===</span> <span class="pl-s1">matchingRootDir</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">continue</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">const</span> <span class="pl-s1">candidate</span> <span class="pl-c1">=</span> <span class="pl-en">combine</span><span class="pl-kos">(</span><span class="pl-s1">rootDir</span><span class="pl-kos">,</span> <span class="pl-s1">nonRelativeName</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">moduleExists</span><span class="pl-kos">(</span><span class="pl-s1">candidate</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">candidate</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-c">// failure case</span>
<span class="pl-k">return</span> <span class="pl-c1">undefined</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Configuration for the example above:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"rootDirs": [
"userFiles/project/",
"/shared/projects/project/"
]
}"><pre class="notranslate">{
<span class="pl-ent">"rootDirs"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>userFiles/project/<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>/shared/projects/project/<span class="pl-pds">"</span></span>
]
}</pre></div>
<h3 dir="auto">Example 1</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projectRoot
βββ folder1
βΒ Β βββ file1.ts (imports 'folder2/file2')
βββ folder2
βΒ Β βββ file2.ts (imports './file3')
βΒ Β βββ file3.ts
βββ tsconfig.json
"><pre class="notranslate"><code class="notranslate">projectRoot
βββ folder1
βΒ Β βββ file1.ts (imports 'folder2/file2')
βββ folder2
βΒ Β βββ file2.ts (imports './file3')
βΒ Β βββ file3.ts
βββ tsconfig.json
</code></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// configuration in tsconfig.json
{
"baseUrl": "."
}"><pre class="notranslate"><span class="pl-c">// configuration in tsconfig.json</span>
<span class="pl-kos">{</span>
<span class="pl-s">"baseUrl"</span>: <span class="pl-s">"."</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>import 'folder2/file2'
<ol dir="auto">
<li><em>baseUrl</em> is specified in configuration and has value '.' -> <em>baseUrl</em> is computed relative to<br>
the location of tsconfig.json -> <code class="notranslate">projectRoot</code></li>
<li>path mappings are not available -> path = moduleName</li>
<li>resolved module file name = combine(baseUrl, path) -> <code class="notranslate">projectRoot/folder2/file2.ts</code></li>
</ol>
</li>
<li>import './file3'
<ol dir="auto">
<li>moduleName is relative and <em>rootDirs</em> are not specified in configuration - compute module name<br>
relative to the location of containing file: resolved module file name = <code class="notranslate">projectRoot/folder2/file3.ts</code></li>
</ol>
</li>
</ul>
<h3 dir="auto">Example 2</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="projectRoot
βββ folder1
βΒ Β βββ file1.ts (imports 'folder1/file2' and 'folder2/file3')
βΒ Β βββ file2.ts
βββ generated
βΒ Β βββ folder1
βΒ Β βββ folder2
βΒ Β βββ file3.ts
βββ tsconfig.json
"><pre class="notranslate"><code class="notranslate">projectRoot
βββ folder1
βΒ Β βββ file1.ts (imports 'folder1/file2' and 'folder2/file3')
βΒ Β βββ file2.ts
βββ generated
βΒ Β βββ folder1
βΒ Β βββ folder2
βΒ Β βββ file3.ts
βββ tsconfig.json
</code></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// configuration in tsconfig.json
{
"baseUrl": ".",
"paths": {
"*": [
"*",
"generated/*"
]
}
}"><pre class="notranslate"><span class="pl-c">// configuration in tsconfig.json</span>
<span class="pl-kos">{</span>
<span class="pl-s">"baseUrl"</span>: <span class="pl-s">"."</span><span class="pl-kos">,</span>
<span class="pl-s">"paths"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"*"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"*"</span><span class="pl-kos">,</span>
<span class="pl-s">"generated/*"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>import 'folder1/file2'
<ol dir="auto">
<li><em>baseUrl</em> is specified in configuration and has value '.' -> <em>baseUrl</em> is computed relative to<br>
the location of tsconfig.json -> <code class="notranslate">projectRoot</code></li>
<li>configuration contains path mappings.</li>
<li>pattern '*' is matched and wildcard captures the whole module name</li>
<li>try first substitution in the list: '*' -> <code class="notranslate">folder1/file2</code></li>
<li>result of substitution is relative name - combine it with <em>baseUrl</em> -> <code class="notranslate">projectRoot/folder1/file2.ts</code>.<br>
This file exists.</li>
</ol>
</li>
<li>import 'folder2/file2'
<ol dir="auto">
<li><em>baseUrl</em> is specified in configuration and has value '.' -> <em>baseUrl</em> is computed relative to<br>
the location of tsconfig.json and will be folder that contains tsconfig.json</li>
<li>configuration contains path mappings.</li>
<li>pattern '*' is matched and wildcard captures the whole module name</li>
<li>try first substitution in the list: '*' -> <code class="notranslate">folder2/file3</code></li>
<li>result of substitution is relative name - combine it with <em>baseUrl</em> -> <code class="notranslate">projectRoot/folder2/file3.ts</code>.<br>
File does not exists, move to the second substitution</li>
<li>second substitution 'generated/*' -> <code class="notranslate">generated/folder2/file3</code></li>
<li>result of substitution is relative name - combine it with <em>baseUrl</em> -> <code class="notranslate">projectRoot/generated/folder2/file3.ts</code>.<br>
File exists</li>
</ol>
</li>
</ul>
<h2 dir="auto">Example 3</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rootDir
βββ folder1
βΒ Β βββ file1.ts (imports './file2')
βββ generated
βΒ Β βββ folder1
βΒ Β βΒ Β βββ file2.ts
βΒ Β βΒ Β βββ file3.ts (imports '../folder1/file1')
βΒ Β βββ folder2
βββ tsconfig.json"><pre class="notranslate"><code class="notranslate">rootDir
βββ folder1
βΒ Β βββ file1.ts (imports './file2')
βββ generated
βΒ Β βββ folder1
βΒ Β βΒ Β βββ file2.ts
βΒ Β βΒ Β βββ file3.ts (imports '../folder1/file1')
βΒ Β βββ folder2
βββ tsconfig.json
</code></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// configuration in tsconfig.json
{
"rootDirs": [
"./",
"./generated/"
],
}"><pre class="notranslate"><span class="pl-c">// configuration in tsconfig.json</span>
<span class="pl-kos">{</span>
<span class="pl-s">"rootDirs"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"./"</span><span class="pl-kos">,</span>
<span class="pl-s">"./generated/"</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">All non-rooted entries in <code class="notranslate">rootDirs</code> are expanded using location of tsconfig.json as base location so after expansion <code class="notranslate">rootDirs</code> will<br>
look like this:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "rootDirs": [
"rootDir/",
"rootDir/generated/"
],"><pre class="notranslate"> <span class="pl-ent">"rootDirs"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>rootDir/<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>rootDir/generated/<span class="pl-pds">"</span></span>
],</pre></div>
<ul dir="auto">
<li>import './file2'
<ol dir="auto">
<li>name is relative, first make it absolute using location of containing file as base location - <code class="notranslate">rootDir/folder1/file2</code></li>
<li>for this string find the longest prefix in <code class="notranslate">rootDirs</code> - <code class="notranslate">rootDir/</code> and for this prefix compute as suffix - <code class="notranslate">folder1/file2</code></li>
<li>since matching entry in <code class="notranslate">rootDirs</code> was found try to resolve module using <code class="notranslate">rootDir</code> - first check if <code class="notranslate">rootDir/folder1/file2</code><br>
can be resolved as module - such module does not exist</li>
<li>try remaining entries in <code class="notranslate">rootDirs</code> - check if module <code class="notranslate">rootDir/generated/folder1/file2</code> exists - yes.</li>
</ol>
</li>
<li>import '../folder1/file1'
<ol dir="auto">
<li>name is relative, first make it absolute using location of containing file as base location - <code class="notranslate">rootDir/generated/folder1/file1</code></li>
<li>for this string find the longest prefix in <code class="notranslate">rootDirs</code> - <code class="notranslate">rootDir/generated</code> and for this prefix compute as suffix - <code class="notranslate">folder1/file1</code></li>
<li>since matching entry in <code class="notranslate">rootDirs</code> was found try to resolve module using <code class="notranslate">rootDir</code> - first check if <code class="notranslate">rootDir/generated/folder1/file1</code><br>
can be resolved as module - such module does not exist</li>
<li>try remaining entries in <code class="notranslate">rootDirs</code> - check if module <code class="notranslate">rootDir/folder1/file1</code> exists - yes.</li>
</ol>
</li>
</ul> | 0 |
<p dir="auto">It seems that every optional parameter that goes into send is also settable on the Session (e.g. verify, stream, etc.). Except timeout.</p>
<p dir="auto">Would it be possible to change the behaviour so that timeout gets merged in from session just like all the other arguments?</p> | <p dir="auto">Preface: I have a feeling that this isn't an issue with requests itself, but it did up come while I was using it, so I was hoping that you could offer some insight. This issue might even be the same one that hellt had in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156011291" data-permission-text="Title is private" data-url="https://github.com/psf/requests/issues/3212" data-hovercard-type="issue" data-hovercard-url="/psf/requests/issues/3212/hovercard" href="https://github.com/psf/requests/issues/3212">#3212</a> , but there are a few differences that made me uncertain whether that is actually the case. My apologies if it's a duplicate.</p>
<p dir="auto">The error in question:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "ALT_post_api.py", line 177, in <module>
main()
File "ALT_post_api.py", line 96, in main
response = requests.get(url, headers=headers, verify="/path/to/ssl/DigiCertCA.crt")
File "/export/software/lib/python2.7/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/export/software/lib/python2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/export/software/lib/python2.7/site-packages/requests/sessions.py", line 502, in request
resp = self.send(prep, **send_kwargs)
File "/export/software/lib/python2.7/site-packages/requests/sessions.py", line 612, in send
r = adapter.send(request, **kwargs)
File "/export/software/lib/python2.7/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "ALT_post_api.py", line 177, in <module>
main()
File "ALT_post_api.py", line 96, in main
response = requests.get(url, headers=headers, verify="/path/to/ssl/DigiCertCA.crt")
File "/export/software/lib/python2.7/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/export/software/lib/python2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/export/software/lib/python2.7/site-packages/requests/sessions.py", line 502, in request
resp = self.send(prep, **send_kwargs)
File "/export/software/lib/python2.7/site-packages/requests/sessions.py", line 612, in send
r = adapter.send(request, **kwargs)
File "/export/software/lib/python2.7/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)
</code></pre></div>
<p dir="auto">Looking at the Apache config, an SSLCertificateFile, an SSLCertificateKeyFile, and an SSLCertificateChainFile are specified. The above uses the SSLCertificateChainFile (DigiCertCA.crt) in the verify parameter, though both True and the SSLCertificateFile throw the same exact error. I tried appending those two files to a copy of the file given by <code class="notranslate">certifi.where()</code> (named cacert.pem) as seems to be suggested in the linked issue, but it also throws the same error.</p>
<p dir="auto">Versions:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 2.7.12
>>> requests.__version__
'2.18.1'
>>> certifi.__version__
'2017.04.17'
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1e-fips 11 Feb 2013'"><pre class="notranslate"><code class="notranslate">Python 2.7.12
>>> requests.__version__
'2.18.1'
>>> certifi.__version__
'2017.04.17'
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1e-fips 11 Feb 2013'
</code></pre></div>
<p dir="auto">This is the result of running <code class="notranslate">openssl s_client -connect my_host:443 -showcerts -servername my_host</code>, HOWEVER, I later ran openssl version and got OpenSSL 0.9.8za 5 Jun 2014; this isn't the version Python is using:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CONNECTED(00000003)
depth=0 /C=US/ST=[redacted; local area + host]
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=US/ST=[redacted; local area + host]
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=US/ST=[redacted; local area + host]
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:/C=US/ST=[redacted; local area + host]
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
-----BEGIN CERTIFICATE-----
MIIFmzC[redacted]
-----END CERTIFICATE-----
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
-----BEGIN CERTIFICATE-----
MIIGWDC[redacted]
-----END CERTIFICATE-----
---
Server certificate
subject=/C=US/ST=[redacted; local area + host]
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
---
No client certificate CA names sent
---
SSL handshake has read 3980 bytes and written 329 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES128-SHA
Session-ID: 400E[etc]
Session-ID-ctx:
Master-Key: E536[etc.]
Key-Arg : None
TLS session ticket:
0000 - 48 39 0b 54 3d 88 e3 bf-69 71 ac ea 7e aa fe 9a H9.T=...iq..~...
[etc.]
00d0 - b7 23 f5 ed a7 6c 9a 56-09 c2 ac 32 11 6e 5c c6 .#...l.V...2.n\.
Start Time: 1503002301
Timeout : 300 (sec)
Verify return code: 21 (unable to verify the first certificate)
---"><pre class="notranslate"><code class="notranslate">CONNECTED(00000003)
depth=0 /C=US/ST=[redacted; local area + host]
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=US/ST=[redacted; local area + host]
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=US/ST=[redacted; local area + host]
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:/C=US/ST=[redacted; local area + host]
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
-----BEGIN CERTIFICATE-----
MIIFmzC[redacted]
-----END CERTIFICATE-----
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
-----BEGIN CERTIFICATE-----
MIIGWDC[redacted]
-----END CERTIFICATE-----
---
Server certificate
subject=/C=US/ST=[redacted; local area + host]
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
---
No client certificate CA names sent
---
SSL handshake has read 3980 bytes and written 329 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES128-SHA
Session-ID: 400E[etc]
Session-ID-ctx:
Master-Key: E536[etc.]
Key-Arg : None
TLS session ticket:
0000 - 48 39 0b 54 3d 88 e3 bf-69 71 ac ea 7e aa fe 9a H9.T=...iq..~...
[etc.]
00d0 - b7 23 f5 ed a7 6c 9a 56-09 c2 ac 32 11 6e 5c c6 .#...l.V...2.n\.
Start Time: 1503002301
Timeout : 300 (sec)
Verify return code: 21 (unable to verify the first certificate)
---
</code></pre></div>
<p dir="auto">But specifying -CAfile with the SSLCertificateFile, DigiCertCA.crt, or cacert.pem returns '0 (ok)':</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="depth=2 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
verify return:1
depth=1 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
verify return:1
depth=0 /C=US/ST=[redacted; local area + host]
verify return:1
---
Certificate chain
0 s:/C=US/ST=[redacted; local area + host]
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
-----BEGIN CERTIFICATE-----
MIIFmzC[redacted]
-----END CERTIFICATE-----
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
-----BEGIN CERTIFICATE-----
MIIGWDC[redacted]
-----END CERTIFICATE-----
---
Server certificate
subject=/C=US/ST=[redacted; local area + host]
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
---
No client certificate CA names sent
---
SSL handshake has read 3980 bytes and written 329 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES128-SHA
Session-ID: 0EFE[etc.]
Session-ID-ctx:
Master-Key: 856A[etc.]
Key-Arg : None
TLS session ticket:
0000 - 48 39 0b 54 3d 88 e3 bf-69 71 ac ea 7e aa fe 9a H9.T=...iq..~...
[etc.]
00d0 - 1e 0c ac a4 32 6d 57 6b-64 19 32 69 6b 62 a4 f3 ....2mWkd.2ikb..
Start Time: 1503002938
Timeout : 300 (sec)
Verify return code: 0 (ok)
---"><pre class="notranslate"><code class="notranslate">depth=2 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
verify return:1
depth=1 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
verify return:1
depth=0 /C=US/ST=[redacted; local area + host]
verify return:1
---
Certificate chain
0 s:/C=US/ST=[redacted; local area + host]
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
-----BEGIN CERTIFICATE-----
MIIFmzC[redacted]
-----END CERTIFICATE-----
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
-----BEGIN CERTIFICATE-----
MIIGWDC[redacted]
-----END CERTIFICATE-----
---
Server certificate
subject=/C=US/ST=[redacted; local area + host]
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
---
No client certificate CA names sent
---
SSL handshake has read 3980 bytes and written 329 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES128-SHA
Session-ID: 0EFE[etc.]
Session-ID-ctx:
Master-Key: 856A[etc.]
Key-Arg : None
TLS session ticket:
0000 - 48 39 0b 54 3d 88 e3 bf-69 71 ac ea 7e aa fe 9a H9.T=...iq..~...
[etc.]
00d0 - 1e 0c ac a4 32 6d 57 6b-64 19 32 69 6b 62 a4 f3 ....2mWkd.2ikb..
Start Time: 1503002938
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
</code></pre></div>
<p dir="auto">Now for the output of the OpenSSL version that Python is actually using:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CONNECTED(00000003)
depth=0 C = US, ST = [redacted; local area + host]
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = US, ST = [redacted; local area + host]
verify error:num=27:certificate not trusted
verify return:1
depth=0 C = US, ST = [redacted; local area + host]
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:/C=US/ST=[redacted; local area + host]
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
-----BEGIN CERTIFICATE-----
MIIFmzC[redacted]
-----END CERTIFICATE-----
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
-----BEGIN CERTIFICATE-----
MIIGWDC[redacted]
-----END CERTIFICATE-----
---
Server certificate
subject=/C=US/ST=[redacted; local area + host]
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
---
No client certificate CA names sent
Server Temp Key: DH, 1024 bits
---
SSL handshake has read 3980 bytes and written 492 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES128-SHA
Session-ID: D4AD[redacted]
Session-ID-ctx:
Master-Key: 7732[redacted]
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
TLS session ticket:
0000 - 48 39 0b 54 3d 88 e3 bf-69 71 ac ea 7e aa fe 9a H9.T=...iq..~...
[etc.]
00d0 - 3f ff 52 7a 03 a7 ee f3-7f d0 f0 ae f2 b3 46 a0 ?.Rz..........F.
Start Time: 1503072674
Timeout : 300 (sec)
Verify return code: 21 (unable to verify the first certificate)"><pre class="notranslate"><code class="notranslate">CONNECTED(00000003)
depth=0 C = US, ST = [redacted; local area + host]
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 C = US, ST = [redacted; local area + host]
verify error:num=27:certificate not trusted
verify return:1
depth=0 C = US, ST = [redacted; local area + host]
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
0 s:/C=US/ST=[redacted; local area + host]
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
-----BEGIN CERTIFICATE-----
MIIFmzC[redacted]
-----END CERTIFICATE-----
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
-----BEGIN CERTIFICATE-----
MIIGWDC[redacted]
-----END CERTIFICATE-----
---
Server certificate
subject=/C=US/ST=[redacted; local area + host]
issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA
---
No client certificate CA names sent
Server Temp Key: DH, 1024 bits
---
SSL handshake has read 3980 bytes and written 492 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES128-SHA
Session-ID: D4AD[redacted]
Session-ID-ctx:
Master-Key: 7732[redacted]
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
TLS session ticket:
0000 - 48 39 0b 54 3d 88 e3 bf-69 71 ac ea 7e aa fe 9a H9.T=...iq..~...
[etc.]
00d0 - 3f ff 52 7a 03 a7 ee f3-7f d0 f0 ae f2 b3 46 a0 ?.Rz..........F.
Start Time: 1503072674
Timeout : 300 (sec)
Verify return code: 21 (unable to verify the first certificate)
</code></pre></div>
<p dir="auto">(One difference I noticed was "Server Temp Key: DH, 1024 bits")<br>
The reason I included the outputs of both versions of <code class="notranslate">openssl</code> is because the version Python is using always seems to return 21, even when <code class="notranslate">-CAfile</code> is specified.<br>
I tried compiling Python with the other version of OpenSSL, but ran into issues, so I figured I should ask if that has a good chance of fixing my problem before continuing.</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">A GET request should be made and retrieve some data. This does work with <code class="notranslate">verify=False</code>.</p>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">Request seems to fail verifying the certificate.</p>
<h2 dir="auto">System Information</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help"><pre class="notranslate"><code class="notranslate">$ python -m requests.help
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": "2.0.3"
},
"implementation": {
"name": "CPython",
"version": "2.7.12"
},
"platform": {
"release": "2.6.32-642.11.1.el6.x86_64",
"system": "Linux"
},
"pyOpenSSL": {
"openssl_version": "1010006f",
"version": "17.2.0"
},
"requests": {
"version": "2.18.1"
},
"system_ssl": {
"version": "1000105f"
},
"urllib3": {
"version": "1.21.1"
},
"using_pyopenssl": true
}"><pre class="notranslate"><code class="notranslate">{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": "2.0.3"
},
"implementation": {
"name": "CPython",
"version": "2.7.12"
},
"platform": {
"release": "2.6.32-642.11.1.el6.x86_64",
"system": "Linux"
},
"pyOpenSSL": {
"openssl_version": "1010006f",
"version": "17.2.0"
},
"requests": {
"version": "2.18.1"
},
"system_ssl": {
"version": "1000105f"
},
"urllib3": {
"version": "1.21.1"
},
"using_pyopenssl": true
}
</code></pre></div> | 0 |
<p dir="auto">version: 1.13.3</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> junk, inv = numpy.unique([], return_inverse=True)
>>> print(inv)"><pre class="notranslate"><code class="notranslate">>>> junk, inv = numpy.unique([], return_inverse=True)
>>> print(inv)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([], dtype=bool)"><pre class="notranslate"><code class="notranslate">array([], dtype=bool)
</code></pre></div>
<p dir="auto">The documentation says numpy.unique shall return indices; the sudden change of type is surprising at best.</p> | <p dir="auto">Hello,</p>
<p dir="auto">Obviously, this issue is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="17810532" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/3588" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/3588/hovercard" href="https://github.com/numpy/numpy/issues/3588">#3588</a>. However I give here a more accurate (hopefully) description of the bug and some hints regarding where things go wrong.</p>
<p dir="auto">Here is a sample code producing the problem:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy
import pickle
a = numpy.ma.array([1.0, 2.0], dtype=object)
pickle.loads(pickle.dumps(a))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span>
<span class="pl-k">import</span> <span class="pl-s1">pickle</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">numpy</span>.<span class="pl-s1">ma</span>.<span class="pl-en">array</span>([<span class="pl-c1">1.0</span>, <span class="pl-c1">2.0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">object</span>)
<span class="pl-s1">pickle</span>.<span class="pl-en">loads</span>(<span class="pl-s1">pickle</span>.<span class="pl-en">dumps</span>(<span class="pl-s1">a</span>))</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError Traceback (most recent call last)
<ipython-input-31-7fbb1ec321e5> in <module>()
3
4 a = numpy.ma.array([1.0, 2.0], dtype=object)
----> 5 pickle.loads(pickle.dumps(a))
/opt/rh/python27/root/usr/lib64/python2.7/pickle.pyc in loads(str)
1380 def loads(str):
1381 file = StringIO(str)
-> 1382 return Unpickler(file).load()
1383
1384 # Doctest
/opt/rh/python27/root/usr/lib64/python2.7/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatch[key](self)
859 except _Stop, stopinst:
860 return stopinst.value
/opt/rh/python27/root/usr/lib64/python2.7/pickle.pyc in load_build(self)
1215 setstate = getattr(inst, "__setstate__", None)
1216 if setstate:
-> 1217 setstate(state)
1218 return
1219 slotstate = None
/home/amignon/mypython27/lib/python2.7/site-packages/numpy/ma/core.pyc in __setstate__(self, state)
5867 """
5868 (_, shp, typ, isf, raw, msk, flv) = state
-> 5869 super(MaskedArray, self).__setstate__((shp, typ, isf, raw))
5870 self._mask.__setstate__((shp, make_mask_descr(typ), isf, msk))
5871 self.fill_value = flv
TypeError: object pickle not returning list"><pre class="notranslate"><code class="notranslate">TypeError Traceback (most recent call last)
<ipython-input-31-7fbb1ec321e5> in <module>()
3
4 a = numpy.ma.array([1.0, 2.0], dtype=object)
----> 5 pickle.loads(pickle.dumps(a))
/opt/rh/python27/root/usr/lib64/python2.7/pickle.pyc in loads(str)
1380 def loads(str):
1381 file = StringIO(str)
-> 1382 return Unpickler(file).load()
1383
1384 # Doctest
/opt/rh/python27/root/usr/lib64/python2.7/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatch[key](self)
859 except _Stop, stopinst:
860 return stopinst.value
/opt/rh/python27/root/usr/lib64/python2.7/pickle.pyc in load_build(self)
1215 setstate = getattr(inst, "__setstate__", None)
1216 if setstate:
-> 1217 setstate(state)
1218 return
1219 slotstate = None
/home/amignon/mypython27/lib/python2.7/site-packages/numpy/ma/core.pyc in __setstate__(self, state)
5867 """
5868 (_, shp, typ, isf, raw, msk, flv) = state
-> 5869 super(MaskedArray, self).__setstate__((shp, typ, isf, raw))
5870 self._mask.__setstate__((shp, make_mask_descr(typ), isf, msk))
5871 self.fill_value = flv
TypeError: object pickle not returning list
</code></pre></div>
<p dir="auto">Basically, I create a masked array with a <code class="notranslate">dtype=object</code> and an exception is raised when the <code class="notranslate">__setstate__</code> method from <code class="notranslate">ndarray</code> is called which corresponds to the code in <code class="notranslate">/numpy/core/src/multiarray/methods.c</code> at <a href="https://github.com/numpy/numpy/blob/6790bf80c4833cada74a41a85cff339118ef48ca/numpy/core/src/multiarray/methods.c#L1676">line 1676</a>.</p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" if (PyDataType_FLAGCHK(typecode, NPY_LIST_PICKLE)) {
if (!PyList_Check(rawdata)) {
PyErr_SetString(PyExc_TypeError,
"object pickle not returning list");
return NULL;
}
}
else {
Py_INCREF(rawdata);
"><pre class="notranslate"> <span class="pl-k">if</span> (<span class="pl-en">PyDataType_FLAGCHK</span>(<span class="pl-s1">typecode</span>, <span class="pl-c1">NPY_LIST_PICKLE</span>)) {
<span class="pl-k">if</span> (!<span class="pl-en">PyList_Check</span>(<span class="pl-s1">rawdata</span>)) {
<span class="pl-en">PyErr_SetString</span>(<span class="pl-s1">PyExc_TypeError</span>,
<span class="pl-s">"object pickle not returning list"</span>);
<span class="pl-k">return</span> <span class="pl-c1">NULL</span>;
}
}
<span class="pl-k">else</span> {
<span class="pl-en">Py_INCREF</span>(<span class="pl-s1">rawdata</span>);</pre></div>
<p dir="auto">From what I understand the source of the problem occurs in the same file at line <a href="https://github.com/numpy/numpy/blob/6790bf80c4833cada74a41a85cff339118ef48ca/numpy/core/src/multiarray/methods.c#L1598">1598</a> when the flag <code class="notranslate">NPY_LIST_PICKLE</code> is tested in the <code class="notranslate">__reduce__</code> method of <code class="notranslate">ndarray</code> (<code class="notranslate">array_reduce</code> function):</p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" if (PyDataType_FLAGCHK(PyArray_DESCR(self), NPY_LIST_PICKLE)) {
thestr = _getlist_pkl(self);
}
else {
thestr = PyArray_ToString(self, NPY_ANYORDER);
}"><pre class="notranslate"> <span class="pl-k">if</span> (<span class="pl-en">PyDataType_FLAGCHK</span>(<span class="pl-en">PyArray_DESCR</span>(<span class="pl-s1">self</span>), <span class="pl-c1">NPY_LIST_PICKLE</span>)) {
<span class="pl-s1">thestr</span> <span class="pl-c1">=</span> <span class="pl-en">_getlist_pkl</span>(<span class="pl-s1">self</span>);
}
<span class="pl-k">else</span> {
<span class="pl-s1">thestr</span> <span class="pl-c1">=</span> <span class="pl-en">PyArray_ToString</span>(<span class="pl-s1">self</span>, <span class="pl-c1">NPY_ANYORDER</span>);
}</pre></div>
<p dir="auto">For some reason it is not recognised as having to be pickled as list as expected when it is called from the <code class="notranslate">__getstate__</code> method of <code class="notranslate">MaskedArray</code> in <code class="notranslate">numpy/ma/core.py</code> at line <a href="https://github.com/numpy/numpy/blob/6790bf80c4833cada74a41a85cff339118ef48ca/numpy/ma/core.py#L5869">5869</a></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" def __getstate__(self):
"""Return the internal state of the masked array, for pickling
purposes.
"""
cf = 'CF'[self.flags.fnc]
data_state = super(MaskedArray, self).__reduce__()[2]
return data_state + (getmaskarray(self).tobytes(cf), self._fill_value)"><pre class="notranslate"> <span class="pl-k">def</span> <span class="pl-en">__getstate__</span>(<span class="pl-s1">self</span>):
<span class="pl-s">"""Return the internal state of the masked array, for pickling</span>
<span class="pl-s"> purposes.</span>
<span class="pl-s"> """</span>
<span class="pl-s1">cf</span> <span class="pl-c1">=</span> <span class="pl-s">'CF'</span>[<span class="pl-s1">self</span>.<span class="pl-s1">flags</span>.<span class="pl-s1">fnc</span>]
<span class="pl-s1">data_state</span> <span class="pl-c1">=</span> <span class="pl-en">super</span>(<span class="pl-v">MaskedArray</span>, <span class="pl-s1">self</span>).<span class="pl-en">__reduce__</span>()[<span class="pl-c1">2</span>]
<span class="pl-k">return</span> <span class="pl-s1">data_state</span> <span class="pl-c1">+</span> (<span class="pl-en">getmaskarray</span>(<span class="pl-s1">self</span>).<span class="pl-en">tobytes</span>(<span class="pl-s1">cf</span>), <span class="pl-s1">self</span>.<span class="pl-s1">_fill_value</span>)</pre></div>
<p dir="auto">This weird behaviour is confirmed by trying this python code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy
import pickle
a = numpy.ma.array([1.0, 2.0], dtype=object)
print a.__getstate__()[:-2] # The two last elements correspond to the mask
print super(np.ma.MaskedArray, a).__reduce__()[2] # Used internally in __getstate__"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span>
<span class="pl-k">import</span> <span class="pl-s1">pickle</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">numpy</span>.<span class="pl-s1">ma</span>.<span class="pl-en">array</span>([<span class="pl-c1">1.0</span>, <span class="pl-c1">2.0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">object</span>)
<span class="pl-k">print</span> <span class="pl-s1">a</span>.<span class="pl-en">__getstate__</span>()[:<span class="pl-c1">-</span><span class="pl-c1">2</span>] <span class="pl-c"># The two last elements correspond to the mask</span>
<span class="pl-k">print</span> <span class="pl-en">super</span>(<span class="pl-s1">np</span>.<span class="pl-s1">ma</span>.<span class="pl-v">MaskedArray</span>, <span class="pl-s1">a</span>).<span class="pl-en">__reduce__</span>()[<span class="pl-c1">2</span>] <span class="pl-c"># Used internally in __getstate__</span></pre></div>
<p dir="auto">Which gives:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(1, (2,), dtype('O'), False, 'X\xca\x84\x01\x00\x00\x00\x00p\xca\x84\x01\x00\x00\x00\x00')
(1, (2,), dtype('O'), False, [1.0, 2.0])"><pre class="notranslate"><code class="notranslate">(1, (2,), dtype('O'), False, 'X\xca\x84\x01\x00\x00\x00\x00p\xca\x84\x01\x00\x00\x00\x00')
(1, (2,), dtype('O'), False, [1.0, 2.0])
</code></pre></div>
<p dir="auto">This is weird since the second line uses the same <code class="notranslate">__reduce__</code> method from <code class="notranslate">ndarray</code> as in the <code class="notranslate">__getstate__</code> method of <code class="notranslate">MaskedArray</code>.</p>
<p dir="auto">I've not been able to go further.</p>
<p dir="auto">Hoping this helps</p> | 0 |
<h3 dir="auto">Describe the issue:</h3>
<p dir="auto">I am experiencing a NumPy crash in a rather complicated environment. I have a Fortran+MPI application, GEOS (<a href="https://github.com/geos-esm">https://github.com/geos-esm</a>) that calls a Python function at some point via a CFFI interface. My application crashes every time I try to 'import numpy' and the traceback looks like what is included in the 'Error message' section for each of the MPI ranks.</p>
<p dir="auto">Via test_crash_interface, FV_StateMod.F90 calls the Python function</p>
<p dir="auto">def import_numpy():<br>
import numpy as np<br>
print('imported numpy successfully')</p>
<p dir="auto">The application runs successfully if I do not import numpy. Also, I can import other modules, e.g. mpi4py, just fine.</p>
<p dir="auto">I tried to create a reproducer that simulates the GEOS infrastructure by using a simple Fortran driver, but in case of the reproducer, numpy is imported successfully. Also, I tried pybind11 instead of cffi as the Fortran-Python interface and I get the same crash.</p>
<p dir="auto">Please let me know if there is any other information I can provide.</p>
<h3 dir="auto">Reproduce the code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Via test_crash_interface, FV_StateMod.F90 calls the Python function
def import_numpy():
import numpy as np
print('imported numpy successfully')"><pre class="notranslate"><span class="pl-v">Via</span> <span class="pl-s1">test_crash_interface</span>, <span class="pl-v">FV_StateMod</span>.<span class="pl-v">F90</span> <span class="pl-s1">calls</span> <span class="pl-s1">the</span> <span class="pl-v">Python</span> <span class="pl-s1">function</span>
<span class="pl-k">def</span> <span class="pl-en">import_numpy</span>():
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-en">print</span>(<span class="pl-s">'imported numpy successfully'</span>)</pre></div>
<h3 dir="auto">Error message:</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x2ba19513114f in ???
#1 0x2ba0cb73aa19 in longdouble_multiply
at numpy/core/src/umath/scalarmath.c.src:854
#2 0x2ba1956f900b in ???
...
#35 0x2ba19555d50e in ???
#36 0x2ba1ca10e8be in general_invoke_callback
at c/_cffi_backend.c:6180
#37 0x2ba1ca10eaad in cffi_call_python
at c/call_python.c:276
#38 0x2ba185630325 in test_crash_interface
at /discover/nobackup/pchakrab/code/gmao/GEOSfvdycore/build-debug/src/Components/@FVdycoreCubed_GridComp/testcrashinterface.c:1290
#39 0x88ad26 in __fv_statemod_MOD_fv_run
at /discover/nobackup/pchakrab/code/gmao/GEOSfvdycore/src/Components/@FVdycoreCubed_GridComp/FV_StateMod.F90:1779"><pre class="notranslate">Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace <span class="pl-k">for</span> this error:
<span class="pl-c"><span class="pl-c">#</span>0 0x2ba19513114f in ???</span>
<span class="pl-c"><span class="pl-c">#</span>1 0x2ba0cb73aa19 in longdouble_multiply</span>
at numpy/core/src/umath/scalarmath.c.src:854
<span class="pl-c"><span class="pl-c">#</span>2 0x2ba1956f900b in ???</span>
...
<span class="pl-c"><span class="pl-c">#</span>35 0x2ba19555d50e in ???</span>
<span class="pl-c"><span class="pl-c">#</span>36 0x2ba1ca10e8be in general_invoke_callback</span>
at c/_cffi_backend.c:6180
<span class="pl-c"><span class="pl-c">#</span>37 0x2ba1ca10eaad in cffi_call_python</span>
at c/call_python.c:276
<span class="pl-c"><span class="pl-c">#</span>38 0x2ba185630325 in test_crash_interface</span>
at /discover/nobackup/pchakrab/code/gmao/GEOSfvdycore/build-debug/src/Components/@FVdycoreCubed_GridComp/testcrashinterface.c:1290
<span class="pl-c"><span class="pl-c">#</span>39 0x88ad26 in __fv_statemod_MOD_fv_run</span>
at /discover/nobackup/pchakrab/code/gmao/GEOSfvdycore/src/Components/@FVdycoreCubed_GridComp/FV_StateMod.F90:1779</pre></div>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">My environment is as follows:</p>
<p dir="auto">GCC 11.2.0<br>
Python 3.8.10<br>
NumPy 1.21.2 (same crash with 1.21.5 and 1.22.0)<br>
CFFI 1.15.0</p>
<p dir="auto">I have reproduced this error on 2 different systems - (1) Intel Cascade Lake node running SLES 12, SP5, and (2) AMD Rome node running CentOS 7.</p> | <h3 dir="auto">Describe the issue:</h3>
<p dir="auto">We recently embedded a python interpreter in a scientific Fortran code, and we are having problems with debugging floating point errors that happen inside our code. We typically do this by enabling all the floating point traps, but we can't get past the <code class="notranslate">import_array()</code> call during initialization due to a <code class="notranslate">SIGFPE</code>. This happens with multiple versions of NumPy, the latest we are using is 1.18.1, and it also happens with all versions of python, GNU compilers, and Intel compilers that we have tried.</p>
<p dir="auto">I vaguely recall seeing an email thread from a long time ago (that I cannot find again now) that links this to a for loop that continually multiplies a number until it overflows to define the limit for floating point numbers and I think that was related. Maybe somebody else can find it better than me.</p>
<p dir="auto">The two source files to reproduce it are below and can be compiled with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="icx -c -g -O0 -traceback -I... -L... -lpython... test.c
ifort -g -O0 -fpe0 -I... -L... -lpython... test.o test.f90"><pre class="notranslate"><code class="notranslate">icx -c -g -O0 -traceback -I... -L... -lpython... test.c
ifort -g -O0 -fpe0 -I... -L... -lpython... test.o test.f90
</code></pre></div>
<p dir="auto">or</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gcc -c -g -O0 -I... -L... -lpython... test.c
gfortran -g -O0 -fbacktrace -I... -L... -lpython... -ffpe-trap=invalid,zero,overflow,underflow,inexact,denormal test.o test.f90"><pre class="notranslate"><code class="notranslate">gcc -c -g -O0 -I... -L... -lpython... test.c
gfortran -g -O0 -fbacktrace -I... -L... -lpython... -ffpe-trap=invalid,zero,overflow,underflow,inexact,denormal test.o test.f90
</code></pre></div>
<p dir="auto">In the event this isn't a bug or won't be fixed, we could use some advice on how to get around the floating point error problems in <code class="notranslate">import_array()</code> because it takes away a really critical tool for tracking down problems in our scientific core code.</p>
<h3 dir="auto">Reproduce the code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test.c
#include <numpy/arrayobject.h>
#include <Python.h>
void *initpython()
{
Py_Initialize();
import_array();
}"><pre class="notranslate"><span class="pl-s1">test</span>.<span class="pl-s1">c</span>
<span class="pl-c">#include <numpy/arrayobject.h></span>
<span class="pl-c">#include <Python.h></span>
<span class="pl-s1">void</span> <span class="pl-c1">*</span><span class="pl-en">initpython</span>()
{
<span class="pl-v">Py_Initialize</span>();
<span class="pl-en">import_array</span>();
}</pre></div>
<p dir="auto">test.f90</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PROGRAM test
USE ISO_C_BINDING, ONLY: C_PTR
IMPLICIT NONE
INTERFACE
FUNCTION InitPython() BIND(C)
USE ISO_C_BINDING, ONLY: C_PTR
IMPLICIT NONE
TYPE(C_PTR) :: InitPython
END FUNCTION InitPython
END INTERFACE
TYPE(C_PTR) :: ignoreThis
ignoreThis = InitPython()
END PROGRAM test"><pre class="notranslate"><code class="notranslate">PROGRAM test
USE ISO_C_BINDING, ONLY: C_PTR
IMPLICIT NONE
INTERFACE
FUNCTION InitPython() BIND(C)
USE ISO_C_BINDING, ONLY: C_PTR
IMPLICIT NONE
TYPE(C_PTR) :: InitPython
END FUNCTION InitPython
END INTERFACE
TYPE(C_PTR) :: ignoreThis
ignoreThis = InitPython()
END PROGRAM test
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
### Error message:
```shell
forrtl: error (72): floating overflow
Image PC Routine Line Source
a.out 0000000000404B0B Unknown Unknown Unknown
libc.so.6 0000147F231C07A0 Unknown Unknown Unknown
_multiarray_umath 0000147F21FC1CE7 Unknown Unknown Unknown
libpython3.7m.so. 0000147F2356C50C PyNumber_Multiply Unknown Unknown
libpython3.7m.so. 0000147F234EE63C _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F210A _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F236A509F PyEval_EvalCodeEx Unknown Unknown
libpython3.7m.so. 0000147F235940CC PyEval_EvalCode Unknown Unknown
libpython3.7m.so. 0000147F23597F6E Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CAE91 _PyMethodDef_RawF Unknown Unknown
libpython3.7m.so. 0000147F235CB526 _PyCFunction_Fast Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F210A _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EDCB9 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CACD3 _PyMethodDef_RawF Unknown Unknown
libpython3.7m.so. 0000147F235CB526 _PyCFunction_Fast Unknown Unknown
libpython3.7m.so. 0000147F235CD06E PyObject_CallFunc Unknown Unknown
libpython3.7m.so. 0000147F235EF5C8 PyImport_Import Unknown Unknown
libpython3.7m.so. 0000147F235EF75D PyImport_ImportMo Unknown Unknown
a.out 0000000000403927 _import_array 1466 __multiarray_api.h
a.out 00000000004038D2 initpython 7 test.c
a.out 0000000000403C23 MAIN__ 17 test.f90
a.out 00000000004038A2 Unknown Unknown Unknown
libc.so.6 0000147F231AB540 Unknown Unknown Unknown
libc.so.6 0000147F231AB5EC __libc_start_main Unknown Unknown
a.out 00000000004037A5 Unknown Unknown Unknown"><pre class="notranslate"><code class="notranslate">
### Error message:
```shell
forrtl: error (72): floating overflow
Image PC Routine Line Source
a.out 0000000000404B0B Unknown Unknown Unknown
libc.so.6 0000147F231C07A0 Unknown Unknown Unknown
_multiarray_umath 0000147F21FC1CE7 Unknown Unknown Unknown
libpython3.7m.so. 0000147F2356C50C PyNumber_Multiply Unknown Unknown
libpython3.7m.so. 0000147F234EE63C _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F210A _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F236A509F PyEval_EvalCodeEx Unknown Unknown
libpython3.7m.so. 0000147F235940CC PyEval_EvalCode Unknown Unknown
libpython3.7m.so. 0000147F23597F6E Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CAE91 _PyMethodDef_RawF Unknown Unknown
libpython3.7m.so. 0000147F235CB526 _PyCFunction_Fast Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F210A _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EDCB9 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB650 PyCFunction_Call Unknown Unknown
libpython3.7m.so. 0000147F234F1D61 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F236A4FAE _PyEval_EvalCodeW Unknown Unknown
libpython3.7m.so. 0000147F235CAFC0 _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234F4116 Unknown Unknown Unknown
libpython3.7m.so. 0000147F234EF808 _PyEval_EvalFrame Unknown Unknown
libpython3.7m.so. 0000147F234F3380 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CB36F _PyFunction_FastC Unknown Unknown
libpython3.7m.so. 0000147F235CBE03 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CC0AA _PyObject_CallMet Unknown Unknown
libpython3.7m.so. 0000147F235EEE20 PyImport_ImportMo Unknown Unknown
libpython3.7m.so. 0000147F235960F6 Unknown Unknown Unknown
libpython3.7m.so. 0000147F235CACD3 _PyMethodDef_RawF Unknown Unknown
libpython3.7m.so. 0000147F235CB526 _PyCFunction_Fast Unknown Unknown
libpython3.7m.so. 0000147F235CD06E PyObject_CallFunc Unknown Unknown
libpython3.7m.so. 0000147F235EF5C8 PyImport_Import Unknown Unknown
libpython3.7m.so. 0000147F235EF75D PyImport_ImportMo Unknown Unknown
a.out 0000000000403927 _import_array 1466 __multiarray_api.h
a.out 00000000004038D2 initpython 7 test.c
a.out 0000000000403C23 MAIN__ 17 test.f90
a.out 00000000004038A2 Unknown Unknown Unknown
libc.so.6 0000147F231AB540 Unknown Unknown Unknown
libc.so.6 0000147F231AB5EC __libc_start_main Unknown Unknown
a.out 00000000004037A5 Unknown Unknown Unknown
</code></pre></div>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">Python 3.7.6 (default, Jan 8 2020, 19:59:22)<br>
[GCC 7.3.0] :: Anaconda, Inc. on linux<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import sys, numpy; print(numpy.<strong>version</strong>, sys.version)<br>
1.18.1 3.7.6 (default, Jan 8 2020, 19:59:22)<br>
[GCC 7.3.0]</p>
</blockquote>
</blockquote>
</blockquote> | 1 |
<p dir="auto">When I run unit test with nodejs and use inject in beforeEach then throw me an error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" TypeError: Cannot read property 'getXHR' of null
at _runtimeCompilerBindings (angular2/src/testing/test_injector.ts:129:32)
at Object.createTestInjectorWithRuntimeCompiler (angular2/src/testing/test_injector.ts:141:48)
at Object.<anonymous> (angular2/src/testing/testing.ts:247:20)"><pre class="notranslate"><code class="notranslate"> TypeError: Cannot read property 'getXHR' of null
at _runtimeCompilerBindings (angular2/src/testing/test_injector.ts:129:32)
at Object.createTestInjectorWithRuntimeCompiler (angular2/src/testing/test_injector.ts:141:48)
at Object.<anonymous> (angular2/src/testing/testing.ts:247:20)
</code></pre></div>
<p dir="auto">becouse DOM is null in nodejs :(</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function _runtimeCompilerBindings() {
return [
provide(XHR, {useClass: DOM.getXHR()}),
COMPILER_PROVIDERS,
];
}"><pre class="notranslate"><code class="notranslate">function _runtimeCompilerBindings() {
return [
provide(XHR, {useClass: DOM.getXHR()}),
COMPILER_PROVIDERS,
];
}
</code></pre></div> | <p dir="auto">This issue was posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/francois-appliware/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/francois-appliware">@francois-appliware</a> under angular/vladivostok and was gaining traction until the repo was merged into this one. I'm posting it here for visibility.</p>
<blockquote>
<p dir="auto">Hi,<br>
I am working with the new router and had an issue that I "managed to resolve", but as I don't quite understand how everything works under the hood I prefer to open this issue and try to understand what is going on.</p>
<p dir="auto">In my application, I have a few routes as following :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ path: '/dashboard', component: DashboardComponent },
{
path: '/companies', component: CompanyComponent, children: [
{ path: '/details/:id', component: CompanyDetailComponent },
{ path: '/new', component: CompanyEditComponent },
{ path: '/', component: CompanyDetailComponent, index: true }
]
},
{
path: '/keys', component: KeyComponent, children: [
{ path: '/details/:id', component: KeyDetailComponent },
{ path: '/new', component: KeyEditComponent },
{ path: '/', component: CompanyDetailComponent, index: true }
]
}"><pre class="notranslate"><code class="notranslate">{ path: '/dashboard', component: DashboardComponent },
{
path: '/companies', component: CompanyComponent, children: [
{ path: '/details/:id', component: CompanyDetailComponent },
{ path: '/new', component: CompanyEditComponent },
{ path: '/', component: CompanyDetailComponent, index: true }
]
},
{
path: '/keys', component: KeyComponent, children: [
{ path: '/details/:id', component: KeyDetailComponent },
{ path: '/new', component: KeyEditComponent },
{ path: '/', component: CompanyDetailComponent, index: true }
]
}
</code></pre></div>
<p dir="auto">When I am navigating from companies to keys, I have the following error :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error {rejection: TypeError: Cannot read property '_routeConfig' of null
at GuardChecks.runCanDeactivate (http://lβ¦, promise: ZoneAwarePromise, zone: Zone, task: ZoneTask, message: "Uncaught (in promise): TypeError: Cannot read property '_routeConfig' of null"}"><pre class="notranslate"><code class="notranslate">Error {rejection: TypeError: Cannot read property '_routeConfig' of null
at GuardChecks.runCanDeactivate (http://lβ¦, promise: ZoneAwarePromise, zone: Zone, task: ZoneTask, message: "Uncaught (in promise): TypeError: Cannot read property '_routeConfig' of null"}
</code></pre></div>
<p dir="auto">So I went ahead and downloaded the code to see what was going on inside that "GuardChecks".</p>
<p dir="auto">For what I understand, it is used for the CanActivate / CanDeactivate (that I do not use in any of my components). Also, from what I understand, it is working with nullable values (in my case, where I don't have such guards).</p>
<p dir="auto">Problem is, at some point in adds a check with a null value that throws the previous error mentioned above.</p>
<p dir="auto">I managed to solve my issue by replacing the following line inside "router.js" inside the method GuardChecks.prototype.runCanDeactivate = function (component, curr)<br>
<code class="notranslate">var canDeactivate = curr._routeConfig ? curr._routeConfig.canDeactivate : null;</code><br>
by the following :<br>
<code class="notranslate">var canDeactivate = curr ? (curr._routeConfig ? curr._routeConfig.canDeactivate : null) : null;</code></p>
<p dir="auto">(Yes, it's ugly but that's a hotfix so I can continue working)<br>
I think the check can be set before the 'runCanDeactivate', where the checks are added, maybe in the traverseRoutes method inside GuardChecks.</p>
<p dir="auto">Is this a known bug or a real bug and needs a fix or is it intended ?</p>
<p dir="auto">Thank you.</p>
</blockquote>
<p dir="auto">This bug has been present in the 3.0.0 router since release and is still present in alpha-7. It makes the router unusable for production applications. Hopefully this can be resolved and released soon. Thanks!</p> | 0 |
<p dir="auto">I have yet to identify the bug that causes this, but it seems that it has only so far happened as a result of closing a tab that the developer tools is opened.</p> | <p dir="auto">When trying to write an "@" using ALT + Q on a german keyboard nothing happens.</p>
<p dir="auto">Not sure if this is an explicit problem with german keyboards.</p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Variables</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.2.0"><pre class="notranslate"><code class="notranslate">ansible 2.1.2.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">No changes</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">macOS Sierra (10.12)</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Variables defined as integers (without quotes) are converted to strings when using them in the definition of another variable.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
---
- hosts: local
connection: local
gather_facts: no
vars:
some_integer: 5
some_other_integer: "{{ some_integer }}"
tasks:
- debug: var=some_integer
- debug: var=some_other_integer"><pre class="notranslate"><code class="notranslate">
---
- hosts: local
connection: local
gather_facts: no
vars:
some_integer: 5
some_other_integer: "{{ some_integer }}"
tasks:
- debug: var=some_integer
- debug: var=some_other_integer
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="LAY [local] *******************************************************************
TASK [debug] *******************************************************************
ok: [local] => {
"some_integer": 5
}
TASK [debug] *******************************************************************
ok: [local] => {
"some_other_integer": 5
}
PLAY RECAP *********************************************************************
local : ok=2 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">LAY [local] *******************************************************************
TASK [debug] *******************************************************************
ok: [local] => {
"some_integer": 5
}
TASK [debug] *******************************************************************
ok: [local] => {
"some_other_integer": 5
}
PLAY RECAP *********************************************************************
local : ok=2 changed=0 unreachable=0 failed=0
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="LAY [local] *******************************************************************
TASK [debug] *******************************************************************
ok: [local] => {
"some_integer": 5
}
TASK [debug] *******************************************************************
ok: [local] => {
"some_other_integer": "5"
}
PLAY RECAP *********************************************************************
local : ok=2 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">LAY [local] *******************************************************************
TASK [debug] *******************************************************************
ok: [local] => {
"some_integer": 5
}
TASK [debug] *******************************************************************
ok: [local] => {
"some_other_integer": "5"
}
PLAY RECAP *********************************************************************
local : ok=2 changed=0 unreachable=0 failed=0
</code></pre></div> | <p dir="auto">With the addition of a lot of rax modules, there is a lot of duplicate code currently.</p>
<p dir="auto">Migrate some duplicate boilerplate code that usually shows up in main() into <code class="notranslate">lib/ansible/module_utils/rax.py</code></p>
<p dir="auto">All rax modules should be updated to use it.</p>
<p dir="auto">This is just a placeholder so that it's visible that this is being worked on.</p>
<p dir="auto">I'll update this issue as things develop</p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">I was expecting that an environment variable (eg: SYMFONY__VAR) would have precedence instead of the same var defined inside the parameters.yml file.</p>
<p dir="auto">Instead, if the parameters.yml defines a var with the same name of an environment variable, the last one is ignored.</p> | <p dir="auto">I want to use the SYMFONY__* env variables that are detected in <code class="notranslate">Kernel</code> are overwritten by parameters of the same name in <code class="notranslate">parameters.yml</code> for example.</p>
<p dir="auto">However i would suppose using the environment variables is a mechanism to overwrite the parameters.yml in production, so exactly the other way around.</p>
<p dir="auto">Is the current behavior there for a reason? It doesn't make much sense to me.</p> | 1 |
<p dir="auto">This issue is part of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="613956970" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/8765" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/8765/hovercard" href="https://github.com/apache/airflow/issues/8765">#8765</a></p>
<h2 dir="auto">Rule</h2>
<p dir="auto">Create <code class="notranslate">TaskHandlersMovedRule</code> which corresponds to</p>
<blockquote>
<p dir="auto">GCSTaskHandler has been moved, WasbTaskHandler has been moved, StackdriverTaskHandler has been moved , S3TaskHandler has been moved, ElasticsearchTaskHandler has been moved, CloudwatchTaskHandler has been moved</p>
</blockquote>
<p dir="auto">entry in UPDATING.md. This rule should allow users to check if their current configuration needs any adjusting<br>
before migration to Airflow 2.0.</p>
<h2 dir="auto">How to guide</h2>
<p dir="auto">To implement a new rule, create a class that inherits from <code class="notranslate">airflow.upgrade.rules.base_rule.BaseRule</code>.<br>
It will be auto-registered and used by <code class="notranslate">airflow upgrade-check</code> command. The custom rule class has to have <code class="notranslate">title</code>,<br>
<code class="notranslate">description</code> properties and should implement <code class="notranslate">check</code> method which returns a list of error messages in case of<br>
incompatibility.</p>
<p dir="auto">For example:<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/apache/airflow/blob/ea36166961ca35fc51ddc262ec245590c3e236fb/airflow/upgrade/rules/conn_type_is_not_nullable.py#L25-L42">airflow/airflow/upgrade/rules/conn_type_is_not_nullable.py</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 25 to 42
in
<a data-pjax="true" class="commit-tease-sha" href="/apache/airflow/commit/ea36166961ca35fc51ddc262ec245590c3e236fb">ea36166</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="L25" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="25"></td>
<td id="LC25" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">class</span> <span class="pl-v">ConnTypeIsNotNullableRule</span>(<span class="pl-v">BaseRule</span>): </td>
</tr>
<tr class="border-0">
<td id="L26" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="26"></td>
<td id="LC26" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> </td>
</tr>
<tr class="border-0">
<td id="L27" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="27"></td>
<td id="LC27" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">title</span> <span class="pl-c1">=</span> <span class="pl-s">"Connection.conn_type is not nullable"</span> </td>
</tr>
<tr class="border-0">
<td id="L28" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="28"></td>
<td id="LC28" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> </td>
</tr>
<tr class="border-0">
<td id="L29" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="29"></td>
<td id="LC29" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">description</span> <span class="pl-c1">=</span> <span class="pl-s">"""<span class="pl-cce">\</span></span> </td>
</tr>
<tr class="border-0">
<td id="L30" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="30"></td>
<td id="LC30" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"><span class="pl-cce"></span>The `conn_type` column in the `connection` table must contain content. Previously, this rule was <span class="pl-cce">\</span></span> </td>
</tr>
<tr class="border-0">
<td id="L31" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="31"></td>
<td id="LC31" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"><span class="pl-cce"></span>enforced by application logic, but was not enforced by the database schema.</span> </td>
</tr>
<tr class="border-0">
<td id="L32" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="32"></td>
<td id="LC32" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"></span> </td>
</tr>
<tr class="border-0">
<td id="L33" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="33"></td>
<td id="LC33" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">If you made any modifications to the table directly, make sure you don't have null in the conn_type column.<span class="pl-cce">\</span></span> </td>
</tr>
<tr class="border-0">
<td id="L34" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="34"></td>
<td id="LC34" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"><span class="pl-cce"></span>"""</span> </td>
</tr>
<tr class="border-0">
<td id="L35" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="35"></td>
<td id="LC35" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> </td>
</tr>
<tr class="border-0">
<td id="L36" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="36"></td>
<td id="LC36" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-en">@<span class="pl-s1">provide_session</span></span> </td>
</tr>
<tr class="border-0">
<td id="L37" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="37"></td>
<td id="LC37" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">def</span> <span class="pl-en">check</span>(<span class="pl-s1">self</span>, <span class="pl-s1">session</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): </td>
</tr>
<tr class="border-0">
<td id="L38" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="38"></td>
<td id="LC38" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">invalid_connections</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-v">Connection</span>).<span class="pl-en">filter</span>(<span class="pl-v">Connection</span>.<span class="pl-s1">conn_type</span>.<span class="pl-en">is_</span>(<span class="pl-c1">None</span>)) </td>
</tr>
<tr class="border-0">
<td id="L39" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="39"></td>
<td id="LC39" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">return</span> ( </td>
</tr>
<tr class="border-0">
<td id="L40" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="40"></td>
<td id="LC40" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">'Connection<id={}", conn_id={}> have empty conn_type field.'</span>.<span class="pl-en">format</span>(<span class="pl-s1">conn</span>.<span class="pl-s1">id</span>, <span class="pl-s1">conn</span>.<span class="pl-s1">conn_id</span>) </td>
</tr>
<tr class="border-0">
<td id="L41" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="41"></td>
<td id="LC41" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">for</span> <span class="pl-s1">conn</span> <span class="pl-c1">in</span> <span class="pl-s1">invalid_connections</span> </td>
</tr>
<tr class="border-0">
<td id="L42" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="42"></td>
<td id="LC42" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ) </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto"><strong>Remember</strong> to open the PR against <code class="notranslate">v1-10-test</code> branch.</p> | <h3 dir="auto">Apache Airflow Provider(s)</h3>
<p dir="auto">celery</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow==2.1.3<br>
apache-airflow-providers-celery==2.1.0<br>
celery==5.1.2<br>
flower==1.0.0</p>
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.1.3 (latest released)</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Ubuntu 20.04.1 LTS (Focal Fossa)</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Virtualenv installation</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">executor = CeleryExecutor</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">When issuing <strong>apache celery worker</strong> or <strong>apache celery flower</strong> I receive the following error:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "/home/airflow/sandbox/bin/airflow", line 8, in <br>
sys.exit(main())<br>
File "/home/airflow/sandbox/lib/python3.8/site-packages/airflow/<strong>main</strong>.py", line 40, in main<br>
args.func(args)<br>
File "/home/airflow/sandbox/lib/python3.8/site-packages/airflow/cli/cli_parser.py", line 47, in command<br>
func = import_string(import_path)<br>
File "/home/airflow/sandbox/lib/python3.8/site-packages/airflow/utils/module_loading.py", line 32, in import_string<br>
module = import_module(module_path)<br>
File "/usr/lib/python3.8/importlib/<strong>init</strong>.py", line 127, in import_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 1014, in _gcd_import<br>
File "", line 991, in _find_and_load<br>
File "", line 975, in _find_and_load_unlocked<br>
File "", line 671, in _load_unlocked<br>
File "", line 848, in exec_module<br>
File "", line 219, in _call_with_frames_removed<br>
File "/home/airflow/sandbox/lib/python3.8/site-packages/airflow/cli/commands/celery_command.py", line 29, in <br>
from flower.command import FlowerCommand<br>
ImportError: cannot import name 'FlowerCommand' from 'flower.command' (/home/airflow/sandbox/lib/python3.8/site-packages/flower/command.py)</p>
<h3 dir="auto">What you expected to happen</h3>
<p dir="auto">I would expect the Flower UI to be loaded or a celery worker to be started.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Configure apache-airflow with the CeleryExecutor<br>
Issue the following commands: <strong>apache celery worker</strong> or <strong>apache celery flower</strong></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | 0 |
<p dir="auto">This bug is filed to track a suboptimal hot reload experience during a step in our primary codelab (<a href="https://codelabs.developers.google.com/codelabs/flutter/" rel="nofollow">https://codelabs.developers.google.com/codelabs/flutter/</a>). Other similar bugs exist for other steps.</p>
<p dir="auto">This bug tracks step 5, part I (Add an interactive text input field).</p>
<p dir="auto">Before code:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
void main() {
runApp(new FriendlychatApp());
}
class FriendlychatApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: "Friendlychat",
home: new ChatScreen(),
);
}
}
class ChatScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(title: new Text("Friendlychat")),
);
}
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">void</span> <span class="pl-en">main</span>() {
<span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">FriendlychatApp</span>());
}
<span class="pl-k">class</span> <span class="pl-c1">FriendlychatApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</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">MaterialApp</span>(
title<span class="pl-k">:</span> <span class="pl-s">"Friendlychat"</span>,
home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ChatScreen</span>(),
);
}
}
<span class="pl-k">class</span> <span class="pl-c1">ChatScreen</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</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">"Friendlychat"</span>)),
);
}
}
</pre></div>
<p dir="auto">After code:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
void main() {
runApp(new FriendlychatApp());
}
class FriendlychatApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: "Friendlychat",
home: new ChatScreen(),
);
}
}
class ChatScreen extends StatefulWidget {
@override
State createState() => new ChatScreenState();
}
class ChatScreenState extends State<ChatScreen> {
final TextEditingController _textController = new TextEditingController();
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(title: new Text("Friendlychat")),
body: _buildTextComposer(),
);
}
Widget _buildTextComposer() {
return new Container(
margin: const EdgeInsets.symmetric(horizontal: 8.0),
child: new TextField(
controller: _textController,
onSubmitted: _handleSubmitted,
decoration: new InputDecoration.collapsed(hintText: "Send a message"),
),
);
}
void _handleSubmitted(String text) {
_textController.clear();
}
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">void</span> <span class="pl-en">main</span>() {
<span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">FriendlychatApp</span>());
}
<span class="pl-k">class</span> <span class="pl-c1">FriendlychatApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</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">MaterialApp</span>(
title<span class="pl-k">:</span> <span class="pl-s">"Friendlychat"</span>,
home<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ChatScreen</span>(),
);
}
}
<span class="pl-k">class</span> <span class="pl-c1">ChatScreen</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> {
<span class="pl-k">@override</span>
<span class="pl-c1">State</span> <span class="pl-en">createState</span>() <span class="pl-k">=></span> <span class="pl-k">new</span> <span class="pl-c1">ChatScreenState</span>();
}
<span class="pl-k">class</span> <span class="pl-c1">ChatScreenState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span><<span class="pl-c1">ChatScreen</span>> {
<span class="pl-k">final</span> <span class="pl-c1">TextEditingController</span> _textController <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">"Friendlychat"</span>)),
body<span class="pl-k">:</span> <span class="pl-en">_buildTextComposer</span>(),
);
}
<span class="pl-c1">Widget</span> <span class="pl-en">_buildTextComposer</span>() {
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Container</span>(
margin<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">symmetric</span>(horizontal<span class="pl-k">:</span> <span class="pl-c1">8.0</span>),
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
controller<span class="pl-k">:</span> _textController,
onSubmitted<span class="pl-k">:</span> _handleSubmitted,
decoration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">InputDecoration</span>.<span class="pl-en">collapsed</span>(hintText<span class="pl-k">:</span> <span class="pl-s">"Send a message"</span>),
),
);
}
<span class="pl-k">void</span> <span class="pl-en">_handleSubmitted</span>(<span class="pl-c1">String</span> text) {
_textController.<span class="pl-en">clear</span>();
}
}
</pre></div>
<p dir="auto">Result:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Reloaded 1 of 470 libraries in 372ms.
βββ‘ EXCEPTION CAUGHT BY WIDGETS LIBRARY ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
type 'ChatScreen' is not a subtype of type 'StatelessWidget' of 'function result' where
ChatScreen is from
/Users/mit/Library/Developer/CoreSimulator/Devices/F49C5FF1-1784-4AC6-ACFD-C1D4222F3EDB/data/Containers/Data/Application/C52A7C9F-3328-4505-AE73-1A410B47A6C0/tmp/test011WLnNZ/test01/lib/main.dart
StatelessWidget is from package:flutter/src/widgets/framework.dart
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new
When the exception was thrown, this was the stack:
Reloaded 1 of 470 libraries in 689ms.
Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app for the changes to have an effect.
β’ ChatScreenState (lib/main.dart:22)
β’ ChatScreen.createState (lib/main.dart:19)"><pre class="notranslate"><code class="notranslate">Reloaded 1 of 470 libraries in 372ms.
βββ‘ EXCEPTION CAUGHT BY WIDGETS LIBRARY ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
type 'ChatScreen' is not a subtype of type 'StatelessWidget' of 'function result' where
ChatScreen is from
/Users/mit/Library/Developer/CoreSimulator/Devices/F49C5FF1-1784-4AC6-ACFD-C1D4222F3EDB/data/Containers/Data/Application/C52A7C9F-3328-4505-AE73-1A410B47A6C0/tmp/test011WLnNZ/test01/lib/main.dart
StatelessWidget is from package:flutter/src/widgets/framework.dart
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new
When the exception was thrown, this was the stack:
Reloaded 1 of 470 libraries in 689ms.
Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app for the changes to have an effect.
β’ ChatScreenState (lib/main.dart:22)
β’ ChatScreen.createState (lib/main.dart:19)
</code></pre></div>
<p dir="auto">Root causes:</p>
<ul dir="auto">
<li>Changing from Stateless to Stateful widget</li>
</ul> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Make a class that extends <code class="notranslate">StatelessWidget</code>.<br>
flutter run<br>
Change your class to extend <code class="notranslate">StatefulWidget</code><br>
Hot-reload</p>
<p dir="auto">Result: Assertion failure in <code class="notranslate">StatelessElement.widget</code> (or <code class="notranslate">StatefulElement.update</code> if you're going the other direction). Hot-restarting fixes the issue.</p>
<p dir="auto">Suggestion: We should detect this case and show a helpful error message that suggests hot-restarting, or ideally just rebuild the parts of the app that need to be rebuilt.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Hixie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Hixie">@Hixie</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jason-simmons/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jason-simmons">@jason-simmons</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sethladd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sethladd">@sethladd</a><br>
Related bugs: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="226112558" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/9771" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/9771/hovercard" href="https://github.com/flutter/flutter/issues/9771">#9771</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="226069042" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/9761" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/9761/hovercard" href="https://github.com/flutter/flutter/issues/9761">#9761</a></p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="βββ‘ EXCEPTION CAUGHT BY WIDGETS LIBRARY ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The following assertion was thrown building _ModalScopeStatus(active):
type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
The following assertion was thrown building _ModalScopeStatus(active):
MyHomePage is from
type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
/Users/jackson/Library/Developer/CoreSimulator/Devices/5F90A4C3-6F80-446A-88CB-5394635BF8EF/data/Containers/Data/Application/03A8AB58-F47E-454A-8742-818E868A855D/tmp/scope_exampleCOE3SC/scope_example/lib/main.dart
MyHomePage is from
StatelessWidget is from package:flutter/src/widgets/framework.dart
/Users/jackson/Library/Developer/CoreSimulator/Devices/5F90A4C3-6F80-446A-88CB-5394635BF8EF/data/Containers/Data/Application/03A8AB58-F47E-454A-8742-818E868A855D/tmp/scope_exampleCOE3SC/scope_example/lib/main.dart
StatelessWidget is from package:flutter/src/widgets/framework.dart
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
https://github.com/flutter/flutter/issues/new
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new
When the exception was thrown, this was the stack:
#0 StatelessElement.widget (package:flutter/src/widgets/framework.dart:3196:39)
#1 Element.updateChild (package:flutter/src/widgets/framework.dart:2290:17)
#2 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#3 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#2 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#3 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#4 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#5 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#6 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#7 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#8 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#9 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#10 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#9 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#12 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#10 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#13 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#12 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#13 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#15 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#16 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#17 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#15 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#16 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#18 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#19 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#17 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#18 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#21 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#19 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#22 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#23 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#21 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#22 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#24 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#23 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#25 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#24 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#25 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#27 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#28 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#29 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#27 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#28 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#31 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#32 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#29 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#33 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#34 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#35 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#31 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#32 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#36 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#33 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#34 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#37 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#35 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#36 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#39 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#37 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#40 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#41 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#39 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#40 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#43 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#41 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#45 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#46 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#43 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#47 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#49 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#45 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#50 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#46 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#51 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#47 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#53 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#54 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#49 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#55 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#56 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:3818:32)
#50 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#57 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4200:17)
#51 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#58 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#53 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#59 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
#60 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#54 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#55 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#62 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#56 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:3818:32)
#63 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#57 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4200:17)
#64 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#58 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#59 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
#66 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#60 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#67 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#68 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#62 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#70 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#63 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#64 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#72 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#73 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#66 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#74 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#67 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#75 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#76 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#68 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#77 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#70 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#78 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#80 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#72 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#73 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#81 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#74 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#82 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#75 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#76 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#84 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#85 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#77 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#86 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#78 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#88 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#89 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#80 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#90 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#81 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#92 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#93 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#82 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#94 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#96 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#84 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#97 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#98 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#85 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#99 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#86 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#100 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#88 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#102 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#89 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#103 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#90 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#104 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#105 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#106 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#107 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#92 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#108 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#93 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#94 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#110 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#111 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#112 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#96 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#113 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#97 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#114 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#115 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#98 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#116 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#99 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#117 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#100 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#118 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#119 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#120 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#102 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#121 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#122 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#103 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#123 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#124 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#104 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#125 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#126 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#105 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#127 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#128 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#106 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#129 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#130 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#107 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#131 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:1898:33)
#108 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#132 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:360:20)
#133 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:170:5)
#109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#134 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:685:15)
#135 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:633:9)
#110 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#136 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/rendering/binding.dart:247:20)
#111 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#138 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:366)
#112 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#139 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:394)
#113 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#140 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
#114 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#115 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
(elided one frame from package dart:async-patch)
#116 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
#117 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#118 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#119 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#120 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#121 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#122 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#123 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#124 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#125 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#126 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#127 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#128 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#129 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#130 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#131 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:1898:33)
#132 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:360:20)
#133 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:170:5)
#134 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:685:15)
#135 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:633:9)
#136 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/rendering/binding.dart:247:20)
#138 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:366)
#139 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:394)
#140 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
(elided one frame from package dart:async-patch)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Another exception was thrown: type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
Another exception was thrown: type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
Another exception was thrown: type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4112 pos 12: 'renderObject.child == child': is not true.
Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1896 pos 16: '!_dirtyElements[index]._active || _dirtyElements[index]._debugIsInScope(context)': is not true.
Reloaded 1 of 427 libraries in 788ms."><pre class="notranslate"><code class="notranslate">βββ‘ EXCEPTION CAUGHT BY WIDGETS LIBRARY ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The following assertion was thrown building _ModalScopeStatus(active):
type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
The following assertion was thrown building _ModalScopeStatus(active):
MyHomePage is from
type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
/Users/jackson/Library/Developer/CoreSimulator/Devices/5F90A4C3-6F80-446A-88CB-5394635BF8EF/data/Containers/Data/Application/03A8AB58-F47E-454A-8742-818E868A855D/tmp/scope_exampleCOE3SC/scope_example/lib/main.dart
MyHomePage is from
StatelessWidget is from package:flutter/src/widgets/framework.dart
/Users/jackson/Library/Developer/CoreSimulator/Devices/5F90A4C3-6F80-446A-88CB-5394635BF8EF/data/Containers/Data/Application/03A8AB58-F47E-454A-8742-818E868A855D/tmp/scope_exampleCOE3SC/scope_example/lib/main.dart
StatelessWidget is from package:flutter/src/widgets/framework.dart
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
https://github.com/flutter/flutter/issues/new
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new
When the exception was thrown, this was the stack:
#0 StatelessElement.widget (package:flutter/src/widgets/framework.dart:3196:39)
#1 Element.updateChild (package:flutter/src/widgets/framework.dart:2290:17)
#2 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#3 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#2 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#3 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#4 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#5 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#6 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#7 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#8 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#9 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#10 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#9 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#12 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#10 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#13 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#12 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#13 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#15 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#16 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#17 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#15 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#16 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#18 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#19 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#17 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#18 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#21 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#19 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#22 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#23 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#21 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#22 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#24 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#23 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#25 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#24 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#25 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#27 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#28 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#29 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#27 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#28 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#31 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#32 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#29 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#33 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#34 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#35 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#31 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#32 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#36 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#33 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#34 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#37 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#35 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#36 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#39 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#37 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#40 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#41 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#39 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#40 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#43 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#41 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#45 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#46 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#43 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#47 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#49 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#45 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#50 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#46 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#51 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#47 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#53 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#54 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#49 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#55 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#56 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:3818:32)
#50 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#57 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4200:17)
#51 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#58 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#53 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#59 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
#60 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#54 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#55 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#62 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#56 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:3818:32)
#63 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#57 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4200:17)
#64 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#58 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#59 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
#66 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#60 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#67 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#68 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#62 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#70 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#63 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#64 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#72 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#73 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#66 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#74 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#67 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#75 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#76 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#68 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#77 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#70 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#78 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#80 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#72 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#73 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#81 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#74 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#82 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#75 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#76 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#84 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#85 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#77 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#86 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#78 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#88 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#89 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#80 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#90 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#81 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#92 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#93 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#82 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#94 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#96 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#84 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#97 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#98 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#85 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#99 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#86 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#100 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#88 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#102 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#89 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#103 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#90 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#104 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#105 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#106 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#107 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#92 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#108 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#93 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#94 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#110 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#111 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#112 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#96 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#113 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#97 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#114 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#115 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#98 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#116 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#99 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4092:14)
#117 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#100 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#118 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#119 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#120 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#102 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#121 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#122 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#103 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#123 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#124 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#104 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#125 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#126 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#105 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#127 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#128 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#106 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#129 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#130 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#107 StatelessElement.update (package:flutter/src/widgets/framework.dart:3206:5)
#131 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:1898:33)
#108 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#132 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:360:20)
#133 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:170:5)
#109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#134 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:685:15)
#135 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:633:9)
#110 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#136 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/rendering/binding.dart:247:20)
#111 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#138 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:366)
#112 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#139 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:394)
#113 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#140 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
#114 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#115 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
(elided one frame from package dart:async-patch)
#116 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
#117 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#118 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#119 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#120 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#121 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#122 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#123 ProxyElement.update (package:flutter/src/widgets/framework.dart:3392:5)
#124 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#125 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#126 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#127 StatefulElement.update (package:flutter/src/widgets/framework.dart:3281:5)
#128 Element.updateChild (package:flutter/src/widgets/framework.dart:2298:15)
#129 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3156:16)
#130 Element.rebuild (package:flutter/src/widgets/framework.dart:3045:5)
#131 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:1898:33)
#132 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:360:20)
#133 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:170:5)
#134 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:685:15)
#135 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:633:9)
#136 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/rendering/binding.dart:247:20)
#138 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:366)
#139 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:394)
#140 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
(elided one frame from package dart:async-patch)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Another exception was thrown: type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
Another exception was thrown: type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
Another exception was thrown: type 'MyHomePage' is not a subtype of type 'StatelessWidget' of 'function result' where
Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4112 pos 12: 'renderObject.child == child': is not true.
Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1896 pos 16: '!_dirtyElements[index]._active || _dirtyElements[index]._debugIsInScope(context)': is not true.
Reloaded 1 of 427 libraries in 788ms.
</code></pre></div>
<p dir="auto">Run <code class="notranslate">flutter analyze</code> and attach any output of that command also.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[β] Flutter (on Mac OS X 10.12.4 16E195, channel unknown)
β’ Flutter at /Users/jackson/git/flutter
β’ Framework revision 1d726bbeb5 (2 days ago), 2017-05-02 12:53:03 -0700
β’ Engine revision da8ebf40bd
β’ Tools Dart version 1.23.0-dev.11.11
[β] Android toolchain - develop for Android devices (Android SDK 25.0.2)
β’ Android SDK at /Users/jackson/Library/Android/sdk/
β’ Platform android-25, build-tools 25.0.2
β’ ANDROID_HOME = /Users/jackson/Library/Android/sdk/
β’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
β’ Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] iOS toolchain - develop for iOS devices (Xcode 8.3.1)
β’ Xcode at /Applications/Xcode.app/Contents/Developer
β’ Xcode 8.3.1, Build version 8E1000a
β’ ios-deploy 1.9.1
β libimobiledevice is incompatible with the installed Xcode version. To update, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
β’ CocoaPods version 1.0.1
[β] Android Studio (version 2.3)
β’ Android Studio at /Applications/Android Studio.app/Contents
β’ Gradle version 3.2
β’ Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[β] IntelliJ IDEA Community Edition (version 2016.3.4)
β’ Dart plugin version 163.13137
β’ Flutter plugin version 0.1.11.2
[β] Connected devices
β’ β’ 14710ae2e8497590643751c5532d907ed1ff2eed β’ ios β’ iOS ()
β’ iPhone 7 Plus β’ 5F90A4C3-6F80-446A-88CB-5394635BF8EF β’ ios β’ iOS 10.3 (simulator)"><pre class="notranslate"><code class="notranslate">[β] Flutter (on Mac OS X 10.12.4 16E195, channel unknown)
β’ Flutter at /Users/jackson/git/flutter
β’ Framework revision 1d726bbeb5 (2 days ago), 2017-05-02 12:53:03 -0700
β’ Engine revision da8ebf40bd
β’ Tools Dart version 1.23.0-dev.11.11
[β] Android toolchain - develop for Android devices (Android SDK 25.0.2)
β’ Android SDK at /Users/jackson/Library/Android/sdk/
β’ Platform android-25, build-tools 25.0.2
β’ ANDROID_HOME = /Users/jackson/Library/Android/sdk/
β’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
β’ Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] iOS toolchain - develop for iOS devices (Xcode 8.3.1)
β’ Xcode at /Applications/Xcode.app/Contents/Developer
β’ Xcode 8.3.1, Build version 8E1000a
β’ ios-deploy 1.9.1
β libimobiledevice is incompatible with the installed Xcode version. To update, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew install --HEAD libimobiledevice
β’ CocoaPods version 1.0.1
[β] Android Studio (version 2.3)
β’ Android Studio at /Applications/Android Studio.app/Contents
β’ Gradle version 3.2
β’ Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[β] IntelliJ IDEA Community Edition (version 2016.3.4)
β’ Dart plugin version 163.13137
β’ Flutter plugin version 0.1.11.2
[β] Connected devices
β’ β’ 14710ae2e8497590643751c5532d907ed1ff2eed β’ ios β’ iOS ()
β’ iPhone 7 Plus β’ 5F90A4C3-6F80-446A-88CB-5394635BF8EF β’ ios β’ iOS 10.3 (simulator)
</code></pre></div> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number:Version 10.0.19041.264
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): RUN"><pre class="notranslate"><code class="notranslate">Windows build number:Version 10.0.19041.264
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): RUN
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">The search result of Chinese character quite strange, some of them can get searching result, but some of cannot.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto">I attched same search result for PowerToys Run and Everything, Everything can get correct result, but RUN can not. Can you help investigate? Thanks</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2107576/84454842-41f30300-ac8e-11ea-8180-b0e17c76cc0a.png"><img src="https://user-images.githubusercontent.com/2107576/84454842-41f30300-ac8e-11ea-8180-b0e17c76cc0a.png" alt="image" style="max-width: 100%;"></a></p> | <h1 dir="auto">Bluetooth device remover</h1>
<p dir="auto">Windows has serious problems removing bluetooth devices due to bugs in the bluetooth UI. See the hundreads of replies in the <a href="https://answers.microsoft.com/en-us/windows/forum/windows_10-networking-winpc/unable-to-remove-bluetooth-device-on-windows-10/ea6da83d-583e-4b80-8714-367510879f07" rel="nofollow">Microsoft community</a> thread (plus many other duplicate threads and other forums around the web).</p>
<p dir="auto">Turns out the fix is <strong>VERY simple,</strong> just call the <em>BluetoothRemoveDevice</em> function in the <strong>built-in</strong> <em>BluetoothAPIs.dll</em>.</p>
<p dir="auto">I made a little c# program that did this but it was complicated to use because I was too lazy. Then another person in the thread made a powershell script that is very simple and quick to use so I put that on GitHub under <a href="https://github.com/lflfm/powerBTremover">lflfm/powerBTremover</a>.<br>
That is unofficial in every way and the words "powershell" probably scares off some non-tech people from attempting to use it so maybe you guys could make it a Power Toy...</p> | 0 |
<p dir="auto">As discussed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53989585" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/4987" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/4987/hovercard" href="https://github.com/atom/atom/issues/4987">#4987</a>, the Atom installer installs a "Open with Atom" entry in the Windows Explorer context menu for every file and folder. It would be preferable, as <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/paulcbetts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/paulcbetts">@paulcbetts</a> suggests, to have a prefence where it can be turned off or on entirely, or just for specific files and folders. For example, not many people will open images from Explorer with Atom.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lee-dohm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lee-dohm">@lee-dohm</a> pointed out that the specific code which adds and removes the item is in <a href="https://github.com/atom/atom/blob/master/src/browser/squirrel-update.coffee">https://github.com/atom/atom/blob/master/src/browser/squirrel-update.coffee</a>.</p> | <p dir="auto">Is there an option to disable the "Open with Atom" shell entry? I can't find one, if there isn't, see this as a feature request :)</p> | 1 |
<p dir="auto">Today I was doing a composer update to go from Symfony 2.3.13 to Symfony 2.3.15 and since then I have been unable to run my application in my Vagrant environment.</p>
<p dir="auto">The error I received is: <code class="notranslate">MappingException: The mapping file /srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml does not exist</code></p>
<p dir="auto">What apparently happened is that something, which I could not find, in Symfony had changed to generate relative paths in the cache instead of absolute paths.</p>
<p dir="auto">However, to improve performance in vagrant we symlink the app/cache folder to /src/shm/cache in our virtual machine to reduce IO over vbox nfs. Having relative folders means now that it will try to find the vendor folder in my /srv/ folder.</p>
<p dir="auto">Is this an unintended side-effect of another change? Is the above a supported use-case or should I find another way to improve performance in vagrant?</p>
<p dir="auto">Here is the complete stacktrace (the name of the project has been replaced with dashes):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php line 31
at FileLoader->__construct('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php line 28
at XmlFilesLoader->getFileLoaderInstance('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php line 47
at FilesLoader->getFileLoaders(array('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml', '/srv/shm/cache/dev/../../../vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/validation.xml')) in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php line 33
at FilesLoader->__construct(array('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml', '/srv/shm/cache/dev/../../../vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/validation.xml')) in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 4660
at appDevDebugProjectContainer->getValidator_Mapping_ClassMetadataFactoryService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('validator.mapping.class_metadata_factory') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 4188
at appDevDebugProjectContainer->getValidatorService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('validator') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2497
at appDevDebugProjectContainer->getLuneticsLocale_Validator_MetaService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.validator.meta') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2400
at appDevDebugProjectContainer->getLuneticsLocale_QueryGuesserService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.query_guesser') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2312
at appDevDebugProjectContainer->getLuneticsLocale_GuesserManagerService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.guesser_manager') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2356
at appDevDebugProjectContainer->getLuneticsLocale_LocaleListenerService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.locale_listener') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 188
at ContainerAwareEventDispatcher->lazyLoad('kernel.request') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 165
at ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2878
at HttpKernel->handleRaw(object(Request), '1') in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2863
at HttpKernel->handle(object(Request), '1', true) in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2992
at ContainerAwareHttpKernel->handle(object(Request), '1', true) in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2247
at Kernel->handle(object(Request)) in /srv/http/---------/hosts/local.business.---------.nl/web/app_dev.php line 30"><pre class="notranslate"><code class="notranslate">in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php line 31
at FileLoader->__construct('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/XmlFilesLoader.php line 28
at XmlFilesLoader->getFileLoaderInstance('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php line 47
at FilesLoader->getFileLoaders(array('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml', '/srv/shm/cache/dev/../../../vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/validation.xml')) in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php line 33
at FilesLoader->__construct(array('/srv/shm/cache/dev/../../../vendor/symfony/symfony/src/Symfony/Component/Form/Resources/config/validation.xml', '/srv/shm/cache/dev/../../../vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/validation.xml')) in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 4660
at appDevDebugProjectContainer->getValidator_Mapping_ClassMetadataFactoryService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('validator.mapping.class_metadata_factory') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 4188
at appDevDebugProjectContainer->getValidatorService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('validator') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2497
at appDevDebugProjectContainer->getLuneticsLocale_Validator_MetaService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.validator.meta') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2400
at appDevDebugProjectContainer->getLuneticsLocale_QueryGuesserService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.query_guesser') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2312
at appDevDebugProjectContainer->getLuneticsLocale_GuesserManagerService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.guesser_manager') in /srv/shm/cache/dev/appDevDebugProjectContainer.php line 2356
at appDevDebugProjectContainer->getLuneticsLocale_LocaleListenerService() in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 1974
at Container->get('lunetics_locale.locale_listener') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 188
at ContainerAwareEventDispatcher->lazyLoad('kernel.request') in /srv/http/---------/hosts/local.business.---------.nl/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 165
at ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2878
at HttpKernel->handleRaw(object(Request), '1') in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2863
at HttpKernel->handle(object(Request), '1', true) in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2992
at ContainerAwareHttpKernel->handle(object(Request), '1', true) in /srv/http/---------/hosts/local.business.---------.nl/app/bootstrap.php.cache line 2247
at Kernel->handle(object(Request)) in /srv/http/---------/hosts/local.business.---------.nl/web/app_dev.php line 30
</code></pre></div> | <p dir="auto">In 2.3.14, 2.3.15, and 2.4.5, when I run <code class="notranslate">php app/console generate:bundle</code> I get the following prompt:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Target directory [/home/intrepion/path/app/cache/dev/../src]:"><pre class="notranslate"><code class="notranslate">Target directory [/home/intrepion/path/app/cache/dev/../src]:
</code></pre></div>
<p dir="auto">But when I revert back to 2.3.13 or 2.4.4, I get exactly what I expect:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Target directory [/home/intrepion/path/src]: "><pre class="notranslate"><code class="notranslate">Target directory [/home/intrepion/path/src]:
</code></pre></div> | 1 |
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.0.2-2bcc6c6</p>
<p dir="auto">Call stack: at n.value (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:16552)<br>
at m (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:292537)<br>
at ml (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:292772)<br>
at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br>
at bi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:62939)<br>
at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:99535)<br>
at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br>
at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363<br>
at n.unstable_runWithPriority (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:4368)</p>
<p dir="auto">Component stack: in ml<br>
in div<br>
in div<br>
in Or<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in Ua<br>
in le<br>
in ve<br>
in ko<br>
in Fl</p> | <p dir="auto"><strong>Repro:</strong> <a href="https://codesandbox.io/s/xenodochial-lamarr-q71wt" rel="nofollow">https://codesandbox.io/s/xenodochial-lamarr-q71wt</a></p>
<p dir="auto"><strong>Steps:</strong></p>
<ol dir="auto">
<li>Profile</li>
<li>Select a component from the flame graph (important)</li>
<li>Click settings</li>
<li>Toggle "hide commits below ms" (In my case, it's 100ms)</li>
</ol>
<p dir="auto"><strong>Demo:</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4465644/63220458-49529880-c1b2-11e9-9bd4-aeb059af8b9b.gif"><img src="https://user-images.githubusercontent.com/4465644/63220458-49529880-c1b2-11e9-9bd4-aeb059af8b9b.gif" alt="repro-2" data-animated-image="" style="max-width: 100%;"></a></p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.0.2-2bcc6c6</p>
<p dir="auto">Call stack: at n.value (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:16552)<br>
at pl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:293513)<br>
at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br>
at bi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:62939)<br>
at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:99535)<br>
at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br>
at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363<br>
at n.unstable_runWithPriority (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:4368)<br>
at kt (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25092)</p>
<p dir="auto">Component stack: in pl<br>
in div<br>
in ml<br>
in div<br>
in div<br>
in Or<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in Ua<br>
in le<br>
in ve<br>
in ko<br>
in Fl</p> | 1 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>yes</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
</tbody>
</table>
<h2 dir="auto">Steps to reproduce:</h2>
<p dir="auto">Create a project:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="composer create-project symfony/skeleton symfony-skeleton"><pre class="notranslate"><code class="notranslate">composer create-project symfony/skeleton symfony-skeleton
</code></pre></div>
<p dir="auto">Set the app environment to prod:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sed -i -e 's/APP_ENV=dev/APP_ENV=prod/g' .env"><pre class="notranslate"><code class="notranslate">sed -i -e 's/APP_ENV=dev/APP_ENV=prod/g' .env
</code></pre></div>
<p dir="auto">This can be shown also with setting the APP_ENV environment variable.</p>
<p dir="auto">Add a <a href="https://symfony.com/doc/current/page_creation.html" rel="nofollow">simple controller and a route</a>.</p>
<p dir="auto">Add an <code class="notranslate">.htaccess</code> file in /public as follows (we use Apache):</p>
<div class="highlight highlight-source-apache-config notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>"><pre class="notranslate"><<span class="pl-ent">IfModule</span> mod_rewrite.c>
<span class="pl-c1">Options</span> -MultiViews
<span class="pl-c1">RewriteEngine</span> On
<span class="pl-c1">RewriteCond</span> <span class="pl-c1">%{REQUEST_FILENAME}</span> <span class="pl-s">!-f</span>
<span class="pl-c1">RewriteRule</span> <span class="pl-sr">^(.*)$</span> <span class="pl-s">index.php</span> <span class="pl-sr">[QSA,L]</span>
</<span class="pl-ent">IfModule</span>></pre></div>
<p dir="auto">Try to get "/foo". In the prod environment, ResourceNotFoundException is not caught or converted to a 404:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-01-18T15:53:46-05:00 [critical] Uncaught Exception: No route found for "GET
/foo" [Thu Jan 18 15:53:46.592760 2018] [php7:notice] [pid 66514] [client
::1:58156] PHP Fatal error: Uncaught
Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException in
var/cache/prod/srcProdProjectContainerUrlMatcher.php:38\nStack trace:\n#0
vendor/symfony/routing/Matcher/UrlMatcher.php(95):
srcProdProjectContainerUrlMatcher->match('/foo')\n#1
vendor/symfony/routing/Router.php(262): Symfony\\Component\\Routing\\Matcher\\Ur
lMatcher->matchRequest(Object(Symfony\\Component\\HttpFoundation\\Request))\n#2
vendor/symfony/http-kernel/EventListener/RouterListener.php(109): Symfony\\Compo
nent\\Routing\\Router->matchRequest(Object(Symfony\\Component\\HttpFoundation\\R
equest))\n#3 vendor/symfony/event-dispatcher/EventDispatcher.php(212): Symfony\\
Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest(Object(Sym
fony\\Component\\HttpKernel\\Event\\GetResponseEvent), 'kernel.request',
Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#4 /Users/cjm/Si
in vendor/symfony/http-kernel/EventListener/RouterListener.php on line 139"><pre class="notranslate"><code class="notranslate">2018-01-18T15:53:46-05:00 [critical] Uncaught Exception: No route found for "GET
/foo" [Thu Jan 18 15:53:46.592760 2018] [php7:notice] [pid 66514] [client
::1:58156] PHP Fatal error: Uncaught
Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException in
var/cache/prod/srcProdProjectContainerUrlMatcher.php:38\nStack trace:\n#0
vendor/symfony/routing/Matcher/UrlMatcher.php(95):
srcProdProjectContainerUrlMatcher->match('/foo')\n#1
vendor/symfony/routing/Router.php(262): Symfony\\Component\\Routing\\Matcher\\Ur
lMatcher->matchRequest(Object(Symfony\\Component\\HttpFoundation\\Request))\n#2
vendor/symfony/http-kernel/EventListener/RouterListener.php(109): Symfony\\Compo
nent\\Routing\\Router->matchRequest(Object(Symfony\\Component\\HttpFoundation\\R
equest))\n#3 vendor/symfony/event-dispatcher/EventDispatcher.php(212): Symfony\\
Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest(Object(Sym
fony\\Component\\HttpKernel\\Event\\GetResponseEvent), 'kernel.request',
Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#4 /Users/cjm/Si
in vendor/symfony/http-kernel/EventListener/RouterListener.php on line 139
</code></pre></div> | <p dir="auto">Hi,</p>
<p dir="auto">i've this issue when upgrading from sf2.3.22 to 2.3.23. I've created a processor for monolog with session based on this <a href="http://symfony.com/en/doc/current/cookbook/logging/monolog.html" rel="nofollow">http://symfony.com/en/doc/current/cookbook/logging/monolog.html</a>.</p>
<p dir="auto">But this failed and i've this error:<br>
<strong>_Failed to start the session: already started by PHP ($_SESSION is set).</strong>_</p>
<p dir="auto">I debugged the code and i found that the SaveSessionListener is ending the session on kernel.response event but processor is still called after that to get data from session.</p> | 0 |
<p dir="auto">Would be a good addition to the current Select. Found this old Issues (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187741783" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/5521" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/5521/hovercard" href="https://github.com/mui/material-ui/issues/5521">#5521</a>) for this feature but nothing happend yet.</p>
<p dir="auto">Maybe something like this</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<Select>
+ <MenuGroup label="optgroup label">
<MenuItem value={10}>Ten</MenuItem>
<MenuItem value={20}>Twenty</MenuItem>
<MenuItem value={30}>Thirty</MenuItem>
+ </MenuGroup>
</Select>"><pre class="notranslate"><Select>
<span class="pl-mi1"><span class="pl-mi1">+</span> <MenuGroup label="optgroup label"></span>
<MenuItem value={10}>Ten</MenuItem>
<MenuItem value={20}>Twenty</MenuItem>
<MenuItem value={30}>Thirty</MenuItem>
<span class="pl-mi1"><span class="pl-mi1">+</span> </MenuGroup></span>
</Select></pre></div>
<p dir="auto"><a href="https://www.w3schools.com/tags/tag_optgroup.asp" rel="nofollow">https://www.w3schools.com/tags/tag_optgroup.asp</a></p> | <p dir="auto">Please add feature like this<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/590985/12009278/9c3fc174-ac82-11e5-9a31-2d916aeace55.png"><img src="https://cloud.githubusercontent.com/assets/590985/12009278/9c3fc174-ac82-11e5-9a31-2d916aeace55.png" alt="image" 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>2.8.18</td>
</tr>
</tbody>
</table>
<p dir="auto">I've tripped on an edge case where although <code class="notranslate">@UniqueEntity</code> fails the form is declared valid.</p>
<p dir="auto">I have an entity with a unique constraint on two fields. I build a form that has one of those fields pre-selected and disabled. The user is supposed to see the value of the field, but not change it. The user is supposed to fill in the second field.</p>
<p dir="auto">When this form is submitted the disabled field gets an 'error' message, but Form::getErrors skips the first field and declares it valid only because it's disabled. Source: <a href="https://github.com/symfony/symfony/blob/v2.8.18/src/Symfony/Component/Form/Form.php#L765">Symfony/Component/Form/Form.php v2.8.18 line 765</a></p>
<p dir="auto">This code says the form is valid, which results in a SQL constraint validation when attempting to save the entity.</p>
<p dir="auto">Is there anything that I can do to get over this?</p>
<p dir="auto">Why I'm doing this: I'm using EasyAdminBundle. It uses select2 for dropdowns. select2 won't implement 'read_only' in the latest version. I'm working on changing this to a hidden field plus a plain text row, but meanwhile I have this issue.</p>
<p dir="auto">Here are some snippers of code that should help with replication:</p>
<h4 dir="auto">The entity</h4>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/**
* MyEntity
*
* @ORM\Table(name="my_entity", uniqueConstraints={
* @ORM\UniqueConstraint(name="two_field_constraint", columns={"field1", "field2"})
* })
* @ORM\Entity()
* @UniqueEntity(fields={"field1", "field2"})
*/
class MyEntity
// ..."><pre class="notranslate"><span class="pl-c">/**</span>
<span class="pl-c"> * MyEntity</span>
<span class="pl-c"> *</span>
<span class="pl-c"> * @ORM\Table(name="my_entity", uniqueConstraints={</span>
<span class="pl-c"> * @ORM\UniqueConstraint(name="two_field_constraint", columns={"field1", "field2"})</span>
<span class="pl-c"> * })</span>
<span class="pl-c"> * @ORM\Entity()</span>
<span class="pl-c"> * @UniqueEntity(fields={"field1", "field2"})</span>
<span class="pl-c"> */</span>
<span class="pl-k">class</span> <span class="pl-v">MyEntity</span>
<span class="pl-c">// ...</span></pre></div>
<h4 dir="auto">The form type</h4>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyEntityType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('field1', TextType::class, ['disabled' => true])
->add('field2', TextType::class)
;
}
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults(array(
'data_class' => 'AppBundle\Entity\MyEntity'
));
}
//...
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MyEntityType</span> <span class="pl-k">extends</span> <span class="pl-v">AbstractType</span>
{
<span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">buildForm</span>(<span class="pl-smi"><span class="pl-smi">FormBuilderInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>builder</span>, <span class="pl-smi">array</span> <span class="pl-s1"><span class="pl-c1">$</span>options</span>)
{
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>
-><span class="pl-en">add</span>(<span class="pl-s">'field1'</span>, <span class="pl-v">TextType</span>::class, [<span class="pl-s">'disabled'</span> => <span class="pl-c1">true</span>])
-><span class="pl-en">add</span>(<span class="pl-s">'field2'</span>, <span class="pl-v">TextType</span>::class)
;
}
<span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">configureOptions</span>(<span class="pl-smi"><span class="pl-smi">OptionsResolver</span></span> <span class="pl-s1"><span class="pl-c1">$</span>resolver</span>)
{
<span class="pl-s1"><span class="pl-c1">$</span>resolver</span>-><span class="pl-en">setDefaults</span>(<span class="pl-en">array</span>(
<span class="pl-s">'data_class'</span> => <span class="pl-s">'AppBundle\Entity\MyEntity'</span>
));
}
<span class="pl-c">//...</span>
}</pre></div>
<h4 dir="auto">the initial data</h4>
<div class="highlight highlight-source-sql notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="INSERT INTO my_table ('value1', 'value2');"><pre class="notranslate"><span class="pl-k">INSERT INTO</span> my_table (<span class="pl-s"><span class="pl-pds">'</span>value1<span class="pl-pds">'</span></span>, <span class="pl-s"><span class="pl-pds">'</span>value2<span class="pl-pds">'</span></span>);</pre></div>
<h4 dir="auto">the test code trying to insert duplicate data</h4>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" $builder = $this->container->get('form.factory')->createBuilder(MyEntityType::class, null, ['csrf_protection' => false]);
$form = $builder->getForm();
$data = [
'field1' => 'value1',
'field2' => 'value2',
];
$form->submit($data);
dump($form->isSubmitted(), $form->isValid());"><pre class="notranslate"> <span class="pl-s1"><span class="pl-c1">$</span>builder</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span>-><span class="pl-en">get</span>(<span class="pl-s">'form.factory'</span>)-><span class="pl-en">createBuilder</span>(<span class="pl-v">MyEntityType</span>::class, <span class="pl-c1">null</span>, [<span class="pl-s">'csrf_protection'</span> => <span class="pl-c1">false</span>]);
<span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">getForm</span>();
<span class="pl-s1"><span class="pl-c1">$</span>data</span> = [
<span class="pl-s">'field1'</span> => <span class="pl-s">'value1'</span>,
<span class="pl-s">'field2'</span> => <span class="pl-s">'value2'</span>,
];
<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">submit</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>);
dump(<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">isSubmitted</span>(), <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">isValid</span>());</pre></div> | <p dir="auto"><a href="https://github.com/symfony/form/blob/master/Form.php#L724">Submitted and disabled form is always valid.</a> So in the situation:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" if ($form->isSubmitted() && $form->isValid()) {
$data = $from->getData();
// handle data ...
}"><pre class="notranslate"><code class="notranslate"> if ($form->isSubmitted() && $form->isValid()) {
$data = $from->getData();
// handle data ...
}
</code></pre></div>
<p dir="auto">Is it expected that code depending on <code class="notranslate">$form->getData()</code> is able to handle <a href="https://github.com/symfony/form/blob/master/Form.php#L506">complete lack of data</a> even if the from is valid? Or should I always check that form is not disabled? So instead recommended <code class="notranslate">if ($form->isSubmitted() && $form->isValid()) {</code> default to <code class="notranslate">if ($form->isSubmitted() && $form->isValid() && !$from->isDisabled()) {</code>?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/edit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/edit">@edit</a> I'm asking the question because I saw deprecation of calling <code class="notranslate">$form->isValid()</code> when the form is not submitted, but the issue mentioned above bothers me much more. I'm curious if I'm missing something or the part <code class="notranslate">if ($this->isDisabled()) { return true; }</code> should be removed from there (or at least better documented).</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=ilang98" rel="nofollow">Ilanchezhian</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2617?redirect=false" rel="nofollow">SPR-2617</a></strong> and commented</p>
<p dir="auto">During update by using JdbcTemplate.update(String sql, Object[] args), I encounter exception due to deadlock. This is thrown as an SQLException. Exception log is</p>
<p dir="auto">exception: PreparedStatementCallback; uncategorized SQLException for SQL [UPDATE EMP_INFO SET ORG_NAME=?, EMP_MAME=?, WHERE EMP_ID=?]; SQL state [40001]; error code [1205]; Transaction (Process ID 58) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.; nested exception is java.sql.SQLException: Transaction (Process ID 58) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.</p>
<p dir="auto">In the above scenario, I encounter couple of issues:</p>
<ul dir="auto">
<li>From application program code there is no way I can capture this exception (SQLException), and provide the information message. To do this I am forced to capture root exception (Exception) and provide necessary information message.</li>
<li>Currently JdbcTemplate.update() method throws only 'DataAccessException' but when we look at source code we can see it internally executes PreparedStatementCallback.doInPreparedStatement() method, this method throws SQLException. But as root JdbcTemplate.update() throws only 'DataAccessException' so in this case I am not able to catch any SQLException. Please let me know is this a practice that I should not catch any SQLException in my application code?</li>
</ul>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.6</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="398063355" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6388" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6388/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6388">#6388</a> SQL Server Error Code 1205 = DeadlockLoser (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sethladd" rel="nofollow">Seth Ladd</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1190?redirect=false" rel="nofollow">SPR-1190</a></strong> and commented</p>
<p dir="auto">Browsing the ThemeResolver implementations, I noticed an oddity. The CookieThemeResolver does not extend from AbstractThemeResolver. This creates an odd schism in the hierarchy.</p>
<p dir="auto">In my opinion, the CookieThemeResolver IS-A AbstractThemeResolver much more than a CookieGenerator. It can certainly use the CookieGenerator via HAS-A and delegatation. It would appear that no one uses the CookieThemeResolver directly as a CookieGenerator, so the change shouldn't break any client code.</p>
<p dir="auto">It also creates some duplicate code and logic, as both AbstractThemeResolver and CookieThemeResolver implement a ORIGINAL_DEFAULT_THEME_NAME and setters. They are the same in both classes, and their intentions are the same. For this reason alone I believe CookieThemeResolver should extend AbstractThemeResolver directly.</p>
<p dir="auto">Let me know if you'd like a patch.</p>
<p dir="auto">Thanks!<br>
Seth</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.2.3</p> | 0 |
<p dir="auto">Moving over from here: <a href="https://typescript.codeplex.com/workitem/2475" rel="nofollow">https://typescript.codeplex.com/workitem/2475</a></p> | <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type A = number
type B = string
type C = number|string
const cc: C[] = [1, 2, "a", "b"]
function isNumber(a): a is A {
return typeof a === 'number'
}
// OK
const dd = []
for (let n = 0; n < cc.length; n++) {
const d = cc[n]
if (typeof d === 'number') {
dd.push(d.toFixed())
}
}
// OK
const ee = []
for (let n = 0; n < cc.length; n++) {
const d = cc[n]
if (isNumber(d)) {
ee.push(d.toFixed())
}
}
// NOT OK - property 'toFixed' does not exist on type 'number' | 'string'
// (guard fails when using "cc[n]" instead of first assigning to "d")
const ff = []
for (let n = 0; n < cc.length; n++) {
if (typeof cc[n] === 'number') {
ff.push(cc[n].toFixed())
}
}
// NOT OK - property 'toFixed' does not exist on type 'number' | 'string'
// (guard fails when guarding the inverse)
const gg = []
for (let n = 0; n < cc.length; n++) {
const d = cc[n]
if (typeof d !== 'number') { continue }
gg.push(d.toFixed())
}
// NOT OK - property 'toFixed' does not exist on type 'number' | 'string'
// (guard fails when used in a filter)
// @see https://github.com/Microsoft/TypeScript/issues/7657
const hh = cc
.filter(isNumber)
.map(c => c.toFixed())"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-smi">A</span> <span class="pl-c1">=</span> <span class="pl-smi">number</span>
<span class="pl-k">type</span> <span class="pl-smi">B</span> <span class="pl-c1">=</span> <span class="pl-smi">string</span>
<span class="pl-k">type</span> <span class="pl-smi">C</span> <span class="pl-c1">=</span> <span class="pl-smi">number</span><span class="pl-c1">|</span><span class="pl-smi">string</span>
<span class="pl-k">const</span> <span class="pl-s1">cc</span>: <span class="pl-smi">C</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-s">"a"</span><span class="pl-kos">,</span> <span class="pl-s">"b"</span><span class="pl-kos">]</span>
<span class="pl-k">function</span> <span class="pl-en">isNumber</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span>: <span class="pl-s1">a</span> is <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">a</span> <span class="pl-c1">===</span> <span class="pl-s">'number'</span>
<span class="pl-kos">}</span>
<span class="pl-c">// OK</span>
<span class="pl-k">const</span> <span class="pl-s1">dd</span> <span class="pl-c1">=</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">n</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">n</span> <span class="pl-c1"><</span> <span class="pl-s1">cc</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">n</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-s1">cc</span><span class="pl-kos">[</span><span class="pl-s1">n</span><span class="pl-kos">]</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">d</span> <span class="pl-c1">===</span> <span class="pl-s">'number'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">dd</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-en">toFixed</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">// OK</span>
<span class="pl-k">const</span> <span class="pl-s1">ee</span> <span class="pl-c1">=</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">n</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">n</span> <span class="pl-c1"><</span> <span class="pl-s1">cc</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">n</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-s1">cc</span><span class="pl-kos">[</span><span class="pl-s1">n</span><span class="pl-kos">]</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isNumber</span><span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">ee</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-en">toFixed</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">// NOT OK - property 'toFixed' does not exist on type 'number' | 'string'</span>
<span class="pl-c">// (guard fails when using "cc[n]" instead of first assigning to "d")</span>
<span class="pl-k">const</span> <span class="pl-s1">ff</span> <span class="pl-c1">=</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">n</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">n</span> <span class="pl-c1"><</span> <span class="pl-s1">cc</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">n</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">cc</span><span class="pl-kos">[</span><span class="pl-s1">n</span><span class="pl-kos">]</span> <span class="pl-c1">===</span> <span class="pl-s">'number'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">ff</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">cc</span><span class="pl-kos">[</span><span class="pl-s1">n</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">toFixed</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">// NOT OK - property 'toFixed' does not exist on type 'number' | 'string'</span>
<span class="pl-c">// (guard fails when guarding the inverse)</span>
<span class="pl-k">const</span> <span class="pl-s1">gg</span> <span class="pl-c1">=</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">n</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">n</span> <span class="pl-c1"><</span> <span class="pl-s1">cc</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">n</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-s1">cc</span><span class="pl-kos">[</span><span class="pl-s1">n</span><span class="pl-kos">]</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">d</span> <span class="pl-c1">!==</span> <span class="pl-s">'number'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">continue</span> <span class="pl-kos">}</span>
<span class="pl-s1">gg</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-en">toFixed</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">// NOT OK - property 'toFixed' does not exist on type 'number' | 'string'</span>
<span class="pl-c">// (guard fails when used in a filter)</span>
<span class="pl-c">// <span class="pl-k">@see</span> https://github.com/Microsoft/TypeScript/issues/7657</span>
<span class="pl-k">const</span> <span class="pl-s1">hh</span> <span class="pl-c1">=</span> <span class="pl-s1">cc</span>
<span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">isNumber</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-c1">=></span> <span class="pl-s1">c</span><span class="pl-kos">.</span><span class="pl-en">toFixed</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div> | 0 |
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: OS X 10.11.5</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Open a file and change the language and/or indentation type.</li>
<li>Close the window.</li>
<li>Reopen the window.</li>
</ol>
<p dir="auto">The file will be loaded again but it will have the default language and indentation type.</p> | <p dir="auto">i have yaml in .controller, .asset etc files</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="%YAML 1.1
%TAG !u! tag:unity3d.com,2011:"><pre class="notranslate"><code class="notranslate">%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
</code></pre></div>
<p dir="auto">when i open the file it does not detect it is yaml and sets it to plain text mode?<br>
i can choose yaml from the language mode selector (to get nice coloring) but then i get an error on that first yaml 1.1 line</p>
<p dir="auto">Expected a JSON object, array or literal<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/962340/13452325/c4833196-e014-11e5-952a-cbdbe6b6cb97.png"><img src="https://cloud.githubusercontent.com/assets/962340/13452325/c4833196-e014-11e5-952a-cbdbe6b6cb97.png" alt="untitled" style="max-width: 100%;"></a></p>
<ol dir="auto">
<li>should it auto detect? or is there a way to associate files with languages? (no, see link below)</li>
<li>how to fix error?</li>
</ol>
<p dir="auto">thanks</p>
<p dir="auto"><a href="https://code.visualstudio.com/docs/languages/overview" rel="nofollow">https://code.visualstudio.com/docs/languages/overview</a><br>
Q: Can I map additional file extensions to a language?<br>
A: Currently this is not supported but it's on the way.</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>: No</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: macOS High Sierra 10.13.5</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.7.1</li>
<li><strong>Python version</strong>: 2.7.10</li>
<li><strong>Bazel version (if compiling from source)</strong>: N/A</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: N/A</li>
<li><strong>CUDA/cuDNN version</strong>: N/A</li>
<li><strong>GPU model and memory</strong>: N/A</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="toco \
--input_file=tmp/killfie_detector.pb \
--output_file=tmp/quantized_killfie_detector.lite \
--input_format=TENSORFLOW_GRAPHDEF \
--output_format=TFLITE \
--input_shape=1,${IMAGE_SIZE},${IMAGE_SIZE},3 \
--input_array=input1 \
--output_array=output_node0 \
--inference_type=FLOAT \
--input_data_type=FLOAT \
--inference_type=QUANTIZED_UINT8 \
--quantize_weights=true \
--mean_value=127.5 \
--std_value=127.5"><pre class="notranslate"><code class="notranslate">toco \
--input_file=tmp/killfie_detector.pb \
--output_file=tmp/quantized_killfie_detector.lite \
--input_format=TENSORFLOW_GRAPHDEF \
--output_format=TFLITE \
--input_shape=1,${IMAGE_SIZE},${IMAGE_SIZE},3 \
--input_array=input1 \
--output_array=output_node0 \
--inference_type=FLOAT \
--input_data_type=FLOAT \
--inference_type=QUANTIZED_UINT8 \
--quantize_weights=true \
--mean_value=127.5 \
--std_value=127.5
</code></pre></div>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">I am trying to convert a ResNet-50 model to TFLite after quantization. The quantized graph was obtained using <code class="notranslate">transform_graph</code> and <code class="notranslate">--transforms='quantize_weights'</code> on a .pb file. However, on running <code class="notranslate">toco</code> on the quantized graph using the command above, I am first asked to enter the max/min values and the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Array input_1, which is an input to the Conv operator producing the output array conv1/convolution, is lacking min/max data, which is necessary for quantization. Either target a non-quantized output format, or change the input graph to contain min/max information, or pass --default_ranges_min= and --default_ranges_max= if you do not care about the accuracy of results."><pre class="notranslate"><code class="notranslate">Array input_1, which is an input to the Conv operator producing the output array conv1/convolution, is lacking min/max data, which is necessary for quantization. Either target a non-quantized output format, or change the input graph to contain min/max information, or pass --default_ranges_min= and --default_ranges_max= if you do not care about the accuracy of results.
</code></pre></div>
<p dir="auto">On adding <code class="notranslate">--default_ranges_min=0</code> and <code class="notranslate">--default_ranges_max=6</code> based on the suggestions <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/lite/toco/g3doc/cmdline_examples.md#use-dummy-quantization-to-try-out-quantized-inference-on-a-float-graph-">here</a>.</p>
<p dir="auto">When I ran that script, I got this error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="F tensorflow/contrib/lite/toco/graph_transformations/quantize.cc:519] Unimplemented: this graph contains an operator of type (Unsupported TensorFlow op: Dequantize) for which the quantized form is not yet implemented. Sorry, and patches welcome (that's a relatively fun patch to write, mostly providing the actual quantized arithmetic code for this op)."><pre class="notranslate"><code class="notranslate">F tensorflow/contrib/lite/toco/graph_transformations/quantize.cc:519] Unimplemented: this graph contains an operator of type (Unsupported TensorFlow op: Dequantize) for which the quantized form is not yet implemented. Sorry, and patches welcome (that's a relatively fun patch to write, mostly providing the actual quantized arithmetic code for this op).
</code></pre></div>
<p dir="auto">Is there any way around this to get a quantized TFLite model?</p> | <h2 dir="auto">System information</h2>
<p dir="auto">Have I written custom code (as opposed to using a stock example script provided in TensorFlow):no<br>
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):CentOS Linux release 7.2<br>
TensorFlow installed from (source or binary):Anaconda python 3.6.5(conda install)<br>
TensorFlow version (use command below):1.8.0<br>
Python version: 3.6.5<br>
Bazel version (if compiling from source): 0.7.0<br>
GCC/Compiler version (if compiling from source): 4.8.5<br>
CUDA/cuDNN version:cuda-9.0<br>
GPU model and memory: P40<br>
Phone: N/A</p>
<p dir="auto">Hi~<br>
When I use 'tf.contrib.quantize.experimental_create_training_graph' it will add fake quantization in the graph. reference this picture(find positions to insert fake quantization nodes).<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9084403/41646572-c5a48d8a-74a6-11e8-81bf-d1fee67d5c4a.png"><img src="https://user-images.githubusercontent.com/9084403/41646572-c5a48d8a-74a6-11e8-81bf-d1fee67d5c4a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I think it will add a fake quantization node in the bypass, but I can not find it in the tensorboard graph(in the red box, it is the bypass). In other convs, I can find the quantization node.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9084403/41649732-d6f538d4-74ae-11e8-87b5-66b2b49904a7.png"><img src="https://user-images.githubusercontent.com/9084403/41649732-d6f538d4-74ae-11e8-87b5-66b2b49904a7.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">My network architecture is ResNet20, tensorflow version is 1.8.0</p>
<p dir="auto">pls help me. thank you.</p> | 1 |
<p dir="auto">As reported to matplotlib.users, passing duplicate points to tricontour can cause it to hang. Here is a minimal example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
import matplotlib.tri as tri
import numpy as np
from numpy.random import uniform, seed
seed(0)
npts = 7
x = uniform(-2,2,npts)
y = uniform(-2,2,npts)
z = x*np.exp(-x**2-y**2)
y[1:2] = y[0] # Duplicate points make tricontour hang!
x[1:2] = x[0]
triang = tri.Triangulation(x, y)
plt.triplot(triang)
plt.tricontour(triang, z, 15, linewidths=0.5, colors='k')
plt.show()"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt
import matplotlib.tri as tri
import numpy as np
from numpy.random import uniform, seed
seed(0)
npts = 7
x = uniform(-2,2,npts)
y = uniform(-2,2,npts)
z = x*np.exp(-x**2-y**2)
y[1:2] = y[0] # Duplicate points make tricontour hang!
x[1:2] = x[0]
triang = tri.Triangulation(x, y)
plt.triplot(triang)
plt.tricontour(triang, z, 15, linewidths=0.5, colors='k')
plt.show()
</code></pre></div> | <p dir="auto">Plotting with markeredgecolor="none" causes markers to not display (probably fully transparent) in current master 1.5.x. It might be related to <a href="https://github.com/matplotlib/matplotlib/pull/598" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/598/hovercard">this pull request</a>. The plot in Out[3] below does not show anything. In matplotlib 1.4 it displays markers as expected.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="~/matplotlib (master)$ ipython
Python 2.7.6 (default, Aug 25 2014, 18:32:19)
Type "copyright", "credits" or "license" for more information.
IPython 2.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: %matplotlib
Using matplotlib backend: TkAgg
In [2]: import matplotlib; import matplotlib.pyplot as plt; import numpy as np
In [3]: plt.plot(np.arange(3), 'ro', mec='none')
Out[3]: [<matplotlib.lines.Line2D at 0x4171610>]
In [4]: matplotlib
Out[4]: <module 'matplotlib' from '/apps/stonefs1/azhu/venv/el5-stonelib/lib/python2.7/site-packages/matplotlib-1.5.x-py2.7-linux-x86_64.egg/matplotlib/__init__.pyc'>
In [5]: matplotlib.__version__
Out[5]: '1.5.x'"><pre class="notranslate"><span class="pl-c1">~</span><span class="pl-c1">/</span><span class="pl-en">matplotlib</span> (<span class="pl-s1">master</span>)$ <span class="pl-s1">ipython</span>
<span class="pl-v">Python</span> <span class="pl-c1">2.7</span><span class="pl-c1">.6</span> (<span class="pl-s1">default</span>, <span class="pl-v">Aug</span> <span class="pl-c1">25</span> <span class="pl-c1">2014</span>, <span class="pl-c1">18</span>:<span class="pl-c1">32</span>:<span class="pl-c1">19</span>)
<span class="pl-v">Type</span> <span class="pl-s">"copyright"</span>, <span class="pl-s">"credits"</span> <span class="pl-c1">or</span> <span class="pl-s">"license"</span> <span class="pl-k">for</span> <span class="pl-s1">more</span> <span class="pl-s1">information</span>.
<span class="pl-v">IPython</span> <span class="pl-c1">2.2</span><span class="pl-c1">.0</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">An</span> <span class="pl-s1">enhanced</span> <span class="pl-v">Interactive</span> <span class="pl-v">Python</span>.
? <span class="pl-c1">-></span> <span class="pl-v">Introduction</span> <span class="pl-c1">and</span> <span class="pl-s1">overview</span> <span class="pl-s1">of</span> <span class="pl-v">IPython</span>'<span class="pl-s1">s</span> <span class="pl-s1">features</span>.
<span class="pl-c1">%</span><span class="pl-s1">quickref</span> <span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-v">Quick</span> <span class="pl-s1">reference</span>.
<span class="pl-s1">help</span> <span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-v">Python</span>'<span class="pl-s1">s</span> <span class="pl-s1">own</span> <span class="pl-s1">help</span> <span class="pl-s1">system</span>.
<span class="pl-s1">object</span>? <span class="pl-c1">-></span> <span class="pl-v">Details</span> <span class="pl-s1">about</span> <span class="pl-s">'object'</span>, <span class="pl-s1">use</span> <span class="pl-s">'object??'</span> <span class="pl-k">for</span> <span class="pl-s1">extra</span> <span class="pl-s1">details</span>.
<span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-c1">%</span><span class="pl-s1">matplotlib</span>
<span class="pl-v">Using</span> <span class="pl-s1">matplotlib</span> <span class="pl-s1">backend</span>: <span class="pl-v">TkAgg</span>
<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>; <span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>; <span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">3</span>), <span class="pl-s">'ro'</span>, <span class="pl-s1">mec</span><span class="pl-c1">=</span><span class="pl-s">'none'</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">3</span>]: [<span class="pl-c1"><</span><span class="pl-s1">matplotlib</span>.<span class="pl-s1">lines</span>.<span class="pl-v">Line2D</span> <span class="pl-s1">at</span> <span class="pl-c1">0x4171610</span><span class="pl-c1">></span>]
<span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">matplotlib</span>
<span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-c1"><</span><span class="pl-s1">module</span> <span class="pl-s">'matplotlib'</span> <span class="pl-s1">from</span> <span class="pl-s">'/apps/stonefs1/azhu/venv/el5-stonelib/lib/python2.7/site-packages/matplotlib-1.5.x-py2.7-linux-x86_64.egg/matplotlib/__init__.pyc'</span><span class="pl-c1">></span>
<span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">matplotlib</span>.<span class="pl-s1">__version__</span>
<span class="pl-v">Out</span>[<span class="pl-c1">5</span>]: <span class="pl-s">'1.5.x'</span></pre></div> | 0 |
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: 1.36.0</li>
<li>Operating System: Windows</li>
<li>Browser: All</li>
</ul>
<h3 dir="auto">Source code</h3>
<div class="highlight highlight-source-cs notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="using Microsoft.Playwright;
using var playwright = await Playwright.CreateAsync();
await using var browser = await playwright.Chromium.LaunchAsync();
var context = await browser.NewContextAsync();
var page = await context.NewPageAsync();
await page.GotoAsync("https://www.example.com");
var locator = page.Locator("//*[contains(@class, 'foo']").First;
await locator.IsVisibleAsync();
Console.ReadKey();"><pre class="notranslate"><span class="pl-k">using</span> Microsoft<span class="pl-kos">.</span>Playwright<span class="pl-kos">;</span>
<span class="pl-k">using</span> <span class="pl-smi">var</span> <span class="pl-s1">playwright</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> Playwright<span class="pl-kos">.</span><span class="pl-en">CreateAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-k">using</span> <span class="pl-smi">var</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> playwright<span class="pl-kos">.</span>Chromium<span class="pl-kos">.</span><span class="pl-en">LaunchAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">context</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> browser<span class="pl-kos">.</span><span class="pl-en">NewContextAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> context<span class="pl-kos">.</span><span class="pl-en">NewPageAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> page<span class="pl-kos">.</span><span class="pl-en">GotoAsync</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span>https://www.example.com<span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">locator</span> <span class="pl-c1">=</span> page<span class="pl-kos">.</span><span class="pl-en">Locator</span><span class="pl-kos">(</span><span class="pl-s"><span class="pl-s">"</span>//*[contains(@class, 'foo']<span class="pl-s">"</span></span><span class="pl-kos">)</span><span class="pl-kos">.</span>First<span class="pl-kos">;</span>
<span class="pl-k">await</span> locator<span class="pl-kos">.</span><span class="pl-en">IsVisibleAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
Console<span class="pl-kos">.</span><span class="pl-en">ReadKey</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>Create a new .NET console app.</li>
<li>Add a reference to <code class="notranslate">Microsoft.Playwright</code> package.</li>
<li>Replace the contents of <code class="notranslate">Program.cs</code> to the above code.</li>
</ul>
<p dir="auto"><strong>Expected</strong><br>
The string '//*[contains(<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Class/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Class">@Class</a>, 'foo']' is not a valid XPath expression.</p>
<p dir="auto"><strong>Actual</strong><br>
The string './/*[contains(<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Class/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Class">@Class</a>, 'foo']' is not a valid XPath expression.</p>
<p dir="auto"><strong>Difference</strong><br>
The actual contains a prefix <code class="notranslate">.</code> when printing the locator.</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>@playwright/test Version 1.36.0</li>
<li>Operating System: macOs 13.4.1</li>
<li>Browser: all</li>
<li>Other info: "playwright-lighthouse": "^3.1.0"</li>
</ul>
<p dir="auto"><strong>This Error Started when I installed playwright-lighthouse and tried to import that.</strong></p>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <strong>I am trying to run this test</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" `
import { playAudit } from 'playwright-lighthouse';
import { test } from '@playwright/test';
test.describe('account settings tests', () => {
test('verify account details visible', async ({ page }) => {
await page.goto(MYURL);
await playAudit({
page: page,
port: 9222,
thresholds: {
accessibility: 50,
'best-practices': 50,
performance: 50,
pwa: 50,
seo: 50,
},
});
});
});`"><pre class="notranslate"><code class="notranslate"> `
import { playAudit } from 'playwright-lighthouse';
import { test } from '@playwright/test';
test.describe('account settings tests', () => {
test('verify account details visible', async ({ page }) => {
await page.goto(MYURL);
await playAudit({
page: page,
port: 9222,
thresholds: {
accessibility: 50,
'best-practices': 50,
performance: 50,
pwa: 50,
seo: 50,
},
});
});
});`
</code></pre></div>
</li>
</ul>
<p dir="auto"><strong>It fails on the first line the import for playwright-lighthouse</strong></p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
/**
* Read environment variables from file.
* https://github.com/motdotla/dotenv
*/
// require('dotenv').config();
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: './playwright/e2e/lighthouse/accountSettings',
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'https://bidder-react-stage.liveauctioneers.com/',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},
/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },
/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
// },
// {
// name: 'Google Chrome',
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
// },
],
/* Run your local dev server before starting the tests */
// webServer: {
// command: 'npm run start',
// url: 'http://127.0.0.1:3000',
// reuseExistingServer: !process.env.CI,
// },
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * Read environment variables from file.</span>
<span class="pl-c"> * https://github.com/motdotla/dotenv</span>
<span class="pl-c"> */</span>
<span class="pl-c">// require('dotenv').config();</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * See https://playwright.dev/docs/test-configuration.</span>
<span class="pl-c"> */</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">testDir</span>: <span class="pl-s">'./playwright/e2e/lighthouse/accountSettings'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Run tests in files in parallel */</span>
<span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span>
<span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span>
<span class="pl-c">/* Retry on CI only */</span>
<span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c">/* Opt out of parallel tests on CI. */</span>
<span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span>
<span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span>
<span class="pl-c1">reporter</span>: <span class="pl-s">'html'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c">/* Base URL to use in actions like `await page.goto('/')`. */</span>
<span class="pl-c1">baseURL</span>: <span class="pl-s">'https://bidder-react-stage.liveauctioneers.com/'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">/* Configure projects for major browsers */</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'firefox'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Firefox'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'webkit'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Safari'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">/* Test against mobile viewports. */</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Mobile Chrome',</span>
<span class="pl-c">// use: { ...devices['Pixel 5'] },</span>
<span class="pl-c">// },</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Mobile Safari',</span>
<span class="pl-c">// use: { ...devices['iPhone 12'] },</span>
<span class="pl-c">// },</span>
<span class="pl-c">/* Test against branded browsers. */</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Microsoft Edge',</span>
<span class="pl-c">// use: { ...devices['Desktop Edge'], channel: 'msedge' },</span>
<span class="pl-c">// },</span>
<span class="pl-c">// {</span>
<span class="pl-c">// name: 'Google Chrome',</span>
<span class="pl-c">// use: { ...devices['Desktop Chrome'], channel: 'chrome' },</span>
<span class="pl-c">// },</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c">/* Run your local dev server before starting the tests */</span>
<span class="pl-c">// webServer: {</span>
<span class="pl-c">// command: 'npm run start',</span>
<span class="pl-c">// url: 'http://127.0.0.1:3000',</span>
<span class="pl-c">// reuseExistingServer: !process.env.CI,</span>
<span class="pl-c">// },</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
<li>[...]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">[Describe expected behavior]</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">[Describe actual behavior]</p>
<p dir="auto"><strong>THIS IS THE ERROR THAT I AM GETTING</strong><br>
<code class="notranslate">require() of ES Module /Users/ryanpetersen/dev/bidder-react/node_modules/playwright-lighthouse/index.js from /Users/PATH/TO/TEST/FILE.spec.ts not supported. Instead change the require of index.js in /Users/PATH/TO/TEST/FILE.spec.ts to a dynamic import() which is available in all CommonJS modules.</code></p> | 0 |
<p dir="auto">Image loading starts again after scrolling in recyclerView. Can it resume loading or loading in background?</p> | <p dir="auto">Me again :)</p>
<p dir="auto">Got some questions about when images are recycled and how internals works, since I get way more java.lang.RuntimeException: Canvas: trying to use a recycled bitmap than before switching to Glide.</p>
<p dir="auto">Since I can't reproduce it's hard to find the cause.</p>
<p dir="auto">Numbers are not very high (5000 crash on more than 7 000 000 screen views per week glide 3.6.0) but high enough for me to investigate.</p>
<p dir="auto">Most calls are basics :</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(ctx)
.load(xxx)
.centerCrop()
.animate(R.anim.abc_fade_in)
.error(R.drawable.default_thumb_fanart_misc)
.into(mViewFanart);
"><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">ctx</span>)
.<span class="pl-en">load</span>(<span class="pl-s1">xxx</span>)
.<span class="pl-en">centerCrop</span>()
.<span class="pl-en">animate</span>(<span class="pl-smi">R</span>.<span class="pl-s1">anim</span>.<span class="pl-s1">abc_fade_in</span>)
.<span class="pl-en">error</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">default_thumb_fanart_misc</span>)
.<span class="pl-en">into</span>(<span class="pl-s1">mViewFanart</span>);</pre></div>
<p dir="auto">Context is sometimes application context to simplify reused code, is there impact of not using fragment / activities ?</p>
<p dir="auto">The only other call that could trigger is:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=".into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap bitmap, GlideAnimation<? super Bitmap> glideAnimation) {
if (isAdded() && mViewThumb != null) {
mViewThumb.setImageBitmap(bitmap);
}
}
@Override
public void onLoadFailed(Exception e, Drawable errorDrawable) {
if (isAdded() && mViewThumb != null) {
mViewThumb.setImageDrawable(errorDrawable);
}
}
@Override
public void onLoadCleared(Drawable placeholder) {
super.onLoadCleared(placeholder);
try {
mViewThumb.setImageResource(R.drawable.default_thumb_big);
} catch (Exception ignore) {
}
}
});"><pre class="notranslate">.<span class="pl-en">into</span>(<span class="pl-k">new</span> <span class="pl-smi">SimpleTarget</span><<span class="pl-smi">Bitmap</span>>() {
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onResourceReady</span>(<span class="pl-smi">Bitmap</span> <span class="pl-s1">bitmap</span>, <span class="pl-smi">GlideAnimation</span><? <span class="pl-en">super</span> <span class="pl-smi">Bitmap</span>> <span class="pl-s1">glideAnimation</span>) {
<span class="pl-k">if</span> (<span class="pl-en">isAdded</span>() && <span class="pl-s1">mViewThumb</span> != <span class="pl-c1">null</span>) {
<span class="pl-s1">mViewThumb</span>.<span class="pl-en">setImageBitmap</span>(<span class="pl-s1">bitmap</span>);
}
}
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onLoadFailed</span>(<span class="pl-smi">Exception</span> <span class="pl-s1">e</span>, <span class="pl-smi">Drawable</span> <span class="pl-s1">errorDrawable</span>) {
<span class="pl-k">if</span> (<span class="pl-en">isAdded</span>() && <span class="pl-s1">mViewThumb</span> != <span class="pl-c1">null</span>) {
<span class="pl-s1">mViewThumb</span>.<span class="pl-en">setImageDrawable</span>(<span class="pl-s1">errorDrawable</span>);
}
}
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">onLoadCleared</span>(<span class="pl-smi">Drawable</span> <span class="pl-s1">placeholder</span>) {
<span class="pl-en">super</span>.<span class="pl-en">onLoadCleared</span>(<span class="pl-s1">placeholder</span>);
<span class="pl-k">try</span> {
<span class="pl-s1">mViewThumb</span>.<span class="pl-en">setImageResource</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">default_thumb_big</span>);
} <span class="pl-k">catch</span> (<span class="pl-smi">Exception</span> <span class="pl-s1">ignore</span>) {
}
}
});</pre></div>
<p dir="auto">But from my understanding of the docs the onLoadCleared that I use should cover this problem.</p>
<p dir="auto">Any advice / tips on how / what to check to find the root cause ?</p> | 0 |
<p dir="auto">Summary.</p>
<p dir="auto">Sphinx documentation 'make html' throws warning about <a href="https://2.python-requests.org/en/master/objects.inv" rel="nofollow">https://2.python-requests.org/en/master/objects.inv</a></p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">Sphinx make can pull the objects.inv without problems</p>
<h2 dir="auto">Actual Result</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(phsa_venv) phsa@lvmsocq01:~/p_soc_auto/docs$ make html
Running Sphinx v2.1.2
loading pickled environment... done
loading intersphinx inventory from https://2.python-requests.org/en/master/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://2.python-requests.org/en/master/objects.inv' not fetchable due to <class 'requests.exceptions.SSLError'>: HTTPSConnectionPool(host='2.python-requests.org', port=443): Max retries exceeded with url: /en/master/objects.inv (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:833)'),))
...
dumping object inventory... done
build succeeded, 2 warnings.
The HTML pages are in build/html.
(phsa_venv) phsa@lvmsocq01:~/p_soc_auto/docs$ "><pre class="notranslate"><code class="notranslate">(phsa_venv) phsa@lvmsocq01:~/p_soc_auto/docs$ make html
Running Sphinx v2.1.2
loading pickled environment... done
loading intersphinx inventory from https://2.python-requests.org/en/master/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://2.python-requests.org/en/master/objects.inv' not fetchable due to <class 'requests.exceptions.SSLError'>: HTTPSConnectionPool(host='2.python-requests.org', port=443): Max retries exceeded with url: /en/master/objects.inv (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:833)'),))
...
dumping object inventory... done
build succeeded, 2 warnings.
The HTML pages are in build/html.
(phsa_venv) phsa@lvmsocq01:~/p_soc_auto/docs$
</code></pre></div>
<h2 dir="auto">Reproduction Steps</h2>
<p dir="auto">This is the relevant extract from the Sphinx conf.py file:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="extensions = [
'sphinx.ext.autodoc',
'IPython.sphinxext.ipython_directive',
'IPython.sphinxext.ipython_console_highlighting',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinx.ext.inheritance_diagram',
'celery.contrib.sphinx',
'sphinx.ext.autosectionlabel',
'sphinx.ext.todo',
'sphinx.ext.autosummary',
'sphinxcontrib.plantuml',
]
# ...
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
'django': ('http://docs.djangoproject.com/en/2.2/',
'http://docs.djangoproject.com/en/2.2/_objects/'),
'urllib3': ('http://urllib3.readthedocs.org/en/latest', None),
'requests': ('https://2.python-requests.org/en/master/', None), }
"><pre class="notranslate"><span class="pl-s1">extensions</span> <span class="pl-c1">=</span> [
<span class="pl-s">'sphinx.ext.autodoc'</span>,
<span class="pl-s">'IPython.sphinxext.ipython_directive'</span>,
<span class="pl-s">'IPython.sphinxext.ipython_console_highlighting'</span>,
<span class="pl-s">'sphinx.ext.doctest'</span>,
<span class="pl-s">'sphinx.ext.intersphinx'</span>,
<span class="pl-s">'sphinx.ext.viewcode'</span>,
<span class="pl-s">'sphinx.ext.inheritance_diagram'</span>,
<span class="pl-s">'celery.contrib.sphinx'</span>,
<span class="pl-s">'sphinx.ext.autosectionlabel'</span>,
<span class="pl-s">'sphinx.ext.todo'</span>,
<span class="pl-s">'sphinx.ext.autosummary'</span>,
<span class="pl-s">'sphinxcontrib.plantuml'</span>,
]
<span class="pl-c"># ...</span>
<span class="pl-s1">intersphinx_mapping</span> <span class="pl-c1">=</span> {
<span class="pl-s">'python'</span>: (<span class="pl-s">'https://docs.python.org/3'</span>, <span class="pl-c1">None</span>),
<span class="pl-s">'django'</span>: (<span class="pl-s">'http://docs.djangoproject.com/en/2.2/'</span>,
<span class="pl-s">'http://docs.djangoproject.com/en/2.2/_objects/'</span>),
<span class="pl-s">'urllib3'</span>: (<span class="pl-s">'http://urllib3.readthedocs.org/en/latest'</span>, <span class="pl-c1">None</span>),
<span class="pl-s">'requests'</span>: (<span class="pl-s">'https://2.python-requests.org/en/master/'</span>, <span class="pl-c1">None</span>), }</pre></div>
<p dir="auto">Then run a Sphinx 'make html'</p>
<h2 dir="auto">System Information</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help"><pre class="notranslate"><code class="notranslate">$ python -m requests.help
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(phsa_venv) phsa@lvmsocq01:~/p_soc_auto$ python -m requests.help
{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": ""
},
"idna": {
"version": "2.8"
},
"implementation": {
"name": "CPython",
"version": "3.6.5"
},
"platform": {
"release": "3.10.0-862.3.2.el7.x86_64",
"system": "Linux"
},
"pyOpenSSL": {
"openssl_version": "",
"version": null
},
"requests": {
"version": "2.22.0"
},
"system_ssl": {
"version": "100020bf"
},
"urllib3": {
"version": "1.25.3"
},
"using_pyopenssl": false
}
"><pre class="notranslate"><code class="notranslate">(phsa_venv) phsa@lvmsocq01:~/p_soc_auto$ python -m requests.help
{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": ""
},
"idna": {
"version": "2.8"
},
"implementation": {
"name": "CPython",
"version": "3.6.5"
},
"platform": {
"release": "3.10.0-862.3.2.el7.x86_64",
"system": "Linux"
},
"pyOpenSSL": {
"openssl_version": "",
"version": null
},
"requests": {
"version": "2.22.0"
},
"system_ssl": {
"version": "100020bf"
},
"urllib3": {
"version": "1.25.3"
},
"using_pyopenssl": false
}
</code></pre></div> | <p dir="auto">The URL <code class="notranslate">//2.python-requests.org/</code> (which is in the readme) automatically resolves to <code class="notranslate">https://2.python-requests.org</code> which is down (there is no HTTPS version of the site). The HTTP version of the site, <code class="notranslate">http://2.python-requests.org</code>, is fine.</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">I expect that when I click the link in the readme, it goes to a page that exists.</p>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">When I click the link in the readme, the <code class="notranslate">//</code> prefix resolves to <code class="notranslate">https://</code>, but there is no HTTPS version of <code class="notranslate">2.python-requests.org</code>, so the page does not load.</p>
<h2 dir="auto">Reproduction Steps</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> import requests
>>> requests.get('https://2.python-requests.org/')
Traceback (most recent call last):
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 472, in wrap_socket
cnx.do_handshake()
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1716, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1456, in _raise_ssl_error
_raise_current_error()
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 603, in urlopen
chunked=chunked)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 344, in _make_request
self._validate_conn(conn)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 843, in _validate_conn
conn.connect()
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connection.py", line 370, in connect
ssl_context=context)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 355, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 478, in wrap_socket
raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 641, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='2.python-requests.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')],)",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='2.python-requests.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')],)",),))
>>> requests.get('http://2.python-requests.org/')
<Response [200]>"><pre class="notranslate"><code class="notranslate">>>> import requests
>>> requests.get('https://2.python-requests.org/')
Traceback (most recent call last):
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 472, in wrap_socket
cnx.do_handshake()
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1716, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1456, in _raise_ssl_error
_raise_current_error()
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 603, in urlopen
chunked=chunked)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 344, in _make_request
self._validate_conn(conn)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 843, in _validate_conn
conn.connect()
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connection.py", line 370, in connect
ssl_context=context)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 355, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 478, in wrap_socket
raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')],)",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/connectionpool.py", line 641, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='2.python-requests.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')],)",),))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='2.python-requests.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')],)",),))
>>> requests.get('http://2.python-requests.org/')
<Response [200]>
</code></pre></div>
<h2 dir="auto">System Information</h2>
<p dir="auto">N/A</p> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">I haven't found any way to configure proxy, which makes downloading of packages impossible for me. I'm behind a proxy at my work.</p>
<p dir="auto">Thanks!</p> | <p dir="auto">Noticed two Halp tickets about this so far:</p>
<ul dir="auto">
<li>support/a10f96d4b08f11e3934b3dfc0d230d46</li>
<li>support/45b5441aa86911e39c8bef69aceed9d5</li>
</ul>
<blockquote>
<p dir="auto">Finally, I didn't find any way to set my proxy info in the settings of your app, and I'm not sure you are respecting the proxy settings of the OS. So my first attempt to send feedback failed.</p>
</blockquote>
<p dir="auto">...</p>
<blockquote>
<p dir="auto">I tried to submit this via the built-in feedback but it didn't say it was successful, it seemed to time out just like fetching packages or themes:<br>
Built-in package and theme fetching doesn't work when proxies are required. "Fetching featured packages and themes failed. connect ENETUNREACH". DNS resolves on this corporate network, but connections must use http or https proxies.<br>
Self-updating Atom itself works.</p>
</blockquote>
<p dir="auto">So, it seems that proxy settings are not respected, and it's not possible to set them in Atom.</p> | 1 |
<ul dir="auto">
<li>PyTorch or Caffe2: PyTorch</li>
<li>OS: Ubuntu 16.04.3</li>
<li>PyTorch version: 0.3.1</li>
<li>How you installed PyTorch (conda, pip, source): pip</li>
<li>Python version: 3.6.4 (Anaconda)</li>
<li>CUDA/cuDNN version: CUDA 9.1</li>
<li>GPU models and configuration: Nvidia TITAN X</li>
</ul>
<p dir="auto">Error Message:<br>
*** Error in `python': double free or corruption (out): 0x000055fa3097d810 ***<br>
======= Backtrace: =========<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f9ba2dd67e5]<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f9ba2ddf37a]<br>
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f9ba2de353c]<br>
/home/whq/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so(+0x126de)[0x7f9b9b9fa6de]<br>
python(+0xeee97)[0x55f9d0910e97]<br>
python(+0x19db7e)[0x55f9d09bfb7e]<br>
python(+0xeeb1f)[0x55f9d0910b1f]<br>
python(+0xee917)[0x55f9d0910917]<br>
python(+0x195e20)[0x55f9d09b7e20]<br>
python(_PyFunction_FastCallDict+0x1be)[0x55f9d09b8eee]<br>
python(_PyObject_FastCallDict+0x26f)[0x55f9d093139f]<br>
python(_PyObject_Call_Prepend+0x63)[0x55f9d0935ff3]<br>
python(PyObject_Call+0x3e)[0x55f9d0930dde]<br>
python(+0x16a901)[0x55f9d098c901]<br>
python(_PyObject_FastCallDict+0x8b)[0x55f9d09311bb]<br>
python(+0x19cd3e)[0x55f9d09bed3e]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(_PyFunction_FastCallDict+0x11b)[0x55f9d09b8e4b]<br>
python(_PyObject_FastCallDict+0x26f)[0x55f9d093139f]<br>
python(_PyObject_Call_Prepend+0x63)[0x55f9d0935ff3]<br>
python(PyObject_Call+0x3e)[0x55f9d0930dde]<br>
python(+0x16a901)[0x55f9d098c901]<br>
python(_PyObject_FastCallDict+0x8b)[0x55f9d09311bb]<br>
python(+0x19cd3e)[0x55f9d09bed3e]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(_PyFunction_FastCallDict+0x11b)[0x55f9d09b8e4b]<br>
python(_PyObject_FastCallDict+0x26f)[0x55f9d093139f]<br>
python(_PyObject_Call_Prepend+0x63)[0x55f9d0935ff3]<br>
python(PyObject_Call+0x3e)[0x55f9d0930dde]<br>
python(+0x16a901)[0x55f9d098c901]<br>
python(_PyObject_FastCallDict+0x8b)[0x55f9d09311bb]<br>
python(+0x19cd3e)[0x55f9d09bed3e]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(+0x1967db)[0x55f9d09b87db]<br>
python(+0x19ccc5)[0x55f9d09becc5]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(_PyFunction_FastCallDict+0x11b)[0x55f9d09b8e4b]<br>
python(_PyObject_FastCallDict+0x26f)[0x55f9d093139f]<br>
python(_PyObject_Call_Prepend+0x63)[0x55f9d0935ff3]<br>
python(PyObject_Call+0x3e)[0x55f9d0930dde]<br>
python(+0x16a379)[0x55f9d098c379]<br>
python(_PyEval_EvalFrameDefault+0x871)[0x55f9d09e3701]<br>
python(+0x195c76)[0x55f9d09b7c76]<br>
python(+0x196a11)[0x55f9d09b8a11]<br>
python(+0x19ccc5)[0x55f9d09becc5]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(PyEval_EvalCodeEx+0x96e)[0x55f9d09b9b6e]<br>
python(+0x198456)[0x55f9d09ba456]<br>
python(PyObject_Call+0x3e)[0x55f9d0930dde]<br>
python(_PyEval_EvalFrameDefault+0x1b04)[0x55f9d09e4994]<br>
python(+0x1967db)[0x55f9d09b87db]<br>
python(+0x19ccc5)[0x55f9d09becc5]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(+0x1967db)[0x55f9d09b87db]<br>
python(+0x19ccc5)[0x55f9d09becc5]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(+0x1967db)[0x55f9d09b87db]<br>
python(+0x19ccc5)[0x55f9d09becc5]<br>
python(_PyEval_EvalFrameDefault+0x30a)[0x55f9d09e319a]<br>
python(_PyFunction_FastCallDict+0x11b)[0x55f9d09b8e4b]<br>
python(_PyObject_FastCallDict+0x26f)[0x55f9d093139f]<br>
python(_PyObject_Call_Prepend+0x63)[0x55f9d0935ff3]<br>
python(PyObject_Call+0x3e)[0x55f9d0930dde]<br>
======= Memory map: ========<br>
200000000-200100000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200100000-200104000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200104000-200120000 ---p 00000000 00:00 0<br>
200120000-200520000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200520000-200524000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200524000-200540000 ---p 00000000 00:00 0<br>
200540000-200940000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200940000-200944000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200944000-200960000 ---p 00000000 00:00 0<br>
200960000-200d60000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200d60000-200d64000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
200d64000-200d80000 ---p 00000000 00:00 0<br>
200d80000-201180000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
201180000-201184000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
201184000-2011a0000 ---p 00000000 00:00 0<br>
2011a0000-2015a0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2015a0000-2015a4000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2015a4000-2015c0000 ---p 00000000 00:00 0<br>
2015c0000-2019c0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2019c0000-2019c4000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2019c4000-2019e0000 ---p 00000000 00:00 0<br>
2019e0000-201de0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
201de0000-201de4000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
201de4000-201e00000 ---p 00000000 00:00 0<br>
201e00000-202200000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202200000-202204000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202204000-202220000 ---p 00000000 00:00 0<br>
202220000-202620000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202620000-202624000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202624000-202640000 ---p 00000000 00:00 0<br>
202640000-202a40000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202a40000-202a44000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202a44000-202a60000 ---p 00000000 00:00 0<br>
202a60000-202e60000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202e60000-202e64000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
202e64000-202e80000 ---p 00000000 00:00 0<br>
202e80000-203280000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
203280000-203284000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
203284000-2032a0000 ---p 00000000 00:00 0<br>
2032a0000-2036a0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2036a0000-2036a4000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2036a4000-2036c0000 ---p 00000000 00:00 0<br>
2036c0000-203ac0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
203ac0000-203ac4000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
203ac4000-203ae0000 ---p 00000000 00:00 0<br>
203ae0000-203ee0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
203ee0000-203ee4000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
203ee4000-203f00000 ---p 00000000 00:00 0<br>
203f00000-204300000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
204300000-204400000 rw-s 00000000 00:05 198955 /dev/zero (deleted)<br>
204400000-204500000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
204500000-204600000 rw-s 00000000 00:05 198956 /dev/zero (deleted)<br>
204600000-204700000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
204700000-204800000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
204800000-204900000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
204900000-2049e0000 rw-s 00000000 00:06 18484 /dev/nvidiactl<br>
2049e0000-204ae0000 rw-s 00000000 00:05 198958 /dev/zero (deleted)<br>
204ae0000-204be0000 rw-s 00000000 00:05 198959 /dev/zero (deleted)<br>
204be0000-20db6e000 rw-s 00000000 00:05 198980 /dev/zero (deleted)<br>
20db6e000-20db80000 ---p 00000000 00:00 0<br>
20db80000-216b0e000 rw-s 00000000 00:05 198986 /dev/zero (deleted)<br>
216b0e000-216b20000 ---p 00000000 00:00 0<br>
216b20000-21faae000 rw-s 00000000 00:05 198990 /dev/zero (deleted)<br>
21faae000-21fac0000 ---p 00000000 00:00 0<br>
21fac0000-228a4e000 rw-s 00000000 00:05 198995 /dev/zero (deleted)<br>
228a4e000-228a60000 ---p 00000000 00:00 0<br>
228a60000-2319ee000 rw-s 00000000 00:05 197836 /dev/zero (deleted)<br>
2319ee000-231a00000 ---p 00000000 00:00 0<br>
231a00000-23a98e000 rw-s 00000000 00:05 197841 /dev/zero (deleted)<br>
23a98e000-23a9a0000 ---p 00000000 00:00 0<br>
23a9a0000-24392e000 rw-s 00000000 00:05 197846 /dev/zero (deleted)<br>
24392e000-243940000 ---p 00000000 00:00 0<br>
243940000-24c8ce000 rw-s 00000000 00:05 197851 /dev/zero (deleted)<br>
24c8ce000-24c8e0000 ---p 00000000 00:00 0<br>
24c8e0000-24c9e0000 rw-s 00000000 00:05 195979 /dev/zero (deleted)<br>
24c9e0000-25596e000 rw-s 00000000 00:05 194484 /dev/zero (deleted)<br>
25596e000-255980000 ---p 00000000 00:00 0<br>
255980000-25e90e000 rw-s 00000000 00:05 194489 /dev/zero (deleted)<br>
25e90e000-25e920000 ---p 00000000 00:00 0<br>
25e920000-2678ae000 rw-s 00000000 00:05 195980 /dev/zero (deleted)<br>
2678ae000-2678c0000 ---p 00000000 00:00 0<br>
2678c0000-27084e000 rw-s 00000000 00:05 195985 /dev/zero (deleted)<br>
27084e000-270860000 ---p 00000000 00:00 0<br>
270860000-2797ee000 rw-s 00000000 00:05 195988 /dev/zero (deleted)<br>
2797ee000-279800000 ---p 00000000 00:00 0<br>
279800000-28278e000 rw-s 00000000 00:05 195991 /dev/zero (deleted)<br>
28278e000-2827a0000 ---p 00000000 00:00 0<br>
2827a0000-28b72e000 rw-s 00000000 00:05 195994 /dev/zero (deleted)<br>
28b72e000-28b740000 ---p 00000000 00:00 0<br>
28b740000-2946ce000 rw-s 00000000 00:05 195997 /dev/zero (deleted)<br>
2946ce000-2946e0000 ---p 00000000 00:00 0<br>
2946e0000-29d66e000 rw-s 00000000 00:05 196000 /dev/zero (deleted)<br>
29d66e000-29d680000 ---p 00000000 00:00 0<br>
29d680000-29d780000 rw-s 00000000 00:05 195185 /dev/zero (deleted)<br>
29d780000-29d881000 rw-s 00000000 00:05 195186 /dev/zero (deleted)<br>
29d881000-29d8a0000 ---p 00000000 00:00 0<br>
29d8a0000-2a682e000 rw-s 00000000 00:05 196043 /dev/zero (deleted)<br>
2a682e000-f00000000 ---p 00000000 00:00 0<br>
55f9d0822000-55f9d0ae0000 r-xp 00000000 08:07 1059440 /home/whq/anaconda3/bin/python3.6<br>
55f9d0ce0000-55f9d0ce3000 r--p 002be000 08:07 1059440 /home/whq/anaconda3/bin/python3.6<br>
55f9d0ce3000-55f9d0d46000 rw-p 002c1000 08:07 1059440 /home/whq/anaconda3/bin/python3.6<br>
55f9d0d46000-55f9d0d77000 rw-p 00000000 00:00 0<br>
55f9d2c5b000-55fa31a08000 rw-p 00000000 00:00 0 [heap]<br>
55fa31a08000-55fa387d8000 rw-p 00000000 00:00 0 [heap]<br>
7f9b10000000-7f9b11762000 rw-p 00000000 00:00 0<br>
7f9b11762000-7f9b14000000 ---p 00000000 00:00 0<br>
7f9b18000000-7f9b18022000 rw-p 00000000 00:00 0<br>
7f9b18022000-7f9b1c000000 ---p 00000000 00:00 0<br>
7f9b1f072000-7f9b28000000 rw-s 00000000 00:16 1880823 /dev/shm/torch_14044_2110547976 (deleted)<br>
7f9b28000000-7f9b28022000 rw-p 00000000 00:00 0<br>
7f9b28022000-7f9b2c000000 ---p 00000000 00:00 0<br>
7f9b2dcab000-7f9b30000000 rw-p 00000000 00:00 0<br>
7f9b30000000-7f9b30001000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30001000-7f9b30002000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30002000-7f9b30003000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30003000-7f9b30004000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30004000-7f9b30005000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30005000-7f9b30006000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30006000-7f9b30007000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30007000-7f9b30008000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30008000-7f9b30009000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30009000-7f9b3000a000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b3000a000-7f9b3000b000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b3000b000-7f9b3000c000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b3000c000-7f9b3000d000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b3000d000-7f9b3000e000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b3000e000-7f9b3000f000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b3000f000-7f9b30010000 rw-s 00000000 00:06 18485 /dev/nvidia0<br>
7f9b30010000-7f9b40000000 ---p 00000000 00:00 0<br>
7f9b40000000-7f9b40021000 rw-p 00000000 00:00 0<br>
7f9b40021000-7f9b44000000 ---p 00000000 00:00 0<br>
7f9b45d6a000-7f9b4661e000 rw-p 00000000 00:00 0<br>
7f9b466d1000-7f9b466d2000 ---p 00000000 00:00 0<br>
7f9b466d2000-7f9b47769000 rw-p 00000000 00:00 0<br>
7f9b477ff000-7f9b47800000 ---p 00000000 00:00 0<br>
7f9b47800000-7f9b48000000 rw-p 00000000 00:00 0<br>
7f9b48000000-7f9b48021000 rw-p 00000000 00:00 0<br>
7f9b48021000-7f9b4c000000 ---p 00000000 00:00 0<br>
7f9b4c162000-7f9b4c163000 ---p 00000000 00:00 0<br>
7f9b4c163000-7f9b4c9a3000 rw-p 00000000 00:00 0<br>
7f9b4cb36000-7f9b4cbb6000 rw-p 00000000 00:00 0<br>
7f9b4cbb6000-7f9b4cc36000 rw-p 00000000 00:00 0<br>
7f9b4cc36000-7f9b4cc37000 ---p 00000000 00:00 0<br>
7f9b4cc37000-7f9b4d437000 rw-p 00000000 00:00 0<br>
7f9b4d437000-7f9b4d438000 ---p 00000000 00:00 0<br>
7f9b4d438000-7f9b4dc78000 rw-p 00000000 00:00 0<br>
7f9b4dc78000-7f9b4dc7b000 r-xp 00000000 08:07 1059112 /home/whq/anaconda3/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4dc7b000-7f9b4de7b000 ---p 00003000 08:07 1059112 /home/whq/anaconda3/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4de7b000-7f9b4de7c000 r--p 00003000 08:07 1059112 /home/whq/anaconda3/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4de7c000-7f9b4de7d000 rw-p 00004000 08:07 1059112 /home/whq/anaconda3/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4de7d000-7f9b4e67d000 rw-p 00000000 00:00 0<br>
7f9b4e67d000-7f9b4e69a000 r-xp 00000000 08:07 2755695 /home/whq/anaconda3/lib/libyaml-0.so.2.0.5<br>
7f9b4e69a000-7f9b4e899000 ---p 0001d000 08:07 2755695 /home/whq/anaconda3/lib/libyaml-0.so.2.0.5<br>
7f9b4e899000-7f9b4e89a000 r--p 0001c000 08:07 2755695 /home/whq/anaconda3/lib/libyaml-0.so.2.0.5<br>
7f9b4e89a000-7f9b4e89b000 rw-p 0001d000 08:07 2755695 /home/whq/anaconda3/lib/libyaml-0.so.2.0.5<br>
7f9b4e89b000-7f9b4e8c9000 r-xp 00000000 08:07 3018355 /home/whq/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4e8c9000-7f9b4eac9000 ---p 0002e000 08:07 3018355 /home/whq/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4eac9000-7f9b4eaca000 r--p 0002e000 08:07 3018355 /home/whq/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4eaca000-7f9b4eacd000 rw-p 0002f000 08:07 3018355 /home/whq/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4eacd000-7f9b4eb8d000 rw-p 00000000 00:00 0<br>
7f9b4eb8d000-7f9b4ec07000 r-xp 00000000 08:07 2758272 /home/whq/anaconda3/lib/libtiff.so.5.3.0<br>
7f9b4ec07000-7f9b4ee06000 ---p 0007a000 08:07 2758272 /home/whq/anaconda3/lib/libtiff.so.5.3.0<br>
7f9b4ee06000-7f9b4ee0a000 r--p 00079000 08:07 2758272 /home/whq/anaconda3/lib/libtiff.so.5.3.0<br>
7f9b4ee0a000-7f9b4ee0b000 rw-p 0007d000 08:07 2758272 /home/whq/anaconda3/lib/libtiff.so.5.3.0<br>
7f9b4ee0b000-7f9b4ef0b000 rw-p 00000000 00:00 0<br>
7f9b4ef0b000-7f9b4ef11000 r-xp 00000000 08:07 1059230 /home/whq/anaconda3/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4ef11000-7f9b4f110000 ---p 00006000 08:07 1059230 /home/whq/anaconda3/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f110000-7f9b4f111000 r--p 00005000 08:07 1059230 /home/whq/anaconda3/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f111000-7f9b4f112000 rw-p 00006000 08:07 1059230 /home/whq/anaconda3/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f112000-7f9b4f17e000 r-xp 00000000 08:07 1063743 /home/whq/anaconda3/lib/libssl.so.1.0.0<br>
7f9b4f17e000-7f9b4f37d000 ---p 0006c000 08:07 1063743 /home/whq/anaconda3/lib/libssl.so.1.0.0<br>
7f9b4f37d000-7f9b4f382000 r--p 0006b000 08:07 1063743 /home/whq/anaconda3/lib/libssl.so.1.0.0<br>
7f9b4f382000-7f9b4f388000 rw-p 00070000 08:07 1063743 /home/whq/anaconda3/lib/libssl.so.1.0.0<br>
7f9b4f388000-7f9b4f3a2000 r-xp 00000000 08:07 1059396 /home/whq/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f3a2000-7f9b4f5a2000 ---p 0001a000 08:07 1059396 /home/whq/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f5a2000-7f9b4f5a3000 r--p 0001a000 08:07 1059396 /home/whq/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f5a3000-7f9b4f5a8000 rw-p 0001b000 08:07 1059396 /home/whq/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f5a8000-7f9b4f628000 rw-p 00000000 00:00 0<br>
7f9b4f628000-7f9b4f639000 r-xp 00000000 08:07 1059362 /home/whq/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f639000-7f9b4f839000 ---p 00011000 08:07 1059362 /home/whq/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so<br>
7f9b4f839000-7f9b4f83a000 r--p 00011000 08:07 1059362 /home/whq/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.soTraceback (most recent call last):<br>
File "main.py", line 182, in <br>
main()<br>
File "main.py", line 151, in main<br>
train(model, train_loader, epoch, criterion, optimizer, logger, args, extractor)<br>
File "/home/whq/Desktop/attentions/proj16/process/train.py", line 29, in train<br>
loss = eval_loss(criterion, inputs_var, targets_var, outputs, args)<br>
File "/home/whq/Desktop/attentions/proj16/process/eval_loss.py", line 9, in eval_loss<br>
if outputs_temporal.size(0) == criterion[2].size(0) <br>
File "/home/whq/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in <strong>call</strong><br>
result = self.forward(*input, **kwargs)<br>
File "/home/whq/anaconda3/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 84, in forward<br>
reduce=self.reduce)<br>
File "/home/whq/anaconda3/lib/python3.6/site-packages/torch/nn/functional.py", line 1270, in l1_loss<br>
input, target, size_average, reduce)<br>
File "/home/whq/anaconda3/lib/python3.6/site-packages/torch/nn/functional.py", line 1248, in _pointwise_loss<br>
return lambd_optimized(input, target, size_average, reduce)<br>
File "/home/whq/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 175, in handler<br>
_error_if_any_worker_fails()<br>
RuntimeError: DataLoader worker (pid 14044) is killed by signal: Aborted.</p> | <ul dir="auto">
<li>OS: Xubuntu 16.04 4.13.0-32-generic</li>
<li>PyTorch version: 0.3.0.post4</li>
<li>How you installed PyTorch (conda, pip, source): pip</li>
<li>Python version: Python 3.5.2</li>
<li>CUDA/cuDNN version: running on CPU</li>
</ul>
<p dir="auto">To reproduce, clone <a href="https://github.com/jatentaki/torch_bug">this</a> repo and execute <code class="notranslate">python3 run_cnn.py</code>. On my machine it results in the following <a href="https://gist.github.com/jatentaki/99f3cae3a79d63e61fd668f526f0fbd5">stack trace</a>.</p>
<p dir="auto">I believe the script is self-explanatory, I was trying to maxpool a 3d convolved tensor :)</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/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</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">use redis as a metadata storage, and redis server should password to auth</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.storeMetadataInCluster(RedisMetadataReport.java:92)
at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.storeMetadata(RedisMetadataReport.java:83)
at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.doStoreProviderMetadata(RedisMetadataReport.java:71)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.storeProviderMetadataTask(AbstractMetadataReport.java:245)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.lambda$storeProviderMetadata$0(AbstractMetadataReport.java:232)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
at redis.clients.jedis.Protocol.processError(Protocol.java:127)
at redis.clients.jedis.Protocol.process(Protocol.java:161)
at redis.clients.jedis.Protocol.read(Protocol.java:215)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:285)
at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:291)
at redis.clients.jedis.Jedis.clusterSlots(Jedis.java:3376)
at redis.clients.jedis.JedisClusterInfoCache.discoverClusterNodesAndSlots(JedisClusterInfoCache.java:54)
at redis.clients.jedis.JedisClusterConnectionHandler.initializeSlotsCache(JedisClusterConnectionHandler.java:39)
at redis.clients.jedis.JedisClusterConnectionHandler.<init>(JedisClusterConnectionHandler.java:17)
at redis.clients.jedis.JedisSlotBasedConnectionHandler.<init>(JedisSlotBasedConnectionHandler.java:24)
at redis.clients.jedis.BinaryJedisCluster.<init>(BinaryJedisCluster.java:54)
at redis.clients.jedis.JedisCluster.<init>(JedisCluster.java:93)
at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.storeMetadataInCluster(RedisMetadataReport.java:88)
... 7 more"><pre class="notranslate"><code class="notranslate">at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.storeMetadataInCluster(RedisMetadataReport.java:92)
at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.storeMetadata(RedisMetadataReport.java:83)
at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.doStoreProviderMetadata(RedisMetadataReport.java:71)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.storeProviderMetadataTask(AbstractMetadataReport.java:245)
at org.apache.dubbo.metadata.support.AbstractMetadataReport.lambda$storeProviderMetadata$0(AbstractMetadataReport.java:232)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
at redis.clients.jedis.Protocol.processError(Protocol.java:127)
at redis.clients.jedis.Protocol.process(Protocol.java:161)
at redis.clients.jedis.Protocol.read(Protocol.java:215)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:285)
at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:291)
at redis.clients.jedis.Jedis.clusterSlots(Jedis.java:3376)
at redis.clients.jedis.JedisClusterInfoCache.discoverClusterNodesAndSlots(JedisClusterInfoCache.java:54)
at redis.clients.jedis.JedisClusterConnectionHandler.initializeSlotsCache(JedisClusterConnectionHandler.java:39)
at redis.clients.jedis.JedisClusterConnectionHandler.<init>(JedisClusterConnectionHandler.java:17)
at redis.clients.jedis.JedisSlotBasedConnectionHandler.<init>(JedisSlotBasedConnectionHandler.java:24)
at redis.clients.jedis.BinaryJedisCluster.<init>(BinaryJedisCluster.java:54)
at redis.clients.jedis.JedisCluster.<init>(JedisCluster.java:93)
at org.apache.dubbo.metadata.store.redis.RedisMetadataReport.storeMetadataInCluster(RedisMetadataReport.java:88)
... 7 more
</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/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: latest master branch</li>
<li>Operating System version: xxx</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>run org.apache.dubbo.demo.provider.Application</li>
<li>run org.apache.dubbo.demo.consumer.Application</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">work fine</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">consumer side throws an exception</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="Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoServiceComponent': Injection of @org.apache.dubbo.config.annotation.Reference dependencies is failed; nested exception is java.lang.IllegalStateException: Failed to check the status of the service org.apache.dubbo.demo.DemoService. No provider available for the service org.apache.dubbo.demo.DemoService from the url multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?anyhost=true&application=dubbo-demo-annotation-consumer&bean.name=ServiceBean:org.apache.dubbo.demo.DemoService&check=true&default.check=true&default.init=false&default.injvm=false&default.lazy=false&default.sticky=false&dubbo=2.0.2&generic=false&group=&init=false&injvm=false&interface=org.apache.dubbo.demo.DemoService&lazy=false&methods=sayHello&pid=20456&register.ip=10.200.182.127&remote.application=dubbo-demo-annotation-provider&remote.timestamp=1549878480376&side=consumer&sticky=false&timestamp=1551085801200 to the consumer 10.200.182.127 use dubbo version
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:133)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1268)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at org.apache.dubbo.demo.consumer.Application.main(Application.java:36)
Caused by: java.lang.IllegalStateException: Failed to check the status of the service org.apache.dubbo.demo.DemoService. No provider available for the service org.apache.dubbo.demo.DemoService from the url multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?anyhost=true&application=dubbo-demo-annotation-consumer&bean.name=ServiceBean:org.apache.dubbo.demo.DemoService&check=true&default.check=true&default.init=false&default.injvm=false&default.lazy=false&default.sticky=false&dubbo=2.0.2&generic=false&group=&init=false&injvm=false&interface=org.apache.dubbo.demo.DemoService&lazy=false&methods=sayHello&pid=20456&register.ip=10.200.182.127&remote.application=dubbo-demo-annotation-provider&remote.timestamp=1549878480376&side=consumer&sticky=false&timestamp=1551085801200 to the consumer 10.200.182.127 use dubbo version
at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:398)
at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:306)
at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:230)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.init(ReferenceAnnotationBeanPostProcessor.java:162)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.access$100(ReferenceAnnotationBeanPostProcessor.java:146)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildInvocationHandler(ReferenceAnnotationBeanPostProcessor.java:140)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildProxy(ReferenceAnnotationBeanPostProcessor.java:122)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:116)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:49)
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.getInjectedObject(AnnotationInjectedBeanPostProcessor.java:342)
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor$AnnotatedFieldElement.inject(AnnotationInjectedBeanPostProcessor.java:522)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:129)
... 12 more"><pre class="notranslate"><code class="notranslate">Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoServiceComponent': Injection of @org.apache.dubbo.config.annotation.Reference dependencies is failed; nested exception is java.lang.IllegalStateException: Failed to check the status of the service org.apache.dubbo.demo.DemoService. No provider available for the service org.apache.dubbo.demo.DemoService from the url multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?anyhost=true&application=dubbo-demo-annotation-consumer&bean.name=ServiceBean:org.apache.dubbo.demo.DemoService&check=true&default.check=true&default.init=false&default.injvm=false&default.lazy=false&default.sticky=false&dubbo=2.0.2&generic=false&group=&init=false&injvm=false&interface=org.apache.dubbo.demo.DemoService&lazy=false&methods=sayHello&pid=20456&register.ip=10.200.182.127&remote.application=dubbo-demo-annotation-provider&remote.timestamp=1549878480376&side=consumer&sticky=false&timestamp=1551085801200 to the consumer 10.200.182.127 use dubbo version
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:133)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1268)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at org.apache.dubbo.demo.consumer.Application.main(Application.java:36)
Caused by: java.lang.IllegalStateException: Failed to check the status of the service org.apache.dubbo.demo.DemoService. No provider available for the service org.apache.dubbo.demo.DemoService from the url multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?anyhost=true&application=dubbo-demo-annotation-consumer&bean.name=ServiceBean:org.apache.dubbo.demo.DemoService&check=true&default.check=true&default.init=false&default.injvm=false&default.lazy=false&default.sticky=false&dubbo=2.0.2&generic=false&group=&init=false&injvm=false&interface=org.apache.dubbo.demo.DemoService&lazy=false&methods=sayHello&pid=20456&register.ip=10.200.182.127&remote.application=dubbo-demo-annotation-provider&remote.timestamp=1549878480376&side=consumer&sticky=false&timestamp=1551085801200 to the consumer 10.200.182.127 use dubbo version
at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:398)
at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:306)
at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:230)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.init(ReferenceAnnotationBeanPostProcessor.java:162)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceBeanInvocationHandler.access$100(ReferenceAnnotationBeanPostProcessor.java:146)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildInvocationHandler(ReferenceAnnotationBeanPostProcessor.java:140)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.buildProxy(ReferenceAnnotationBeanPostProcessor.java:122)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:116)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:49)
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.getInjectedObject(AnnotationInjectedBeanPostProcessor.java:342)
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor$AnnotatedFieldElement.inject(AnnotationInjectedBeanPostProcessor.java:522)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor.postProcessPropertyValues(AnnotationInjectedBeanPostProcessor.java:129)
... 12 more
</code></pre></div> | 0 |
<p dir="auto">I propose to add a new action with a shortcut: <code class="notranslate">Open New Window</code>, which will open a new WT window (a new WT process essentially).</p>
<p dir="auto">I use this often as it is a standard feature of almost all other terminals in other OSes and DEs that I used. I often need to open a new terminal side-by-side with other open terminal windows, in order to view them in parallel (monitor logs with tail -f, work and orchestrate concurrently multiple machines and how they communicate together etc. and I'm sure that are countless other reasons for needing this).</p>
<p dir="auto">Now, the way to open a new window in WT is either to raise my hand from the keyboard to grab (OMG, I know it's not important but I hate doing this) the mouse and hunt-and-peck the terminal icon in the taskbar to middle click it, or open the windows start menu and navigate through a charade of submenus in order to do it.</p>
<p dir="auto">This is frustrating for me, wastes my time and makes me feel that "my hands are tight" while using WT, compared to any other terminal in any other OS that I use which is just a shortcut away taking a only the time of a blink of an eye.</p>
<p dir="auto">Therefore I propose to implement this action and assign a shortcut to it (preferably <code class="notranslate">Ctrl+Shift+n</code>).</p> | <p dir="auto">This bug-tracker is monitored by Windows Console development team and other technical types. <strong>We like detail!</strong></p>
<p dir="auto">If you have a feature request, please post to <a href="https://wpdev.uservoice.com/forums/266908" rel="nofollow">the UserVoice</a>.</p>
<blockquote>
<p dir="auto"><strong>Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues</strong>. Instead, send dumps/traces to <a href="mailto:[email protected]">[email protected]</a>, referencing this GitHub issue.</p>
</blockquote>
<p dir="auto">Please use this form and describe your issue, concisely but precisely, with as much detail as possible</p>
<ul dir="auto">
<li>
<p dir="auto">Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)<br>
10.0.17704.1000 (Insider Preview Fast ring)</p>
</li>
<li>
<p dir="auto">What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)<br>
Generally I use WSL and conhost a lot to interface with my Linux servers.. and its experience has become more and more delighting over time, which I really appreciate. One particular issue in the rendering however is that even though I have installed a Powerline patched font that supports all the extra required glyphs, characters like exit status (<g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">β</g-emoji>) or box drawing characters (ββ°) do not display correctly, instead they're just these boxes denoting unrecognized characters in the console. In Chrome Canary on the Windows system itself, they're displayed just fine. An arrow key, and some rounded rectangular-shaped glyphs for drawing. Perfect! So it seems like the fonts are installed and are able to render these characters, but the conhost seems to only rely on its primary font. I don't think that these characters are in Monofur for Powerline directly.<br>
The characters to denote git directory (like ξ which for some reason in Chrome renders as an up arrow.. strange) do render correctly though, and the proper Powerline fonts have been installed (which makes this related to fonts such as in <a href="https://github.com/Microsoft/WSL/issues/881" data-hovercard-type="issue" data-hovercard-url="/microsoft/WSL/issues/881/hovercard">this issue</a>, but - hopefully - not user error (? Not sure if WSL was able to render Powerline at the time.. probably not but the font used is unclear) as has happened there). Anyway, I really hope that this isn't a duplicate of some issue that I haven't been able to check though.<br>
From tests in PowerShell (where the default Consolas was still set) I was able to confirm that this font supports the aforementioned glyphs but not the Powerline ones. This should support the "conhost doesn't look in other fonts, even though the glyphs are present there" issue.</p>
</li>
<li>
<p dir="auto">What's wrong / what should be happening instead:<br>
As a workaround I <em>could</em> fork and edit this Monofur font to include the glyphs that I need, but that'd be a royal pain in the ass and I really don't want to do it. The only real universal and long-term solution would be for conhost to look for presence of glyphs in other fonts whenever it isn't found in the primary font.</p>
</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19938179/42485212-fd0a1c5e-83f6-11e8-8100-88b70909000e.png"><img src="https://user-images.githubusercontent.com/19938179/42485212-fd0a1c5e-83f6-11e8-8100-88b70909000e.png" alt="wsl" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19938179/42485473-07645fe2-83f8-11e8-8ca2-c0317908ebf3.png"><img src="https://user-images.githubusercontent.com/19938179/42485473-07645fe2-83f8-11e8-8ca2-c0317908ebf3.png" alt="powershell" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Currently I can right-click on a tab and select <code class="notranslate">Close All Tabs</code> can this and similar commands be added to the command palette?</p> | <p dir="auto">I'm missing a lot commands for the tab contextual menu actions, like "Close all", "Close unmodiffied", "Close saved", etc and I guess many other users are missing them too.</p> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">On mobile, the text in the page is cut on the left.</p>
<p dir="auto">Android pixel xl</p> | <p dir="auto">This is actually the embedded webview (inside tweetdeck), but I suspect it looks the same on Safari mobile.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11857803/36824879-752d4ac6-1cb9-11e8-9fbc-51dd857795a2.png"><img src="https://user-images.githubusercontent.com/11857803/36824879-752d4ac6-1cb9-11e8-9fbc-51dd857795a2.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Not a big deal. Just sharing. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/filiph/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/filiph">@filiph</a></p> | 1 |
<ul dir="auto">
<li>Electron version: 4.0.x</li>
<li>Operating system: Windows 7 & macOS 10.14.2</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
The tray menu displays the same speed as normal.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
Windows 7:<br>
It took almost a second to show up.<br>
Almost impossible to display when the number of menus increases.<br>
macOS 10.14.2:<br>
No difference from the normal menu. There is no problem.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
<a href="https://github.com/orangeChu/multi-level-menu-for-tray.git">multi-level-menu-for-tray</a><br>
<a href="https://github.com/electron/electron/issues/16156" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/16156/hovercard">link issue#16156</a></p>
<p dir="auto">Also you can run with the following commands:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/orangeChu/multi-level-menu-for-tray.git
$ cd multi-level-menu-for-tray
$ npm install
$ npm start || electron ."><pre class="notranslate">$ git clone https://github.com/orangeChu/multi-level-menu-for-tray.git
$ <span class="pl-c1">cd</span> multi-level-menu-for-tray
$ npm install
$ npm start <span class="pl-k">||</span> electron <span class="pl-c1">.</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/25950247/51219452-f7bc0400-196b-11e9-866f-9d5e91b06bc1.gif"><img src="https://user-images.githubusercontent.com/25950247/51219452-f7bc0400-196b-11e9-866f-9d5e91b06bc1.gif" alt="screen" data-animated-image="" style="max-width: 100%;"></a></p> | <ul dir="auto">
<li>[email protected](It also happens in 4.0.0)</li>
<li>win7 ultimate 64bit</li>
</ul>
<p dir="auto">Hi guys,<br>
When I try to create multi-level menu for tray-menu,it worked,but loading speed is too slow.</p>
<p dir="auto">Example code is below.<br>
main.js</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="'use strict';
const app = require('electron').app;
const Tray = require('electron').Tray;
const Menu = require('electron').Menu;
const path = require('path');
let tray;
let contextMenu;
class Test {
constructor() {
}
initApp() {
app.on('ready', () => {
this.createTray();
});
}
createTray() {
tray = new Tray(path.join(__dirname, 'icon.png'));
tray.setToolTip('Test');
let childMenu = [];
let submenu = [];
let lastLv = [];
for (let index = 0; index < 5; index++) {
lastLv.push({
label: `lastLv${index}`
});
}
for (let index = 0; index < 10; index++) {
childMenu.push({
label: `childMenu${index}`,
type: 'submenu',
submenu: lastLv
});
}
for (let index = 0; index < 500; index++) {
submenu.push({
label: `menuItem${index}`,
type: 'submenu',
submenu: childMenu
});
}
contextMenu = Menu.buildFromTemplate([{
label: 'test',
type: 'submenu',
submenu
}]);
tray.on('right-click', () => {
//It may be cost 2's or more
tray.popUpContextMenu(contextMenu);
});
}
}
new Test().initApp();"><pre class="notranslate"><code class="notranslate">'use strict';
const app = require('electron').app;
const Tray = require('electron').Tray;
const Menu = require('electron').Menu;
const path = require('path');
let tray;
let contextMenu;
class Test {
constructor() {
}
initApp() {
app.on('ready', () => {
this.createTray();
});
}
createTray() {
tray = new Tray(path.join(__dirname, 'icon.png'));
tray.setToolTip('Test');
let childMenu = [];
let submenu = [];
let lastLv = [];
for (let index = 0; index < 5; index++) {
lastLv.push({
label: `lastLv${index}`
});
}
for (let index = 0; index < 10; index++) {
childMenu.push({
label: `childMenu${index}`,
type: 'submenu',
submenu: lastLv
});
}
for (let index = 0; index < 500; index++) {
submenu.push({
label: `menuItem${index}`,
type: 'submenu',
submenu: childMenu
});
}
contextMenu = Menu.buildFromTemplate([{
label: 'test',
type: 'submenu',
submenu
}]);
tray.on('right-click', () => {
//It may be cost 2's or more
tray.popUpContextMenu(contextMenu);
});
}
}
new Test().initApp();
</code></pre></div> | 1 |
<p dir="auto">Hello,</p>
<p dir="auto">When i run the code below, on the second search, the results are duplicated.</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$finder = new Finder();
$first_results = $finder->in('/my/path')->files()->name('/my_pattern/');
// [...] some code
$second_results = $finder->in('/my/path')->files()->name('/another_pattern/');"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>finder</span> = <span class="pl-k">new</span> <span class="pl-v">Finder</span>();
<span class="pl-s1"><span class="pl-c1">$</span>first_results</span> = <span class="pl-s1"><span class="pl-c1">$</span>finder</span>-><span class="pl-en">in</span>(<span class="pl-s">'/my/path'</span>)-><span class="pl-en">files</span>()-><span class="pl-en">name</span>(<span class="pl-s">'/my_pattern/'</span>);
<span class="pl-c">// [...] some code</span>
<span class="pl-s1"><span class="pl-c1">$</span>second_results</span> = <span class="pl-s1"><span class="pl-c1">$</span>finder</span>-><span class="pl-en">in</span>(<span class="pl-s">'/my/path'</span>)-><span class="pl-en">files</span>()-><span class="pl-en">name</span>(<span class="pl-s">'/another_pattern/'</span>);</pre></div>
<p dir="auto">But if i run that code, it works as intended :</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$finder = new Finder();
$first_results = $finder->in('/my/path')->files()->name('/my_pattern/');
// [...] some code
$finder = new Finder();
$second_results = $finder->in('/my/path')->files()->name('/another_pattern/');"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>finder</span> = <span class="pl-k">new</span> <span class="pl-v">Finder</span>();
<span class="pl-s1"><span class="pl-c1">$</span>first_results</span> = <span class="pl-s1"><span class="pl-c1">$</span>finder</span>-><span class="pl-en">in</span>(<span class="pl-s">'/my/path'</span>)-><span class="pl-en">files</span>()-><span class="pl-en">name</span>(<span class="pl-s">'/my_pattern/'</span>);
<span class="pl-c">// [...] some code</span>
<span class="pl-s1"><span class="pl-c1">$</span>finder</span> = <span class="pl-k">new</span> <span class="pl-v">Finder</span>();
<span class="pl-s1"><span class="pl-c1">$</span>second_results</span> = <span class="pl-s1"><span class="pl-c1">$</span>finder</span>-><span class="pl-en">in</span>(<span class="pl-s">'/my/path'</span>)-><span class="pl-en">files</span>()-><span class="pl-en">name</span>(<span class="pl-s">'/another_pattern/'</span>);</pre></div> | <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.4.0</td>
</tr>
</tbody>
</table>
<p dir="auto">I noticed that, when using the dependency injection component without the fullstack framework that the <code class="notranslate">ContainerBuilder</code> cannot be used a container anymore (it was working from Symfony 2.0 to 3.3).</p>
<p dir="auto">The context is the following: when using it with Drupal, it might happen that Drupal modules are being enabled, when they do, they are enabled one by one, implying a container rebuild each time.</p>
<p dir="auto">Problem is that before 3.4, container was loaded using <code class="notranslate">require_once</code> and class name was always the same which lead the container NOT being reloaded even if changed due to <code class="notranslate">require_once</code> usage, and it was also impossible to manually include the file which would have lead to a duplicated class name hence a fatal error.</p>
<p dir="auto">As a simple bypass, I was using this code as a replacement of Kernel::initializeContainer():</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" protected function initializeContainer()
{
$class = $this->getContainerClass();
$cache = new ConfigCache($this->getCacheDir().'/'.$class.'.php', $this->debug);
$fresh = true;
if (!$cache->isFresh()) {
$container = $this->buildContainer();
$container->compile();
$this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
$fresh = false;
$this->container = $container;
} else {
require_once $cache->getPath();
$this->container = new $class();
$this->container->set('kernel', $this);
}
if (!$fresh && $this->container->has('cache_warmer')) {
$this->container->get('cache_warmer')->warmUp($this->container->getParameter('kernel.cache_dir'));
}
}"><pre class="notranslate"> <span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">initializeContainer</span>()
{
<span class="pl-s1"><span class="pl-c1">$</span>class</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">getContainerClass</span>();
<span class="pl-s1"><span class="pl-c1">$</span>cache</span> = <span class="pl-k">new</span> <span class="pl-v">ConfigCache</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">getCacheDir</span>().<span class="pl-s">'/'</span>.<span class="pl-s1"><span class="pl-c1">$</span>class</span>.<span class="pl-s">'.php'</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">debug</span>);
<span class="pl-s1"><span class="pl-c1">$</span>fresh</span> = <span class="pl-c1">true</span>;
<span class="pl-k">if</span> (!<span class="pl-s1"><span class="pl-c1">$</span>cache</span>-><span class="pl-en">isFresh</span>()) {
<span class="pl-s1"><span class="pl-c1">$</span>container</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">buildContainer</span>();
<span class="pl-s1"><span class="pl-c1">$</span>container</span>-><span class="pl-en">compile</span>();
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">dumpContainer</span>(<span class="pl-s1"><span class="pl-c1">$</span>cache</span>, <span class="pl-s1"><span class="pl-c1">$</span>container</span>, <span class="pl-s1"><span class="pl-c1">$</span>class</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">getContainerBaseClass</span>());
<span class="pl-s1"><span class="pl-c1">$</span>fresh</span> = <span class="pl-c1">false</span>;
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span> = <span class="pl-s1"><span class="pl-c1">$</span>container</span>;
} <span class="pl-k">else</span> {
<span class="pl-k">require_once</span> <span class="pl-s1"><span class="pl-c1">$</span>cache</span>-><span class="pl-en">getPath</span>();
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span> = <span class="pl-k">new</span> <span class="pl-s1"><span class="pl-c1">$</span>class</span>();
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span>-><span class="pl-en">set</span>(<span class="pl-s">'kernel'</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>);
}
<span class="pl-k">if</span> (!<span class="pl-s1"><span class="pl-c1">$</span>fresh</span> && <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span>-><span class="pl-en">has</span>(<span class="pl-s">'cache_warmer'</span>)) {
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span>-><span class="pl-en">get</span>(<span class="pl-s">'cache_warmer'</span>)-><span class="pl-en">warmUp</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">container</span>-><span class="pl-en">getParameter</span>(<span class="pl-s">'kernel.cache_dir'</span>));
}
}</pre></div>
<p dir="auto">The only notable change in this code is that I don't <code class="notranslate">require_once</code> the container when it is being rebuilt, but use directly the <code class="notranslate">ContainerBuilder</code> instance instead, which was until now gracefully working.</p>
<p dir="auto">Now, if we try that since 3.4, it will fail with a fatal error due to the lack of the <code class="notranslate">container.build_id</code> parameter, and there's a few usages of it with the framework bundle enabled (it is being used as default values for cache adapters version parameter for example).</p>
<p dir="auto">I did bypass this problem with a simple version compare and a fallback on the original Symfony kernel own <code class="notranslate">initializeContainer()</code> method now that the container class name do change thanks to its hashed name, but it is a breaking change:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" protected function initializeContainer()
{
// From Symfony 3.4 only a require and not require_once is being used,
// we can safely rely upon the parent implementation.
if (0 <= version_compare(BaseKernel::VERSION, '3.4.0')) {
return parent::initializeContainer();
}
// ..."><pre class="notranslate"> <span class="pl-k">protected</span> <span class="pl-k">function</span> initializeContainer()
{
<span class="pl-c">// From Symfony 3.4 only a require and not require_once is being used,</span>
<span class="pl-c">// we can safely rely upon the parent implementation.</span>
<span class="pl-k">if</span> (<span class="pl-c1">0</span> <= version_compare(<span class="pl-v">BaseKernel</span>::<span class="pl-c1">VERSION</span>, <span class="pl-s">'3.4.0'</span>)) {
<span class="pl-k">return</span> <span class="pl-smi">parent</span>::<span class="pl-en">initializeContainer</span>();
}
<span class="pl-c">// ...</span></pre></div>
<p dir="auto">Please note that it is very simple to bypass, and it is a very minor breakage since I guess that the <code class="notranslate">ContainerBuilder</code> was not meant to be used a container itself, nevertheless I suspect that other applications that might use the dependency injection manually could one day end up with the same problem - certainly under very, very peculiar conditions (such as the one I experienced).</p> | 0 |
<p dir="auto">Please:</p>
<ul dir="auto">
<li>[ X] Check for duplicate issues.</li>
<li>[X ] Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<p dir="auto">Running a colab notebook (<a href="https://github.com/Kazuhito00/YOLOX-Colaboratory-Training-Sample/blob/main/YOLOX_Colaboratory_Training_Sample.ipynb">here</a>) based in Megvi's Yolox stopped working since 2 days ago because of an issue with the _can_use_color() from pretty_printer.py. The error is created by the exception of get_ipython().that if we print the traceback inside _can_use_color() reports get_ipython() not found.</p>
<p dir="auto">Please note that for the last several weeks the _can_use_color() did not raise the exception of NameError for get_ipython, working like a charm. Might colab have changed something?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def _can_use_color() -> bool:
try:
# Check if we're in IPython or Colab
ipython = get_ipython() # type: ignore[name-defined]
shell = ipython.__class__.__name__
if shell == "ZMQInteractiveShell":
# Jupyter Notebook
return True
elif "colab" in str(ipython.__class__):
# Google Colab (external or internal)
return True
except NameError:
pass
# Otherwise check if we're in a terminal
return sys.stdout.isatty()"><pre class="notranslate"><code class="notranslate">def _can_use_color() -> bool:
try:
# Check if we're in IPython or Colab
ipython = get_ipython() # type: ignore[name-defined]
shell = ipython.__class__.__name__
if shell == "ZMQInteractiveShell":
# Jupyter Notebook
return True
elif "colab" in str(ipython.__class__):
# Google Colab (external or internal)
return True
except NameError:
pass
# Otherwise check if we're in a terminal
return sys.stdout.isatty()
</code></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>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "/usr/local/lib/python3.7/dist-packages/tensorflow/lite/python/util.py", line 51, in <module>
from jax import xla_computation as _xla_computation
File "/usr/local/lib/python3.7/dist-packages/jax/__init__.py", line 59, in <module>
from .core import eval_context as ensure_compile_time_eval
File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 47, in <module>
import jax._src.pretty_printer as pp
File "/usr/local/lib/python3.7/dist-packages/jax/_src/pretty_printer.py", line 61, in <module>
CAN_USE_COLOR = _can_use_color()
β <function _can_use_color at 0x7f31629d3320>
File "/usr/local/lib/python3.7/dist-packages/jax/_src/pretty_printer.py", line 59, in _can_use_color
return sys.stdout.isatty()
β β <yolox.utils.logger.StreamToLoguru object at 0x7f353ea0e390>
β <module 'sys' (built-in)>
AttributeError: 'StreamToLoguru' object has no attribute 'isatty'"><pre class="notranslate"><code class="notranslate"> File "/usr/local/lib/python3.7/dist-packages/tensorflow/lite/python/util.py", line 51, in <module>
from jax import xla_computation as _xla_computation
File "/usr/local/lib/python3.7/dist-packages/jax/__init__.py", line 59, in <module>
from .core import eval_context as ensure_compile_time_eval
File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 47, in <module>
import jax._src.pretty_printer as pp
File "/usr/local/lib/python3.7/dist-packages/jax/_src/pretty_printer.py", line 61, in <module>
CAN_USE_COLOR = _can_use_color()
β <function _can_use_color at 0x7f31629d3320>
File "/usr/local/lib/python3.7/dist-packages/jax/_src/pretty_printer.py", line 59, in _can_use_color
return sys.stdout.isatty()
β β <yolox.utils.logger.StreamToLoguru object at 0x7f353ea0e390>
β <module 'sys' (built-in)>
AttributeError: 'StreamToLoguru' object has no attribute 'isatty'
</code></pre></div>
<p dir="auto">The error of object has no attribute isatty is not important. It is a result of running the return sys.stdout.isatty() due to the exception of</p> | <p dir="auto">Dear JAX people, I've been struggling again with a leaked tracer.</p>
<p dir="auto"><a href="https://github.com/google/jax/issues/2912" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/2912/hovercard">The last time I had a leaked tracer</a>, it took me a few days to find it. This time, it's been a few days and I still can't find the problem. I don't know how to make progress here. Debugging leaked tracers is hard because the error happens so far from the problem.</p>
<p dir="auto">In the code below, I've tried to modify JAX so that it names the tracers to give me an idea of where the tracer is created. Unfortuantely, it doesn't seem to retain the names probably because tracers are copied around and the name is lost. Any insight on this would be really helpful.</p>
<p dir="auto">I realize that tracers are "deep internals" as Matt put it. I realize you don't want to document them. Would it be possible to improve the debug messages produced? Maybe with a flag?</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from inspect import signature
from typing import Any, Callable, Union
from functools import wraps, partial
from jax.interpreters.partial_eval import JaxprTracer, Trace
from jax import jit, grad, vjp
from jax.tree_util import tree_map
__all__ = ['set_debug_reprs', 'djit']
def _id_str(obj: Any) -> str:
id_ = hex(id(obj) & 0xfffff)[-5:]
if hasattr(obj, '_name'):
return f'{obj._name}:{id_}'
return id_
def set_debug_reprs():
def trace_repr(self: Trace):
level = f'{self.level}/{self.sublevel}'
return f'{self.__class__.__name__}({_id_str(self)}:{level})'
def jaxpr_tracer_repr(self: JaxprTracer):
trace = self._trace
trace_id = _id_str(trace)
return f'Tracer<{trace_id}::{_id_str(self)}>'
Trace.__repr__ = trace_repr
JaxprTracer.__repr__ = jaxpr_tracer_repr
def name_tracer(function_name, argument_name, tracer):
if not isinstance(tracer, JaxprTracer):
return tracer
tracer._name = argument_name
tracer._trace._name = function_name
print(tracer)
return tracer
def function_name(fun: Callable) -> str:
if hasattr(fun, '__name__'):
return fun.__name__
if hasattr(fun, 'func'):
return function_name(fun.func)
return "NAMELESS"
def name_all_tracers(fun):
s = signature(fun)
@wraps(fun)
def new_fun(*args, **kwargs):
bound_arguments = s.bind(*args, **kwargs)
for name, value in bound_arguments.arguments.items():
tree_map(partial(name_tracer, function_name(fun), name), value)
return fun(*args, **kwargs)
return new_fun
def djit(fun: Callable, *args, **kwargs):
new_fun = name_all_tracers(fun)
return jit(new_fun, *args, **kwargs)
def dgrad(fun, *args, **kwargs):
new_fun = name_all_tracers(fun)
return grad(new_fun, *args, **kwargs)
def dvjp(fun, *args, **kwargs):
new_fun = name_all_tracers(fun)
return vjp(new_fun, *args, **kwargs)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">inspect</span> <span class="pl-k">import</span> <span class="pl-s1">signature</span>
<span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">Any</span>, <span class="pl-v">Callable</span>, <span class="pl-v">Union</span>
<span class="pl-k">from</span> <span class="pl-s1">functools</span> <span class="pl-k">import</span> <span class="pl-s1">wraps</span>, <span class="pl-s1">partial</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">interpreters</span>.<span class="pl-s1">partial_eval</span> <span class="pl-k">import</span> <span class="pl-v">JaxprTracer</span>, <span class="pl-v">Trace</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-s1">jit</span>, <span class="pl-s1">grad</span>, <span class="pl-s1">vjp</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">tree_util</span> <span class="pl-k">import</span> <span class="pl-s1">tree_map</span>
<span class="pl-s1">__all__</span> <span class="pl-c1">=</span> [<span class="pl-s">'set_debug_reprs'</span>, <span class="pl-s">'djit'</span>]
<span class="pl-k">def</span> <span class="pl-en">_id_str</span>(<span class="pl-s1">obj</span>: <span class="pl-v">Any</span>) <span class="pl-c1">-></span> <span class="pl-s1">str</span>:
<span class="pl-s1">id_</span> <span class="pl-c1">=</span> <span class="pl-en">hex</span>(<span class="pl-en">id</span>(<span class="pl-s1">obj</span>) <span class="pl-c1">&</span> <span class="pl-c1">0xfffff</span>)[<span class="pl-c1">-</span><span class="pl-c1">5</span>:]
<span class="pl-k">if</span> <span class="pl-en">hasattr</span>(<span class="pl-s1">obj</span>, <span class="pl-s">'_name'</span>):
<span class="pl-k">return</span> <span class="pl-s">f'<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">obj</span>.<span class="pl-s1">_name</span><span class="pl-kos">}</span></span>:<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">id_</span><span class="pl-kos">}</span></span>'</span>
<span class="pl-k">return</span> <span class="pl-s1">id_</span>
<span class="pl-k">def</span> <span class="pl-en">set_debug_reprs</span>():
<span class="pl-k">def</span> <span class="pl-en">trace_repr</span>(<span class="pl-s1">self</span>: <span class="pl-v">Trace</span>):
<span class="pl-s1">level</span> <span class="pl-c1">=</span> <span class="pl-s">f'<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">level</span><span class="pl-kos">}</span></span>/<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">sublevel</span><span class="pl-kos">}</span></span>'</span>
<span class="pl-k">return</span> <span class="pl-s">f'<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">__class__</span>.<span class="pl-s1">__name__</span><span class="pl-kos">}</span></span>(<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-en">_id_str</span>(<span class="pl-s1">self</span>)<span class="pl-kos">}</span></span>:<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">level</span><span class="pl-kos">}</span></span>)'</span>
<span class="pl-k">def</span> <span class="pl-en">jaxpr_tracer_repr</span>(<span class="pl-s1">self</span>: <span class="pl-v">JaxprTracer</span>):
<span class="pl-s1">trace</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_trace</span>
<span class="pl-s1">trace_id</span> <span class="pl-c1">=</span> <span class="pl-en">_id_str</span>(<span class="pl-s1">trace</span>)
<span class="pl-k">return</span> <span class="pl-s">f'Tracer<<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">trace_id</span><span class="pl-kos">}</span></span>::<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-en">_id_str</span>(<span class="pl-s1">self</span>)<span class="pl-kos">}</span></span>>'</span>
<span class="pl-v">Trace</span>.<span class="pl-s1">__repr__</span> <span class="pl-c1">=</span> <span class="pl-s1">trace_repr</span>
<span class="pl-v">JaxprTracer</span>.<span class="pl-s1">__repr__</span> <span class="pl-c1">=</span> <span class="pl-s1">jaxpr_tracer_repr</span>
<span class="pl-k">def</span> <span class="pl-en">name_tracer</span>(<span class="pl-s1">function_name</span>, <span class="pl-s1">argument_name</span>, <span class="pl-s1">tracer</span>):
<span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">tracer</span>, <span class="pl-v">JaxprTracer</span>):
<span class="pl-k">return</span> <span class="pl-s1">tracer</span>
<span class="pl-s1">tracer</span>.<span class="pl-s1">_name</span> <span class="pl-c1">=</span> <span class="pl-s1">argument_name</span>
<span class="pl-s1">tracer</span>.<span class="pl-s1">_trace</span>.<span class="pl-s1">_name</span> <span class="pl-c1">=</span> <span class="pl-s1">function_name</span>
<span class="pl-en">print</span>(<span class="pl-s1">tracer</span>)
<span class="pl-k">return</span> <span class="pl-s1">tracer</span>
<span class="pl-k">def</span> <span class="pl-en">function_name</span>(<span class="pl-s1">fun</span>: <span class="pl-v">Callable</span>) <span class="pl-c1">-></span> <span class="pl-s1">str</span>:
<span class="pl-k">if</span> <span class="pl-en">hasattr</span>(<span class="pl-s1">fun</span>, <span class="pl-s">'__name__'</span>):
<span class="pl-k">return</span> <span class="pl-s1">fun</span>.<span class="pl-s1">__name__</span>
<span class="pl-k">if</span> <span class="pl-en">hasattr</span>(<span class="pl-s1">fun</span>, <span class="pl-s">'func'</span>):
<span class="pl-k">return</span> <span class="pl-en">function_name</span>(<span class="pl-s1">fun</span>.<span class="pl-s1">func</span>)
<span class="pl-k">return</span> <span class="pl-s">"NAMELESS"</span>
<span class="pl-k">def</span> <span class="pl-en">name_all_tracers</span>(<span class="pl-s1">fun</span>):
<span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-en">signature</span>(<span class="pl-s1">fun</span>)
<span class="pl-en">@<span class="pl-en">wraps</span>(<span class="pl-s1">fun</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">new_fun</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):
<span class="pl-s1">bound_arguments</span> <span class="pl-c1">=</span> <span class="pl-s1">s</span>.<span class="pl-en">bind</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-k">for</span> <span class="pl-s1">name</span>, <span class="pl-s1">value</span> <span class="pl-c1">in</span> <span class="pl-s1">bound_arguments</span>.<span class="pl-s1">arguments</span>.<span class="pl-en">items</span>():
<span class="pl-en">tree_map</span>(<span class="pl-en">partial</span>(<span class="pl-s1">name_tracer</span>, <span class="pl-en">function_name</span>(<span class="pl-s1">fun</span>), <span class="pl-s1">name</span>), <span class="pl-s1">value</span>)
<span class="pl-k">return</span> <span class="pl-en">fun</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-k">return</span> <span class="pl-s1">new_fun</span>
<span class="pl-k">def</span> <span class="pl-en">djit</span>(<span class="pl-s1">fun</span>: <span class="pl-v">Callable</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):
<span class="pl-s1">new_fun</span> <span class="pl-c1">=</span> <span class="pl-en">name_all_tracers</span>(<span class="pl-s1">fun</span>)
<span class="pl-k">return</span> <span class="pl-en">jit</span>(<span class="pl-s1">new_fun</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-k">def</span> <span class="pl-en">dgrad</span>(<span class="pl-s1">fun</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):
<span class="pl-s1">new_fun</span> <span class="pl-c1">=</span> <span class="pl-en">name_all_tracers</span>(<span class="pl-s1">fun</span>)
<span class="pl-k">return</span> <span class="pl-en">grad</span>(<span class="pl-s1">new_fun</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-k">def</span> <span class="pl-en">dvjp</span>(<span class="pl-s1">fun</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):
<span class="pl-s1">new_fun</span> <span class="pl-c1">=</span> <span class="pl-en">name_all_tracers</span>(<span class="pl-s1">fun</span>)
<span class="pl-k">return</span> <span class="pl-en">vjp</span>(<span class="pl-s1">new_fun</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)</pre></div>
<p dir="auto">When debugging, I call <code class="notranslate">set_debug_reprs()</code> and use the shim:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from jax import *
from .debugging import djit as jit, dgrad as grad, dvjp as vjp"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-c1">*</span>
<span class="pl-k">from</span> .<span class="pl-s1">debugging</span> <span class="pl-k">import</span> <span class="pl-s1">djit</span> <span class="pl-k">as</span> <span class="pl-s1">jit</span>, <span class="pl-s1">dgrad</span> <span class="pl-k">as</span> <span class="pl-s1">grad</span>, <span class="pl-s1">dvjp</span> <span class="pl-k">as</span> <span class="pl-s1">vjp</span></pre></div>
<p dir="auto">With this, a <code class="notranslate">JaxprTracer</code> now prints out as:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Tracer<find_fixed_point:84220::x_init:87810>"><pre class="notranslate"><code class="notranslate">Tracer<find_fixed_point:84220::x_init:87810>
</code></pre></div>
<p dir="auto">This shows the function name in which it was created <code class="notranslate">find_fixed_point</code>, the parameter name that it corresponds to <code class="notranslate">x_init</code>, and some object id codes for each in case there are duplicate invocations.</p>
<p dir="auto">It would have been nice to also name the field in case the tracer is part of a PyTree-like object, but that's hard to get unless the PyTree-like object exposes names for its fields like in <code class="notranslate">flax.struct.dataclass</code> that was recently shown to me. (Perhaps the PyTree registry could optionally accept a third function that produces a tree of strings for naming purposes.)</p> | 0 |
<p dir="auto">When I tried to modify the file name of the release version apk through the gradle script, the build failed. This is what I add in build.gradle:</p>
<div class="highlight highlight-source-groovy notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" applicationVariants.all { variant ->
variant.outputs.all { output ->
def outputFile = output.outputFile
if (outputFile != null
&& outputFile.name.endsWith('.apk')
&& outputFile.name.contains('-release')) {
outputFileName = "industry_${defaultConfig.versionCode}_v${defaultConfig.versionName}_${new Date().format("yyyyMMdd")}.apk"
}
}
}"><pre class="notranslate"> applicationVariants<span class="pl-k">.</span>all { <span class="pl-v">variant</span> <span class="pl-k">-></span>
variant<span class="pl-k">.</span>outputs<span class="pl-k">.</span>all { <span class="pl-v">output</span> <span class="pl-k">-></span>
<span class="pl-k">def</span> outputFile <span class="pl-k">=</span> output<span class="pl-k">.</span>outputFile
<span class="pl-k">if</span> (outputFile <span class="pl-k">!=</span> <span class="pl-c1">null</span>
<span class="pl-k">&&</span> outputFile<span class="pl-k">.</span>name<span class="pl-k">.</span>endsWith(<span class="pl-s"><span class="pl-pds">'</span>.apk<span class="pl-pds">'</span></span>)
<span class="pl-k">&&</span> outputFile<span class="pl-k">.</span>name<span class="pl-k">.</span>contains(<span class="pl-s"><span class="pl-pds">'</span>-release<span class="pl-pds">'</span></span>)) {
outputFileName <span class="pl-k">=</span> <span class="pl-s"><span class="pl-pds">"</span>industry_<span class="pl-s1"><span class="pl-pse">${</span>defaultConfig.versionCode<span class="pl-pse">}</span></span>_v<span class="pl-s1"><span class="pl-pse">${</span>defaultConfig.versionName<span class="pl-pse">}</span></span>_<span class="pl-s1"><span class="pl-pse">${</span>new Date().format("yyyyMMdd")<span class="pl-pse">}</span></span>.apk<span class="pl-pds">"</span></span>
}
}
}</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10418364/45747092-6ba50480-bc37-11e8-8c86-ce8473d64ed0.png"><img src="https://user-images.githubusercontent.com/10418364/45747092-6ba50480-bc37-11e8-8c86-ce8473d64ed0.png" alt="screen shot 2018-09-19 at 18 11 13" style="max-width: 100%;"></a></p>
<p dir="auto">flutter doctor:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-CN)
[β] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[β] iOS toolchain - develop for iOS devices (Xcode 10.0)
[β] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.2.1)
β Flutter plugin not installed; this adds Flutter specific functionality.
[β] VS Code (version 1.27.1)
[β] Connected devices (2 available)"><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-CN)
[β] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[β] iOS toolchain - develop for iOS devices (Xcode 10.0)
[β] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.2.1)
β Flutter plugin not installed; this adds Flutter specific functionality.
[β] VS Code (version 1.27.1)
[β] Connected devices (2 available)
</code></pre></div> | <p dir="auto">I just tried <code class="notranslate">flutter run</code> and it failed with this message: <code class="notranslate">Gradle build failed to produce an Android package.</code></p>
<p dir="auto">Can we print a message like "Please see <strong>this log file</strong> for more information" ? I'd love to know what to do.</p>
<p dir="auto">I looked and there's no .log file in my project's root.</p> | 1 |
<p dir="auto">Hi!</p>
<p dir="auto">I've run into issue when trying to use shadows in my scene that is rendered into two separate viewports (separate scenes, based on <a href="http://mrdoob.github.io/three.js/examples/webgl_multiple_views.html" rel="nofollow">http://mrdoob.github.io/three.js/examples/webgl_multiple_views.html</a>). The moment I enable shadowing, shadow map (used only in one scene, one viewport) is corrupted. Please see the image attached. There is only one shadow receiver in the screenshot and no object casting shadows, yet, parts of the ground are suggested as in shadow. When I remove renderer.enableScissorTest(true), shadows are ok (but I lose my other viewport rendering of course).</p>
<p dir="auto">Can this be done with some workaround?</p>
<p dir="auto">three.js r58, win7, latest google chrome, latest firefox</p>
<p dir="auto">Great library btw! Keep up the good work and thanks for any advice!<br>
Regards,<br>
Boris Zapotocky</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7320380df741b280a6333b8d6d8fde93ca132d1d68a18d947631e2c4c01b8057/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333634373835342f3539303834352f61643762613530302d633966312d313165322d386265302d6136393562623361393662372e706e67"><img src="https://camo.githubusercontent.com/7320380df741b280a6333b8d6d8fde93ca132d1d68a18d947631e2c4c01b8057/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333634373835342f3539303834352f61643762613530302d633966312d313165322d386265302d6136393562623361393662372e706e67" alt="bug_shadow" data-canonical-src="https://f.cloud.github.com/assets/3647854/590845/ad7ba500-c9f1-11e2-8be0-a695bb3a96b7.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/0389d22f5792aba1141069f6c5a46161655e720f75a045f34261e81e44a46197/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333634373835342f3539303834342f61643731643932362d633966312d313165322d393730392d6535323063333831353132612e706e67"><img src="https://camo.githubusercontent.com/0389d22f5792aba1141069f6c5a46161655e720f75a045f34261e81e44a46197/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333634373835342f3539303834342f61643731643932362d633966312d313165322d393730392d6535323063333831353132612e706e67" alt="bug_shadow_noscissor" data-canonical-src="https://f.cloud.github.com/assets/3647854/590844/ad71d926-c9f1-11e2-9709-e520c381512a.png" style="max-width: 100%;"></a></p> | <p dir="auto">Hi,<br>
first of all I love the three.js framework and so I have play arround with it and found something strange and want to know if this is "by design" or if this shouldn't be the case.</p>
<p dir="auto">You can use te same scene object in multiple CanvasRenderer instances, but not in multiple WebGLRenderer instance.<br>
So for WebGLRenderer you need a dedicated scene for each WebGLRenderer instance.</p>
<p dir="auto">Example render which is NOT working with WebGLRenderer:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function render() {
mesh1.rotation.x += 0.01;
mesh1.rotation.y += 0.02;
renderer1.render(scene1, camera1);
renderer2.render(scene1, camera1);
}"><pre class="notranslate"><span class="pl-k">function</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-s1">mesh1</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">+=</span> <span class="pl-c1">0.01</span><span class="pl-kos">;</span>
<span class="pl-s1">mesh1</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">y</span> <span class="pl-c1">+=</span> <span class="pl-c1">0.02</span><span class="pl-kos">;</span>
<span class="pl-s1">renderer1</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-s1">scene1</span><span class="pl-kos">,</span> <span class="pl-s1">camera1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">renderer2</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-s1">scene1</span><span class="pl-kos">,</span> <span class="pl-s1">camera1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Example render which is working with WebGLRenderer:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function render() {
mesh1.rotation.x += 0.01;
mesh1.rotation.y += 0.02;
renderer1.render(scene1, camera1);
renderer2.render(scene2, camera1);
}"><pre class="notranslate"><span class="pl-k">function</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-s1">mesh1</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">+=</span> <span class="pl-c1">0.01</span><span class="pl-kos">;</span>
<span class="pl-s1">mesh1</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">y</span> <span class="pl-c1">+=</span> <span class="pl-c1">0.02</span><span class="pl-kos">;</span>
<span class="pl-s1">renderer1</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-s1">scene1</span><span class="pl-kos">,</span> <span class="pl-s1">camera1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">renderer2</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-s1">scene2</span><span class="pl-kos">,</span> <span class="pl-s1">camera1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">As I mention both examples are working fine with the CanvasRenderer, it also doesn't matter if I use the same camera or different ones.</p>
<p dir="auto">Thanks for confirmation and Greetings,</p>
<ul dir="auto">
<li>Markus B.</li>
</ul> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.