text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<h3 dir="auto">What problem does this feature solve?</h3>
<p dir="auto">It's quite frequent we need to abstract a v-for'ed element tree as a component</p>
<p dir="auto">for example, go from <code class="notranslate"><li v-for="item in list">(something reusable)</li></code> to <code class="notranslate"><ListItem v-for="item in list" :key="item"></code></p>
<p dir="auto">it's extremely useful when you are building higher older components. i.e. Components that glues components with predefined interfaces.</p>
<p dir="auto">it used to be natural to do so, as objects always come with an identity, which is automatically unique, and best suited to be keys.</p>
<p dir="auto">But now, it says it should be a primitive — therefore I have to patch the object creation system of javascript to manually give every object created an id property, which is a number automatically increases every time a new object is created, and it is duplicate with the identity an object already have.</p>
<p dir="auto">And the counter has to be global, as every object created potentially passed to v-for has to be patched.</p>
<p dir="auto">This is havoc</p>
<p dir="auto">It utterly destroys the usefulness of v-for and the convenience of abstraction and code reuse, it also breaks tunes of existing code.</p>
<p dir="auto">It seems that it's much easier to implement my own v-for that supports the identity of objects as keys rather than patching the object system of javascript to ensure every object has a duplicated unique primitive to make vue happy. And it's much easier to do so as I have tons of code broken by this primitive check, which needs a complete and unnecessary redesign. And the complexity increases dramatically.</p>
<p dir="auto">So PLEEEASE just support plain objects, i.e. objects created by object literal</p>
<p dir="auto">they are absolutely the same with primitives when all your diff algorithm needs is just <code class="notranslate">SameValue</code>. It's nothing difficult to implement.</p>
<p dir="auto">But for us, it's invaluable.</p>
<h3 dir="auto">What does the proposed API look like?</h3>
<p dir="auto"><code class="notranslate"><component v-for="item in [{...}, {...}]" :key="item"></code></p>
<p dir="auto">Just support objects as v-for's keys</p>
<p dir="auto">Simple yet useful</p> | <h3 dir="auto">Vue.js version</h3>
<p dir="auto">2.0.2</p>
<h3 dir="auto">Reproduction Link</h3>
<p dir="auto"><a href="http://jsfiddle.net/2vqkLkjL/1/" rel="nofollow">http://jsfiddle.net/2vqkLkjL/1/</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ul dir="auto">
<li>Create a component with a nested data property: Object, of an object containing an array.</li>
<li>Set up watcher for this property, specifying the deep flag.</li>
</ul>
<h3 dir="auto">What is Expected?</h3>
<p dir="auto">When the value of an array changes, the watcher runs</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Watcher isn't getting triggered.</p>
<p dir="auto">The code seemed to work fine in Vue 1.x.</p>
<p dir="auto">Not 100% nested objects/arrays is the correct way for managing a view with lots of inputs.</p> | 0 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows...
"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto"><strong>Actual behavior:</strong></p> | <p dir="auto">The below code raise an compilation error, which says "Property 'includes' does not exist on type 'string'.", even with the "--target es6" option.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""abcde".includes("cd");"><pre class="notranslate"><code class="notranslate">"abcde".includes("cd");
</code></pre></div>
<p dir="auto">It is likely that "contains" function defined in String interface should be replaced with "includes".<br>
<a href="https://github.com/Microsoft/TypeScript/blob/b2a871dcfb89739632fbc0fa5b5abe0177d68b9b/src/lib/es6.d.ts#L380">https://github.com/Microsoft/TypeScript/blob/b2a871dcfb89739632fbc0fa5b5abe0177d68b9b/src/lib/es6.d.ts#L380</a><br>
<a href="https://github.com/Microsoft/TypeScript/blob/965f994acefd238dc0c473e739d7916c47bf41b4/bin/lib.core.es6.d.ts#L1579">https://github.com/Microsoft/TypeScript/blob/965f994acefd238dc0c473e739d7916c47bf41b4/bin/lib.core.es6.d.ts#L1579</a></p> | 0 |
<ul dir="auto">
<li>Electron version: 1.4.15</li>
<li>Operating system: Windows 10</li>
</ul>
<p dir="auto">I have a simple nodeJS app that has a function to scrape file metadata. Since scraping metadata can be intensive I made the app run this as a child process using fork.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const metaParser = child.fork( fe.join(__dirname, 'parse-metadata.js'), [jsonLoad]);"><pre class="notranslate"><code class="notranslate">const metaParser = child.fork( fe.join(__dirname, 'parse-metadata.js'), [jsonLoad]);
</code></pre></div>
<p dir="auto">When run in main.js the process is successfully created, but immediately exits. I added some logging to parse-metadata.js and found out that parse-metadata.js executed successfully and ran long enough to run the first few lines of code and then exited.</p>
<p dir="auto">How do I get electron to fork parse-metadata.js and keep it alive until the end?</p> | <ul dir="auto">
<li>Electron version: 1.4.14</li>
<li>Operating system: macOS Sierra</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">When I fork a process, the process should be able to require native modules compiled for the main electron process and also used by it.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Because of ELECTRON_RUN_AS_NODE (if that's the name), the forked process thinks it's node and therefore can't find the appropriate native module binary.</p>
<p dir="auto">Example error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/private/tmp/kk/node_modules/utp-native/node_modules/node-gyp-build/index.js:28
throw new Error('No native build was found for runtime=' + runtime + ' abi=' + abi + ' platform=' + platform + ' arch=' + arch)
^
Error: No native build was found for runtime=node abi=50 platform=darwin arch=x64
at Function.load.path (/private/tmp/kk/node_modules/utp-native/node_modules/node-gyp-build/index.js:28:9)
at load (/private/tmp/kk/node_modules/utp-native/node_modules/node-gyp-build/index.js:13:23)
at Object.<anonymous> (/private/tmp/kk/node_modules/utp-native/index.js:5:36)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)"><pre class="notranslate"><code class="notranslate">/private/tmp/kk/node_modules/utp-native/node_modules/node-gyp-build/index.js:28
throw new Error('No native build was found for runtime=' + runtime + ' abi=' + abi + ' platform=' + platform + ' arch=' + arch)
^
Error: No native build was found for runtime=node abi=50 platform=darwin arch=x64
at Function.load.path (/private/tmp/kk/node_modules/utp-native/node_modules/node-gyp-build/index.js:28:9)
at load (/private/tmp/kk/node_modules/utp-native/node_modules/node-gyp-build/index.js:13:23)
at Object.<anonymous> (/private/tmp/kk/node_modules/utp-native/index.js:5:36)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
</code></pre></div>
<h3 dir="auto">How to reproduce</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// index.js
const { fork } = require('child_process')
require('utp-native')
console.log('required native dependency from main process')
const ps = fork(`${__dirname}/child.js`)"><pre class="notranslate"><span class="pl-c">// index.js</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span> fork <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'child_process'</span><span class="pl-kos">)</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'utp-native'</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">'required native dependency from main process'</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">ps</span> <span class="pl-c1">=</span> <span class="pl-en">fork</span><span class="pl-kos">(</span><span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">__dirname</span><span class="pl-kos">}</span></span>/child.js`</span><span class="pl-kos">)</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// child.js
require('utp-native')
console.log('required native dependency from child process')"><pre class="notranslate"><span class="pl-c">// child.js</span>
<span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'utp-native'</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">'required native dependency from child process'</span><span class="pl-kos">)</span></pre></div>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ npm install utp-native
$ npm rebuild --runtime=electron --target=1.4.14 --abi=50 --disturl=https://atom.io/download/atom-shell
$ electron index.js"><pre class="notranslate">$ npm install utp-native
$ npm rebuild --runtime=electron --target=1.4.14 --abi=50 --disturl=https://atom.io/download/atom-shell
$ electron index.js</pre></div>
<h3 dir="auto">My temporary hack fix</h3>
<ol dir="auto">
<li>Instead of <code class="notranslate">child_process.fork</code>, use <code class="notranslate">child_process.spawn</code> with <code class="notranslate">process.execPath</code></li>
<li>Unfortunately, in bundled electron applications, <code class="notranslate">process.execPath</code> isn't electron. Therefore, we need to bundle electron in <code class="notranslate">node_modules/</code> and use the <code class="notranslate">.extraFiles</code> option in <code class="notranslate">electron-builder</code> to make sure it's available in the bundled app</li>
<li>Now we get the electron path for <code class="notranslate">.spawn</code> using this approach, which works in development and with bundled applications:</li>
</ol>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let electronPath
try {
// bundled app
electronPath = require(path.join(remoteProcess.resourcesPath, '/../node_modules/electron'))
} catch (_) {
// during developement
electronPath = require(path.join(app.getAppPath(), '/node_modules/electron'))
}"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">electronPath</span>
<span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-c">// bundled app </span>
<span class="pl-s1">electronPath</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">remoteProcess</span><span class="pl-kos">.</span><span class="pl-c1">resourcesPath</span><span class="pl-kos">,</span> <span class="pl-s">'/../node_modules/electron'</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">_</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// during developement </span>
<span class="pl-s1">electronPath</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">getAppPath</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s">'/node_modules/electron'</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div>
<ol start="4" dir="auto">
<li>Also this basically doubles our bundle size, as this includes one more (?) copy of electron.</li>
</ol>
<h3 dir="auto">My proposed fix in electron</h3>
<p dir="auto">Allow to unset the runtime override with an option to <code class="notranslate">child_process.fork</code>. I think <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sindresorhus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sindresorhus">@sindresorhus</a> has requested this before too.</p> | 1 |
<p dir="auto">Hi. I have a problem with the Tray icon.</p>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>8.2.5</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Ubuntu 18.04</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>7.2.4</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The Tray Icon always display after go out from sleep mode</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">After go out from sleep mode the tray icon is hidden.</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto">If just start app after <code class="notranslate">npm start</code> see screen <a href="https://prnt.sc/scnq37" rel="nofollow">https://prnt.sc/scnq37</a> then go to sleep mode.<br>
After go out from sleep mode the tray icon is hidden see screen <a href="https://prnt.sc/scnu75" rel="nofollow">https://prnt.sc/scnu75</a></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">The problem in versions 8.0.0-8.2.5.<br>
I installed a less v7.2.4 and it works. After sleep mode icon is display<br>
My example <a href="https://github.com/trae-op/test-electron-app">https://github.com/trae-op/test-electron-app</a></p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong><br>
8.0.0</li>
<li><strong>Operating System:</strong><br>
Ubuntu 18.04.4 LTS x64</li>
<li><strong>Last Known Working Electron version:</strong><br>
7.1.13</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">When the system goes in stand by the Tray icon should stay visible in the Topbar</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">When system goes stand by the Tray icon disappear</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">I set the icon and the Menu in main process:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let tray;
const icon = path.join(__dirname, "./icon.png");
const tryMenu = Menu.buildFromTemplate([
{ label: "Reload", role: "reload" },
{ label: "Toggle dev tools", role: "toggleDevTools" }
]);
tray = new Tray(icon);
tray.setContextMenu(tryMenu);"><pre class="notranslate"><code class="notranslate">let tray;
const icon = path.join(__dirname, "./icon.png");
const tryMenu = Menu.buildFromTemplate([
{ label: "Reload", role: "reload" },
{ label: "Toggle dev tools", role: "toggleDevTools" }
]);
tray = new Tray(icon);
tray.setContextMenu(tryMenu);
</code></pre></div>
<p dir="auto">When starting electron everything works fine: the icon (and the menu) is visible in the Topbar.<br>
But if system goes stand by, when I log in again the icon is disappeared.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/p-fusi/electron-quick-start -b master
$ npm install
$ npm start || electron ."><pre class="notranslate">$ git clone https://github.com/p-fusi/electron-quick-start -b master
$ npm install
$ npm start <span class="pl-k">||</span> electron <span class="pl-c1">.</span></pre></div> | 1 |
<p dir="auto">Atom 0.189.0 on Ubuntu.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6136383/7001235/ad6ab0be-dc6f-11e4-8fba-8d036c5ea30b.png"><img src="https://cloud.githubusercontent.com/assets/6136383/7001235/ad6ab0be-dc6f-11e4-8fba-8d036c5ea30b.png" alt="screen" style="max-width: 100%;"></a></p>
<p dir="auto">Mac version is not happen.</p> | <p dir="auto">Text:</p>
<blockquote>
<p dir="auto">这上面的夜的天空,奇怪而高,我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去,使人们仰面不再看见。然而现在却非常之蓝,闪闪地睒着几十个星星的眼,冷眼。他的口角上现出微笑,似乎自以为大有深意,而将繁霜洒在我的园里的野花草上。</p>
</blockquote>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png"><img src="https://cloud.githubusercontent.com/assets/49931/6959354/a30f8266-d94a-11e4-9167-35ea308a5ad2.png" alt="3" style="max-width: 100%;"></a></p>
<p dir="auto">It happen after update to 0.189.0, and it's normal in 0.188.0 .</p>
<p dir="auto">I try disabled all community packages or star with <code class="notranslate">--safe</code> mode, still happen.</p>
<p dir="auto">Update: Ubuntu 14.04</p> | 1 |
<p dir="auto">Hey all, getting the error below when executing julia from a windows service. Any input is welcome.</p>
<p dir="auto">Thanks,<br>
Jon</p>
<p dir="auto">Info:</p>
<ul dir="auto">
<li>Windows 2012</li>
<li>If i start a command line prompt as my local user and run julia.exe, it loads fine.</li>
<li>If i start a command prompt as user 'svc-resolvernonprod' and run julia.exe it loads fine.</li>
<li>The IIS app-pool W3WP.EXE is running under the user account 'svc-resolvernonprod'</li>
<li>When the IIS app-pool application runs julia.exe, the following error is displayed:</li>
</ul>
<p dir="auto">fatal: error thrown and no exception handler available.<br>
[inline] at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:583<br>
rec_backtrace_ctx at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:578<br>
jl_throw at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:854<br>
[inline] at .\env.jl:37<br>
getindex at .\env.jl:79<br>
<strong>init</strong> at .\pkg.jl:57<br>
unknown function (ip: 00000000021DE6C4)<br>
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1917<br>
[inline] at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1555<br>
jl_eh_restore_state at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\module.c:624<br>
jl_init_restored_modules at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\dump.c:1818<br>
_julia_init at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\init.c:698<br>
julia_init at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:278<br>
wmain at /home/Administrator/buildbot/slave/package_win6_2-x64/build/ui\repl.c:628<br>
__tmainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-4.0.2-1/crt\crtexe.c:334<br>
mainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-4.0.2-1/crt\crtexe.c:214<br>
BaseThreadInitThunk at C:\Windows\system32\KERNEL32.DLL (unknown line)<br>
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)<br>
Base.InitError(mod=:Pkg, error=Base.KeyError(key="HOMEDRIVE"))</p> | <p dir="auto">Ubuntu 14.04, julia 0.4.5<br>
I have a julia script, when I run it in a running aws instance, it works.<br>
but when I tried to run it using <code class="notranslate">user_data</code>, which means running the script after system initialization, it failed.</p>
<p dir="auto">I got the following output in <code class="notranslate">/var/log/cloud-init-output.log</code>. It seems that it is a problem of julia. Any help will be appreciated.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Base.InitError(mod=:Base, error=Base.KeyError(key="HOME"))
rec_backtrace at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
jl_throw at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x7f0e54b75eca)
init_load_path at ./client.jl:302
__init__ at ./sysimg.jl:308
unknown function (ip: 0x7f0e54c04bb9)
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
jl_module_run_initializer at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x7f0e578d4713)
unknown function (ip: 0x7f0e578ccf2c)
julia_init at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x4016d3)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x401725)
unknown function (ip: (nil))
2016-04-15 20:36:20,478 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-04-15 20:36:20,480 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-04-15 20:36:20,480 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Fri, 15 Apr 2016 20:36:20 +0000. Datasource DataSourceEc2. Up 68.38 seconds"><pre class="notranslate"><code class="notranslate">Base.InitError(mod=:Base, error=Base.KeyError(key="HOME"))
rec_backtrace at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
jl_throw at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x7f0e54b75eca)
init_load_path at ./client.jl:302
__init__ at ./sysimg.jl:308
unknown function (ip: 0x7f0e54c04bb9)
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
jl_module_run_initializer at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x7f0e578d4713)
unknown function (ip: 0x7f0e578ccf2c)
julia_init at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x4016d3)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x401725)
unknown function (ip: (nil))
2016-04-15 20:36:20,478 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-04-15 20:36:20,480 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-04-15 20:36:20,480 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Fri, 15 Apr 2016 20:36:20 +0000. Datasource DataSourceEc2. Up 68.38 seconds
</code></pre></div> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by Serge Koval (<a href="https://github.com/joes">@joes</a>)</strong></p>
<p dir="auto">I'm working on query precompilation layer and stumbled upon a bug: PickleType column does not automatically unpickle data received from the database.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[10]: m = db.session.query(Report).from_statement('SELECT * FROM reports LIMIT 1').all()
[11]: m[0].pickled_data
?}q(UurlqX634/654/aqgvppyv.jpgUserverqUcheetahUmodeqKUsizeqM?Du."><pre class="notranslate">[<span class="pl-c1">10</span>]: <span class="pl-s1">m</span> <span class="pl-c1">=</span> <span class="pl-s1">db</span>.<span class="pl-s1">session</span>.<span class="pl-en">query</span>(<span class="pl-v">Report</span>).<span class="pl-en">from_statement</span>(<span class="pl-s">'SELECT * FROM reports LIMIT 1'</span>).<span class="pl-en">all</span>()
[<span class="pl-c1">11</span>]: <span class="pl-s1">m</span>[<span class="pl-c1">0</span>].<span class="pl-s1">pickled_data</span>
?}<span class="pl-s1">q</span>(<span class="pl-v">UurlqX634</span><span class="pl-c1">/</span><span class="pl-c1">654</span><span class="pl-c1">/</span><span class="pl-s1">aqgvppyv</span>.<span class="pl-s1">jpgUserverqUcheetahUmodeqKUsizeqM</span>?<span class="pl-v">Du</span>.</pre></div>
<p dir="auto">Just in case, using PostgreSQL.</p> | <p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">tons of use cases for TextAsFrom that should be intuitive that don't work. When we make a TextAsFrom with a positional set of columns, those columns should be welded to it. The statement should be able to work in any ORM context flawlessly, no reliance on names matching up should be needed as we do not target on name anymore:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import *
from sqlalchemy.orm import *
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class A(Base):
__tablename__ = 'a'
id = Column(Integer, primary_key=True)
bs = relationship("B")
class B(Base):
__tablename__ = 'b'
id = Column(Integer, primary_key=True)
a_id = Column(ForeignKey('a.id'))
e = create_engine("sqlite://", echo='debug')
Base.metadata.create_all(e)
s = Session(e)
s.add_all([
A(bs=[B(), B()]),
A(bs=[B(), B()])
])
s.commit()
b1 = aliased(B)
# works
sql = "select a.id, ba.id as bid, ba.a_id from "\
"a left outer join b as ba on a.id=ba.a_id"
# fails. why?
# sql = "select a.id as aid, ba.id as bid, ba.a_id from "\
# "a left outer join b as ba on a.id=ba.a_id"
# fails. why?
# sql = "select a.id as aid, ba.id, ba.a_id from "\
# "a left outer join b as ba on a.id=ba.a_id"
# are we relying upon names somehow? we should be able to
# be 100% positional now
t = text(sql).columns(A.id, b1.id, b1.a_id)
q = s.query(A).from_statement(t).options(contains_eager(A.bs, alias=b1))
for a in q:
print a.id
print a, a.bs
# forget about if we try a1 = aliased(A) also..."><pre class="notranslate"><code class="notranslate">from sqlalchemy import *
from sqlalchemy.orm import *
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class A(Base):
__tablename__ = 'a'
id = Column(Integer, primary_key=True)
bs = relationship("B")
class B(Base):
__tablename__ = 'b'
id = Column(Integer, primary_key=True)
a_id = Column(ForeignKey('a.id'))
e = create_engine("sqlite://", echo='debug')
Base.metadata.create_all(e)
s = Session(e)
s.add_all([
A(bs=[B(), B()]),
A(bs=[B(), B()])
])
s.commit()
b1 = aliased(B)
# works
sql = "select a.id, ba.id as bid, ba.a_id from "\
"a left outer join b as ba on a.id=ba.a_id"
# fails. why?
# sql = "select a.id as aid, ba.id as bid, ba.a_id from "\
# "a left outer join b as ba on a.id=ba.a_id"
# fails. why?
# sql = "select a.id as aid, ba.id, ba.a_id from "\
# "a left outer join b as ba on a.id=ba.a_id"
# are we relying upon names somehow? we should be able to
# be 100% positional now
t = text(sql).columns(A.id, b1.id, b1.a_id)
q = s.query(A).from_statement(t).options(contains_eager(A.bs, alias=b1))
for a in q:
print a.id
print a, a.bs
# forget about if we try a1 = aliased(A) also...
</code></pre></div>
<p dir="auto">I've added docs in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/7d268d4bcb5e6205d05ace0ea2fd94895bc2efed/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/7d268d4bcb5e6205d05ace0ea2fd94895bc2efed"><tt>7d268d4</tt></a> and <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/4f51fa947ffa0cadeab7ad7dcab649ce3fbcf970/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/4f51fa947ffa0cadeab7ad7dcab649ce3fbcf970"><tt>4f51fa9</tt></a> that we may even have to dial back for versions that don't have this feature.</p>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/3501/3501.patch">3501.patch</a></p> | 1 |
<p dir="auto">Version<br>
compile 'com.github.bumptech.glide:glide:4.1.1'<br>
compile 'io.reactivex:rxjava:1.1.0'<br>
Device asus zenpone2</p>
<p dir="auto">code1. load local file</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Glide.with(context).asBitmap().load(file).into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
sub.onNext(resource);
}
});"><pre class="notranslate"><code class="notranslate"> Glide.with(context).asBitmap().load(file).into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
sub.onNext(resource);
}
});
</code></pre></div>
<p dir="auto">cache <strong>file is ok. But if I load from byte aray cache is not uesd. It happend in >v4 ,v3.7.0 is work fine.</strong><br>
code2: from byte[]</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Glide.with(context).asBitmap().load(igBytes).into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
sub.onNext(resource);
}
});
"><pre class="notranslate"><code class="notranslate"> Glide.with(context).asBitmap().load(igBytes).into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
sub.onNext(resource);
}
});
</code></pre></div> | <p dir="auto">Hello, I am a developer in China.On one model, I found a problem:<br>
Java. Lang. ClassCastException: int [] always be cast to Java. Lang. Object []<br>
...<br>
Then there will be:<br>
You cannot call glide. Get () in registercomponents() use the provided glide instance instead<br>
...<br>
It's something I've never seen on any other plane.I can make sure that the values are passed correctly.Sorry, my English is not good, please forgive me</p> | 0 |
<p dir="auto">Hello there, I'm loading an image from a URL using the following code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Widget _bannerImage(String url, double height) {
return Container(
constraints: BoxConstraints.tightFor(height: height),
child: Image.network(url, fit: BoxFit.fitWidth));
}"><pre class="notranslate"><code class="notranslate">Widget _bannerImage(String url, double height) {
return Container(
constraints: BoxConstraints.tightFor(height: height),
child: Image.network(url, fit: BoxFit.fitWidth));
}
</code></pre></div>
<p dir="auto">Using the URL: <code class="notranslate">http://everydaydreamholiday.com/wp-content/uploads/2013/01/Arashiyama-bamboo-grove-path_kyoto_japan.jpg</code></p>
<p dir="auto">Now, this used to work, but all of a sudden, when I tried compiling my code from a poor / no internet connection, I get an exception for some reason. See below.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06>flutter run --verbose
[ +52 ms] [C:\src\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +78 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [C:\src\flutter\] git rev-parse --abbrev-ref HEAD
[ +36 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [C:\src\flutter\] git ls-remote --get-url origin
[ +59 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [C:\src\flutter\] git log -n 1 --pretty=format:%H
[ +41 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
[ ] [C:\src\flutter\] git log -n 1 --pretty=format:%ar
[ +46 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 3 months ago
[ +2 ms] [C:\src\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +58 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +7 ms] v0.5.1-0-gc7ea3ca37
[ +243 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb devices -l
[ +33 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb devices -l
[ +7 ms] List of devices attached
192.168.65.101:5555 device product:vbox86p model:Google_Pixel_2___8_0___API_26___1080x1920 device:vbox86p transport_id:1
[ +243 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell getprop
[ +85 ms] ro.hardware = vbox86
[ +2 ms] ro.build.characteristics = nosdcard
[ +991 ms] Launching lib/main.dart on Google Pixel 2, 8 0, API 26, 1080x1920 in debug mode...
[ +11 ms] Initializing gradle...
[ +1 ms] Using gradle from C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat.
[ +85 ms] C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat -v
[ +624 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02)
OS: Windows 10 10.0 amd64
[ +9 ms] Resolving dependencies...
[ +1 ms] [android\] C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat app:properties
[+1926 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@7a9c6f89
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@1b6ddb3
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@20ca2b0
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@50e3b171
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@499a6cc3
buildDependents: task ':app:buildDependents'
buildDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app
buildFile: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\app\build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@7ef67b06
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@19084f4a
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@54ad0d23
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@4ecb8f01
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@328f395
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@58819ea5
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@64795483
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@76587c8a
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@32a89d8f
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\distributions
distsDirName: distributions
docsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@660859c9
extensions: org.gradle.api.internal.plugins.DefaultConvention@58819ea5
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@48fbd4c7
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@7df25d7e
flutter: FlutterExtension_Decorated@bc0f3aa
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@2fa2250a
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@39e981d5
libsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@d3f5151
logging: org.gradle.internal.logging.services.DefaultLoggingManager@561f223b
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@5a4ed6f1
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@4c2fde24
module: org.gradle.api.internal.artifacts.ProjectBackedModule@160fb53d
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@647a22c7
objects: org.gradle.api.internal.model.DefaultObjectFactory@5b11e030
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@1168f0b4
plugins: [org.gradle.api.plugins.HelpTasksPlugin@7df1f3b4, com.android.build.gradle.api.AndroidBasePlugin@7530d31a, org.gradle.language.base.plugins.LifecycleBasePlugin@75728a86, org.gradle.api.plugins.BasePlugin@ab28433, org.gradle.api.plugins.ReportingBasePlugin@7946249c, org.gradle.platform.base.plugins.ComponentBasePlugin@63cff10f, org.gradle.language.base.plugins.LanguageBasePlugin@2be54b2e, org.gradle.platform.base.plugins.BinaryBasePlugin@56fe6291, org.gradle.api.plugins.JavaBasePlugin@281668f8, com.android.build.gradle.internal.coverage.JacocoPlugin@7742e049, com.android.build.gradle.AppPlugin@4cd462ae, FlutterPlugin@7b393c87]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@48fbd4c7
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@3ec90658
projectDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@121cb62e
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@2745d2b0
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@2007ece3
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@71fe7bbc
reportsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@7f3581d
rootDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@7029330b
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@7970bfec
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@7b5118e5
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@561f223b
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\reports\tests
testReportDirName: tests
testResultsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
[ +37 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +24 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +8 ms] package: name='com.example.lesson05' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'lesson05'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='lesson05' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.lesson05.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ +30 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 logcat -v time -t 1
[ +118 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 logcat -v time -t 1
[ +3 ms] --------- beginning of main
08-22 12:51:00.189 I/logcat ( 2199): type=1400 audit(0.0:1616): avc: denied { connectto } for path="/dev/socket/logdr" scontext=u:r:logpersist:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1
[ +13 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 logcat -v time
[ +396 ms] DependencyChecker: nothing is modified after 2018-08-22 08:41:00.000.
[ +7 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb version
[ +29 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb.EXE
[ +5 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb start-server
[ +27 ms] Building APK
[ +10 ms] Running 'gradlew assembleDebug'...
[ +3 ms] [android\] C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat -Ptarget=C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1801 ms] :app:preBuild UP-TO-DATE
[ +7 ms] :app:preDebugBuild UP-TO-DATE
[ +10 ms] :app:compileDebugAidl UP-TO-DATE
[ +1 ms] :app:compileDebugRenderscript UP-TO-DATE
[ +9 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ +3 ms] :app:checkDebugManifest UP-TO-DATE
[ +5 ms] :app:generateDebugBuildConfig UP-TO-DATE
[ +1 ms] :app:prepareLintJar UP-TO-DATE
[ +10 ms] :app:cleanMergeDebugAssets
[ +169 ms] :app:flutterBuildDebug UP-TO-DATE
[ +3 ms] :app:mergeDebugShaders UP-TO-DATE
[ +6 ms] :app:compileDebugShaders UP-TO-DATE
[ +2 ms] :app:generateDebugAssets UP-TO-DATE
[ +8 ms] :app:mergeDebugAssets
[ +316 ms] :app:copyFlutterAssetsDebug
[ +8 ms] :app:generateDebugResValues UP-TO-DATE
[ +1 ms] :app:generateDebugResources UP-TO-DATE
[ +3 ms] :app:mergeDebugResources UP-TO-DATE
[ +8 ms] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +6 ms] :app:processDebugManifest UP-TO-DATE
[ +1 ms] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +1 ms] :app:processDebugResources UP-TO-DATE
[ +2 ms] :app:generateDebugSources UP-TO-DATE
[ +8 ms] :app:javaPreCompileDebug UP-TO-DATE
[ +10 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[ +2 ms] :app:compileDebugNdk NO-SOURCE
[ +6 ms] :app:compileDebugSources UP-TO-DATE
[ +1 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +6 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ +3 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ +2 ms] :app:mergeDebugJniLibFolders UP-TO-DATE
[ +8 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ +2 ms] :app:processDebugJavaRes NO-SOURCE
[ +8 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ +2 ms] :app:validateSigningDebug
[ +19 ms] :app:packageDebug UP-TO-DATE
[ +8 ms] :app:assembleDebug UP-TO-DATE
[ +1 ms] BUILD SUCCESSFUL in 2s
[ ] 29 actionable tasks: 4 executed, 25 up-to-date
[ +510 ms] calculateSha: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\outputs\apk/app.apk
[ +418 ms] Built build\app\outputs\apk\debug\app-debug.apk.
[ +3 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +30 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +2 ms] package: name='com.example.lesson05' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'lesson05'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='lesson05' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.lesson05.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ +6 ms] Stopping app 'app.apk' on Google Pixel 2, 8 0, API 26, 1080x1920.
[ +2 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell am force-stop com.example.lesson05
[ +178 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell pm list packages com.example.lesson05
[ +603 ms] package:com.example.lesson05
[ +5 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell cat /data/local/tmp/sky.com.example.lesson05.sha1
[ +70 ms] 83cb98fa05d0a8998124b3ec572023e6e41e2bdb
[ +14 ms] Latest build already installed.
[ +2 ms] Google Pixel 2, 8 0, API 26, 1080x1920 startApp
[ +13 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.lesson05/com.example.lesson05.MainActivity
[ +143 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.lesson05/.MainActivity (has extras) }
[ +12 ms] Waiting for observatory port to be available...
[ +602 ms] I/FlutterActivityDelegate( 2227): onResume setting current activity to this
[ +87 ms] Observatory URL on device: http://127.0.0.1:37459/
[ +12 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 forward tcp:8105 tcp:37459
[ +36 ms] Forwarded host port 8105 to device port 37459 for Observatory
[ +18 ms] Connecting to service protocol: http://127.0.0.1:8105/
[ +362 ms] Successfully connected to service protocol: http://127.0.0.1:8105/
[ +7 ms] getVM: {}
[ +35 ms] getIsolate: {isolateId: isolates/604683667}
[ +5 ms] _flutter.listViews: {isolateId: isolates/604683667}
[ +73 ms] DevFS: Creating new filesystem on the device (null)
[ +2 ms] _createDevFS: {fsName: lesson06}
[ +55 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.lesson05/cache/lesson06MDDBHM/lesson06/)
[ +5 ms] Updating assets
[ +295 ms] Syncing files to device Google Pixel 2, 8 0, API 26, 1080x1920...
[ +13 ms] DevFS: Starting sync from LocalDirectory: 'C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06'
[ +1 ms] Scanning project files
[ +7 ms] Scanning package files
[ +107 ms] Scanning asset files
[ +3 ms] Scanning for deleted files
[ +45 ms] Compiling dart to kernel with 421 updated files
[ +6 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\.packages --filesystem-scheme org-dartlang-root
[ +83 ms] D/ ( 2227): HostConnection::get() New Host Connection established 0xe76d7a80, tid 2245
[ +15 ms] W/ ( 2227): Unrecognized GLES max version string in extensions:
[ +20 ms] I/flutter ( 2227): ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
[ +14 ms] I/flutter ( 2227): The following SocketException was thrown resolving an image codec:
[ +1 ms] I/flutter ( 2227): Failed host lookup: 'everydaydreamholiday.com' (OS Error: No address associated with hostname, errno
[ ] I/flutter ( 2227): = 7)
[ +36 ms] I/flutter ( 2227):
[ +2 ms] I/flutter ( 2227): When the exception was thrown, this was the stack:
[ +41 ms] I/flutter ( 2227): #0 NetworkImage._loadAsync (package:flutter/src/painting/image_provider.dart:440:39)
[ +3 ms] I/flutter ( 2227): <asynchronous suspension>
[ +6 ms] I/flutter ( 2227): #1 NetworkImage.load (package:flutter/src/painting/image_provider.dart:425:14)
[ +1 ms] I/flutter ( 2227): #2 ImageProvider.resolve.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:265:86)
[ +2 ms] I/flutter ( 2227): #3 ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:82:22)
[ +6 ms] I/flutter ( 2227): #4 ImageProvider.resolve.<anonymous closure> (package:flutter/src/painting/image_provider.dart:265:63)
[ +3 ms] I/flutter ( 2227): #5 SynchronousFuture.then (package:flutter/src/foundation/synchronous_future.dart:38:29)
[ +1 ms] I/flutter ( 2227): #6 ImageProvider.resolve (package:flutter/src/painting/image_provider.dart:263:30)
[ +10 ms] I/flutter ( 2227): #7 _ImageState._resolveImage (package:flutter/src/widgets/image.dart:526:20)
[ +6 ms] I/flutter ( 2227): #8 _ImageState.didChangeDependencies (package:flutter/src/widgets/image.dart:501:5)
[ +1 ms] I/flutter ( 2227): #9 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3767:12)
[ ] I/flutter ( 2227): #10 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #11 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #13 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +3 ms] I/flutter ( 2227): #14 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +5 ms] I/flutter ( 2227): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #16 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #17 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #18 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #19 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #20 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #21 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4759:32)
[ +6 ms] I/flutter ( 2227): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +8 ms] I/flutter ( 2227): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +2 ms] I/flutter ( 2227): #27 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #28 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #32 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #33 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #34 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3955:11)
[ +4 ms] I/flutter ( 2227): #35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +4 ms] I/flutter ( 2227): #36 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4759:32)
[ +1 ms] I/flutter ( 2227): #37 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #41 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #42 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #43 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #44 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #46 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #47 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter ( 2227): #48 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #49 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #50 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #53 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #54 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +4 ms] I/flutter ( 2227): #55 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +6 ms] I/flutter ( 2227): #56 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #57 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #58 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #59 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +6 ms] I/flutter ( 2227): #60 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +7 ms] I/flutter ( 2227): #62 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #63 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter ( 2227): #64 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #65 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #66 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +7 ms] I/flutter ( 2227): #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #68 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #69 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #72 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #73 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #74 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #75 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #76 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +9 ms] I/flutter ( 2227): #77 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +5 ms] I/flutter ( 2227): #78 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +11 ms] I/flutter ( 2227): #79 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #80 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #81 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #82 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #83 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #86 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #87 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #88 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #89 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +9 ms] I/flutter ( 2227): #90 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #92 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +8 ms] I/flutter ( 2227): #93 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +7 ms] I/flutter ( 2227): #94 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #95 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #96 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #97 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #98 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +8 ms] I/flutter ( 2227): #99 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #100 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #101 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #102 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #103 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #104 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #105 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +4 ms] I/flutter ( 2227): #106 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #107 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #108 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #109 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #110 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #111 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +8 ms] I/flutter ( 2227): #112 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #113 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #114 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #115 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #116 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +7 ms] I/flutter ( 2227): #117 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #118 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #119 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #120 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #121 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #122 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #123 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #124 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #125 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #126 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #127 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #128 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #129 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +4 ms] I/flutter ( 2227): #130 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #131 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #132 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #133 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #134 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +4 ms] I/flutter ( 2227): #135 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #136 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #137 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +5 ms] I/flutter ( 2227): #138 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #139 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #140 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +520 ms] I/flutter ( 2227): #141 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +2 ms] I/flutter ( 2227): #142 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #143 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +5 ms] I/flutter ( 2227): #144 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +10 ms] I/flutter ( 2227): #145 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #146 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #147 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #148 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #149 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #150 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #151 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +11 ms] I/flutter ( 2227): #152 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +5 ms] I/flutter ( 2227): #153 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +7 ms] I/flutter ( 2227): #154 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #155 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #156 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +10 ms] I/flutter ( 2227): #157 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +5 ms] I/flutter ( 2227): #158 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +7 ms] I/flutter ( 2227): #159 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #160 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #161 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #162 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +11 ms] I/flutter ( 2227): #163 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #164 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +14 ms] I/flutter ( 2227): #165 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #166 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +8 ms] I/flutter ( 2227): #167 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +10 ms] I/flutter ( 2227): #168 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #169 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #170 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +4 ms] I/flutter ( 2227): #171 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #172 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +11 ms] I/flutter ( 2227): #173 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +5 ms] I/flutter ( 2227): #174 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #175 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #176 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +7 ms] I/flutter ( 2227): #177 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +12 ms] I/flutter ( 2227): #178 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #179 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #180 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #181 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #182 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #183 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #184 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #185 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +12 ms] I/flutter ( 2227): #186 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #187 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #188 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #189 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #190 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #191 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #192 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #193 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +5 ms] I/flutter ( 2227): #194 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +2 ms] I/flutter ( 2227): #195 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +6 ms] I/flutter ( 2227): #196 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +8 ms] I/flutter ( 2227): #197 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #198 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4759:32)
[ +1 ms] I/flutter ( 2227): #199 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +10 ms] I/flutter ( 2227): #200 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +4 ms] I/flutter ( 2227): #201 _TheatreElement.mount (package:flutter/src/widgets/overlay.dart:493:16)
[ +1 ms] I/flutter ( 2227): #202 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #203 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #204 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #205 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #206 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +7 ms] I/flutter ( 2227): #207 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #208 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #209 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #210 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #211 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +8 ms] I/flutter ( 2227): #212 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #213 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #214 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #215 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #216 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #217 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +6 ms] I/flutter ( 2227): #218 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #219 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #220 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #221 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #222 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #223 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +3 ms] I/flutter ( 2227): #224 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #225 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #226 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #227 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +3 ms] I/flutter ( 2227): #228 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #229 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #230 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +9 ms] I/flutter ( 2227): #231 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #232 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #233 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #234 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #235 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #236 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #237 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #238 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #239 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #240 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +7 ms] I/flutter ( 2227): #241 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #242 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #243 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #244 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #245 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #246 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #247 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #248 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #249 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #250 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #251 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #252 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #253 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #254 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +7 ms] I/flutter ( 2227): #255 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +2 ms] I/flutter ( 2227): #256 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #257 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #258 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #259 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #260 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #261 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #262 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #263 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +5 ms] I/flutter ( 2227): #264 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #265 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +8 ms] I/flutter ( 2227): #266 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #267 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +2 ms] I/flutter ( 2227): #268 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #269 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #270 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #271 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #272 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #273 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #274 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #275 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #276 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #277 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #278 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #279 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #280 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #281 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #282 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #283 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #284 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +2 ms] I/flutter ( 2227): #285 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #286 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #287 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +379 ms] I/flutter ( 2227): #288 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #289 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #290 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #291 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #292 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +11 ms] I/flutter ( 2227): #293 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +7 ms] I/flutter ( 2227): #294 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #295 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #296 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #297 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #298 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #299 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #300 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #301 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #302 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +8 ms] I/flutter ( 2227): #303 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #304 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #305 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #306 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #307 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #308 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +7 ms] I/flutter ( 2227): #309 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #310 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #311 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #312 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #313 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #314 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #315 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #316 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +8 ms] I/flutter ( 2227): #317 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #318 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #319 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #320 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #321 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #322 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #323 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #324 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #325 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +8 ms] I/flutter ( 2227): #326 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #327 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #328 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #329 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +8 ms] I/flutter ( 2227): #330 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #331 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #332 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #333 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #334 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #335 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #336 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #337 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #338 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #339 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #340 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:857:16)
[ ] I/flutter ( 2227): #341 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:828:5)
[ ] I/flutter ( 2227): #342 RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:774:17)
[ ] I/flutter ( 2227): #343 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2222:19)
[ +8 ms] I/flutter ( 2227): #344 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:773:13)
[ ] I/flutter ( 2227): #345 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:662:7)
[ ] I/flutter ( 2227): #346 runApp (package:flutter/src/widgets/binding.dart:704:7)
[ ] I/flutter ( 2227): #347 main (file:///C:/Users/seenickcode/code/fluttercrashcourse-lessons/recipe01-product-detail-pages/lesson06/lib/main.dart:8:10)
[ +8 ms] I/flutter ( 2227): #348 _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279:19)
[ +1 ms] I/flutter ( 2227): #349 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
[ ] I/flutter ( 2227):
[ ] I/flutter ( 2227): Image provider:
[ ] I/flutter ( 2227): NetworkImage("http://everydaydreamholiday.com/wp-content/uploads/2013/01/Arashiyama-bamboo-grove-path_kyoto_japan.jpg",
[ ] I/flutter ( 2227): scale: 1.0)
[ ] I/flutter ( 2227): Image key:
[ ] I/flutter ( 2227): NetworkImage("http://everydaydreamholiday.com/wp-content/uploads/2013/01/Arashiyama-bamboo-grove-path_kyoto_japan.jpg",
[ +1 ms] I/flutter ( 2227): scale: 1.0)
[ ] I/flutter ( 2227): ════════════════════════════════════════════════════════════════════════════════════════════════════
[+3324 ms] Updating files
[+1126 ms] DevFS: Sync finished
[ +8 ms] Synced 0.8MB.
[ +2 ms] _flutter.listViews: {isolateId: isolates/604683667}
[ +18 ms] Connected to _flutterView/0xf0a34dcc.
[ +3 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +3 ms] An Observatory debugger and profiler on Google Pixel 2, 8 0, API 26, 1080x1920 is available at: http://127.0.0.1:8105/
[ +8 ms] For a more detailed help message, press "h". To quit, press "q"."><pre class="notranslate"><code class="notranslate">C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06>flutter run --verbose
[ +52 ms] [C:\src\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +78 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [C:\src\flutter\] git rev-parse --abbrev-ref HEAD
[ +36 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [C:\src\flutter\] git ls-remote --get-url origin
[ +59 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [C:\src\flutter\] git log -n 1 --pretty=format:%H
[ +41 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
[ ] [C:\src\flutter\] git log -n 1 --pretty=format:%ar
[ +46 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 3 months ago
[ +2 ms] [C:\src\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +58 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +7 ms] v0.5.1-0-gc7ea3ca37
[ +243 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb devices -l
[ +33 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb devices -l
[ +7 ms] List of devices attached
192.168.65.101:5555 device product:vbox86p model:Google_Pixel_2___8_0___API_26___1080x1920 device:vbox86p transport_id:1
[ +243 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell getprop
[ +85 ms] ro.hardware = vbox86
[ +2 ms] ro.build.characteristics = nosdcard
[ +991 ms] Launching lib/main.dart on Google Pixel 2, 8 0, API 26, 1080x1920 in debug mode...
[ +11 ms] Initializing gradle...
[ +1 ms] Using gradle from C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat.
[ +85 ms] C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat -v
[ +624 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02)
OS: Windows 10 10.0 amd64
[ +9 ms] Resolving dependencies...
[ +1 ms] [android\] C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat app:properties
[+1926 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@7a9c6f89
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@1b6ddb3
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@20ca2b0
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@50e3b171
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@499a6cc3
buildDependents: task ':app:buildDependents'
buildDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app
buildFile: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\app\build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@7ef67b06
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@19084f4a
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@54ad0d23
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@4ecb8f01
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@328f395
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@58819ea5
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@64795483
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@76587c8a
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@32a89d8f
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\distributions
distsDirName: distributions
docsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@660859c9
extensions: org.gradle.api.internal.plugins.DefaultConvention@58819ea5
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@48fbd4c7
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@7df25d7e
flutter: FlutterExtension_Decorated@bc0f3aa
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@2fa2250a
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@39e981d5
libsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@d3f5151
logging: org.gradle.internal.logging.services.DefaultLoggingManager@561f223b
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@5a4ed6f1
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@4c2fde24
module: org.gradle.api.internal.artifacts.ProjectBackedModule@160fb53d
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@647a22c7
objects: org.gradle.api.internal.model.DefaultObjectFactory@5b11e030
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@1168f0b4
plugins: [org.gradle.api.plugins.HelpTasksPlugin@7df1f3b4, com.android.build.gradle.api.AndroidBasePlugin@7530d31a, org.gradle.language.base.plugins.LifecycleBasePlugin@75728a86, org.gradle.api.plugins.BasePlugin@ab28433, org.gradle.api.plugins.ReportingBasePlugin@7946249c, org.gradle.platform.base.plugins.ComponentBasePlugin@63cff10f, org.gradle.language.base.plugins.LanguageBasePlugin@2be54b2e, org.gradle.platform.base.plugins.BinaryBasePlugin@56fe6291, org.gradle.api.plugins.JavaBasePlugin@281668f8, com.android.build.gradle.internal.coverage.JacocoPlugin@7742e049, com.android.build.gradle.AppPlugin@4cd462ae, FlutterPlugin@7b393c87]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@48fbd4c7
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@3ec90658
projectDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@121cb62e
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@2745d2b0
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@2007ece3
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@71fe7bbc
reportsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@7f3581d
rootDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@7029330b
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@7970bfec
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@7b5118e5
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@561f223b
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\reports\tests
testReportDirName: tests
testResultsDir: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
[ +37 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +24 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +8 ms] package: name='com.example.lesson05' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'lesson05'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='lesson05' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.lesson05.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ +30 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 logcat -v time -t 1
[ +118 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 logcat -v time -t 1
[ +3 ms] --------- beginning of main
08-22 12:51:00.189 I/logcat ( 2199): type=1400 audit(0.0:1616): avc: denied { connectto } for path="/dev/socket/logdr" scontext=u:r:logpersist:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1
[ +13 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 logcat -v time
[ +396 ms] DependencyChecker: nothing is modified after 2018-08-22 08:41:00.000.
[ +7 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb version
[ +29 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb.EXE
[ +5 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb start-server
[ +27 ms] Building APK
[ +10 ms] Running 'gradlew assembleDebug'...
[ +3 ms] [android\] C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\android\gradlew.bat -Ptarget=C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1801 ms] :app:preBuild UP-TO-DATE
[ +7 ms] :app:preDebugBuild UP-TO-DATE
[ +10 ms] :app:compileDebugAidl UP-TO-DATE
[ +1 ms] :app:compileDebugRenderscript UP-TO-DATE
[ +9 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ +3 ms] :app:checkDebugManifest UP-TO-DATE
[ +5 ms] :app:generateDebugBuildConfig UP-TO-DATE
[ +1 ms] :app:prepareLintJar UP-TO-DATE
[ +10 ms] :app:cleanMergeDebugAssets
[ +169 ms] :app:flutterBuildDebug UP-TO-DATE
[ +3 ms] :app:mergeDebugShaders UP-TO-DATE
[ +6 ms] :app:compileDebugShaders UP-TO-DATE
[ +2 ms] :app:generateDebugAssets UP-TO-DATE
[ +8 ms] :app:mergeDebugAssets
[ +316 ms] :app:copyFlutterAssetsDebug
[ +8 ms] :app:generateDebugResValues UP-TO-DATE
[ +1 ms] :app:generateDebugResources UP-TO-DATE
[ +3 ms] :app:mergeDebugResources UP-TO-DATE
[ +8 ms] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +6 ms] :app:processDebugManifest UP-TO-DATE
[ +1 ms] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +1 ms] :app:processDebugResources UP-TO-DATE
[ +2 ms] :app:generateDebugSources UP-TO-DATE
[ +8 ms] :app:javaPreCompileDebug UP-TO-DATE
[ +10 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[ +2 ms] :app:compileDebugNdk NO-SOURCE
[ +6 ms] :app:compileDebugSources UP-TO-DATE
[ +1 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +6 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ +3 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ +2 ms] :app:mergeDebugJniLibFolders UP-TO-DATE
[ +8 ms] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ +2 ms] :app:processDebugJavaRes NO-SOURCE
[ +8 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ +2 ms] :app:validateSigningDebug
[ +19 ms] :app:packageDebug UP-TO-DATE
[ +8 ms] :app:assembleDebug UP-TO-DATE
[ +1 ms] BUILD SUCCESSFUL in 2s
[ ] 29 actionable tasks: 4 executed, 25 up-to-date
[ +510 ms] calculateSha: C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\build\app\outputs\apk/app.apk
[ +418 ms] Built build\app\outputs\apk\debug\app-debug.apk.
[ +3 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +30 ms] Exit code 0 from: C:\Users\seenickcode\AppData\Local\Android\Sdk\build-tools\28.0.1\aapt dump badging build\app\outputs\apk\app.apk
[ +2 ms] package: name='com.example.lesson05' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'lesson05'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='lesson05' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.lesson05.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ +6 ms] Stopping app 'app.apk' on Google Pixel 2, 8 0, API 26, 1080x1920.
[ +2 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell am force-stop com.example.lesson05
[ +178 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell pm list packages com.example.lesson05
[ +603 ms] package:com.example.lesson05
[ +5 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell cat /data/local/tmp/sky.com.example.lesson05.sha1
[ +70 ms] 83cb98fa05d0a8998124b3ec572023e6e41e2bdb
[ +14 ms] Latest build already installed.
[ +2 ms] Google Pixel 2, 8 0, API 26, 1080x1920 startApp
[ +13 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.lesson05/com.example.lesson05.MainActivity
[ +143 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.lesson05/.MainActivity (has extras) }
[ +12 ms] Waiting for observatory port to be available...
[ +602 ms] I/FlutterActivityDelegate( 2227): onResume setting current activity to this
[ +87 ms] Observatory URL on device: http://127.0.0.1:37459/
[ +12 ms] C:\Users\seenickcode\AppData\Local\Android\Sdk\platform-tools\adb -s 192.168.65.101:5555 forward tcp:8105 tcp:37459
[ +36 ms] Forwarded host port 8105 to device port 37459 for Observatory
[ +18 ms] Connecting to service protocol: http://127.0.0.1:8105/
[ +362 ms] Successfully connected to service protocol: http://127.0.0.1:8105/
[ +7 ms] getVM: {}
[ +35 ms] getIsolate: {isolateId: isolates/604683667}
[ +5 ms] _flutter.listViews: {isolateId: isolates/604683667}
[ +73 ms] DevFS: Creating new filesystem on the device (null)
[ +2 ms] _createDevFS: {fsName: lesson06}
[ +55 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.lesson05/cache/lesson06MDDBHM/lesson06/)
[ +5 ms] Updating assets
[ +295 ms] Syncing files to device Google Pixel 2, 8 0, API 26, 1080x1920...
[ +13 ms] DevFS: Starting sync from LocalDirectory: 'C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06'
[ +1 ms] Scanning project files
[ +7 ms] Scanning package files
[ +107 ms] Scanning asset files
[ +3 ms] Scanning for deleted files
[ +45 ms] Compiling dart to kernel with 421 updated files
[ +6 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06\.packages --filesystem-scheme org-dartlang-root
[ +83 ms] D/ ( 2227): HostConnection::get() New Host Connection established 0xe76d7a80, tid 2245
[ +15 ms] W/ ( 2227): Unrecognized GLES max version string in extensions:
[ +20 ms] I/flutter ( 2227): ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
[ +14 ms] I/flutter ( 2227): The following SocketException was thrown resolving an image codec:
[ +1 ms] I/flutter ( 2227): Failed host lookup: 'everydaydreamholiday.com' (OS Error: No address associated with hostname, errno
[ ] I/flutter ( 2227): = 7)
[ +36 ms] I/flutter ( 2227):
[ +2 ms] I/flutter ( 2227): When the exception was thrown, this was the stack:
[ +41 ms] I/flutter ( 2227): #0 NetworkImage._loadAsync (package:flutter/src/painting/image_provider.dart:440:39)
[ +3 ms] I/flutter ( 2227): <asynchronous suspension>
[ +6 ms] I/flutter ( 2227): #1 NetworkImage.load (package:flutter/src/painting/image_provider.dart:425:14)
[ +1 ms] I/flutter ( 2227): #2 ImageProvider.resolve.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:265:86)
[ +2 ms] I/flutter ( 2227): #3 ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:82:22)
[ +6 ms] I/flutter ( 2227): #4 ImageProvider.resolve.<anonymous closure> (package:flutter/src/painting/image_provider.dart:265:63)
[ +3 ms] I/flutter ( 2227): #5 SynchronousFuture.then (package:flutter/src/foundation/synchronous_future.dart:38:29)
[ +1 ms] I/flutter ( 2227): #6 ImageProvider.resolve (package:flutter/src/painting/image_provider.dart:263:30)
[ +10 ms] I/flutter ( 2227): #7 _ImageState._resolveImage (package:flutter/src/widgets/image.dart:526:20)
[ +6 ms] I/flutter ( 2227): #8 _ImageState.didChangeDependencies (package:flutter/src/widgets/image.dart:501:5)
[ +1 ms] I/flutter ( 2227): #9 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3767:12)
[ ] I/flutter ( 2227): #10 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #11 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #13 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +3 ms] I/flutter ( 2227): #14 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +5 ms] I/flutter ( 2227): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #16 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #17 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #18 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #19 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #20 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #21 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4759:32)
[ +6 ms] I/flutter ( 2227): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +8 ms] I/flutter ( 2227): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +2 ms] I/flutter ( 2227): #27 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #28 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #32 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #33 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #34 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3955:11)
[ +4 ms] I/flutter ( 2227): #35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +4 ms] I/flutter ( 2227): #36 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4759:32)
[ +1 ms] I/flutter ( 2227): #37 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #39 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #40 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #41 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #42 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #43 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #44 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #46 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #47 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter ( 2227): #48 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #49 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #50 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #52 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #53 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #54 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +4 ms] I/flutter ( 2227): #55 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +6 ms] I/flutter ( 2227): #56 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #57 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #58 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #59 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +6 ms] I/flutter ( 2227): #60 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +7 ms] I/flutter ( 2227): #62 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #63 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +2 ms] I/flutter ( 2227): #64 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #65 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #66 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +7 ms] I/flutter ( 2227): #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #68 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #69 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #70 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #72 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #73 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #74 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #75 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #76 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +9 ms] I/flutter ( 2227): #77 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +5 ms] I/flutter ( 2227): #78 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +11 ms] I/flutter ( 2227): #79 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #80 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #81 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #82 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #83 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #84 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #86 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #87 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #88 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #89 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +9 ms] I/flutter ( 2227): #90 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #92 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +8 ms] I/flutter ( 2227): #93 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +7 ms] I/flutter ( 2227): #94 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #95 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #96 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #97 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #98 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +8 ms] I/flutter ( 2227): #99 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #100 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #101 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #102 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #103 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #104 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #105 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +4 ms] I/flutter ( 2227): #106 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #107 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #108 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #109 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #110 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #111 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +8 ms] I/flutter ( 2227): #112 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #113 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #114 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #115 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #116 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +7 ms] I/flutter ( 2227): #117 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #118 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #119 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #120 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #121 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #122 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #123 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #124 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #125 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #126 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #127 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #128 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #129 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +4 ms] I/flutter ( 2227): #130 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #131 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #132 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #133 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #134 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +4 ms] I/flutter ( 2227): #135 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #136 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #137 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +5 ms] I/flutter ( 2227): #138 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #139 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #140 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +520 ms] I/flutter ( 2227): #141 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +2 ms] I/flutter ( 2227): #142 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #143 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +5 ms] I/flutter ( 2227): #144 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +10 ms] I/flutter ( 2227): #145 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #146 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #147 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #148 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #149 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #150 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #151 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +11 ms] I/flutter ( 2227): #152 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +5 ms] I/flutter ( 2227): #153 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +7 ms] I/flutter ( 2227): #154 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #155 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #156 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +10 ms] I/flutter ( 2227): #157 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +5 ms] I/flutter ( 2227): #158 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +7 ms] I/flutter ( 2227): #159 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #160 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #161 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #162 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +11 ms] I/flutter ( 2227): #163 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #164 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +14 ms] I/flutter ( 2227): #165 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #166 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +8 ms] I/flutter ( 2227): #167 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +10 ms] I/flutter ( 2227): #168 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #169 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #170 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +4 ms] I/flutter ( 2227): #171 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #172 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +11 ms] I/flutter ( 2227): #173 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +5 ms] I/flutter ( 2227): #174 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #175 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #176 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +7 ms] I/flutter ( 2227): #177 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +12 ms] I/flutter ( 2227): #178 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #179 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #180 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #181 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #182 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #183 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #184 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #185 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +12 ms] I/flutter ( 2227): #186 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #187 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #188 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #189 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #190 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #191 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #192 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #193 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +5 ms] I/flutter ( 2227): #194 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +2 ms] I/flutter ( 2227): #195 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +6 ms] I/flutter ( 2227): #196 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +8 ms] I/flutter ( 2227): #197 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #198 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4759:32)
[ +1 ms] I/flutter ( 2227): #199 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +10 ms] I/flutter ( 2227): #200 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +4 ms] I/flutter ( 2227): #201 _TheatreElement.mount (package:flutter/src/widgets/overlay.dart:493:16)
[ +1 ms] I/flutter ( 2227): #202 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #203 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #204 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #205 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #206 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +7 ms] I/flutter ( 2227): #207 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #208 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #209 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #210 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #211 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +8 ms] I/flutter ( 2227): #212 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #213 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #214 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #215 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #216 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #217 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +6 ms] I/flutter ( 2227): #218 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #219 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #220 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #221 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #222 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #223 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +3 ms] I/flutter ( 2227): #224 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #225 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #226 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #227 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +3 ms] I/flutter ( 2227): #228 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #229 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #230 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +9 ms] I/flutter ( 2227): #231 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #232 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #233 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #234 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #235 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #236 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #237 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #238 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #239 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #240 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +7 ms] I/flutter ( 2227): #241 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #242 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #243 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #244 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #245 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +9 ms] I/flutter ( 2227): #246 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ +1 ms] I/flutter ( 2227): #247 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #248 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #249 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #250 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #251 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #252 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +6 ms] I/flutter ( 2227): #253 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +3 ms] I/flutter ( 2227): #254 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +7 ms] I/flutter ( 2227): #255 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +2 ms] I/flutter ( 2227): #256 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #257 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +6 ms] I/flutter ( 2227): #258 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #259 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #260 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #261 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #262 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +3 ms] I/flutter ( 2227): #263 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +5 ms] I/flutter ( 2227): #264 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #265 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +8 ms] I/flutter ( 2227): #266 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +2 ms] I/flutter ( 2227): #267 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +2 ms] I/flutter ( 2227): #268 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #269 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #270 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #271 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #272 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #273 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +3 ms] I/flutter ( 2227): #274 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #275 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #276 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #277 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #278 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #279 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
[ ] I/flutter ( 2227): #280 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #281 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #282 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #283 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #284 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +2 ms] I/flutter ( 2227): #285 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +5 ms] I/flutter ( 2227): #286 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #287 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +379 ms] I/flutter ( 2227): #288 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #289 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +6 ms] I/flutter ( 2227): #290 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #291 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +3 ms] I/flutter ( 2227): #292 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +11 ms] I/flutter ( 2227): #293 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +7 ms] I/flutter ( 2227): #294 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +3 ms] I/flutter ( 2227): #295 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #296 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +6 ms] I/flutter ( 2227): #297 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +9 ms] I/flutter ( 2227): #298 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ +1 ms] I/flutter ( 2227): #299 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #300 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +1 ms] I/flutter ( 2227): #301 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #302 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +8 ms] I/flutter ( 2227): #303 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #304 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #305 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +3 ms] I/flutter ( 2227): #306 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +6 ms] I/flutter ( 2227): #307 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +1 ms] I/flutter ( 2227): #308 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +7 ms] I/flutter ( 2227): #309 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ +1 ms] I/flutter ( 2227): #310 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #311 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #312 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +2 ms] I/flutter ( 2227): #313 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ +6 ms] I/flutter ( 2227): #314 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #315 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #316 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +8 ms] I/flutter ( 2227): #317 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #318 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #319 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #320 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ +1 ms] I/flutter ( 2227): #321 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #322 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +1 ms] I/flutter ( 2227): #323 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #324 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ +1 ms] I/flutter ( 2227): #325 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ +8 ms] I/flutter ( 2227): #326 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #327 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #328 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #329 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ +8 ms] I/flutter ( 2227): #330 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #331 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #332 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #333 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
[ ] I/flutter ( 2227): #334 Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
[ ] I/flutter ( 2227): #335 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
[ ] I/flutter ( 2227): #336 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
[ ] I/flutter ( 2227): #337 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
[ ] I/flutter ( 2227): #338 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
[ ] I/flutter ( 2227): #339 Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
[ ] I/flutter ( 2227): #340 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:857:16)
[ ] I/flutter ( 2227): #341 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:828:5)
[ ] I/flutter ( 2227): #342 RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:774:17)
[ ] I/flutter ( 2227): #343 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2222:19)
[ +8 ms] I/flutter ( 2227): #344 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:773:13)
[ ] I/flutter ( 2227): #345 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:662:7)
[ ] I/flutter ( 2227): #346 runApp (package:flutter/src/widgets/binding.dart:704:7)
[ ] I/flutter ( 2227): #347 main (file:///C:/Users/seenickcode/code/fluttercrashcourse-lessons/recipe01-product-detail-pages/lesson06/lib/main.dart:8:10)
[ +8 ms] I/flutter ( 2227): #348 _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279:19)
[ +1 ms] I/flutter ( 2227): #349 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
[ ] I/flutter ( 2227):
[ ] I/flutter ( 2227): Image provider:
[ ] I/flutter ( 2227): NetworkImage("http://everydaydreamholiday.com/wp-content/uploads/2013/01/Arashiyama-bamboo-grove-path_kyoto_japan.jpg",
[ ] I/flutter ( 2227): scale: 1.0)
[ ] I/flutter ( 2227): Image key:
[ ] I/flutter ( 2227): NetworkImage("http://everydaydreamholiday.com/wp-content/uploads/2013/01/Arashiyama-bamboo-grove-path_kyoto_japan.jpg",
[ +1 ms] I/flutter ( 2227): scale: 1.0)
[ ] I/flutter ( 2227): ════════════════════════════════════════════════════════════════════════════════════════════════════
[+3324 ms] Updating files
[+1126 ms] DevFS: Sync finished
[ +8 ms] Synced 0.8MB.
[ +2 ms] _flutter.listViews: {isolateId: isolates/604683667}
[ +18 ms] Connected to _flutterView/0xf0a34dcc.
[ +3 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +3 ms] An Observatory debugger and profiler on Google Pixel 2, 8 0, API 26, 1080x1920 is available at: http://127.0.0.1:8105/
[ +8 ms] For a more detailed help message, press "h". To quit, press "q".
</code></pre></div>
<p dir="auto">Flutter analyze:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06>flutter analyze
Analyzing lesson06...
info - Unused import: 'package:lesson05/main.dart' - test\widget_test.dart:10:8
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' - test\widget_test.dart:15:29
error - Undefined class 'MyApp' - test\widget_test.dart:15:33
3 issues found. (ran in 2.3s)```"><pre class="notranslate"><code class="notranslate">C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06>flutter analyze
Analyzing lesson06...
info - Unused import: 'package:lesson05/main.dart' - test\widget_test.dart:10:8
error - The constructor returns type 'dynamic' that isn't of expected type 'Widget' - test\widget_test.dart:15:29
error - Undefined class 'MyApp' - test\widget_test.dart:15:33
3 issues found. (ran in 2.3s)```
</code></pre></div>
<p dir="auto">Flutter doctor:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06>flutter doctor -v
[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.228], locale en-US)
• Flutter version 0.5.1 at C:\src\flutter
• Framework revision c7ea3ca377 (3 months ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[√] Android toolchain - develop for Android devices (Android SDK 28.0.1)
• Android SDK at C:\Users\seenickcode\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.1
• ANDROID_HOME = C:\Users\seenickcode\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[!] VS Code, 64-bit edition (version 1.26.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected devices (1 available)
• Google Pixel 2, 8 0, API 26, 1080x1920 • 192.168.65.101:5555 • android-x86 • Android 8.0.0 (API 26)
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">
C:\Users\seenickcode\code\fluttercrashcourse-lessons\recipe01-product-detail-pages\lesson06>flutter doctor -v
[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.228], locale en-US)
• Flutter version 0.5.1 at C:\src\flutter
• Framework revision c7ea3ca377 (3 months ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[√] Android toolchain - develop for Android devices (Android SDK 28.0.1)
• Android SDK at C:\Users\seenickcode\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.1
• ANDROID_HOME = C:\Users\seenickcode\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[!] VS Code, 64-bit edition (version 1.26.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected devices (1 available)
• Google Pixel 2, 8 0, API 26, 1080x1920 • 192.168.65.101:5555 • android-x86 • Android 8.0.0 (API 26)
! Doctor found issues in 1 category.
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I have made a stack that has a hero with a container as a child to have the expanding background effect. The issue is the background is on-top of all other widgets until the transition is complete. The code is posted in the repository <a href="https://github.com/littlemarc2011/FlutterTodo">here</a>. I believe it would be cool to have something like z-index and/or be able to choose if a hero animation is above/below the appbar/scaffold/content.</p>
<p dir="auto">What it looks like:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13179783/40082524-dfb0b166-5856-11e8-9e2d-fc8f8bbae997.gif"><img src="https://user-images.githubusercontent.com/13179783/40082524-dfb0b166-5856-11e8-9e2d-fc8f8bbae997.gif" alt="broken hero example" data-animated-image="" style="max-width: 100%;"></a></p>
<h2 dir="auto">Logs</h2>
<p dir="auto">There are no error producing logs.</p>
<h2 dir="auto">Flutter Analyze</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing FlutterTodo...
info • The top level variable '_kUnspecifiedArgument' isn't used • lib/CustomAppBar.dart:7:14
info • Duplicate import • lib/main.dart:4:8
info • Unused import: 'dart:async' • lib/main.dart:6:8
info • Unused import: 'CustomAppBar.dart' • lib/main.dart:12:8
info • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method • lib/main.dart:80:8
info • The operator x ~/ y is more efficient than (x / y).toInt() • lib/main.dart:87:18
info • The value of the local variable '_ratioW' isn't used • lib/main.dart:124:18
info • The value of the local variable '_ratioH' isn't used • lib/main.dart:127:18
warning • Element 'TextStyle' from SDK library 'ui.dart' is implicitly hidden by 'text_style.dart' • lib/main.dart:186:40
info • Avoid empty statements • lib/main.dart:441:8
info • Unused import: 'dart:collection' • lib/todo.dart:5:8
11 issues found. (ran in 2.3s)"><pre class="notranslate"><code class="notranslate">Analyzing FlutterTodo...
info • The top level variable '_kUnspecifiedArgument' isn't used • lib/CustomAppBar.dart:7:14
info • Duplicate import • lib/main.dart:4:8
info • Unused import: 'dart:async' • lib/main.dart:6:8
info • Unused import: 'CustomAppBar.dart' • lib/main.dart:12:8
info • This method overrides a method annotated as @mustCallSuper in 'State', but does not invoke the overridden method • lib/main.dart:80:8
info • The operator x ~/ y is more efficient than (x / y).toInt() • lib/main.dart:87:18
info • The value of the local variable '_ratioW' isn't used • lib/main.dart:124:18
info • The value of the local variable '_ratioH' isn't used • lib/main.dart:127:18
warning • Element 'TextStyle' from SDK library 'ui.dart' is implicitly hidden by 'text_style.dart' • lib/main.dart:186:40
info • Avoid empty statements • lib/main.dart:441:8
info • Unused import: 'dart:collection' • lib/todo.dart:5:8
11 issues found. (ran in 2.3s)
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.4.3-pre.91, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.4.3-pre.91 at /Users/bigmarco254/flutter
• Framework revision 674e44f361 (4 days ago), 2018-05-11 10:14:32 -0700
• Engine revision 9ae10ef702
• Dart version 2.0.0-dev.53.0.flutter-e6d7d67f4b
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/bigmarco254/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: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.3, Build version 9E145
• ios-deploy 1.9.2
• CocoaPods version 1.5.2
[✗] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
• IntelliJ at /Users/bigmarco254/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
• Flutter plugin version 24.2.1
• Dart plugin version 173.4700
[✓] VS Code (version 1.23.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.12.1
[✓] Connected devices (1 available)
• iPhone X • 7C969D13-C3CE-4AB6-9DB1-0361698B3489 • ios • iOS 11.3 (simulator)
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.4.3-pre.91, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.4.3-pre.91 at /Users/bigmarco254/flutter
• Framework revision 674e44f361 (4 days ago), 2018-05-11 10:14:32 -0700
• Engine revision 9ae10ef702
• Dart version 2.0.0-dev.53.0.flutter-e6d7d67f4b
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/bigmarco254/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: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.3, Build version 9E145
• ios-deploy 1.9.2
• CocoaPods version 1.5.2
[✗] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
• IntelliJ at /Users/bigmarco254/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
• Flutter plugin version 24.2.1
• Dart plugin version 173.4700
[✓] VS Code (version 1.23.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.12.1
[✓] Connected devices (1 available)
• iPhone X • 7C969D13-C3CE-4AB6-9DB1-0361698B3489 • ios • iOS 11.3 (simulator)
! Doctor found issues in 1 category.
</code></pre></div> | 0 |
<p dir="auto">When typing into a TextField on my physical Galaxy Grand Prime with Android 5.1.1 with Android's predictive text feature turned on, text becomes duplicated whenever you use the backspace key and then continue typing. I tried to duplicate these results by emulating a Galaxy Nexus with Android 5.1.1 , but the emulator runs fine. Also, turning off predictive text solves the problem.</p>
<p dir="auto">My 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 MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
primarySwatch: Colors.blue,
),
home:new Scaffold(
appBar: new AppBar(
title: new Text("Hello"),
),
body: TextField()
)
);
}
}"><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-k">=></span> <span class="pl-en">runApp</span>(<span class="pl-k">new</span> <span class="pl-c1">MyApp</span>());
<span class="pl-k">class</span> <span class="pl-c1">MyApp</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">'Flutter Demo'</span>,
theme<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ThemeData</span>(
primarySwatch<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.blue,
),
home<span class="pl-k">:</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">"Hello"</span>),
),
body<span class="pl-k">:</span> <span class="pl-c1">TextField</span>()
)
);
}
}</pre></div>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Click on the text field and type "Hello world", followed by a space.</li>
<li>Backspace two times to delete the space and the "d" from "world".</li>
<li>Now type a "p". The text field now contains "Hello worlpworlp"</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +24 ms] [/home/trevor/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +25 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [/home/trevor/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [/home/trevor/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/trevor/flutter/] git log -n 1 --pretty=format:%H
[ +28 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
[ ] [/home/trevor/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 8 weeks ago
[ ] [/home/trevor/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +22 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.5.1-0-gc7ea3ca
[ +337 ms] /home/trevor/Android/Sdk/platform-tools/adb devices -l
[ +4 ms] Exit code 0 from: /home/trevor/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
1a3be031 device usb:1-2 product:grandprimeltetu model:SAMSUNG_SM_G530AZ device:grandprimelteaio transport_id:9
[ +224 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell getprop
[ +111 ms] ro.hardware = qcom
[ +763 ms] Launching lib/main.dart on SAMSUNG SM G530AZ in debug mode...
[ +5 ms] Initializing gradle...
[ +7 ms] Using gradle from /home/trevor/FlutterProjects/flutter_app/android/gradlew.
[ +55 ms] /home/trevor/FlutterProjects/flutter_app/android/gradlew -v
[ +765 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01)
OS: Linux 4.13.0-45-generic amd64
[ +1 ms] Resolving dependencies...
[ ] [android/] /home/trevor/FlutterProjects/flutter_app/android/gradlew app:properties
[ +761 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@527878bc
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@27552774
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@2a4e56d9
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@76a6a8fe
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@678a830e
buildDependents: task ':app:buildDependents'
buildDir: /home/trevor/FlutterProjects/flutter_app/build/app
buildFile: /home/trevor/FlutterProjects/flutter_app/android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@696a760c
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@314a1d66
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@72e8b2e9
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@41c9cd49
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@7b29096a
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@1a698a44
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@2da11c1a
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@220d3f62
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@115c0010
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /home/trevor/FlutterProjects/flutter_app/build/app/distributions
distsDirName: distributions
docsDir: /home/trevor/FlutterProjects/flutter_app/build/app/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@47b193d5
extensions: org.gradle.api.internal.plugins.DefaultConvention@1a698a44
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@62d506f5
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@2968c3e2
flutter: FlutterExtension_Decorated@58c50a5f
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@13a115a9
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@59095b86
libsDir: /home/trevor/FlutterProjects/flutter_app/build/app/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@149b2d55
logging: org.gradle.internal.logging.services.DefaultLoggingManager@3691f496
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@467687e9
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@4ec70bd0
module: org.gradle.api.internal.artifacts.ProjectBackedModule@5b143131
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@5d61ced3
objects: org.gradle.api.internal.model.DefaultObjectFactory@6e5b15d4
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@4ea76b92
plugins: [org.gradle.api.plugins.HelpTasksPlugin@2579cf80, com.android.build.gradle.api.AndroidBasePlugin@293cdd41, org.gradle.language.base.plugins.LifecycleBasePlugin@4a86e99b, org.gradle.api.plugins.BasePlugin@3d1e0152, org.gradle.api.plugins.ReportingBasePlugin@7ee65708, org.gradle.platform.base.plugins.ComponentBasePlugin@64e1ee48, org.gradle.language.base.plugins.LanguageBasePlugin@28f3bbcb, org.gradle.platform.base.plugins.BinaryBasePlugin@d508dad, org.gradle.api.plugins.JavaBasePlugin@2b217545, com.android.build.gradle.internal.coverage.JacocoPlugin@4926b605, com.android.build.gradle.AppPlugin@66bf6375, FlutterPlugin@34be0ba5]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@62d506f5
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@77ab0394
projectDir: /home/trevor/FlutterProjects/flutter_app/android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@5909b47
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@5654ca70
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@2241b9a6
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@235ac0d3
reportsDir: /home/trevor/FlutterProjects/flutter_app/build/app/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@c42c08f
rootDir: /home/trevor/FlutterProjects/flutter_app/android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@d0928e3
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@7dfe6478
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@8d77f4c
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@3691f496
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /home/trevor/FlutterProjects/flutter_app/build/app/reports/tests
testReportDirName: tests
testResultsDir: /home/trevor/FlutterProjects/flutter_app/build/app/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +20 ms] /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ +28 ms] Exit code 0 from: /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='com.yourcompany.flutterapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'flutter_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='flutter_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.yourcompany.flutterapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ +6 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 logcat -v time -t 1
[ +122 ms] Exit code 0 from: /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 logcat -v time -t 1
[ +1 ms] --------- beginning of main
07-24 21:26:05.197 D/STATUSBAR-WifiQuickSettingButton( 1111): onWifiSignalChanged enabled=true enabledDesc:"NETGEAR44"
[ +12 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 logcat -v time
[ +389 ms] DependencyChecker: /home/trevor/FlutterProjects/flutter_app/lib/main.dart is newer than 2018-07-24 20:58:46.934
[ +2 ms] /home/trevor/Android/Sdk/platform-tools/adb version
[ +14 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as /home/trevor/Android/Sdk/platform-tools/adb
[ +2 ms] /home/trevor/Android/Sdk/platform-tools/adb start-server
[ +9 ms] Building APK
[ +5 ms] Running 'gradlew assembleDebug'...
[ +3 ms] [android/] /home/trevor/FlutterProjects/flutter_app/android/gradlew -Ptarget=/home/trevor/FlutterProjects/flutter_app/lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +678 ms] :app:preBuild UP-TO-DATE
[ +26 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ +3 ms] :app:compileDebugRenderscript UP-TO-DATE
[ +43 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ +1 ms] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ +2 ms] :app:prepareLintJar UP-TO-DATE
[ +10 ms] :app:cleanMergeDebugAssets
[+4304 ms] :app:flutterBuildDebug
[ ] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ +10 ms] :app:generateDebugAssets UP-TO-DATE
[ ] :app:mergeDebugAssets
[ +90 ms] :app:copyFlutterAssetsDebug
[ +10 ms] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +10 ms] :app:processDebugResources UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ ] :app:javaPreCompileDebug UP-TO-DATE
[ ] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +49 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ +8 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug
[+2179 ms] :app:packageDebug
[ +1 ms] :app:assembleDebug
[ ] BUILD SUCCESSFUL in 7s
[ ] 29 actionable tasks: 6 executed, 23 up-to-date
[ +385 ms] calculateSha: /home/trevor/FlutterProjects/flutter_app/build/app/outputs/apk/app.apk
[ +401 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[ ] /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ +11 ms] Exit code 0 from: /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='com.yourcompany.flutterapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'flutter_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='flutter_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.yourcompany.flutterapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ ] Stopping app 'app.apk' on SAMSUNG SM G530AZ.
[ ] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell am force-stop com.yourcompany.flutterapp
[ +622 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell pm list packages com.yourcompany.flutterapp
[ +398 ms] package:com.yourcompany.flutterapp
[ +11 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell cat /data/local/tmp/sky.com.yourcompany.flutterapp.sha1
[ +40 ms] 14a224906d889cf45a3e27f7f87d7b536f21af6e
[ +2 ms] Installing APK.
[ +5 ms] /home/trevor/Android/Sdk/platform-tools/adb version
[ +30 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as /home/trevor/Android/Sdk/platform-tools/adb
[ +1 ms] /home/trevor/Android/Sdk/platform-tools/adb start-server
[ +16 ms] Installing build/app/outputs/apk/app.apk...
[ ] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 install -r build/app/outputs/apk/app.apk
[+17967 ms] [ 0%] /data/local/tmp/app.apk
[ 0%] /data/local/tmp/app.apk
[ 0%] /data/local/tmp/app.apk
[ 0%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[100%] /data/local/tmp/app.apk
build/app/outputs/apk/app.apk: 1 file pushed. 5.2 MB/s (29490960 bytes in 5.440s)
pkg: /data/local/tmp/app.apk
Success
[ +13 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell echo -n 0009aaf04f665f7c0f80ada93ac4e12d2685a97e > /data/local/tmp/sky.com.yourcompany.flutterapp.sha1
[ +80 ms] SAMSUNG SM G530AZ startApp
[ +4 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.yourcompany.flutterapp/com.yourcompany.flutterapp.MainActivity
[ +643 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.yourcompany.flutterapp/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[+1076 ms] I/FlutterActivityDelegate(15891): onResume setting current activity to this
[ +457 ms] Observatory URL on device: http://127.0.0.1:52735/
[ +22 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 forward tcp:8102 tcp:52735
[ +13 ms] Forwarded host port 8102 to device port 52735 for Observatory
[ +5 ms] Connecting to service protocol: http://127.0.0.1:8102/
[ +748 ms] Successfully connected to service protocol: http://127.0.0.1:8102/
[ +6 ms] getVM: {}
[ +81 ms] getIsolate: {isolateId: isolates/1002365859}
[ +3 ms] _flutter.listViews: {isolateId: isolates/1002365859}
[ +164 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: flutter_app}
[ +99 ms] DevFS: Created new filesystem on the device (file:///data/data/com.yourcompany.flutterapp/cache/flutter_appAIIAPP/flutter_app/)
[ +5 ms] Updating assets
[ +187 ms] Syncing files to device SAMSUNG SM G530AZ...
[ +2 ms] DevFS: Starting sync from LocalDirectory: '/home/trevor/FlutterProjects/flutter_app'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +50 ms] Scanning asset files
[ ] Scanning for deleted files
[ +6 ms] Compiling dart to kernel with 416 updated files
[ +2 ms] /home/trevor/flutter/bin/cache/dart-sdk/bin/dart /home/trevor/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/trevor/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /home/trevor/FlutterProjects/flutter_app/.packages --filesystem-scheme org-dartlang-root
[+2873 ms] Updating files
[+1195 ms] DevFS: Sync finished
[ ] Synced 0.8MB.
[ +1 ms] _flutter.listViews: {isolateId: isolates/1002365859}
[ +24 ms] Connected to _flutterView/0xb7563df4.
[ ] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ ] An Observatory debugger and profiler on SAMSUNG SM G530AZ is available at: http://127.0.0.1:8102/
[ ] For a more detailed help message, press "h". To quit, press "q".
"><pre class="notranslate"><code class="notranslate">[ +24 ms] [/home/trevor/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +25 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [/home/trevor/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [/home/trevor/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/trevor/flutter/] git log -n 1 --pretty=format:%H
[ +28 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
[ ] [/home/trevor/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 8 weeks ago
[ ] [/home/trevor/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +22 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.5.1-0-gc7ea3ca
[ +337 ms] /home/trevor/Android/Sdk/platform-tools/adb devices -l
[ +4 ms] Exit code 0 from: /home/trevor/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
1a3be031 device usb:1-2 product:grandprimeltetu model:SAMSUNG_SM_G530AZ device:grandprimelteaio transport_id:9
[ +224 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell getprop
[ +111 ms] ro.hardware = qcom
[ +763 ms] Launching lib/main.dart on SAMSUNG SM G530AZ in debug mode...
[ +5 ms] Initializing gradle...
[ +7 ms] Using gradle from /home/trevor/FlutterProjects/flutter_app/android/gradlew.
[ +55 ms] /home/trevor/FlutterProjects/flutter_app/android/gradlew -v
[ +765 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01)
OS: Linux 4.13.0-45-generic amd64
[ +1 ms] Resolving dependencies...
[ ] [android/] /home/trevor/FlutterProjects/flutter_app/android/gradlew app:properties
[ +761 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@527878bc
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@27552774
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@2a4e56d9
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@76a6a8fe
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@678a830e
buildDependents: task ':app:buildDependents'
buildDir: /home/trevor/FlutterProjects/flutter_app/build/app
buildFile: /home/trevor/FlutterProjects/flutter_app/android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@696a760c
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@314a1d66
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@72e8b2e9
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@41c9cd49
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@7b29096a
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@1a698a44
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@2da11c1a
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@220d3f62
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@115c0010
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /home/trevor/FlutterProjects/flutter_app/build/app/distributions
distsDirName: distributions
docsDir: /home/trevor/FlutterProjects/flutter_app/build/app/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@47b193d5
extensions: org.gradle.api.internal.plugins.DefaultConvention@1a698a44
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@62d506f5
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@2968c3e2
flutter: FlutterExtension_Decorated@58c50a5f
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@13a115a9
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@59095b86
libsDir: /home/trevor/FlutterProjects/flutter_app/build/app/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@149b2d55
logging: org.gradle.internal.logging.services.DefaultLoggingManager@3691f496
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@467687e9
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@4ec70bd0
module: org.gradle.api.internal.artifacts.ProjectBackedModule@5b143131
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@5d61ced3
objects: org.gradle.api.internal.model.DefaultObjectFactory@6e5b15d4
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@4ea76b92
plugins: [org.gradle.api.plugins.HelpTasksPlugin@2579cf80, com.android.build.gradle.api.AndroidBasePlugin@293cdd41, org.gradle.language.base.plugins.LifecycleBasePlugin@4a86e99b, org.gradle.api.plugins.BasePlugin@3d1e0152, org.gradle.api.plugins.ReportingBasePlugin@7ee65708, org.gradle.platform.base.plugins.ComponentBasePlugin@64e1ee48, org.gradle.language.base.plugins.LanguageBasePlugin@28f3bbcb, org.gradle.platform.base.plugins.BinaryBasePlugin@d508dad, org.gradle.api.plugins.JavaBasePlugin@2b217545, com.android.build.gradle.internal.coverage.JacocoPlugin@4926b605, com.android.build.gradle.AppPlugin@66bf6375, FlutterPlugin@34be0ba5]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@62d506f5
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@77ab0394
projectDir: /home/trevor/FlutterProjects/flutter_app/android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@5909b47
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@5654ca70
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@2241b9a6
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@235ac0d3
reportsDir: /home/trevor/FlutterProjects/flutter_app/build/app/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@c42c08f
rootDir: /home/trevor/FlutterProjects/flutter_app/android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@d0928e3
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@7dfe6478
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@8d77f4c
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@3691f496
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /home/trevor/FlutterProjects/flutter_app/build/app/reports/tests
testReportDirName: tests
testResultsDir: /home/trevor/FlutterProjects/flutter_app/build/app/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +20 ms] /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ +28 ms] Exit code 0 from: /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='com.yourcompany.flutterapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'flutter_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='flutter_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.yourcompany.flutterapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ +6 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 logcat -v time -t 1
[ +122 ms] Exit code 0 from: /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 logcat -v time -t 1
[ +1 ms] --------- beginning of main
07-24 21:26:05.197 D/STATUSBAR-WifiQuickSettingButton( 1111): onWifiSignalChanged enabled=true enabledDesc:"NETGEAR44"
[ +12 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 logcat -v time
[ +389 ms] DependencyChecker: /home/trevor/FlutterProjects/flutter_app/lib/main.dart is newer than 2018-07-24 20:58:46.934
[ +2 ms] /home/trevor/Android/Sdk/platform-tools/adb version
[ +14 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as /home/trevor/Android/Sdk/platform-tools/adb
[ +2 ms] /home/trevor/Android/Sdk/platform-tools/adb start-server
[ +9 ms] Building APK
[ +5 ms] Running 'gradlew assembleDebug'...
[ +3 ms] [android/] /home/trevor/FlutterProjects/flutter_app/android/gradlew -Ptarget=/home/trevor/FlutterProjects/flutter_app/lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +678 ms] :app:preBuild UP-TO-DATE
[ +26 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ +3 ms] :app:compileDebugRenderscript UP-TO-DATE
[ +43 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ +1 ms] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ +2 ms] :app:prepareLintJar UP-TO-DATE
[ +10 ms] :app:cleanMergeDebugAssets
[+4304 ms] :app:flutterBuildDebug
[ ] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ +10 ms] :app:generateDebugAssets UP-TO-DATE
[ ] :app:mergeDebugAssets
[ +90 ms] :app:copyFlutterAssetsDebug
[ +10 ms] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +10 ms] :app:processDebugResources UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ ] :app:javaPreCompileDebug UP-TO-DATE
[ ] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +49 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ +8 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug
[+2179 ms] :app:packageDebug
[ +1 ms] :app:assembleDebug
[ ] BUILD SUCCESSFUL in 7s
[ ] 29 actionable tasks: 6 executed, 23 up-to-date
[ +385 ms] calculateSha: /home/trevor/FlutterProjects/flutter_app/build/app/outputs/apk/app.apk
[ +401 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[ ] /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ +11 ms] Exit code 0 from: /home/trevor/Android/Sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='com.yourcompany.flutterapp' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'flutter_app'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='flutter_app' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.yourcompany.flutterapp.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'armeabi-v7a' 'x86' 'x86_64'
[ ] Stopping app 'app.apk' on SAMSUNG SM G530AZ.
[ ] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell am force-stop com.yourcompany.flutterapp
[ +622 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell pm list packages com.yourcompany.flutterapp
[ +398 ms] package:com.yourcompany.flutterapp
[ +11 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell cat /data/local/tmp/sky.com.yourcompany.flutterapp.sha1
[ +40 ms] 14a224906d889cf45a3e27f7f87d7b536f21af6e
[ +2 ms] Installing APK.
[ +5 ms] /home/trevor/Android/Sdk/platform-tools/adb version
[ +30 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as /home/trevor/Android/Sdk/platform-tools/adb
[ +1 ms] /home/trevor/Android/Sdk/platform-tools/adb start-server
[ +16 ms] Installing build/app/outputs/apk/app.apk...
[ ] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 install -r build/app/outputs/apk/app.apk
[+17967 ms] [ 0%] /data/local/tmp/app.apk
[ 0%] /data/local/tmp/app.apk
[ 0%] /data/local/tmp/app.apk
[ 0%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 1%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 2%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 3%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 4%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 5%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 6%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 7%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 8%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 9%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 10%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 11%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 12%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 13%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 14%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 15%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 16%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 17%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 18%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 19%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 20%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 21%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 22%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 23%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 24%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 25%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 26%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 27%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 28%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 29%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 30%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 31%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 32%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 33%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 34%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 35%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 36%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 37%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 38%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 39%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 40%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 41%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 42%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 43%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 44%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 45%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 46%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 47%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 48%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 49%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 50%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 51%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 52%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 53%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 54%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 55%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 56%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 57%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 58%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 59%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 60%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 61%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 62%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 63%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 64%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 65%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 66%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 67%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 68%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 69%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 70%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 71%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 72%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 73%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 74%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 75%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 76%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 77%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 78%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 79%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 80%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 81%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 82%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 83%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 84%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 85%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 86%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 87%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 88%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 89%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 90%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 91%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 92%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 93%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 94%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 95%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 96%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 97%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 98%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[ 99%] /data/local/tmp/app.apk
[100%] /data/local/tmp/app.apk
build/app/outputs/apk/app.apk: 1 file pushed. 5.2 MB/s (29490960 bytes in 5.440s)
pkg: /data/local/tmp/app.apk
Success
[ +13 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell echo -n 0009aaf04f665f7c0f80ada93ac4e12d2685a97e > /data/local/tmp/sky.com.yourcompany.flutterapp.sha1
[ +80 ms] SAMSUNG SM G530AZ startApp
[ +4 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.yourcompany.flutterapp/com.yourcompany.flutterapp.MainActivity
[ +643 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.yourcompany.flutterapp/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[+1076 ms] I/FlutterActivityDelegate(15891): onResume setting current activity to this
[ +457 ms] Observatory URL on device: http://127.0.0.1:52735/
[ +22 ms] /home/trevor/Android/Sdk/platform-tools/adb -s 1a3be031 forward tcp:8102 tcp:52735
[ +13 ms] Forwarded host port 8102 to device port 52735 for Observatory
[ +5 ms] Connecting to service protocol: http://127.0.0.1:8102/
[ +748 ms] Successfully connected to service protocol: http://127.0.0.1:8102/
[ +6 ms] getVM: {}
[ +81 ms] getIsolate: {isolateId: isolates/1002365859}
[ +3 ms] _flutter.listViews: {isolateId: isolates/1002365859}
[ +164 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: flutter_app}
[ +99 ms] DevFS: Created new filesystem on the device (file:///data/data/com.yourcompany.flutterapp/cache/flutter_appAIIAPP/flutter_app/)
[ +5 ms] Updating assets
[ +187 ms] Syncing files to device SAMSUNG SM G530AZ...
[ +2 ms] DevFS: Starting sync from LocalDirectory: '/home/trevor/FlutterProjects/flutter_app'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +50 ms] Scanning asset files
[ ] Scanning for deleted files
[ +6 ms] Compiling dart to kernel with 416 updated files
[ +2 ms] /home/trevor/flutter/bin/cache/dart-sdk/bin/dart /home/trevor/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/trevor/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /home/trevor/FlutterProjects/flutter_app/.packages --filesystem-scheme org-dartlang-root
[+2873 ms] Updating files
[+1195 ms] DevFS: Sync finished
[ ] Synced 0.8MB.
[ +1 ms] _flutter.listViews: {isolateId: isolates/1002365859}
[ +24 ms] Connected to _flutterView/0xb7563df4.
[ ] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ ] An Observatory debugger and profiler on SAMSUNG SM G530AZ is available at: http://127.0.0.1:8102/
[ ] For a more detailed help message, press "h". To quit, press "q".
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing flutter_app...
No issues found! (ran in 1.6s)"><pre class="notranslate"><code class="notranslate">Analyzing flutter_app...
No issues found! (ran in 1.6s)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
• Flutter version 0.5.1 at /home/trevor/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/trevor/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
• All Android licenses accepted.
[✓] Android Studio (version 3.0)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 23.2.1
• Dart plugin version 171.4424
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[✓] IntelliJ IDEA Community Edition (version 2017.3)
• IntelliJ at /opt/idea-IC-173.4674.33
• Flutter plugin version 25.0.1
• Dart plugin version 173.4700
[✓] Connected devices (1 available)
• SAMSUNG SM G530AZ • 1a3be031 • android-arm • Android 5.1.1 (API 22)
• No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
• Flutter version 0.5.1 at /home/trevor/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/trevor/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
• All Android licenses accepted.
[✓] Android Studio (version 3.0)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 23.2.1
• Dart plugin version 171.4424
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[✓] IntelliJ IDEA Community Edition (version 2017.3)
• IntelliJ at /opt/idea-IC-173.4674.33
• Flutter plugin version 25.0.1
• Dart plugin version 173.4700
[✓] Connected devices (1 available)
• SAMSUNG SM G530AZ • 1a3be031 • android-arm • Android 5.1.1 (API 22)
• No issues found!
</code></pre></div> | <p dir="auto">Hello!</p>
<p dir="auto">Within a flutter application that has TextField or TextFormField the text can get duplicated upon first time data entry.</p>
<p dir="auto">When first entering a keypress, within a field that already has text pre-filled, the text duplicates then your keypress is attached.</p>
<p dir="auto">I am experiencing something that exhibits this behavior on my Samsung Galaxy S7, S8 and S9 (only devices I have to test with). This doesn't occur within the emulator (Galaxy Nexus9 and Pixel 2).</p>
<p dir="auto">If I place a space at the end of the field, this problem doesn't happen, however, if I tap in middle of a pre filled field (using controller or initialValue) and press a key it does occur.</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class SampleTextFormPage extends StatefulWidget {
@override
State<StatefulWidget> createState() => new _SampleTextFormPage();
}
class _SampleTextFormPage extends State<SampleTextFormPage> {
final _scaffoldKey = new GlobalKey<ScaffoldState>();
TextEditingController _txtController;
@override
void initState() {
super.initState();
_txtController = TextEditingController(text:'Using Controller');
}
@override
Widget build(BuildContext context) { Scaffold scaffold = new Scaffold(
key: _scaffoldKey,
appBar: new AppBar(
title: new Text('Text Entry',
style: const TextStyle(
color: Colors.white)
),
backgroundColor: Colors.indigo
),
body: Column(children: [
//field 1
TextField(
autocorrect: false,
autofocus: true,
controller: _txtController,
),
//field 2
TextFormField(
autocorrect: false,
autofocus: true,
initialValue: 'Using initialValue',
)
])
);
return scaffold;
}
}
"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-c1">SampleTextFormPage</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-c1">StatefulWidget</span>> <span class="pl-en">createState</span>() <span class="pl-k">=></span> <span class="pl-k">new</span> <span class="pl-c1">_SampleTextFormPage</span>();
}
<span class="pl-k">class</span> <span class="pl-c1">_SampleTextFormPage</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span><<span class="pl-c1">SampleTextFormPage</span>> {
<span class="pl-k">final</span> _scaffoldKey <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">GlobalKey</span><<span class="pl-c1">ScaffoldState</span>>();
<span class="pl-c1">TextEditingController</span> _txtController;
<span class="pl-k">@override</span>
<span class="pl-k">void</span> <span class="pl-en">initState</span>() {
<span class="pl-c1">super</span>.<span class="pl-en">initState</span>();
_txtController <span class="pl-k">=</span> <span class="pl-c1">TextEditingController</span>(text<span class="pl-k">:</span><span class="pl-s">'Using Controller'</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-c1">Scaffold</span> scaffold <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>(
key<span class="pl-k">:</span> _scaffoldKey,
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">'Text Entry'</span>,
style<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">TextStyle</span>(
color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.white)
),
backgroundColor<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.indigo
),
body<span class="pl-k">:</span> <span class="pl-c1">Column</span>(children<span class="pl-k">:</span> [
<span class="pl-c">//field 1</span>
<span class="pl-c1">TextField</span>(
autocorrect<span class="pl-k">:</span> <span class="pl-c1">false</span>,
autofocus<span class="pl-k">:</span> <span class="pl-c1">true</span>,
controller<span class="pl-k">:</span> _txtController,
),
<span class="pl-c">//field 2</span>
<span class="pl-c1">TextFormField</span>(
autocorrect<span class="pl-k">:</span> <span class="pl-c1">false</span>,
autofocus<span class="pl-k">:</span> <span class="pl-c1">true</span>,
initialValue<span class="pl-k">:</span> <span class="pl-s">'Using initialValue'</span>,
)
])
);
<span class="pl-k">return</span> scaffold;
}
}
</pre></div>
<p dir="auto"><a href="https://stackoverflow.com/questions/52894507/flutter-texfield-and-textformfield-duplicates-text-when-using-initial-value-or-c" rel="nofollow">https://stackoverflow.com/questions/52894507/flutter-texfield-and-textformfield-duplicates-text-when-using-initial-value-or-c</a></p> | 1 |
<p dir="auto"><strong>Apache Airflow version</strong>:<br>
1.10.11</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): NA</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: AWS (EC2 instances)</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/""><pre class="notranslate"><code class="notranslate">NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
</code></pre></div>
<ul dir="auto">
<li>
<p dir="auto"><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<br>
<code class="notranslate">Linux airflow-scheduler-10-229-13-220 4.14.165-131.185.amzn2.x86_64 #1 SMP Wed Jan 15 14:19:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux</code></p>
</li>
<li>
<p dir="auto"><strong>Install tools</strong>:</p>
</li>
<li>
<p dir="auto"><strong>Others</strong>:</p>
</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">When manually invoke a task from the task details dialog, we see the task running for approximately 22 seconds before we see the following appear in the log...</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2020-07-28 01:25:14,726] {local_task_job.py:150} WARNING - Recorded pid 26940 does not match the current pid 26751
[2020-07-28 01:25:14,728] {helpers.py:325} INFO - Sending Signals.SIGTERM to GPID 26757"><pre class="notranslate"><code class="notranslate">[2020-07-28 01:25:14,726] {local_task_job.py:150} WARNING - Recorded pid 26940 does not match the current pid 26751
[2020-07-28 01:25:14,728] {helpers.py:325} INFO - Sending Signals.SIGTERM to GPID 26757
</code></pre></div>
<p dir="auto">The task then is killed. We notice this is accompanied with a second failure shortly afterwards that correlates to the new pid that has been written to the <code class="notranslate">task_instance</code> table.</p>
<p dir="auto">It is interesting to note that if the task is scheduled as part of a normal dag run, or by clearing state and allowing the schedular to schedule its execution then we do not experience any issue.</p>
<p dir="auto">We have attempted to specify <code class="notranslate">task_concurrency</code> on our operators with no effect.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
We expected a single process to be spawned for the manually executed task.</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
Manually invoke a task via the task details dialog where that task execution is going to be longer than the heart rate interval that has been set.</p>
<p dir="auto">The heart rate checks the pid and sees a mismatch and so kills the task.</p>
<p dir="auto"><strong>Anything else we need to know</strong>:</p>
<p dir="auto">We can produce this reliably if the task execution time is > than the heart rate interval.</p> | <p dir="auto"><strong>Apache Airflow version</strong>: master branch</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): N/A</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li>breeze</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Running <code class="notranslate">./breeze build-docs</code> prints warnings related to <code class="notranslate">airflow.providers.google.common.hooks.discovery_api</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst:2: WARNING: Title underline too short.
:mod:`airflow.providers.google.common.hooks.base`
================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:2: WARNING: Title underline too short.
:mod:`airflow.providers.google.common.hooks.discovery_api`
=========================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... /opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/facebook_ads_to_gcs/index.rst: WARNING: document isn't included in any toctree
done"><pre class="notranslate"><code class="notranslate">/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst:2: WARNING: Title underline too short.
:mod:`airflow.providers.google.common.hooks.base`
================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:2: WARNING: Title underline too short.
:mod:`airflow.providers.google.common.hooks.discovery_api`
=========================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... /opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/facebook_ads_to_gcs/index.rst: WARNING: document isn't included in any toctree
done
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">Clean docs build</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
Run <code class="notranslate">./breeze build-docs</code></p> | 0 |
<p dir="auto">Current (as of this writing) master:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> sin(1)
0.8414709848078965
julia> sin.([1])
ERROR: InexactError()
in macro expansion at ./broadcast.jl:97 [inlined]
in macro expansion at ./simdloop.jl:73 [inlined]
in macro expansion at ./broadcast.jl:91 [inlined]
in _broadcast!(::Base.#sin, ::Array{Int64,1}, ::Tuple{Tuple{Bool}}, ::Tuple{Array{Int64,1}}, ::Type{Val{1}}) at ./broadcast.jl:86
in broadcast! at ./broadcast.jl:139 [inlined]
in broadcast(::Function, ::Array{Int64,1}) at ./broadcast.jl:143
in eval(::Module, ::Any) at ./boot.jl:231
in macro expansion at ./REPL.jl:92 [inlined]
in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">sin</span>(<span class="pl-c1">1</span>)
<span class="pl-c1">0.8414709848078965</span>
julia<span class="pl-k">></span> <span class="pl-c1">sin</span>.([<span class="pl-c1">1</span>])
ERROR<span class="pl-k">:</span> <span class="pl-c1">InexactError</span>()
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">97</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>simdloop<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">73</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">91</span> [inlined]
<span class="pl-k">in</span> <span class="pl-c1">_broadcast!</span>(<span class="pl-k">::</span><span class="pl-c1">Base.</span><span class="pl-c"><span class="pl-c">#</span>sin, ::Array{Int64,1}, ::Tuple{Tuple{Bool}}, ::Tuple{Array{Int64,1}}, ::Type{Val{1}}) at ./broadcast.jl:86</span>
<span class="pl-k">in</span> broadcast! at <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">139</span> [inlined]
<span class="pl-k">in</span> <span class="pl-c1">broadcast</span>(<span class="pl-k">::</span><span class="pl-c1">Function</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">143</span>
<span class="pl-k">in</span> <span class="pl-c1">eval</span>(<span class="pl-k">::</span><span class="pl-c1">Module</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>) at <span class="pl-k">./</span>boot<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">231</span>
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">92</span> [inlined]
<span class="pl-k">in</span> (<span class="pl-k">::</span><span class="pl-c1">Base.REPL.</span><span class="pl-c"><span class="pl-c">#</span>#1#2{Base.REPL.REPLBackend})() at ./event.jl:46</span></pre></div>
<p dir="auto">I would have expected this to work as <code class="notranslate">map</code> does:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> map(sin, [1])
1-element Array{Float64,1}:
0.841471"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">map</span>(sin, [<span class="pl-c1">1</span>])
<span class="pl-c1">1</span><span class="pl-k">-</span>element Array{Float64,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
<span class="pl-c1">0.841471</span></pre></div>
<p dir="auto">Any idea why this is happening?</p> | <p dir="auto">The following code fails with an <code class="notranslate">InexactError()</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="X = [1,2,3]
Y = [4 5]
broadcast(atan2, X, Y)"><pre class="notranslate"><code class="notranslate">X = [1,2,3]
Y = [4 5]
broadcast(atan2, X, Y)
</code></pre></div>
<p dir="auto">whereas</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[atan2(x,y) for x in X, y in Y ]"><pre class="notranslate"><code class="notranslate">[atan2(x,y) for x in X, y in Y ]
</code></pre></div>
<p dir="auto">(albeit producing an array of type <code class="notranslate">Any</code>), while</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="atan2([1,2,3],[4,5,6])"><pre class="notranslate"><code class="notranslate">atan2([1,2,3],[4,5,6])
</code></pre></div>
<p dir="auto">produces an array of <code class="notranslate">Float64</code>.</p>
<p dir="auto">Can we improve the type inference so that all three cases can generate <code class="notranslate">Float64</code> arrays? Note that this is needed for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20043830" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/4363" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/4363/hovercard" href="https://github.com/JuliaLang/julia/issues/4363">#4363</a> (for <code class="notranslate">@vectorize_2arg</code> to use <code class="notranslate">broadcast</code>).</p> | 1 |
<p dir="auto">Searching for Base.@kwdef yields nothing.<br>
The documentation is provided in the REPL though.</p> | <p dir="auto">The <code class="notranslate">Base.@kwdef</code> is such a useful feature. I cannot think of any reason why it should not be exported. Is there any concern doing that?</p> | 1 |
<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"> 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"> 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" checked=""> 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"> 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"> 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"> 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"> 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>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="554728891" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5935" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5935/hovercard" href="https://github.com/celery/celery/issues/5935">#5935</a></li>
</ul>
<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.3</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.3 (cliffs) kombu:4.6.10 py:3.8.0
billiard:3.6.4.0 redis:3.5.3
platform -> system:Linux arch:64bit, ELF
kernel version:5.3.0-40-generic imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://worker-wm-01.local:6379/
broker_url: 'redis://worker-wm-01.local:6379//'
result_backend: 'redis://worker-wm-01.local:6379/'
include: ['tasks']
broker: 'redis://worker-wm-01.local:6379'
broker_transport_options: {
'interval_max': 5, 'interval_start': 0, 'interval_step': 0.4, 'max_retries': 5}
broker_pool_limit: None
backend: 'redis://worker-wm-01.local:6379/'
redis_backend_health_check_interval: 120
task_acks_late: True
worker_prefetch_multiplier: 1"><pre class="notranslate"><code class="notranslate">software -> celery:4.4.3 (cliffs) kombu:4.6.10 py:3.8.0
billiard:3.6.4.0 redis:3.5.3
platform -> system:Linux arch:64bit, ELF
kernel version:5.3.0-40-generic imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://worker-wm-01.local:6379/
broker_url: 'redis://worker-wm-01.local:6379//'
result_backend: 'redis://worker-wm-01.local:6379/'
include: ['tasks']
broker: 'redis://worker-wm-01.local:6379'
broker_transport_options: {
'interval_max': 5, 'interval_start': 0, 'interval_step': 0.4, 'max_retries': 5}
broker_pool_limit: None
backend: 'redis://worker-wm-01.local:6379/'
redis_backend_health_check_interval: 120
task_acks_late: True
worker_prefetch_multiplier: 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.8.0</li>
<li><strong>Minimal Celery Version</strong>: 4.4.3</li>
<li><strong>Minimal Kombu Version</strong>: 4.6.10</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>: N/A or Unknown</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="absl-py==0.12.0
alembic==1.4.1
amqp==2.6.1
ase==3.21.1
astroid==2.5.4
attrs==20.3.0
billiard==3.6.4.0
cachetools==4.2.1
celery==4.4.3
certifi==2020.12.5
chardet==3.0.4
click==7.1.2
cloudpickle==1.6.0
coverage==5.5
cycler==0.10.0
databricks-cli==0.14.3
dataclasses==0.6
decorator==4.4.2
docker==5.0.0
entrypoints==0.3
flake8==3.9.1
Flask==1.1.2
Flask-PyMongo==2.3.0
future==0.18.2
gitdb==4.0.7
GitPython==3.1.14
google-auth==1.29.0
google-auth-oauthlib==0.4.4
googledrivedownloader==0.4
greenlet==1.0.0
grpcio==1.37.0
gunicorn==20.1.0
h11==0.8.1
h2==3.2.0
h5py==3.2.1
hpack==3.0.0
http3==0.6.7
hyperframe==5.2.0
idna==2.10
iniconfig==1.1.1
isodate==0.6.0
isort==5.8.0
itsdangerous==1.1.0
Jinja2==2.11.3
joblib==1.0.1
kiwisolver==1.3.1
kombu==4.6.10
lazy-object-proxy==1.6.0
llvmlite==0.36.0
Mako==1.1.4
Markdown==3.3.4
MarkupSafe==1.1.1
matplotlib==3.4.1
mccabe==0.6.1
minio==7.0.3
mlflow==1.15.0
networkx==2.5.1
numba==0.53.1
numpy==1.20.2
oauthlib==3.1.0
packaging==20.9
pandas==1.2.4
pefile==2019.4.18
Pillow==8.2.0
pluggy==0.13.1
prometheus-client==0.10.1
prometheus-flask-exporter==0.18.1
protobuf==3.15.8
py==1.10.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.7.0
pyflakes==2.3.1
pylint==2.7.4
pymongo==3.11.3
pyparsing==2.4.7
pytest==6.2.3
python-dateutil==2.8.1
python-dotenv==0.17.0
python-editor==1.0.4
python-louvain==0.15
pytorch-lightning==0.9.0
pytz==2021.1
PyYAML==5.4.1
querystring-parser==1.2.4
rdflib==5.0.0
redis==3.5.3
requests==2.25.1
requests-async==0.6.2
requests-oauthlib==1.3.0
rfc3986==1.4.0
rsa==4.7.2
scikit-learn==0.24.1
scipy==1.6.2
seaborn==0.11.1
six==1.15.0
smart-open==5.0.0
smmap==4.0.0
SQLAlchemy==1.4.11
sqlparse==0.4.1
structlog==21.1.0
tabulate==0.8.9
tensorboard==2.2.0
tensorboard-plugin-wit==1.8.0
threadpoolctl==2.1.0
toml==0.10.2
torch==1.7.0
torch-cluster==1.5.8
torch-geometric==1.6.3
torch-scatter==2.0.5
torch-sparse==0.6.8
torch-spline-conv==1.2.0
tqdm==4.60.0
typing-extensions==3.7.4.3
urllib3==1.26.4
uWSGI==2.0.19.1
vine==1.3.0
websocket-client==0.58.0
Werkzeug==1.0.1
wrapt==1.12.1
"><pre class="notranslate"><code class="notranslate">absl-py==0.12.0
alembic==1.4.1
amqp==2.6.1
ase==3.21.1
astroid==2.5.4
attrs==20.3.0
billiard==3.6.4.0
cachetools==4.2.1
celery==4.4.3
certifi==2020.12.5
chardet==3.0.4
click==7.1.2
cloudpickle==1.6.0
coverage==5.5
cycler==0.10.0
databricks-cli==0.14.3
dataclasses==0.6
decorator==4.4.2
docker==5.0.0
entrypoints==0.3
flake8==3.9.1
Flask==1.1.2
Flask-PyMongo==2.3.0
future==0.18.2
gitdb==4.0.7
GitPython==3.1.14
google-auth==1.29.0
google-auth-oauthlib==0.4.4
googledrivedownloader==0.4
greenlet==1.0.0
grpcio==1.37.0
gunicorn==20.1.0
h11==0.8.1
h2==3.2.0
h5py==3.2.1
hpack==3.0.0
http3==0.6.7
hyperframe==5.2.0
idna==2.10
iniconfig==1.1.1
isodate==0.6.0
isort==5.8.0
itsdangerous==1.1.0
Jinja2==2.11.3
joblib==1.0.1
kiwisolver==1.3.1
kombu==4.6.10
lazy-object-proxy==1.6.0
llvmlite==0.36.0
Mako==1.1.4
Markdown==3.3.4
MarkupSafe==1.1.1
matplotlib==3.4.1
mccabe==0.6.1
minio==7.0.3
mlflow==1.15.0
networkx==2.5.1
numba==0.53.1
numpy==1.20.2
oauthlib==3.1.0
packaging==20.9
pandas==1.2.4
pefile==2019.4.18
Pillow==8.2.0
pluggy==0.13.1
prometheus-client==0.10.1
prometheus-flask-exporter==0.18.1
protobuf==3.15.8
py==1.10.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.7.0
pyflakes==2.3.1
pylint==2.7.4
pymongo==3.11.3
pyparsing==2.4.7
pytest==6.2.3
python-dateutil==2.8.1
python-dotenv==0.17.0
python-editor==1.0.4
python-louvain==0.15
pytorch-lightning==0.9.0
pytz==2021.1
PyYAML==5.4.1
querystring-parser==1.2.4
rdflib==5.0.0
redis==3.5.3
requests==2.25.1
requests-async==0.6.2
requests-oauthlib==1.3.0
rfc3986==1.4.0
rsa==4.7.2
scikit-learn==0.24.1
scipy==1.6.2
seaborn==0.11.1
six==1.15.0
smart-open==5.0.0
smmap==4.0.0
SQLAlchemy==1.4.11
sqlparse==0.4.1
structlog==21.1.0
tabulate==0.8.9
tensorboard==2.2.0
tensorboard-plugin-wit==1.8.0
threadpoolctl==2.1.0
toml==0.10.2
torch==1.7.0
torch-cluster==1.5.8
torch-geometric==1.6.3
torch-scatter==2.0.5
torch-sparse==0.6.8
torch-spline-conv==1.2.0
tqdm==4.60.0
typing-extensions==3.7.4.3
urllib3==1.26.4
uWSGI==2.0.19.1
vine==1.3.0
websocket-client==0.58.0
Werkzeug==1.0.1
wrapt==1.12.1
</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="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@shared_task(bind=True)
def process(self, filename):
run_long_process() # more than 2 hours
return filename
celery_app.send_task("tasks.process", args=(filename,), queue=queue)
"><pre class="notranslate"><span class="pl-en">@<span class="pl-en">shared_task</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">process</span>(<span class="pl-s1">self</span>, <span class="pl-s1">filename</span>):
<span class="pl-en">run_long_process</span>() <span class="pl-c"># more than 2 hours</span>
<span class="pl-k">return</span> <span class="pl-s1">filename</span>
<span class="pl-s1">celery_app</span>.<span class="pl-en">send_task</span>(<span class="pl-s">"tasks.process"</span>, <span class="pl-s1">args</span><span class="pl-c1">=</span>(<span class="pl-s1">filename</span>,), <span class="pl-s1">queue</span><span class="pl-c1">=</span><span class="pl-s1">queue</span>)</pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Task is executed only once.</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">the task is keep executing after having got state SUCCESS once:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> from app import celery_app
>>> ar = celery_app.AsyncResult('46906783-4351-4397-8893-dfc69c8421cf')
>>> ar.state
'SUCCESS'"><pre class="notranslate"><code class="notranslate">>>> from app import celery_app
>>> ar = celery_app.AsyncResult('46906783-4351-4397-8893-dfc69c8421cf')
>>> ar.state
'SUCCESS'
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2021-07-22 21:03:05,141: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
[2021-07-22 23:22:02,694: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
[2021-07-23 01:41:35,151: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
[2021-07-23 04:02:10,839: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf] "><pre class="notranslate"><code class="notranslate">[2021-07-22 21:03:05,141: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
[2021-07-22 23:22:02,694: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
[2021-07-23 01:41:35,151: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
[2021-07-23 04:02:10,839: INFO/MainProcess] Received task: tasks.process[46906783-4351-4397-8893-dfc69c8421cf]
</code></pre></div>
<p dir="auto">I've noticed that unlike the similar issue, the default value of 1 hour visibility timeout doesn't affect me. Tasks between 1 and 2 hours long are performed only once, but this one takes about 140 minutes and keeps reappearing. I also read that actually visibility timeout doesn't affect anything and this kind of bugs happens mostly with Redis backend. Like in other cases, change to Rabbit is not an option.</p>
<p dir="auto">I would like to discover more about this issue, but i'm not sure where to head at. and whether it is similar to other cases or a new one. and what exactly is the nature of getting tasks to a worker (is it only that <a href="https://github.com/celery/celery/blob/f462a437e3371acb867e94b52c2595b6d0a742d8/celery/worker/request.py#L587">this method</a> must be called for a task to never be picked again or it doesn't matter in some cases)?</p> | <p dir="auto">I am using celery 4.3 + Redis + flower. I have a few long-running jobs with acks_late=True and task_reject_on_worker_lost=True. I am using celery grouping to group jobs run parallelly and append result and use in parent job.</p>
<p dir="auto">In this scenario, my few jobs will run more than an hour, after every one hour the same child jobs are redelivering again to the worker.</p>
<p dir="auto">The sample jobs as below.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@app.task(queue='q1', bind=True, acks_late=True, task_reject_on_worker_lost=True, max_retries=3)
def job_1(self):
do_something()
task_group = group(job_2.s(batch) for batch in range(0, len([1,2,3,4,5,6]), 3))
result_group = task_group.apply_async()
@app.task(queue='q1', bind=True, acks_late=True, task_reject_on_worker_lost=True, max_retries=3)
def job_2(self, batch):
do_something()
return result"><pre class="notranslate"><code class="notranslate">@app.task(queue='q1', bind=True, acks_late=True, task_reject_on_worker_lost=True, max_retries=3)
def job_1(self):
do_something()
task_group = group(job_2.s(batch) for batch in range(0, len([1,2,3,4,5,6]), 3))
result_group = task_group.apply_async()
@app.task(queue='q1', bind=True, acks_late=True, task_reject_on_worker_lost=True, max_retries=3)
def job_2(self, batch):
do_something()
return result
</code></pre></div>
<p dir="auto">The above job_2 will run more than hour and after one hour the same is redelivering again to the worker.</p>
<p dir="auto">My celery setup and config as shown below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="c = Celery(app.import_name,
backend=app.config['CELERY_RESULT_BACKEND'],
broker=app.config['CELERY_BROKER_URL'])
config.py
CELERY_BROKER_URL = os.environ['CELERY_BROKER_URL']
CELERY_RESULT_BACKEND = os.environ['CELERY_RESULT_BACKEND']
CELERY_BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 36000}"><pre class="notranslate"><code class="notranslate">c = Celery(app.import_name,
backend=app.config['CELERY_RESULT_BACKEND'],
broker=app.config['CELERY_BROKER_URL'])
config.py
CELERY_BROKER_URL = os.environ['CELERY_BROKER_URL']
CELERY_RESULT_BACKEND = os.environ['CELERY_RESULT_BACKEND']
CELERY_BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 36000}
</code></pre></div>
<p dir="auto">I tried to increase visibility timeout to 10 hours after the redelivering issue like above in configuration. but it looks like not working.</p>
<p dir="auto">Please help with this issue and let me know if any solution.</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0 (devel f9c4fdab40) last updated 2016/05/24 13:16:23 (GMT +200)
lib/ansible/modules/core: (detached HEAD a64d72d7bc) last updated 2016/05/24 13:16:41 (GMT +200)
lib/ansible/modules/extras: (detached HEAD d2900e856b) last updated 2016/05/24 13:16:48 (GMT +200)
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.0 (devel f9c4fdab40) last updated 2016/05/24 13:16:23 (GMT +200)
lib/ansible/modules/core: (detached HEAD a64d72d7bc) last updated 2016/05/24 13:16:41 (GMT +200)
lib/ansible/modules/extras: (detached HEAD d2900e856b) last updated 2016/05/24 13:16:48 (GMT +200)
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">none</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">If a handler is notified, then even if the handler is missing the playbook completes successfully without errors or warnings.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- debug: msg="test handler"
changed_when: true
notify:
- nonexistent_handler"><pre class="notranslate"><code class="notranslate">- debug: msg="test handler"
changed_when: true
notify:
- nonexistent_handler
</code></pre></div>
<p dir="auto">then run the playbook.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">PLAY RECAP , failed=1</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NOTIFIED HANDLER nonexistent_handler
ok: [localhost] => {
"msg": "test handler"
}
PLAY RECAP *********************************************************************
localhost : ok=12 changed=1 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">NOTIFIED HANDLER nonexistent_handler
ok: [localhost] => {
"msg": "test handler"
}
PLAY RECAP *********************************************************************
localhost : ok=12 changed=1 unreachable=0 failed=0
</code></pre></div> | <h5 dir="auto">Issue Type:</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">Ansible Version:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="v2.0.1.0"><pre class="notranslate"><code class="notranslate">v2.0.1.0
</code></pre></div>
<h5 dir="auto">Ansible Configuration:</h5>
<p dir="auto">Nothing in particular.</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">When you run ansible-playbook on a set of tasks with handlers, the existence of the handler is not checked, but those handlers are silently ignored. Even when the task induced a change.</p>
<p dir="auto">Because of this, people may make mistakes in handlers but won't ever know that things aren't as they would expect. Ansible could test the existence of handler references and warn about them (when there's no change) and fail (when they are being called).</p>
<p dir="auto">Silently ignoring notification handlers that should/could be run is problematic.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: localhost
gather_facts: no
handlers:
- name: foo-bar
debug: msg='Handler foo-bar ran'
tasks:
- name: 'Use an incorrect handler name, ansible-playbook does not care'
command: 'true'
changed_when: no
notify:
- foo_bar
- command: 'true'
notify:
- bar-foo
- command: 'true'
notify:
- foo-bar "><pre class="notranslate"><code class="notranslate">- hosts: localhost
gather_facts: no
handlers:
- name: foo-bar
debug: msg='Handler foo-bar ran'
tasks:
- name: 'Use an incorrect handler name, ansible-playbook does not care'
command: 'true'
changed_when: no
notify:
- foo_bar
- command: 'true'
notify:
- bar-foo
- command: 'true'
notify:
- foo-bar
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">Failure report about notification handlers that do not exist.</p>
<p dir="auto">This failure should happen also for handlers that are not to be used (i.e. because there was no change).</p>
<h5 dir="auto">Actual Results:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY ***************************************************************************
TASK [Use an incorrect handler name, ansible-playbook does not care] ***********
ok: [localhost]
TASK [command] *****************************************************************
changed: [localhost]
TASK [command] *****************************************************************
changed: [localhost]
RUNNING HANDLER [foo-bar] ******************************************************
ok: [localhost] => {
"msg": "Handler foo-bar ran"
}
PLAY RECAP *********************************************************************
localhost : ok=4 changed=2 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY ***************************************************************************
TASK [Use an incorrect handler name, ansible-playbook does not care] ***********
ok: [localhost]
TASK [command] *****************************************************************
changed: [localhost]
TASK [command] *****************************************************************
changed: [localhost]
RUNNING HANDLER [foo-bar] ******************************************************
ok: [localhost] => {
"msg": "Handler foo-bar ran"
}
PLAY RECAP *********************************************************************
localhost : ok=4 changed=2 unreachable=0 failed=0
</code></pre></div>
<p dir="auto">The first task (no change) and second task (change) should both report some failure because the notification handler does not exist. Silently ignoring this is a recipe for disaster !</p> | 1 |
<p dir="auto"><strong>Steps to reproduce and a minimal demo of the problem</strong><br>
See: <a href="http://plnkr.co/edit/2ecdHTFEZiG3Q4ig8xga?p=preview" rel="nofollow">http://plnkr.co/edit/2ecdHTFEZiG3Q4ig8xga?p=preview</a><br>
Open dev tools console to see the following error:<br>
<code class="notranslate">EXCEPTION: No provider for e! (e -> e)</code></p>
<p dir="auto">If you remove the [ngClass] or the *ngIf it will work fine. Also, if you change from the .min.js version to the .js or .dev.js version it will work.</p>
<p dir="auto"><strong>Current behavior</strong><br>
Throws <code class="notranslate">EXCEPTION: No provider for e! (e -> e)</code></p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
To work as it does with the full bundled version.</p>
<p dir="auto"><strong>Other information</strong></p> | <p dir="auto">When using minified bundles with SystemJS, and a simple snippet like this</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <template ngFor #item [ngForOf]="items" #i="index">
<li>{{i}}</li>
<li *ngIf="i % 2 == 0">number is even</li>
</template>"><pre class="notranslate"><code class="notranslate"> <template ngFor #item [ngForOf]="items" #i="index">
<li>{{i}}</li>
<li *ngIf="i % 2 == 0">number is even</li>
</template>
</code></pre></div>
<p dir="auto">Will throw</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: this.directive_0_0.ngDoCheck is not a function"><pre class="notranslate"><code class="notranslate">TypeError: this.directive_0_0.ngDoCheck is not a function
</code></pre></div>
<p dir="auto">This is only reproducible with minified bundles, non-minified work correctly.</p>
<p dir="auto">As an example check this <a href="http://plnkr.co/edit/ZWiQqw3nR8xS1MRrpTry?p=preview" rel="nofollow">plnkr</a> (took it from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="125250401" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/6304" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/6304/hovercard?comment_id=170200989&comment_type=issue_comment" href="https://github.com/angular/angular/issues/6304#issuecomment-170200989">#6304 (comment)</a>). To reproduce switch between minified and unminified bundles.</p>
<p dir="auto">This is also reproducible with Webpack using this line in the config</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" plugins : [
new webpack.optimize.UglifyJsPlugin()
],"><pre class="notranslate"><code class="notranslate"> plugins : [
new webpack.optimize.UglifyJsPlugin()
],
</code></pre></div>
<p dir="auto">Am I missing something?</p> | 1 |
<p dir="auto">setup a new project with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mkdir hello-next
cd hello-next
npm init -y
npm install --save react react-dom next
mkdir pages"><pre class="notranslate"><code class="notranslate">mkdir hello-next
cd hello-next
npm init -y
npm install --save react react-dom next
mkdir pages
</code></pre></div>
<p dir="auto">add a new index.js page</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default () =>
<div>
Hello world
<p>scoped!</p>
<style jsx>{`
p {
color: blue;
}
div {
background: red;
}
@media (max-width: 600px) {
div {
background: blue;
}
}
`}</style>
<style global jsx>{`
body {
background: black;
}
`}</style>
</div>"><pre class="notranslate"><code class="notranslate">export default () =>
<div>
Hello world
<p>scoped!</p>
<style jsx>{`
p {
color: blue;
}
div {
background: red;
}
@media (max-width: 600px) {
div {
background: blue;
}
}
`}</style>
<style global jsx>{`
body {
background: black;
}
`}</style>
</div>
</code></pre></div>
<p dir="auto">change the style and save.</p>
<p dir="auto">you will then be greeted by style remove / update errors</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="StyleSheetRegistry: styleId: `jsx-803111306` not found.
Error: StyleSheetRegistry: styleId: `jsx-803111306` not found.
at invariant (node_modules/styled-jsx/dist/stylesheet-registry.js:267:0)
at StyleSheetRegistry.remove (node_modules/styled-jsx/dist/stylesheet-registry.js:118:0)
at StyleSheetRegistry.update (node_modules/styled-jsx/dist/stylesheet-registry.js:139:0)
"><pre class="notranslate"><code class="notranslate">StyleSheetRegistry: styleId: `jsx-803111306` not found.
Error: StyleSheetRegistry: styleId: `jsx-803111306` not found.
at invariant (node_modules/styled-jsx/dist/stylesheet-registry.js:267:0)
at StyleSheetRegistry.remove (node_modules/styled-jsx/dist/stylesheet-registry.js:118:0)
at StyleSheetRegistry.update (node_modules/styled-jsx/dist/stylesheet-registry.js:139:0)
</code></pre></div> | <p dir="auto">I'm using next 6.0. I'm having this problem with style jsx. It say styleId not found everytime I changed style.</p>
<p dir="auto">I have folder called 'themes' under src folder which is same level with pages folder.<br>
I use a custom .babelrc to have it resolved as absolute path.</p>
<p dir="auto"><strong>Here is my .babelrc</strong><br>
<code class="notranslate">{ "presets": ["next/babel"], "plugins": [ ["module-resolver", { "root": ["./src"], alias: { "data": "./src/data", "modules": "./src/modules", "store": "./src/store", "themes": "./src/themes", "utils": "./src//utils", "svgs": "./svgs" } }], ["inline-react-svg"] ] }</code></p>
<p dir="auto"><strong>When I write new component I did something like:</strong></p>
<p dir="auto"><code class="notranslate">import {color, fontSize} from 'themes'; export default () => (<div><style jsx> div { color: ${color.green} } </style></div>)</code><br>
And I'm using withRedux to wrap my page.<br>
I'm using classnames too.</p>
<p dir="auto">It happen on next 6.0 not 5.x.</p> | 1 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">library target: umd cause "<strong>webpack_exports</strong> is not defined" error</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><a href="https://github.com/buhichan/webpack_exports-is-undefined/tree/master">https://github.com/buhichan/webpack_exports-is-undefined/tree/master</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">it should not generate main.js with reference error. This error does not happen with webpack 5.22.</p>
<p dir="auto">In <a href="https://github.com/webpack/webpack/blob/master/lib/javascript/JavascriptModulesPlugin.js">https://github.com/webpack/webpack/blob/master/lib/javascript/JavascriptModulesPlugin.js</a>, the code is like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="renderMain(...){
...
if(inlineModule){
...
generate var __webpack_exports__ = {};
...
}else{
...
}
if(someConfig){
generate return __webpack_exports__;
}
...
}
"><pre class="notranslate"><code class="notranslate">renderMain(...){
...
if(inlineModule){
...
generate var __webpack_exports__ = {};
...
}else{
...
}
if(someConfig){
generate return __webpack_exports__;
}
...
}
</code></pre></div>
<p dir="auto">Maybe <code class="notranslate">generate return __webpack_exports__</code> should be put into if(inlineModule){ ... }</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.34<br>
Node.js version: 14<br>
Operating System: Macos<br>
Additional tools: webpack-dev-server: 4.0.0-beta.2</p> | <p dir="auto">I would like to move the discussion that started in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="628951158" data-permission-text="Title is private" data-url="https://github.com/uuidjs/uuid/issues/462" data-hovercard-type="pull_request" data-hovercard-url="/uuidjs/uuid/pull/462/hovercard?comment_id=639678696&comment_type=issue_comment" href="https://github.com/uuidjs/uuid/pull/462#issuecomment-639678696">uuidjs/uuid#462 (comment)</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="606136937" data-permission-text="Title is private" data-url="https://github.com/rollup/rollup/issues/3514" data-hovercard-type="issue" data-hovercard-url="/rollup/rollup/issues/3514/hovercard?comment_id=640014379&comment_type=issue_comment" href="https://github.com/rollup/rollup/issues/3514#issuecomment-640014379">rollup/rollup#3514 (comment)</a> into this project.</p>
<p dir="auto"><strong>TL;DR:</strong> We do believe that, apart from support for <code class="notranslate">pkg.exports.browser</code> that is being added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="624236897" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/10953" data-hovercard-type="pull_request" data-hovercard-url="/webpack/webpack/pull/10953/hovercard" href="https://github.com/webpack/webpack/pull/10953">#10953</a>, we may need to support an additional key in the <code class="notranslate">pkg.exports</code> object.</p>
<p dir="auto">Let's illustrate this with an example taken from <a href="https://github.com/uuidjs/uuid/blob/0f6c4365275e1f7ef9ee875e01415cd466ae977a/package.json#L20-L34"><code class="notranslate">uuid</code></a>. Before <code class="notranslate">pkg.exports</code> we used to specify the following in package.json:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "main": "./dist/index.js",
"module": "./dist/esm-node/index.js",
"browser": {
"./dist/md5.js": "./dist/md5-browser.js",
"./dist/rng.js": "./dist/rng-browser.js",
"./dist/sha1.js": "./dist/sha1-browser.js",
"./dist/esm-node/index.js": "./dist/esm-browser/index.js"
},"><pre class="notranslate"> <span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/esm-node/index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"browser"</span>: {
<span class="pl-ent">"./dist/md5.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/md5-browser.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./dist/rng.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/rng-browser.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./dist/sha1.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/sha1-browser.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./dist/esm-node/index.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/esm-browser/index.js<span class="pl-pds">"</span></span>
},</pre></div>
<p dir="auto">The goal was the following:</p>
<ul dir="auto">
<li>Node.js native should pick <code class="notranslate">main</code></li>
<li>Bundlers targeting Node.js should pick <code class="notranslate">module</code></li>
<li>Bundlers targeting the browser would pick <code class="notranslate">"module": "./dist/esm-node/index.js",</code> but then use the override from <code class="notranslate">browser</code>: <code class="notranslate">"./dist/esm-node/index.js": "./dist/esm-browser/index.js"</code></li>
<li>(Before we added the esm build, bundlers targeting the browser would have used the CommonJS build from <code class="notranslate">main</code>, hence the additional browser-overrides)</li>
</ul>
<p dir="auto">Now that Node.js has added and webpack is about to add <code class="notranslate">pkg.exports</code> support the above can no longer be achieved for webpack:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "main": "./dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"browser": "./dist/esm-browser/index.js",
"require": "./dist/index.js",
"import": "./wrapper.mjs"
}
},
"module": "./dist/esm-node/index.js",
"browser": {
"./dist/md5.js": "./dist/md5-browser.js",
"./dist/rng.js": "./dist/rng-browser.js",
"./dist/sha1.js": "./dist/sha1-browser.js",
"./dist/esm-node/index.js": "./dist/esm-browser/index.js"
},"><pre class="notranslate"> <span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"exports"</span>: {
<span class="pl-ent">"./package.json"</span>: <span class="pl-s"><span class="pl-pds">"</span>./package.json<span class="pl-pds">"</span></span>,
<span class="pl-ent">"."</span>: {
<span class="pl-ent">"browser"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/esm-browser/index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"require"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"import"</span>: <span class="pl-s"><span class="pl-pds">"</span>./wrapper.mjs<span class="pl-pds">"</span></span>
}
},
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/esm-node/index.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"browser"</span>: {
<span class="pl-ent">"./dist/md5.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/md5-browser.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./dist/rng.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/rng-browser.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./dist/sha1.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/sha1-browser.js<span class="pl-pds">"</span></span>,
<span class="pl-ent">"./dist/esm-node/index.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>./dist/esm-browser/index.js<span class="pl-pds">"</span></span>
},</pre></div>
<p dir="auto">Since Node.js potentially suffers from the <a href="https://nodejs.org/docs/latest-v14.x/api/esm.html#esm_dual_package_hazard" rel="nofollow">dual package hazard</a> <code class="notranslate">uuid</code> provides a <code class="notranslate">./wrapper.mjs</code> which wraps the CJS build and exports it as ESM for <code class="notranslate">pkg.exports.import</code>.</p>
<p dir="auto">While the browser use case is covered by <code class="notranslate">pkg.exports.browser</code> for webpack, things no longer work as expected when bundling for Node.js</p>
<p dir="auto">While it would technically work to just fall back to <code class="notranslate">pkg.exports.import</code> and <code class="notranslate">pkg.exports.require</code> that is at least not an option for ESM-only bundlers like rollup, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="606136937" data-permission-text="Title is private" data-url="https://github.com/rollup/rollup/issues/3514" data-hovercard-type="issue" data-hovercard-url="/rollup/rollup/issues/3514/hovercard" href="https://github.com/rollup/rollup/issues/3514">rollup/rollup#3514</a>.</p>
<p dir="auto">Hence the need for one additional <code class="notranslate">pkg.exports</code> key that allows specifying a "pure esm" build to be used for Node.js bundling.</p>
<p dir="auto">For more details see the discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="628951158" data-permission-text="Title is private" data-url="https://github.com/uuidjs/uuid/issues/462" data-hovercard-type="pull_request" data-hovercard-url="/uuidjs/uuid/pull/462/hovercard?comment_id=639678696&comment_type=issue_comment" href="https://github.com/uuidjs/uuid/pull/462#issuecomment-639678696">uuidjs/uuid#462 (comment)</a> onwards.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sokra/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sokra">@sokra</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lukastaegert/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lukastaegert">@lukastaegert</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guybedford/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guybedford">@guybedford</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkrems/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkrems">@jkrems</a> @evilebottnawi</p> | 0 |
<p dir="auto">In this run:<br>
<a href="http://kubekins.dls.corp.google.com:8080/view/Scalability/job/kubernetes-e2e-gke-large-cluster/51/console" rel="nofollow">http://kubekins.dls.corp.google.com:8080/view/Scalability/job/kubernetes-e2e-gke-large-cluster/51/console</a></p>
<p dir="auto">131 tests failed.<br>
However, most of them (all but two) failed with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="01:40:47 Expected error:
01:40:47 <*errors.errorString | 0xc8200d80d0>: {
01:40:47 s: "timed out waiting for the condition",
01:40:47 }
01:40:47 timed out waiting for the condition
01:40:47 not to have occurred
01:40:47
01:40:47 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:190"><pre class="notranslate"><code class="notranslate">01:40:47 Expected error:
01:40:47 <*errors.errorString | 0xc8200d80d0>: {
01:40:47 s: "timed out waiting for the condition",
01:40:47 }
01:40:47 timed out waiting for the condition
01:40:47 not to have occurred
01:40:47
01:40:47 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:190
</code></pre></div>
<p dir="auto">which means that we couldn't create a namespace.</p>
<p dir="auto">However, I looked into logs of apiserver and there are not even such requests in apiserver.</p> | <p dir="auto">In gke-large-cluster suite, two tests failed for me with the following error:<br>
"Unable to connect to the server: x509: certificate signed by unknown authority"</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="01:39:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubeproxy.go:107
01:39:45
01:39:45 Expected error:
01:39:45 <*errors.errorString | 0xc8211d8480>: {
01:39:45 s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://8.35.199.16 --kubeconfig=/workspace/.kube/config exec --namespace=e2e-tests-e2e-kubeproxy-rew7e host-test-container-pod -- /bin/sh -c for i in $(seq 1 5); do echo 'hostName' | timeout -t 3 nc -w 1 -u 10.38.215.4 8081; echo; sleep 1s; done | grep -v '^\\s*$' |sort | uniq -c | wc -l] [] <nil> Please enter Username: Please enter Password: Unable to connect to the server: x509: certificate signed by unknown authority\n [] <nil> 0xc82358a460 exit status 1 <nil> true [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd17a0 0xc820dd17b8] [0xa7bfc0 0xa7bfc0] 0xc820ffafc0}:\nCommand stdout:\nPlease enter Username: Please enter Password: \nstderr:\nUnable to connect to the server: x509: certificate signed by unknown authority\n\nerror:\nexit status 1\n",
01:39:45 }
01:39:45 Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://8.35.199.16 --kubeconfig=/workspace/.kube/config exec --namespace=e2e-tests-e2e-kubeproxy-rew7e host-test-container-pod -- /bin/sh -c for i in $(seq 1 5); do echo 'hostName' | timeout -t 3 nc -w 1 -u 10.38.215.4 8081; echo; sleep 1s; done | grep -v '^\s*$' |sort | uniq -c | wc -l] [] <nil> Please enter Username: Please enter Password: Unable to connect to the server: x509: certificate signed by unknown authority
01:39:45 [] <nil> 0xc82358a460 exit status 1 <nil> true [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd17a0 0xc820dd17b8] [0xa7bfc0 0xa7bfc0] 0xc820ffafc0}:
01:39:45 Command stdout:
01:39:45 Please enter Username: Please enter Password:
01:39:45 stderr:
01:39:45 Unable to connect to the server: x509: certificate signed by unknown authority
01:39:45
01:39:45 error:
01:39:45 exit status 1
01:39:45
01:39:45 not to have occurred
01:39:45
01:39:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:3449"><pre class="notranslate"><code class="notranslate">01:39:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubeproxy.go:107
01:39:45
01:39:45 Expected error:
01:39:45 <*errors.errorString | 0xc8211d8480>: {
01:39:45 s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://8.35.199.16 --kubeconfig=/workspace/.kube/config exec --namespace=e2e-tests-e2e-kubeproxy-rew7e host-test-container-pod -- /bin/sh -c for i in $(seq 1 5); do echo 'hostName' | timeout -t 3 nc -w 1 -u 10.38.215.4 8081; echo; sleep 1s; done | grep -v '^\\s*$' |sort | uniq -c | wc -l] [] <nil> Please enter Username: Please enter Password: Unable to connect to the server: x509: certificate signed by unknown authority\n [] <nil> 0xc82358a460 exit status 1 <nil> true [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd17a0 0xc820dd17b8] [0xa7bfc0 0xa7bfc0] 0xc820ffafc0}:\nCommand stdout:\nPlease enter Username: Please enter Password: \nstderr:\nUnable to connect to the server: x509: certificate signed by unknown authority\n\nerror:\nexit status 1\n",
01:39:45 }
01:39:45 Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://8.35.199.16 --kubeconfig=/workspace/.kube/config exec --namespace=e2e-tests-e2e-kubeproxy-rew7e host-test-container-pod -- /bin/sh -c for i in $(seq 1 5); do echo 'hostName' | timeout -t 3 nc -w 1 -u 10.38.215.4 8081; echo; sleep 1s; done | grep -v '^\s*$' |sort | uniq -c | wc -l] [] <nil> Please enter Username: Please enter Password: Unable to connect to the server: x509: certificate signed by unknown authority
01:39:45 [] <nil> 0xc82358a460 exit status 1 <nil> true [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd1790 0xc820dd17a8 0xc820dd17c0] [0xc820dd17a0 0xc820dd17b8] [0xa7bfc0 0xa7bfc0] 0xc820ffafc0}:
01:39:45 Command stdout:
01:39:45 Please enter Username: Please enter Password:
01:39:45 stderr:
01:39:45 Unable to connect to the server: x509: certificate signed by unknown authority
01:39:45
01:39:45 error:
01:39:45 exit status 1
01:39:45
01:39:45 not to have occurred
01:39:45
01:39:45 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:3449
</code></pre></div>
<p dir="auto">Those errors come from:<br>
<a href="http://kubekins.dls.corp.google.com:8080/view/Scalability/job/kubernetes-e2e-gke-large-cluster/51/console" rel="nofollow">http://kubekins.dls.corp.google.com:8080/view/Scalability/job/kubernetes-e2e-gke-large-cluster/51/console</a></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zmerlynn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zmerlynn">@zmerlynn</a></p> | 1 |
<p dir="auto">There seems to be a bug when plotting dataframes that has duplicates in a DatetimeIndex. It seems to only be triggered when there is at least one more non-duplicate item in the index as in the first two cases below. These result in a:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ValueError: Shape of passed values is (1, 3), indices imply (1, 2)"><pre class="notranslate"><span class="pl-v">ValueError</span>: <span class="pl-v">Shape</span> <span class="pl-s1">of</span> <span class="pl-s1">passed</span> <span class="pl-s1">values</span> <span class="pl-c1">is</span> (<span class="pl-c1">1</span>, <span class="pl-c1">3</span>), <span class="pl-s1">indices</span> <span class="pl-en">imply</span> (<span class="pl-c1">1</span>, <span class="pl-c1">2</span>)</pre></div>
<p dir="auto">While the last case seems to be fine.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
# Case 1: fails
df = pandas.DataFrame(
index = pandas.to_datetime([
"2002-07-18 13:49:49",
"2002-07-18 13:49:49",
"2002-07-18 10:38:58"
]),
data = [1, 1, 1]
)
df.plot()
# Case 2: fails
df = pandas.DataFrame(
index = pandas.to_datetime([
"2002-07-19 10:51:29",
"2002-07-18 13:49:49",
"2002-07-18 13:49:49",
]),
data = [1, 1, 1]
)
df.plot()
# Case 3: works
df = pandas.DataFrame(
index = pandas.to_datetime([
"2002-07-18 13:49:49",
"2002-07-18 13:49:49",
]),
data = [1, 1]
)
df.plot()
"><pre class="notranslate"> <span class="pl-c"># Case 1: fails </span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>(
<span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-en">to_datetime</span>([
<span class="pl-s">"2002-07-18 13:49:49"</span>,
<span class="pl-s">"2002-07-18 13:49:49"</span>,
<span class="pl-s">"2002-07-18 10:38:58"</span>
]),
<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]
)
<span class="pl-s1">df</span>.<span class="pl-en">plot</span>()
<span class="pl-c"># Case 2: fails</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>(
<span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-en">to_datetime</span>([
<span class="pl-s">"2002-07-19 10:51:29"</span>,
<span class="pl-s">"2002-07-18 13:49:49"</span>,
<span class="pl-s">"2002-07-18 13:49:49"</span>,
]),
<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]
)
<span class="pl-s1">df</span>.<span class="pl-en">plot</span>()
<span class="pl-c"># Case 3: works</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>(
<span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-en">to_datetime</span>([
<span class="pl-s">"2002-07-18 13:49:49"</span>,
<span class="pl-s">"2002-07-18 13:49:49"</span>,
]),
<span class="pl-s1">data</span> <span class="pl-c1">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>]
)
<span class="pl-s1">df</span>.<span class="pl-en">plot</span>()</pre></div>
<p dir="auto">This is with a recent master checkout: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/52a82efe98a52df7a2dbb1208df19622ccdff39c/hovercard" href="https://github.com/pandas-dev/pandas/commit/52a82efe98a52df7a2dbb1208df19622ccdff39c"><tt>52a82ef</tt></a></p> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas
a = pandas.DataFrame({'a': ['0'], 'b': ['str']})
print(a.dtypes)
b = pandas.concat([a, pandas.DataFrame({'b': ['str2']})], axis=1)
print(b.dtypes)
b.iloc[:, 0] = [int(v) for v in a.iloc[:, 0]]
print(b.dtypes)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'a'</span>: [<span class="pl-s">'0'</span>], <span class="pl-s">'b'</span>: [<span class="pl-s">'str'</span>]})
<span class="pl-en">print</span>(<span class="pl-s1">a</span>.<span class="pl-s1">dtypes</span>)
<span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">pandas</span>.<span class="pl-en">concat</span>([<span class="pl-s1">a</span>, <span class="pl-s1">pandas</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'b'</span>: [<span class="pl-s">'str2'</span>]})], <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-en">print</span>(<span class="pl-s1">b</span>.<span class="pl-s1">dtypes</span>)
<span class="pl-s1">b</span>.<span class="pl-s1">iloc</span>[:, <span class="pl-c1">0</span>] <span class="pl-c1">=</span> [<span class="pl-en">int</span>(<span class="pl-s1">v</span>) <span class="pl-k">for</span> <span class="pl-s1">v</span> <span class="pl-c1">in</span> <span class="pl-s1">a</span>.<span class="pl-s1">iloc</span>[:, <span class="pl-c1">0</span>]]
<span class="pl-en">print</span>(<span class="pl-s1">b</span>.<span class="pl-s1">dtypes</span>)</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">The issue seems to be that if there is a DataFrame with duplicate column names, I cannot modify an (unrelated) column and convert its dtype from object to int.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">The final print should be:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a int64
b object
b object
dtype: object"><pre class="notranslate"><code class="notranslate">a int64
b object
b object
dtype: object
</code></pre></div>
<p dir="auto">And not:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a object
b object
b object
dtype: object"><pre class="notranslate"><code class="notranslate">a object
b object
b object
dtype: object
</code></pre></div>
<p dir="auto">It is interesting that if I change concat line to (see renaming of column <code class="notranslate">b</code> to <code class="notranslate">c</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="b = pandas.concat([a, pandas.DataFrame({'c': ['str2']})], axis=1)"><pre class="notranslate"><code class="notranslate">b = pandas.concat([a, pandas.DataFrame({'c': ['str2']})], axis=1)
</code></pre></div>
<p dir="auto">Then the output is correctly:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a int64
b object
c object
dtype: object"><pre class="notranslate"><code class="notranslate">a int64
b object
c object
dtype: object
</code></pre></div>
<p dir="auto">So it seems it has something with the fact that there are duplicate column names on other two columns, not the one being changed.</p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.6.3.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 4.13.0-46-generic<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.23.3<br>
pytest: None<br>
pip: 18.0<br>
setuptools: 40.0.0<br>
Cython: None<br>
numpy: 1.15.0<br>
scipy: None<br>
pyarrow: None<br>
xarray: None<br>
IPython: None<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.7.3<br>
pytz: 2018.5<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: None<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: None<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | 0 |
<p dir="auto">I am very sorry for making dupl of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="91396291" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/2753" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/2753/hovercard" href="https://github.com/angular/angular/issues/2753">#2753</a>. But after closing this issue on 2 Jul 2015, there are a lot of compelling arguments from community for allowing this feature.</p>
<p dir="auto">I read <a href="http://stackoverflow.com/questions/34421869/templatecache-in-angular-2" rel="nofollow">this article</a> with statement: <em>It is no longer possible to implement ng-include...</em>.<br>
I only want to make sure that:</p>
<ul dir="auto">
<li>angular team is really not interested in supporting any "html template as data or as parameter" scenario (for incoming angular2 release candidate)</li>
<li>there cannot be provided any official workaround, avoiding to have single angular2 component for every product in catalogue, for every web page, for every eLearning exercise etc.?</li>
</ul> | <p dir="auto">Because the Formbuilder controls collection is typed as an AbstractControl and AbstractControl does not have an updateValue method, it requires a cast to a Control which does have an updateValue method. Only Control has an updateValue method.</p>
<p dir="auto">Preferred and shorter which is better:<br>
this.myForm.controls['goal_weight'].updateValue("5");</p>
<p dir="auto">With the cast as required by Angular2 currently:<br>
( this.myForm.controls['goal_weight']).updateValue("5");<br>
(this.myForm.controls['goal_weight'] as Control).updateValue("5");</p>
<p dir="auto">Could you consider using types that would not require a cast here to update the value?<br>
Perhaps by making the the controls collection contain actually the Controls class items rather than AbstractControl items?<br>
Or perhaps you could move the updateValue method into the AbstractControl class?</p>
<p dir="auto">Example Template using myForm:</p>
<div dir="auto">
Weight Goal
</div> | 0 |
<p dir="auto"><code class="notranslate">deno run [OPTIONS] <SCRIPT_ARG>...</code> doesn't use import maps to resolve <code class="notranslate"><SCRIPT_ARG></code>. For example, consider:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ deno run https://deno.land/[email protected]/examples/welcome.ts
Welcome to Deno!"><pre class="notranslate"><code class="notranslate">$ deno run https://deno.land/[email protected]/examples/welcome.ts
Welcome to Deno!
</code></pre></div>
<p dir="auto">This could be rewritten to use an import map but that's unsupported:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat > mods.json <<eof
{
"imports": {
"std/": "https://deno.land/[email protected]/"
}
}
eof
$ deno run --import-map=mods.json std/examples/welcome.ts
error: Module not found "file:///home/stephen/tmp/sdfoiunouiwsf/std/examples/welcome.ts"."><pre class="notranslate"><code class="notranslate">$ cat > mods.json <<eof
{
"imports": {
"std/": "https://deno.land/[email protected]/"
}
}
eof
$ deno run --import-map=mods.json std/examples/welcome.ts
error: Module not found "file:///home/stephen/tmp/sdfoiunouiwsf/std/examples/welcome.ts".
</code></pre></div>
<p dir="auto">Allowing <code class="notranslate"><SCRIPT_ARG></code> to use the import map resolution like the rest of a Deno project is useful for users wishing to keep all their dependency versions in one file. For example, I have a repo with an import map pinned to a specific standard library version:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"imports": {
// many other imports
"std/": "https://deno.land/[email protected]/"
}
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"imports"</span>: <span class="pl-kos">{</span>
<span class="pl-c">// many other imports</span>
<span class="pl-s">"std/"</span>: <span class="pl-s">"https://deno.land/[email protected]/"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">And a deno.json with tasks that try to duplicate that version but they often get out of sync and I lose that nice view into seeing all my dependencies in one place:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"tasks": {
"dev:serve": "deno -q run --allow-read=. --allow-net https://deno.land/[email protected]/http/file_server.ts dist",
}
}"><pre class="notranslate">{
<span class="pl-ent">"tasks"</span>: {
<span class="pl-ent">"dev:serve"</span>: <span class="pl-s"><span class="pl-pds">"</span>deno -q run --allow-read=. --allow-net https://deno.land/[email protected]/http/file_server.ts dist<span class="pl-pds">"</span></span>,
}
}</pre></div>
<p dir="auto">I'd like it to be:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"tasks": {
"dev:serve": "deno -q run --allow-read=. --allow-net std/http/file_server.ts dist",
}
}"><pre class="notranslate">{
<span class="pl-ent">"tasks"</span>: {
<span class="pl-ent">"dev:serve"</span>: <span class="pl-s"><span class="pl-pds">"</span>deno -q run --allow-read=. --allow-net std/http/file_server.ts dist<span class="pl-pds">"</span></span>,
}
}</pre></div> | <p dir="auto">First of all, thank you very much. I think deno with built-in typescript support is a great idea.</p>
<p dir="auto">But I don't think that package.json was a bad idea.</p>
<p dir="auto">You could improve it, for:</p>
<ul dir="auto">
<li>repetitive workflows and scripts</li>
<li>application configuration for different environments</li>
<li>linter, prettify rules</li>
<li>maintainer information, licensing, etc</li>
<li>even for docker building</li>
</ul>
<p dir="auto">and so on. It could be the single point of truth without any polling configuration files lying around wild.</p> | 0 |
<p dir="auto">The "top margin" check description is indicating the wrong value "20px" while the correct to complete the challenge is "40px":</p>
<blockquote>
<p dir="auto">Your green-box class should give the left of elements 40px of margin.<br>
Your green-box class should give the bottom of elements 20px of margin.<br>
Your green-box class should give the top of elements <strong>20px</strong> of margin.<br>
Your green-box class should give the right of elements 20px of margin.</p>
</blockquote> | <p dir="auto">In the instructions for the margin, you have the pixel setting for "Top" to 20px instead of 40px.</p> | 1 |
<p dir="auto">example: <a href="https://www.wakari.io/sharing/bundle/adamgreenhall/test-scatter" rel="nofollow">https://www.wakari.io/sharing/bundle/adamgreenhall/test-scatter</a></p>
<p dir="auto">I think this happens specifically for pandas scatter plots with colorbars in ipython. The xticks are still working for:</p>
<ul dir="auto">
<li>non-colorbar pandas scatter plots</li>
<li>the same scatter plot using matplotlib</li>
<li>standard python scripts using <code class="notranslate">plt.savefig</code></li>
</ul>
<p dir="auto">related problem with <code class="notranslate">%matplotlib inline</code>?: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3419960" data-permission-text="Title is private" data-url="https://github.com/ipython/ipython/issues/1443" data-hovercard-type="issue" data-hovercard-url="/ipython/ipython/issues/1443/hovercard" href="https://github.com/ipython/ipython/issues/1443">ipython/ipython#1443</a></p> | <p dir="auto">The exception handling code in _get_concatenated_data() relies on the exception not being generated in self._prepare_blocks() and can generate an exception with this non-informative error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "<pyshell#5>", line 12, in <module>
df = pd.concat([activedf,closeddf])
File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 873, in concat
return op.get_result()
File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 957, in get_result
new_data = self._get_concatenated_data()
File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 1001, in _get_concatenated_data
new_data[item] = self._concat_single_item(rdata, item)
UnboundLocalError: local variable 'rdata' referenced before assignment"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "<pyshell#5>", line 12, in <module>
df = pd.concat([activedf,closeddf])
File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 873, in concat
return op.get_result()
File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 957, in get_result
new_data = self._get_concatenated_data()
File "C:\Python27\lib\site-packages\pandas\tools\merge.py", line 1001, in _get_concatenated_data
new_data[item] = self._concat_single_item(rdata, item)
UnboundLocalError: local variable 'rdata' referenced before assignment
</code></pre></div> | 0 |
<p dir="auto">but list of emulator are displayed, i tried reinstall flutter on android studio, tried flutter doctor many times, tried flutter upgrade does nothing to solve the issue, tried invalidate and restart Andrd Studio.<br>
I tried another project yet it tells the same thing, i searched on the internet tried someone says to run administrator, still doesn't work.</p>
<p dir="auto">what's the thing i should do?<br>
I'm using windows 10, android studio 3.2</p> | <p dir="auto">Flutter apps seem to cache the sky dart libraries in the build directory, which causes them to not be updated when new changes are made and built.</p>
<p dir="auto">Currently, the build directory should be cleared anytime dart changes are made in the engine when testing on real apps.</p> | 0 |
<p dir="auto">Take this <code class="notranslate">parameters.yml</code>:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="router.request_context.host: my.domain.com
domain: my.domain.com"><pre class="notranslate"><span class="pl-ent">router.request_context.host</span>: <span class="pl-s">my.domain.com</span>
<span class="pl-ent">domain</span>: <span class="pl-s">my.domain.com</span></pre></div>
<p dir="auto">When using <code class="notranslate">%domain%</code> it in <code class="notranslate">security.yml</code>, i.e. in the access control section:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="firewalls:
admin:
host: ^admin\.
# ...
access_control:
- { host: admin.%domain%, path: ^/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { host: admin.%domain%, path: ^/, roles: IS_AUTHENTICATED_REMEMBERED }"><pre class="notranslate"><span class="pl-ent">firewalls</span>:
<span class="pl-ent">admin</span>:
<span class="pl-ent">host</span>: <span class="pl-s">^admin\.</span>
<span class="pl-c"><span class="pl-c">#</span> ...</span>
<span class="pl-ent">access_control</span>:
- <span class="pl-s">{ host: admin.%domain%, path: ^/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY }</span>
- <span class="pl-s">{ host: admin.%domain%, path: ^/, roles: IS_AUTHENTICATED_REMEMBERED }</span></pre></div>
<p dir="auto">All works as expected. Relevant section in generated <code class="notranslate">appProdProjectContainer.php</code> (returns added for redability):</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="protected function getSecurity_Firewall_Map_Context_AdminService()
{
// ...
$h = new \Symfony\Component\HttpFoundation\RequestMatcher(
'^/login$', 'admin.my.domain.com' // correct
);
$i = new \Symfony\Component\HttpFoundation\RequestMatcher(
'^/', 'admin.my.domain.com' // correct
);
$j = new \Symfony\Component\Security\Http\AccessMap();
// ...
}"><pre class="notranslate"><span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">getSecurity_Firewall_Map_Context_AdminService</span>()
{
<span class="pl-c">// ...</span>
<span class="pl-s1"><span class="pl-c1">$</span>h</span> = <span class="pl-k">new</span> \<span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">HttpFoundation</span>\<span class="pl-v">RequestMatcher</span>(
<span class="pl-s">'^/login$'</span>, <span class="pl-s">'admin.my.domain.com'</span> <span class="pl-c">// correct</span>
);
<span class="pl-s1"><span class="pl-c1">$</span>i</span> = <span class="pl-k">new</span> \<span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">HttpFoundation</span>\<span class="pl-v">RequestMatcher</span>(
<span class="pl-s">'^/'</span>, <span class="pl-s">'admin.my.domain.com'</span> <span class="pl-c">// correct</span>
);
<span class="pl-s1"><span class="pl-c1">$</span>j</span> = <span class="pl-k">new</span> \<span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Security</span>\<span class="pl-v">Http</span>\<span class="pl-v">AccessMap</span>();
<span class="pl-c">// ...</span>
}</pre></div>
<p dir="auto">However using <code class="notranslate">%router.request_context.host%</code>, for some reason, it get's translated into <code class="notranslate">localhost</code>, that is your firewall would not apply to production sites (doesn't match):</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="protected function getSecurity_Firewall_Map_Context_AdminService()
{
// ...
$h = new \Symfony\Component\HttpFoundation\RequestMatcher(
'^/login$', 'admin.localhost' // wrong
);
$i = new \Symfony\Component\HttpFoundation\RequestMatcher(
'^/', 'admin.localhost' // everyone accessing admin in prod!
);
$j = new \Symfony\Component\Security\Http\AccessMap();
// ...
}"><pre class="notranslate"><span class="pl-k">protected</span> <span class="pl-k">function</span> <span class="pl-en">getSecurity_Firewall_Map_Context_AdminService</span>()
{
<span class="pl-c">// ...</span>
<span class="pl-s1"><span class="pl-c1">$</span>h</span> = <span class="pl-k">new</span> \<span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">HttpFoundation</span>\<span class="pl-v">RequestMatcher</span>(
<span class="pl-s">'^/login$'</span>, <span class="pl-s">'admin.localhost'</span> <span class="pl-c">// wrong</span>
);
<span class="pl-s1"><span class="pl-c1">$</span>i</span> = <span class="pl-k">new</span> \<span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">HttpFoundation</span>\<span class="pl-v">RequestMatcher</span>(
<span class="pl-s">'^/'</span>, <span class="pl-s">'admin.localhost'</span> <span class="pl-c">// everyone accessing admin in prod!</span>
);
<span class="pl-s1"><span class="pl-c1">$</span>j</span> = <span class="pl-k">new</span> \<span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Security</span>\<span class="pl-v">Http</span>\<span class="pl-v">AccessMap</span>();
<span class="pl-c">// ...</span>
}</pre></div>
<p dir="auto">As <code class="notranslate">%router.request_context.host%</code> is the suggested method for configuring the request context globally (i.e sending mails with generated URLs) I think this could lead to insecure applications.</p>
<p dir="auto">A solution:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="domain: my.domain.com
router.request_context.host: %domain%"><pre class="notranslate"><code class="notranslate">domain: my.domain.com
router.request_context.host: %domain%
</code></pre></div> | <p dir="auto">I trying to use third-party bundle. (<a href="http://knpbundles.com/ornicar/ApcBundle" rel="nofollow">http://knpbundles.com/ornicar/ApcBundle</a>). This bundle requires me to provide <code class="notranslate">ornicar_apc.host</code> config value. I am trying to re-use existing configuration value <code class="notranslate">router.request_context.host</code>, which is overrided in my <code class="notranslate">parameters.yml</code>, but third-party bundle always compiled with default configuration value <code class="notranslate">localhost</code>. After some time of debugging I found:</p>
<p dir="auto">1st step: <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php#L50">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php#L50</a> loading configuration for the <code class="notranslate">framework</code> extension. Keep in mind: <code class="notranslate">$container</code> already have loaded valid value for <code class="notranslate">router.request_context.host</code>.</p>
<p dir="auto">2nd step: This line: <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L306">https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L306</a> loads default config value for <code class="notranslate">router.request_context.host</code> parameter value and rewriting existing "normal" value.</p>
<p dir="auto">3rd step: Thrd-party bundle uses overwriten value of <code class="notranslate">router.request_context.host</code> parameter.</p>
<p dir="auto">Could you help me with resolving this bug?</p> | 1 |
<p dir="auto"><em>Please make sure that this is a build/installation issue. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em></p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win 7</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No</li>
<li>TensorFlow installed from (source or binary): installation from <a href="https://www.tensorflow.org/install/pip" rel="nofollow">https://www.tensorflow.org/install/pip</a></li>
<li>TensorFlow version: 1.13</li>
<li>Python version: 3.6.8</li>
<li>Installed using virtualenv? pip? conda?: both pip, virtualenv</li>
<li>Bazel version (if compiling from source):no</li>
<li>GCC/Compiler version (if compiling from source): no</li>
<li>CUDA/cuDNN version: tried with all CUDA8, CUDA7.5,CUDA9</li>
<li>GPU model and memory:</li>
</ul>
<p dir="auto"><strong>Describe the problem</strong><br>
I tried different version of python and tensorflow and check the script for selecting CUDA version, it has the same error. Also I installed airflow but desn't work!!!!!!<br>
<strong>Provide the exact sequence of commands / steps that you executed before running into the problem</strong><br>
Traceback (most recent call last):<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module<br>
return load_dynamic(name, filename, file)<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic<br>
return _load(spec)<br>
ImportError: DLL load failed with error code -1073741795</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "", line 1, in <br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_<em>init</em>_.py", l<br>
ine 24, in <br>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python_<em>init</em>_<br>
.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow.py", line 74, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_t<br>
ensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module<br>
return load_dynamic(name, filename, file)<br>
File "C:\Users\azak\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic<br>
return _load(spec)<br>
ImportError: DLL load failed with error code -1073741795</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/errors" rel="nofollow">https://www.tensorflow.org/install/errors</a></p>
<p dir="auto">for some common reasons and solutions. Include the entire stack trace<br>
above this error message when asking for help.</p>
<p dir="auto"><strong>Any other info / logs</strong><br>
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.</p> | <p dir="auto">Hi<br>
When I tried<br>
<code class="notranslate">bazel build -c opt --config=cuda --local_resources 2048,.5,1.0 //tensorflow/tools/pip_package:build_pip_package</code></p>
<p dir="auto">, I see the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /XXXXX/tensorflow/python/BUILD:1926:1: Linking of rule '//tensorflow/python:_pywrap_tensorflow.so' failed: link_dynamic_library.sh failed: error executing command external/bazel_tools/tools/cpp/link_dynamic_library.sh no ignored ignored ignored external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -shared -o ... (remaining 396 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
clang: warning: argument unused during compilation: '-pthread'
duplicate symbol __Z14tf_git_versionv in:
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libframework_internal.pic.lo(version_info.pic.o)
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libversion_lib.pic.a(version_info.pic.o)
duplicate symbol __Z19tf_compiler_versionv in:
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libframework_internal.pic.lo(version_info.pic.o)
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libversion_lib.pic.a(version_info.pic.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /XXXX/tensorflow/tensorflow/tools/pip_package/BUILD:81:1 Linking of rule '//tensorflow/python:_pywrap_tensorflow.so' failed: link_dynamic_library.sh failed: error executing command external/bazel_tools/tools/cpp/link_dynamic_library.sh no ignored ignored ignored external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -shared -o ... (remaining 396 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
INFO: Elapsed time: 2.094s, Critical Path: 1.50s"><pre lang="INFO:" class="notranslate"><code class="notranslate">ERROR: /XXXXX/tensorflow/python/BUILD:1926:1: Linking of rule '//tensorflow/python:_pywrap_tensorflow.so' failed: link_dynamic_library.sh failed: error executing command external/bazel_tools/tools/cpp/link_dynamic_library.sh no ignored ignored ignored external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -shared -o ... (remaining 396 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
clang: warning: argument unused during compilation: '-pthread'
duplicate symbol __Z14tf_git_versionv in:
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libframework_internal.pic.lo(version_info.pic.o)
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libversion_lib.pic.a(version_info.pic.o)
duplicate symbol __Z19tf_compiler_versionv in:
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libframework_internal.pic.lo(version_info.pic.o)
bazel-out/local_darwin-py3-opt/bin/tensorflow/core/libversion_lib.pic.a(version_info.pic.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /XXXX/tensorflow/tensorflow/tools/pip_package/BUILD:81:1 Linking of rule '//tensorflow/python:_pywrap_tensorflow.so' failed: link_dynamic_library.sh failed: error executing command external/bazel_tools/tools/cpp/link_dynamic_library.sh no ignored ignored ignored external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -shared -o ... (remaining 396 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
INFO: Elapsed time: 2.094s, Critical Path: 1.50s
</code></pre></div>
<p dir="auto">following bazel version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Build label: 0.4.0-homebrew
Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Nov 2 19:15:37 2016 (1478114137)
Build timestamp: 1478114137
Build timestamp as int: 1478114137```"><pre class="notranslate"><code class="notranslate">Build label: 0.4.0-homebrew
Build target: bazel-out/local-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Nov 2 19:15:37 2016 (1478114137)
Build timestamp: 1478114137
Build timestamp as int: 1478114137```
</code></pre></div> | 0 |
<p dir="auto">i used the following statement in typescript source file as below referred from angular.io documentation<br>
declare var angular:angular.IAngularStatic;</p>
<p dir="auto">But it giving me error -<br>
Cannot find namespace angular.</p>
<p dir="auto">I tested the same in quickstart project also. same issue</p> | <p dir="auto">Hi,<br>
is there any working Angular 2 plunker with latest version of angular that works in IE11?</p>
<p dir="auto">I have some strange behavior that i want to show and help with fix. Unfortunately it is in big non-public project, so i want to prepare minimal reproduce plunks..</p>
<p dir="auto">Is there any base plunk that i can (or anyone else) fork?</p>
<p dir="auto">The problem is, evething is working right in <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/angular/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/angular">@angular</a> 2.1.2 in IE11 but in version 2.2.0 there are big issues in IE11 without any change in code - only different version of Angular.</p>
<p dir="auto">There is no error in Console in IE11, even the clear page with Reactive Forms doesnt work, the application just keep taking more and more memory.</p>
<p dir="auto">I would like to help and simulate it in plunker but i am not able to prepare Plunk from start. So if anyone could help me with base plunks i can prepare plunks with reproducing the problems.</p> | 0 |
<p dir="auto"><strong>Description</strong><br>
For an real world application im using an API to authenticate that is build in symfony as well and handles all the roles and al other security things for the frontend i want to use the symfony 4 framework as well and that it use the authentication over the API.<br>
The API will provide the authentication user, token and roles so the frontend framework can use this to signin.<br>
In the previous this is possible but since all class that could have do this is deprecated and uses guard which requires an user entity what i don't want because i don't want duplicate user databases because it's already in the API.</p>
<p dir="auto"><strong>Example</strong><br>
So my idea was an authenticator class to provide the support and authentication the authentication will returns the required userinterface with the username and roles to fake the user identity so it can log in the user and use all the security features like '@security'</p> | <p dir="auto"><em>(this issue is part of the <a href="http://symfony.com/blog/making-the-symfony-experience-exceptional" rel="nofollow">"DX" ("Developer eXperience") initiative</a> introduced by Symfony project)</em></p>
<p dir="auto">On the symfony-docs repository there is a <a href="https://github.com/symfony/symfony-docs/issues/3849" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony-docs/issues/3849/hovercard">very long discussion</a> about the new template naming syntax.</p>
<p dir="auto">In short, some people think that the old syntax has inconsistencies in cases like the following:</p>
<ul dir="auto">
<li>Resource: <code class="notranslate">@AcmeBlogBundle/Resources/views/Default/common/template4.html.twig</code></li>
<li>Template: <code class="notranslate">AcmeBlogBundle : Default : common / template4.html.twig</code></li>
<li>Also valid: <code class="notranslate">AcmeBlogBundle : Default / common : template4.html.twig</code></li>
</ul>
<p dir="auto">Using the new namespaced Twig syntax, the template name would always be:</p>
<p dir="auto"><code class="notranslate">@AcmeBlog/Default/common/template4.html.twig</code></p>
<p dir="auto">Removing the <code class="notranslate">Resources/views/</code> part is very common and easy to understand. But removing the <code class="notranslate">Bundle</code> suffix is really strange and inconsistent with the rest of Symfony.</p>
<p dir="auto">This problem is introduced in <a href="https://github.com/symfony/symfony/blob/a12db9bbd7813ec710d584ca56b8da2c66e1c4df/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php#L136-138">lines 136-138 of TwigBundle/DependencyInjection/TwigExtension.php file</a>.</p>
<h4 dir="auto">Summarized Proposals</h4>
<p dir="auto">Deprecate the current behavior (0) and choose one of the following to implement and recommend:</p>
<table role="table">
<thead>
<tr>
<th>Prop</th>
<th>Template</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td><code class="notranslate">AcmeBlogBundle:Default:index.html.twig</code></td>
<td>current</td>
</tr>
<tr>
<td>1</td>
<td><code class="notranslate">@AcmeBlogBundle/Default/index.html.twig</code></td>
<td>Assumed <code class="notranslate">Resources/views</code></td>
</tr>
<tr>
<td>2</td>
<td><code class="notranslate">@AcmeBlogBundle:Default/index.html.twig</code></td>
<td>Assumed <code class="notranslate">Resources/views</code></td>
</tr>
<tr>
<td>3</td>
<td><code class="notranslate">AcmeBlogBundle:Default/index.html.twig</code></td>
<td>Assumed <code class="notranslate">Resources/views</code></td>
</tr>
<tr>
<td>4</td>
<td><code class="notranslate">@AcmeBlogBundle:views/Default/index.html.twig</code></td>
<td>Assumed <code class="notranslate">Resources</code>, could also be used consistent with routing imports</td>
</tr>
<tr>
<td>5</td>
<td><code class="notranslate">AcmeBlogBundle:views/Default/index.html.twig</code></td>
<td>Assumed <code class="notranslate">Resources</code></td>
</tr>
<tr>
<td>6</td>
<td><code class="notranslate">view@AcmeDemoBundle/Default/index.html.twig</code></td>
<td>we might also have <code class="notranslate">public@</code>, <code class="notranslate">config@</code> that could be used elsewhere</td>
</tr>
</tbody>
</table> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.5.5</li>
<li>Operating System / Platform => MacOS Catalina 10.15.7</li>
<li>Compiler => clang, xcode</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I tried to install OpenCV from scratch but it failed to finish successfully. I had to install opencv from scratch because Java support is required. I used CMake gui app to generate build files and then 'make -j'</p>
<p dir="auto">I had an issue with zlib. I used homebrew zlib instead of integrated one, but it did not succeed</p>
<p dir="auto">Maybe it is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1093880145" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/21389" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/21389/hovercard" href="https://github.com/opencv/opencv/issues/21389">#21389</a></p>
<h5 dir="auto">Error</h5>
<p dir="auto">Undefined symbols for architecture x86_64:<br>
"Imf_3_1::Header::Header(int, int, float, Imath_2_5::Vec2 const&, float, Imf_3_1::LineOrder, Imf_3_1::Compression)", referenced from:<br>
cv::ExrEncoder::write(cv::Mat const&, std::__1::vector<int, std::__1::allocator > const&) in grfmt_exr.cpp.o<br>
"Imf_3_1::Chromaticities::Chromaticities(Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&)", referenced from:<br>
cv::ExrDecoder::ExrDecoder() in grfmt_exr.cpp.o<br>
ld: symbol(s) not found for architecture x86_64</p>
<h5 dir="auto">Steps to reproduce (Full log)</h5>
<p dir="auto">Igors-MacBook-Pro opencv-4.5.5_build % make -j -B<br>
[ 0%] Built target opencv_highgui_plugins<br>
[ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o<br>
[ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_close.c.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_aux.c.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_codec.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcapistd.c.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_compress.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image.c.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_color.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jccoefct.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_all.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcapimin.c.o<br>
[ 0%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/png.c.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_dir.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_rgbs.c.o<br>
[ 0%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngget.c.o<br>
[ 0%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngmem.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jccolor.c.o<br>
[ 0%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngerror.c.o<br>
[ 0%] Generate files for Java bindings<br>
[ 0%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/alloc.cpp.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_dirinfo.c.o<br>
[ 0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/decode.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jchuff.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_box.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcdctmgr.c.o<br>
[ 0%] Built target opencv_videoio_plugins<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_dumpmode.c.o<br>
[ 0%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/assert.cpp.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_dirread.c.o<br>
[ 0%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcicc.c.o<br>
[ 0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/version_db.c.o<br>
[ 0%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngpread.c.o<br>
[ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_canny.c.o<br>
[ 0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/quirc.c.o<br>
[ 0%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/edge.cpp.o<br>
[ 0%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_dirwrite.c.o<br>
[ 1%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngrio.c.o<br>
[ 1%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcinit.c.o<br>
[ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_gaussian.c.o<br>
[ 2%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngread.c.o<br>
[ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_general.c.o<br>
[ 2%] Generate files for Python bindings and documentation<br>
[ 2%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/check_cycles.cpp.o<br>
[ 2%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngrtran.c.o<br>
[ 2%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/thread.c.o<br>
[ 2%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngrutil.c.o<br>
[ 2%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/execution_engine.cpp.o<br>
[ 2%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/graph.cpp.o<br>
[ 2%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/image.c.o<br>
[ 2%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_accessor.cpp.o<br>
[ 2%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/invert.c.o<br>
[ 2%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcmainct.c.o<br>
[ 2%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/dwt.c.o<br>
[ 2%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/cio.c.o<br>
[ 2%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/event.c.o<br>
[ 3%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_error.c.o<br>
[ 3%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any_lite.cc.o<br>
[ 3%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcmarker.c.o<br>
[ 3%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/bio.c.o<br>
[ 3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/alpha_dec.c.o<br>
[ 4%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_extension.c.o<br>
[ 4%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_laplacian.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngset.c.o<br>
[ 5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/buffer_dec.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcmaster.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngtrans.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_morphology.c.o<br>
[ 5%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arenastring.cc.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngwio.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_scharr.c.o<br>
[ 5%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/j2k.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_fax3.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcomapi.c.o<br>
[ 5%] Building C object 3rdparty/[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdmainct.c.o<br>
libtiff/CMakeFiles/libtiff.dir/tif_fax3sm.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngwrite.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_flush.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngwtran.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_sobel.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcphuff.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/pngwutil.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy.c.o<br>
[ 14%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_print.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_getimage.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_jbig.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/intel/intel_init.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcprepct.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_channel.c.o<br>
[ 5%] Building C object 3rdparty/libpng/CMakeFiles/libpng.dir/intel/filter_sse2_intrinsics.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_make_border.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcsample.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_jpeg_12.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_merge.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jctrans.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_jpeg.c.o<br>
[ 5%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/jp2.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_split.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_luv.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_scale.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdapimin.c.o<br>
[ 5%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/mct.c.o<br>
[ 6%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_lzma.c.o<br>
[ 11%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdapistd.c.o<br>
[ 5%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcparam.c.o<br>
[ 14%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_read.c.o<br>
[ 5%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_lzw.c.o<br>
[ 5%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set.c.o<br>
[ 5%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/mqc.c.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_descriptor.cpp.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_descriptor_ref.cpp.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/memory_descriptor_view.cpp.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/metadata.cpp.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/metatypes.cpp.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/node.cpp.o<br>
[ 5%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/passes/communications.cpp.o<br>
[ 6%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/subgraphs.cpp.o<br>
[ 6%] Building CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/search.cpp.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/frame_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/idec_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/io_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/quant_dec.c.o<br>
[ 6%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdatadst.c.o<br>
[ 6%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/tree_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/vp8_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/vp8l_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dec/webp_dec.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/demux/anim_decode.c.o<br>
[ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set_channel.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/demux/demux.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_mips_dsp_r2.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_neon.c.o<br>
[ 6%] B[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost.c.o<br>
uilding CXX object CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_version.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_tile.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_warning.c.o<br>
[ 13%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_sse41.c.o<br>
[ 6%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/openjpeg.c.o<br>
[ 6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_mips32.c.o<br>
[ 6%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_next.c.o<br>
[ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/alpha_processing_sse2.c.o<br>
[ 6%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_util.cc.o<br>
[ 13%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_open.c.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o<br>
[ 8%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_mirror.c.o<br>
[ 8%] Building C object 3rdparty/openjpeg/openjp2/CMakeFi[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_webp.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_write.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_zip.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_zstd.c.o<br>
[ 15%] Building CXX object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_stream.cxx.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_unix.c.o<br>
les/libopenjp2.dir/opj_malloc.c.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_sse2.c.o<br>
[ 8%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/sparse_array.c.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.o[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/parse_context.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/common.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/int128.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/status.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringpiece.cc.o<br>
[ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/structurally_valid.cc.o<br>
[ 8%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_ojpeg.c.o<br>
[ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/strutil.cc.o<br>
[ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format_lite.cc.o<br>
[ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.cc.o<br>
[ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o<br>
[ 10%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdcolor.c.o<br>
[ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor_database.cc.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/dynamic_message.cc.o<br>
[ 11%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_resize.c.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_reflection.cc.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/reflection_ops.cc.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o<br>
[ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/unknown_field_set.cc.o<br>
[ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format.cc.o<br>
[ 13%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_packbits.c.o<br>
[ 12%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_rotate.c.o<br>
[ 13%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdhuff.c.o<br>
[ 8%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/function_list.c.o<br>
[ 13%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_warpaffine.c.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_field.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream.cc.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/bytestream.cc.o<br>
[ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o<br>
[ 13%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jddctmgr.c.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/substitute.cc.o<br>
[ 13%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_pixarlog.c.o<br>
[ 13%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdinput.c.o<br>
[ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_ptr_field.cc.o</p>
<p dir="auto">[ 6%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdatasrc.c.o<br>
[ 6%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/opj_clock.c.o<br>
[ 6%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_swap_channels.c.o<br>
[ 6%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/implicit_weak_message.cc.o<br>
[ 6%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/coded_stream.cc.o<br>
[ 6%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/t1.c.o<br>
[ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/strtod.cc.o<br>
[ 7%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/io_win32.cc.o<br>
[ 7%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdcoefct.c.o<br>
[ 8%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/tcd.c.o<br>
[ 8%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/tgt.c.o<br>
[ 9%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringprintf.cc.o<br>
[ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o<br>
[ 7%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/t2.c.o<br>
[ 13%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdicc.c.o<br>
[ 6%] Building C object 3rdparty/openjpeg/openjp2/CMakeFiles/libopenjp2.dir/pi.c.o<br>
[ 14%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_predict.c.o<br>
[ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set_heavy.cc.o<br>
[ 14%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_own.c.o<br>
[ 14%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_strip.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdmarker.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdmerge.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdpostct.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdsample.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdtrans.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jerror.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jidctfst.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jidctint.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jidctred.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jquant2.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jutils.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jmemmgr.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jmemnobs.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_mips_dsp_r2.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jaricom.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jcarith.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jsimd_none.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdarith.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_neon.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cost_sse2.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/cpu.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_clip_tables.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_mips32.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdphuff.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jquant1.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_mips_dsp_r2.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jdmaster.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jfdctfst.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jidctflt.c.o<br>
[ 14%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jfdctflt.c.o<br>
[ 15%] Building C object 3rdparty/libjpeg-turbo/CMakeFiles/libjpeg-turbo.dir/src/jfdctint.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_msa.c.o<br>
[ 15%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_neon.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_swab.c.o<br>
[ 15%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_thunder.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/dec_sse41.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_mips_dsp_r2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_neon.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_sse2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_sse41.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_mips_dsp_r2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_msa.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_neon.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_mips32.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/enc_msa.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/filters_sse2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_msa.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_neon.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_sse2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_sse41.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_mips_dsp_r2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_msa.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_neon.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_sse2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_mips32.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_mips_dsp_r2.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_msa.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_neon.c.o<br>
[ 16%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_mips_dsp_r2.c.o<br>
[ 17%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/lossless_enc_mips32.c.o<br>
[ 17%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/ssim_sse2.c.o<br>
[ 17%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/ssim.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/rescaler_sse2.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_mips_dsp_r2.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_msa.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_neon.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_sse2.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/upsampling_sse41.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_mips32.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_mips_dsp_r2.c.o<br>
[ 18%] Build[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/predictor_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_tools_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/quant_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_rescale_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_psnr_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_enc.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_sse2.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/alpha_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/backward_references_cost_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/backward_references_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/cost_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/filter_enc.c.o<br>
[ 18%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_sse41.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/analysis_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/config_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/histogram_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/iterator_enc.c.o<br>
ing C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/dsp/yuv_neon.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/frame_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/near_lossless_enc.c.o<br>
[ 19%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/picture_csp_enc.c.o<br>
JAVA: Processing OpenCV modules: 12<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/syntax_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/token_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/tree_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/vp8l_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/enc/webp_enc.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/anim_encode.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/muxinternal.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/bit_writer_utils.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/bit_reader_utils.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/muxread.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/mux/muxedit.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/color_cache_utils.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/filters_utils.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/huffman_encode_utils.c.o<br>
[ 20%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/quant_levels_dec_utils.c.o<br>
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/huffman_utils.c.o<br>
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/quant_levels_utils.c.o<br>
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/random_utils.c.o<br>
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/rescaler_utils.c.o<br>
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/thread_utils.c.o<br>
[ 21%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/src/utils/utils.c.o<br>
duplicated: CLASS cv::.Algorithm :<br>
[ 21%] Linking C static library ../lib/libippiw.a<br>
[ 21%] Built target ippiw<br>
SKIP:void cv::Algorithm::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I<br>
SKIP:void cv::Algorithm::read(FileNode fn) due to ARG type FileNode/I<br>
[ 21%] Linking C static library ../lib/libittnotify.a<br>
[ 21%] Built target ittnotify<br>
[ 22%] Linking C static library ../lib/libquirc.a<br>
[ 22%] Built target quirc<br>
Note: Class Feature2D has more than 1 base class (not supported by Python C extensions)<br>
Bases: cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm<br>
Only the first base class will be used<br>
[ 22%] Processing OpenCL kernels (core)<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/core/opencl_kernels_core.hpp contains the same content<br>
Scanning dependencies of target opencv_core<br>
[ 22%] Linking C static library ../lib/liblibwebp.a<br>
[ 22%] Built target libwebp<br>
Note: Class detail_GraphCutSeamFinder has more than 1 base class (not supported by Python C extensions)<br>
Bases: cv::detail::GraphCutSeamFinderBase, cv::detail::SeamFinder<br>
Only the first base class will be used<br>
[ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o<br>
[ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o<br>
[ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/async.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/bindings_utils.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/buffer_area.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.dispatch.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.dispatch.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o<br>
[ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.dispatch.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat_nd.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o<br>
[ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lut.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.dispatch.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_c.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_expressions.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_iterator.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_operations.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_sparse.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_transform.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_wrap.cpp.o<br>
[ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mean.dispatch.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.dispatch.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/minmax.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/norm.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clblas.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clfft.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel/parallel.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel/parallel_openmp.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel/parallel_tbb.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_impl.cpp.o<br>
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_base64_encoding.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_json.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_types.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_xml.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_yml.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.dispatch.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/sum.dispatch.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o<br>
[ 27%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/datafile.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/filesystem.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/logtagconfigparser.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/logtagmanager.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/samples.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o<br>
[ 28%] Processing OpenCL kernels (core)<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.sse4_2.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.avx2.cpp.o<br>
[ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/convert.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/convert_scale.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/count_non_zero.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/matmul.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mean.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/merge.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/split.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/sum.avx2.cpp.o<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/matmul.avx512_skx.cpp.o<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/core/opencl_kernels_core.hpp contains the same content<br>
[ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o<br>
[ 29%] Linking C static library ../lib/liblibpng.a<br>
[ 29%] Built target libpng<br>
[ 30%] Linking CXX static library ../lib/liblibtiff.a<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_jbig.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_jpeg_12.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_lzma.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_ojpeg.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_pixarlog.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_webp.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_zstd.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_jbig.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_jpeg_12.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_lzma.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_ojpeg.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_pixarlog.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_webp.c.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibtiff.a(tif_zstd.c.o) has no symbols<br>
[ 30%] Built target libtiff<br>
[ 30%] Built target gen_opencv_python_source<br>
SKIP:AsyncArray cv::dnn::Net::forwardAsync(String outputName = String()) due to RET type AsyncArray<br>
SKIP:void cv::dnn::Net::forward(vector_vector_Mat& outputBlobs, vector_String outBlobNames) due to ARG type vector_vector_Mat/O<br>
SKIP:void cv::dnn::Net::getLayersShapes(vector_MatShape netInputShapes, vector_int& layersIds, vector_vector_MatShape& inLayersShapes, vector_vector_MatShape& outLayersShapes) due to ARG type vector_vector_MatShape/O<br>
SKIP:void cv::dnn::Net::getLayersShapes(MatShape netInputShape, vector_int& layersIds, vector_vector_MatShape& inLayersShapes, vector_vector_MatShape& outLayersShapes) due to ARG type vector_vector_MatShape/O<br>
/Users/igla/Downloads/opencv-4.5.5/modules/java/generator/../generator/gen_java.py:578: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal<br>
if content == buf:<br>
SKIP:cv::BOWImgDescriptorExtractor::BOWImgDescriptorExtractor(Ptr_DescriptorExtractor dextractor, Ptr_DescriptorMatcher dmatcher) due to ARG type Ptr_DescriptorExtractor/I<br>
SKIP:void cv::DescriptorMatcher::read(FileNode arg1) due to ARG type FileNode/I<br>
SKIP:void cv::DescriptorMatcher::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I<br>
SKIP:void cv::Feature2D::read(FileNode arg1) due to ARG type FileNode/I<br>
SKIP:void cv::Feature2D::write(Ptr_FileStorage fs, String name = String()) due to ARG type Ptr_FileStorage/I<br>
SKIP:uchar SimpleBlobDetector_Params::blobColor due to RET type uchar<br>
SKIP:void SimpleBlobDetector_Params::blobColor due to ARG type uchar/I<br>
SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getBackends() due to RET type vector_VideoCaptureAPIs<br>
SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getCameraBackends() due to RET type vector_VideoCaptureAPIs<br>
SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getStreamBackends() due to RET type vector_VideoCaptureAPIs<br>
SKIP:vector_VideoCaptureAPIs cv::videoio_registry::getWriterBackends() due to RET type vector_VideoCaptureAPIs<br>
SKIP:bool cv::findCirclesGrid(Mat image, Size patternSize, Mat& centers, int flags, Ptr_FeatureDetector blobDetector, CirclesGridFinderParameters parameters) due to ARG type Ptr_FeatureDetector/I<br>
SKIP:bool cv::CascadeClassifier::read(FileNode node) due to ARG type FileNode/I<br>
SKIP:CorrectionLevel QRCodeEncoder_Params::correction_level due to RET type CorrectionLevel<br>
SKIP:void QRCodeEncoder_Params::correction_level due to ARG type CorrectionLevel/I<br>
SKIP:EncodeMode QRCodeEncoder_Params::mode due to RET type EncodeMode<br>
SKIP:void QRCodeEncoder_Params::mode due to ARG type EncodeMode/I<br>
Generated files: 241 (updated 2)<br>
[ 30%] Built target gen_opencv_java_source<br>
[ 30%] Copy Java(JAR) source files<br>
[ 30%] Copying res/drawable/chessboard.jpg<br>
[ 31%] Copying res/drawable/icon.png<br>
[ 31%] Copying res/drawable/lena.png<br>
[ 31%] Copying res/layout/main.xml<br>
[ 31%] Copying res/raw/lbpcascade_frontalface.xml<br>
[ 31%] Copying res/values/strings.xml<br>
[ 31%] Copying src/org/opencv/test/utils/ConvertersTest.java<br>
COPYFILES: ... 1 entries (JAVA_SRC_COPY)<br>
COPYFILES: ... directory '.../gen/java' with 146 files<br>
COPYFILES: Copying: 'modules/java/jar/opencv/java/org/opencv/calib3d/Calib3d.java' ...<br>
[ 31%] Copy Java(Test) source files<br>
COPYFILES: ... 1 entries (JAVA_TEST_SRC_COPY)<br>
COPYFILES: ... directory '.../gen/test' with 55 files<br>
COPYFILES: All files are up-to-date.<br>
[ 31%] Built target opencv_java_test_source_copy<br>
COPYFILES: Copying: 'modules/java/jar/opencv/java/org/opencv/features2d/AKAZE.java' ...<br>
COPYFILES: Updated!<br>
[ 31%] Built target opencv_java_jar_source_copy<br>
[ 31%] Copy Java(JAR) source files<br>
COPYFILES: ... 1 entries (JAVA_SRC_COPY)<br>
COPYFILES: ... directory '.../gen/java' with 146 files<br>
COPYFILES: All files are up-to-date.<br>
[ 31%] Generating opencv-455.jar<br>
[ 31%] Built target opencv_java_jar<br>
[ 31%] Linking C static library ../lib/liblibjpeg-turbo.a<br>
[ 31%] Built target libjpeg-turbo<br>
[ 31%] Linking C static library ../../lib/liblibopenjp2.a<br>
[ 31%] Linking CXX static library 3rdparty/lib/libade.a<br>
[ 31%] Built target libopenjp2<br>
[ 31%] Built target ade<br>
[ 31%] Linking CXX static library ../lib/liblibprotobuf.a<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibprotobuf.a(io_win32.cc.o) has no symbols<br>
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: ../lib/liblibprotobuf.a(io_win32.cc.o) has no symbols<br>
[ 31%] Built target libprotobuf<br>
[ 31%] Linking CXX shared library ../../lib/libopencv_core.dylib<br>
[ 31%] Built target opencv_core<br>
[ 32%] Building CXX object apps/version/CMakeFiles/opencv_version.dir/opencv_version.cpp.o<br>
[ 32%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/flann.cpp.o<br>
[ 32%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/miniflann.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/ann_mlp.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/em.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/gbt.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/inner_functions.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/knearest.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/kdtree.cpp.o<br>
[ 32%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/lr.cpp.o<br>
[ 33%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/nbayes.cpp.o<br>
[ 33%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/rtrees.cpp.o<br>
[ 33%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svmsgd.cpp.o<br>
[ 33%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svm.cpp.o<br>
[ 33%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/tree.cpp.o<br>
[ 33%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/testset.cpp.o<br>
[ 33%] Processing OpenCL kernels (imgproc)<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/imgproc/opencl_kernels_imgproc.hpp contains the same content<br>
Scanning dependencies of target opencv_imgproc<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.dispatch.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o<br>
[ 33%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_hsv.dispatch.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_rgb.dispatch.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_yuv.dispatch.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o<br>
[ 34%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.dispatch.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.sse4_1.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intelligent_scissors.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o<br>
[ 35%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/median_blur.dispatch.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.dispatch.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.sse4_1.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.dispatch.cpp.o<br>
[ 36%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.dispatch.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o<br>
[ 37%] Processing OpenCL kernels (imgproc)<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.avx.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.avx2.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.avx2.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx2.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/bilateral_filter.avx2.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/box_filter.avx2.cpp.o<br>
[ 37%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/filter.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_hsv.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_rgb.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/color_yuv.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/median_blur.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/morph.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/smooth.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/sumpixels.avx2.cpp.o<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/sumpixels.avx512_skx.cpp.o<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/imgproc/opencl_kernels_imgproc.hpp contains the same content<br>
[ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o<br>
[ 38%] Linking CXX executable ../../bin/opencv_version<br>
[ 38%] Built target opencv_version<br>
[ 38%] Linking CXX shared library ../../lib/libopencv_ml.dylib<br>
[ 38%] Built target opencv_ml<br>
[ 38%] Linking CXX shared library ../../lib/libopencv_flann.dylib<br>
[ 38%] Built target opencv_flann<br>
[ 38%] Linking CXX shared library ../../lib/libopencv_imgproc.dylib<br>
[ 38%] Built target opencv_imgproc<br>
[ 38%] Processing OpenCL kernels (photo)<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/photo/opencl_kernels_photo.hpp contains the same content<br>
[ 38%] Processing OpenCL kernels (features2d)<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/features2d/opencl_kernels_features2d.hpp contains the same content<br>
Scanning dependencies of target opencv_photo<br>
Scanning dependencies of target opencv_features2d<br>
[ 38%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o<br>
[ 38%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/utils.cpp.o<br>
[ 38%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/apple_conversions.mm.o<br>
[ 38%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_base.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/macosx_conversions.mm.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_bmp.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdal.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdcm.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_hdr.cpp.o<br>
[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o<br>
[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/onnx/opencv-onnx.pb.cc.o<br>
[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/attr_value.pb.cc.o<br>
[ 39%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/align.cpp.o<br>
[ 39%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/calibrate.cpp.o<br>
[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/graph.pb.cc.o<br>
[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/function.pb.cc.o<br>
[ 39%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoise_tvl1.cpp.o<br>
[ 39%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/contrast_preserve.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg.cpp.o<br>
[ 39%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cpp.o<br>
[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/op_def.pb.cc.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o<br>
[ 39%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000_openjpeg.cpp.o<br>
[ 39%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cuda.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/tensor.pb.cc.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/tensor_shape.pb.cc.o<br>
[ 40%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/hdr_common.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pfm.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/types.pb.cc.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/versions.pb.cc.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_importer.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_io.cpp.o<br>
[ 40%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/inpaint.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_shrinker.cpp.o<br>
[ 40%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/merge.cpp.o<br>
[ 40%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/npr.cpp.o<br>
[ 40%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/darknet/darknet_importer.cpp.o<br>
[ 40%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/darknet/darknet_io.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/debug_utils.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o<br>
[ 40%] Processing OpenCL kernels (photo)<br>
[ 40%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/dnn.cpp.o<br>
[ 40%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o<br>
[ 41%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o<br>
[ 42%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o<br>
[ 42%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/graph_simplifier.cpp.o<br>
[ 42%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/halide_scheduler.cpp.o<br>
[ 42%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ie_ngraph.cpp.o<br>
[ 42%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/init.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/batch_norm_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/convolution_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/elementwise_layers.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/eltwise_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/fully_connected_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/pooling_layer.cpp.o<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/photo/opencl_kernels_photo.hpp contains the same content<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/quantization_utils.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/scale_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/int8layers/softmax_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/accum_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/arg_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/batch_norm_layer.cpp.o<br>
[ 43%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/blank_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/concat_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/const_layer.cpp.o<br>
[ 43%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/convolution_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/correlation_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/crop_and_resize_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/cumsum_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/detection_output_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/elementwise_layers.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/eltwise_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/flatten_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/flow_warp_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/fully_connected_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/layers_common.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/lrn_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/max_unpooling_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/mvn_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/normalize_bbox_layer.cpp.o<br>
[ 44%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/not_implemented_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/padding_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/permute_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/pooling_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/prior_box_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/proposal_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/recurrent_layers.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/region_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reorg_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reshape_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/resize_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/scale_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/shuffle_channel_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/slice_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/softmax_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/split_layer.cpp.o<br>
[ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/model.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/nms.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/onnx/onnx_graph_simplifier.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/onnx/onnx_importer.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_halide.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_inf_engine.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_vkcom.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_webnn.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tengine4dnn/src/tengine_graph_convolution.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_graph_simplifier.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_importer.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_io.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THDiskFile.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THFile.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THGeneral.cpp.o<br>
[ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/torch_importer.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/avg_pool_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/concat_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/conv48_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/conv_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/dw_conv_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/lrn_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/max_pool_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/permute_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/prior_box_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/relu_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/shader/softmax_spv.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/buffer.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/context.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/internal.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_base.cpp.o<br>
[ 47%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_concat.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_conv.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_lrn.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_permute.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_pool.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_prior_box.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_relu.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/op_softmax.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/src/tensor.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/vulkan/vk_functions.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/vkcom/vulkan/vk_loader.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx2.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/int8layers/layers_common.avx2.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.o<br>
[ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/int8layers/layers_common.avx512_skx.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/affine_feature.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast_score.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/akaze.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/bagofwords.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/blobdetector.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/brisk.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/draw.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/dynamic.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast_score.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/feature2d.cpp.o<br>
[ 48%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/gftt.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/AKAZEFeatures.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/KAZEFeatures.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/fed.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/nldiffusion_functions.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/main.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/sift.dispatch.cpp.o<br>
[ 49%] Processing OpenCL kernels (features2d)<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.avx2.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/sift.avx2.cpp.o<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/sift.avx512_skx.cpp.o<br>
-- /Users/igla/Downloads/opencv-4.5.5_build/modules/features2d/opencl_kernels_features2d.hpp contains the same content<br>
[ 49%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/opencl_kernels_features2d.cpp.o<br>
[ 50%] Linking CXX shared library ../../lib/libopencv_features2d.dylib<br>
[ 50%] Linking CXX shared library ../../lib/libopencv_imgcodecs.dylib<br>
<strong>Undefined symbols for architecture x86_64:<br>
"Imf_3_1::Header::Header(int, int, float, Imath_2_5::Vec2 const&, float, Imf_3_1::LineOrder, Imf_3_1::Compression)", referenced from:<br>
cv::ExrEncoder::write(cv::Mat const&, std::__1::vector<int, std::__1::allocator > const&) in grfmt_exr.cpp.o<br>
"Imf_3_1::Chromaticities::Chromaticities(Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&)", referenced from:<br>
cv::ExrDecoder::ExrDecoder() in grfmt_exr.cpp.o<br>
ld: symbol(s) not found for architecture x86_64</strong><br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
make[2]: *** [lib/libopencv_imgcodecs.4.5.5.dylib] Error 1<br>
make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
[ 50%] Built target opencv_features2d<br>
[ 50%] Linking CXX shared library ../../lib/libopencv_photo.dylib<br>
[ 50%] Built target opencv_photo<br>
[ 51%] Linking CXX shared library ../../lib/libopencv_dnn.dylib<br>
[ 51%] Built target opencv_dnn<br>
make: *** [all] Error 2<br>
igla@Igors-MacBook-Pro opencv-4.5.5_build % make -j<br>
[ 1%] Built target quirc<br>
[ 1%] Built target ittnotify<br>
[ 1%] Built target opencv_videoio_plugins<br>
[ 2%] Built target libpng<br>
[ 2%] Built target gen_opencv_python_source<br>
[ 3%] Built target ade<br>
[ 3%] Built target gen_opencv_java_source<br>
[ 6%] Built target libtiff<br>
[ 6%] Built target opencv_highgui_plugins<br>
[ 8%] Built target ippiw<br>
[ 11%] Built target libjpeg-turbo<br>
[ 14%] Built target libprotobuf<br>
[ 21%] Built target libwebp<br>
[ 23%] Built target libopenjp2<br>
[ 23%] Copy Java(Test) source files<br>
[ 23%] Built target opencv_java_jar_source_copy<br>
COPYFILES: ... 1 entries (JAVA_TEST_SRC_COPY)<br>
COPYFILES: ... directory '.../gen/test' with 55 files<br>
[ 23%] Generating opencv-455.jar<br>
COPYFILES: All files are up-to-date.<br>
[ 23%] Built target opencv_java_jar<br>
[ 24%] Built target opencv_java_test_source_copy<br>
[ 31%] Built target opencv_core<br>
[ 32%] Built target opencv_version<br>
[ 32%] Built target opencv_flann<br>
[ 33%] Built target opencv_ml<br>
[ 38%] Built target opencv_imgproc<br>
[ 39%] Built target opencv_photo<br>
[ 39%] Linking CXX shared library ../../lib/libopencv_imgcodecs.dylib<br>
[ 47%] Built target opencv_dnn<br>
[ 49%] Built target opencv_features2d<br>
[ 49%] Linking CXX executable ../../bin/opencv_model_diagnostics<br>
[ 49%] Built target opencv_model_diagnostics<br>
Undefined symbols for architecture x86_64:<br>
"Imf_3_1::Header::Header(int, int, float, Imath_2_5::Vec2 const&, float, Imf_3_1::LineOrder, Imf_3_1::Compression)", referenced from:<br>
cv::ExrEncoder::write(cv::Mat const&, std::__1::vector<int, std::__1::allocator > const&) in grfmt_exr.cpp.o<br>
"Imf_3_1::Chromaticities::Chromaticities(Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&, Imath_2_5::Vec2 const&)", referenced from:<br>
cv::ExrDecoder::ExrDecoder() in grfmt_exr.cpp.o<br>
ld: symbol(s) not found for architecture x86_64<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
make[2]: *** [lib/libopencv_imgcodecs.4.5.5.dylib] Error 1<br>
make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
[ 49%] Linking CXX shared library ../../lib/libopencv_calib3d.dylib<br>
[ 52%] Built target opencv_calib3d</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.0.0 beta</li>
<li>Operating System / Platform => Windows 7 64 Bit</li>
<li>Compiler => Visual Studio 2015 build tool with cmake and nmake</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">compilation fails</p>
<p dir="auto">the earliest fail i've forgot the scene,<br>
it was in file "modules\cudaoptflow\src\farneback.cpp"<br>
in line 48 ,the FarnebackOpticalFlow was reported by compiler to be ambiguous<br>
i removed these code since the code was in #if !defined HAVE_CUDA || defined(CUDA_DISABLER) and i will use cuda</p>
<p dir="auto">in file "modules\stitching\src\blenders.cpp"<br>
in line 40 or somewhere the namespace cv::cuda::device::blend don't exist. Obviously the #ifdef HAVE_CUDA did not work.<br>
i modified it by removing the #ifdef , expose the code to the outer, for the same reason since i will use cuda<br>
it worked</p>
<p dir="auto">problem continues and maybe worse:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 88%] Linking CXX executable ..\..\bin\opencv_perf_cudaoptflow.exe
perf_optflow.cpp.obj : error LNK2019: unresolved external symbol
"public: static struct cv::Ptr<class cv::cuda::FarnebackOpticalFlow> __cdecl cv::cuda::FarnebackOpticalFlow::create(int,double,bool,int,int,int,double,int)"
(?create@FarnebackOpticalFlow@cuda@cv@@SA?AU?$Ptr@VFarnebackOpticalFlow@cuda@cv@@@3@HN_NHHHNH@Z)
referenced in function
"protected: virtual void __cdecl
opencv_test::`anonymous namespace'::ImagePair_FarnebackOpticalFlow::PerfTestBody(void)" (?PerfTestBody@ImagePair_FarnebackOpticalFlow@?A0x63873ea8@opencv_test@@MEAAXXZ)
..\..\bin\opencv_perf_cudaoptflow.exe : fatal error LNK1120: 1 unresolved externals
LINK failed. with 1120
NMAKE : fatal error U1077: '"C:\Program Files\cmake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop."><pre class="notranslate"><code class="notranslate">[ 88%] Linking CXX executable ..\..\bin\opencv_perf_cudaoptflow.exe
perf_optflow.cpp.obj : error LNK2019: unresolved external symbol
"public: static struct cv::Ptr<class cv::cuda::FarnebackOpticalFlow> __cdecl cv::cuda::FarnebackOpticalFlow::create(int,double,bool,int,int,int,double,int)"
(?create@FarnebackOpticalFlow@cuda@cv@@SA?AU?$Ptr@VFarnebackOpticalFlow@cuda@cv@@@3@HN_NHHHNH@Z)
referenced in function
"protected: virtual void __cdecl
opencv_test::`anonymous namespace'::ImagePair_FarnebackOpticalFlow::PerfTestBody(void)" (?PerfTestBody@ImagePair_FarnebackOpticalFlow@?A0x63873ea8@opencv_test@@MEAAXXZ)
..\..\bin\opencv_perf_cudaoptflow.exe : fatal error LNK1120: 1 unresolved externals
LINK failed. with 1120
NMAKE : fatal error U1077: '"C:\Program Files\cmake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
</code></pre></div>
<p dir="auto">i re-run cmake, unchecked perf-test, and rerun nmake</p>
<p dir="auto">the perf_cudaoptflow.exe was "avoided", but bug was not fixed, i got this soon:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="----------------------------------------------------------------------------------
[ 94%] Linking CXX shared library ..\..\bin\opencv_stitching400.dll
Creating library ..\..\lib\opencv_stitching400.lib and object ..\..\lib\opencv_stitching400.exp
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::addSrcWeightGpu16S(struct
cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,cla
ss cv::Rect_<int> &)" (?addSrcWeightGpu16S@blend@device@cuda@cv@@YAXU?$PtrStep@F@34@0U534@1AEAV?$Rect_@H@4@@Z) referenced in
function "public: virtual void __cdecl cv::detail::MultiBandBlender::feed(class cv::_InputArray const &,class cv::_InputArray
const &,class cv::Point_<int>)" (?feed@MultiBandBlender@detail@cv@@UEAAXAEBV_InputArray@3@0V?$Point_@H@3@@Z)
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::addSrcWeightGpu32F(struct
cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<float>,struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<float>,cla
ss cv::Rect_<int> &)" (?addSrcWeightGpu32F@blend@device@cuda@cv@@YAXU?$PtrStep@F@34@U?$PtrStep@M@34@U534@U634@AEAV?$Rect_@H@4
@@Z) referenced in function "public: virtual void __cdecl cv::detail::MultiBandBlender::feed(class cv::_InputArray const &,cl
ass cv::_InputArray const &,class cv::Point_<int>)" (?feed@MultiBandBlender@detail@cv@@UEAAXAEBV_InputArray@3@0V?$Point_@H@3@
@Z)
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::normalizeUsingWeightMapGp
u16S(struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,int,int)" (?normalizeUsingWeightMapGpu16S@blend@device@c
uda@cv@@YAXU?$PtrStep@F@34@U534@HH@Z) referenced in function "public: virtual void __cdecl cv::detail::MultiBandBlender::blen
d(class cv::_InputOutputArray const &,class cv::_InputOutputArray const &)" (?blend@MultiBandBlender@detail@cv@@UEAAXAEBV_Inp
utOutputArray@3@0@Z)
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::normalizeUsingWeightMapGp
u32F(struct cv::cuda::PtrStep<float>,struct cv::cuda::PtrStep<short>,int,int)" (?normalizeUsingWeightMapGpu32F@blend@device@c
uda@cv@@YAXU?$PtrStep@M@34@U?$PtrStep@F@34@HH@Z) referenced in function "public: virtual void __cdecl cv::detail::MultiBandBl
ender::blend(class cv::_InputOutputArray const &,class cv::_InputOutputArray const &)" (?blend@MultiBandBlender@detail@cv@@UE
AAXAEBV_InputOutputArray@3@0@Z)
..\..\bin\opencv_stitching400.dll : fatal error LNK1120: 4 unresolved externals
LINK failed. with 1120
NMAKE : fatal error U1077: '"C:\Program Files\cmake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop."><pre class="notranslate"><code class="notranslate">----------------------------------------------------------------------------------
[ 94%] Linking CXX shared library ..\..\bin\opencv_stitching400.dll
Creating library ..\..\lib\opencv_stitching400.lib and object ..\..\lib\opencv_stitching400.exp
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::addSrcWeightGpu16S(struct
cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,cla
ss cv::Rect_<int> &)" (?addSrcWeightGpu16S@blend@device@cuda@cv@@YAXU?$PtrStep@F@34@0U534@1AEAV?$Rect_@H@4@@Z) referenced in
function "public: virtual void __cdecl cv::detail::MultiBandBlender::feed(class cv::_InputArray const &,class cv::_InputArray
const &,class cv::Point_<int>)" (?feed@MultiBandBlender@detail@cv@@UEAAXAEBV_InputArray@3@0V?$Point_@H@3@@Z)
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::addSrcWeightGpu32F(struct
cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<float>,struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<float>,cla
ss cv::Rect_<int> &)" (?addSrcWeightGpu32F@blend@device@cuda@cv@@YAXU?$PtrStep@F@34@U?$PtrStep@M@34@U534@U634@AEAV?$Rect_@H@4
@@Z) referenced in function "public: virtual void __cdecl cv::detail::MultiBandBlender::feed(class cv::_InputArray const &,cl
ass cv::_InputArray const &,class cv::Point_<int>)" (?feed@MultiBandBlender@detail@cv@@UEAAXAEBV_InputArray@3@0V?$Point_@H@3@
@Z)
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::normalizeUsingWeightMapGp
u16S(struct cv::cuda::PtrStep<short>,struct cv::cuda::PtrStep<short>,int,int)" (?normalizeUsingWeightMapGpu16S@blend@device@c
uda@cv@@YAXU?$PtrStep@F@34@U534@HH@Z) referenced in function "public: virtual void __cdecl cv::detail::MultiBandBlender::blen
d(class cv::_InputOutputArray const &,class cv::_InputOutputArray const &)" (?blend@MultiBandBlender@detail@cv@@UEAAXAEBV_Inp
utOutputArray@3@0@Z)
blenders.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl cv::cuda::device::blend::normalizeUsingWeightMapGp
u32F(struct cv::cuda::PtrStep<float>,struct cv::cuda::PtrStep<short>,int,int)" (?normalizeUsingWeightMapGpu32F@blend@device@c
uda@cv@@YAXU?$PtrStep@M@34@U?$PtrStep@F@34@HH@Z) referenced in function "public: virtual void __cdecl cv::detail::MultiBandBl
ender::blend(class cv::_InputOutputArray const &,class cv::_InputOutputArray const &)" (?blend@MultiBandBlender@detail@cv@@UE
AAXAEBV_InputOutputArray@3@0@Z)
..\..\bin\opencv_stitching400.dll : fatal error LNK1120: 4 unresolved externals
LINK failed. with 1120
NMAKE : fatal error U1077: '"C:\Program Files\cmake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
</code></pre></div>
<p dir="auto">i did not dive into code yet, was this encountered yet or was it only my fault???</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">the real problem was "unresolved external symbol"</p> | 0 |
<h4 dir="auto">Code Sample</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({"date": ['10000101', '20180220']})
# Timestamp limitations correctly raise exception
pd.to_datetime(df.date, errors='raise')
...
OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1000-01-01 00:00:00
# Timestamp limitations correctly coerce to NaT
pd.to_datetime(df.date, errors='coerce')
...
0 NaT
1 2018-02-20
Name: date, dtype: datetime64[ns]
# errors=`ignore` incorrectly results in datetime like object
pd.to_datetime(df.date, errors='ignore', format="%Y%m%d")
0 1000-01-01 00:00:00
1 2018-02-20 00:00:00
Name: date, dtype: object"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">"date"</span>: [<span class="pl-s">'10000101'</span>, <span class="pl-s">'20180220'</span>]})
<span class="pl-c"># Timestamp limitations correctly raise exception</span>
<span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-s1">date</span>, <span class="pl-s1">errors</span><span class="pl-c1">=</span><span class="pl-s">'raise'</span>)
...
<span class="pl-v">OutOfBoundsDatetime</span>: <span class="pl-v">Out</span> <span class="pl-s1">of</span> <span class="pl-s1">bounds</span> <span class="pl-s1">nanosecond</span> <span class="pl-s1">timestamp</span>: <span class="pl-c1">1000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span>
<span class="pl-c"># Timestamp limitations correctly coerce to NaT</span>
<span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-s1">date</span>, <span class="pl-s1">errors</span><span class="pl-c1">=</span><span class="pl-s">'coerce'</span>)
...
<span class="pl-c1">0</span> <span class="pl-v">NaT</span>
<span class="pl-c1">1</span> <span class="pl-c1">2018</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">20</span>
<span class="pl-v">Name</span>: <span class="pl-s1">date</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>]
<span class="pl-c"># errors=`ignore` incorrectly results in datetime like object</span>
<span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-s1">date</span>, <span class="pl-s1">errors</span><span class="pl-c1">=</span><span class="pl-s">'ignore'</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">"%Y%m%d"</span>)
<span class="pl-c1">0</span> <span class="pl-c1">1000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span>
<span class="pl-c1">1</span> <span class="pl-c1">2018</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">20</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span>
<span class="pl-v">Name</span>: <span class="pl-s1">date</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">I believe that when <code class="notranslate">errors='ignore'</code>, and the timestamp limitations are violated by a datum, the result <a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.to_datetime.html" rel="nofollow">should be the original input</a> – not a datetime like object.</p>
<h4 dir="auto">Expected Output</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.to_datetime(df.date, errors='ignore', format="%Y%m%d")
0 '10000101'
1 2018-02-20 00:00:00
Name: date, dtype: object"><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-s1">date</span>, <span class="pl-s1">errors</span><span class="pl-c1">=</span><span class="pl-s">'ignore'</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">"%Y%m%d"</span>)
<span class="pl-c1">0</span> <span class="pl-s">'10000101'</span>
<span class="pl-c1">1</span> <span class="pl-c1">2018</span><span class="pl-c1">-</span><span class="pl-c1">02</span><span class="pl-c1">-</span><span class="pl-c1">20</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span>
<span class="pl-v">Name</span>: <span class="pl-s1">date</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.5.2.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 16.7.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.21.0<br>
pytest: 2.9.2<br>
pip: 9.0.1<br>
setuptools: 27.2.0<br>
Cython: 0.24.1<br>
numpy: 1.11.1<br>
scipy: 0.18.1<br>
pyarrow: None<br>
xarray: None<br>
IPython: 5.1.0<br>
sphinx: 1.4.6<br>
patsy: 0.4.1<br>
dateutil: 2.5.3<br>
pytz: 2016.6.1<br>
blosc: None<br>
bottleneck: 1.1.0<br>
tables: 3.2.3.1<br>
numexpr: 2.6.1<br>
feather: None<br>
matplotlib: 1.5.3<br>
openpyxl: 2.3.2<br>
xlrd: 1.0.0<br>
xlwt: 1.2.0<br>
xlsxwriter: 0.9.3<br>
lxml: 3.6.4<br>
bs4: 4.5.1<br>
html5lib: None<br>
sqlalchemy: 1.0.13<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.8<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p> | <p dir="auto">Copying from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="183817974" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/14448" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/14448/hovercard?comment_id=255068330&comment_type=issue_comment" href="https://github.com/pandas-dev/pandas/issues/14448#issuecomment-255068330">#14448 (comment)</a> (as the issue is closed now):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: pd.to_datetime('13000101', errors='ignore')
Out[1]: '13000101'
In [2]: pd.to_datetime('13000101', errors='ignore', format='%Y%m%d')
Out[2]: datetime.datetime(1300, 1, 1, 0, 0)"><pre class="notranslate"><code class="notranslate">In [1]: pd.to_datetime('13000101', errors='ignore')
Out[1]: '13000101'
In [2]: pd.to_datetime('13000101', errors='ignore', format='%Y%m%d')
Out[2]: datetime.datetime(1300, 1, 1, 0, 0)
</code></pre></div>
<p dir="auto">The above inconsistency (which is also not documented at all I think), is that something we want to fix?</p> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">cx_oracle types that subclass _NativeUnicodeMixin but not _OracleUnicodeText are essentially text types where convert_unicode=True/'force' is entirely non functional. Even if the cx_oracle coerce_to_unicode flag is turned on, which we no longer recommend, a CLOB will never return unicode. this needs to be worked out so that the public flags at least do as expected.</p> | <p dir="auto"><strong>Migrated issue, originally created by Oleg Talalov (<a href="https://github.com/olegtalalov">@olegtalalov</a>)</strong></p>
<p dir="auto">Customer's database contains BINARY_FLOAT_INFINITY value in one column in few rows.</p>
<p dir="auto">During requsting rows in fetch, function _detect_decimal called with value '<del>' and raise exception:<br>
ValueError: invalid literal for int() with base 10: '</del>'</p>
<p dir="auto">I use cx_orcale 5.3 and 6.0</p>
<p dir="auto">Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production</p> | 1 |
<p dir="auto">I'm looking to remap 'Shift + Backspace' to 'Del'<br>
Currently, I don't see any way to do this.<br>
Users might also want to do the inverse of this as well.<br>
I can imagine a scenario where a user might want to map 'insert' to 'Control + C' and 'shift+insert' to 'control + v'</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Restart computer</li>
<li>On log in, wait couple seconds, the "Start typing..." flashes on the screen, as shown in the screenshot below.</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">No flash, no indication of PowerToys Run unless it is called.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The search bar for PowerToys Run briefly flashes.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32803874/83054567-3eb61100-a018-11ea-8674-f62afe6f8369.png"><img src="https://user-images.githubusercontent.com/32803874/83054567-3eb61100-a018-11ea-8674-f62afe6f8369.png" alt="bug" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">In Waypoint: Add Borders Around your Elements, the requirement is:</p>
<p dir="auto">Give your image a border width of 10px.</p>
<p dir="auto">However, this does not check for actual pixel width. This test is passed with any border width (1px, 5px, 50px, etc.)</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-add-borders-around-your-elements" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-add-borders-around-your-elements</a> has an issue. Waypoint requires you to have a 10px border around the img element, but you can pass by with a 5px border.</p>
<p dir="auto">Steps to reproduce:</p>
<ol dir="auto">
<li>
<p dir="auto">Paste <code class="notranslate">.thin-red-border { border-color: red; border-width: 5px; border-style: solid; }</code> into your code, inside your style tag.</p>
</li>
<li>
<p dir="auto">Add <code class="notranslate">thick-green-border</code> to your img tag classes</p>
</li>
<li>
<p dir="auto">Change your <code class="notranslate">.thin-red-border</code> to <code class="notranslate">.thick-green-border</code> and <code class="notranslate">border-color: red;</code> to <code class="notranslate">border-color: green;</code> inside your style tag.</p>
</li>
</ol>
<p dir="auto">Then the Waypoint allows you to the next challenge even if you don't change your border-width to 10px;</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/766082/8312596/e4821430-19b3-11e5-9a1e-473c95294b4c.png"><img src="https://cloud.githubusercontent.com/assets/766082/8312596/e4821430-19b3-11e5-9a1e-473c95294b4c.png" alt="fcc-bug" style="max-width: 100%;"></a></p> | 1 |
<h4 dir="auto">Challenge Name</h4>
<p dir="auto">Replacing If Else Chains with Switch</p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">Tests are evaluating commented out code. In cases where existing if/else block is left in place and commented rather than deleted the tests fail.</p>
<p dir="auto">Looks to be similar if not the same issue affecting a different challenge reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184992527" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/11360" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/11360/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/11360">#11360</a></p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Chrome, Version: 56.0.2924.87</li>
<li>Operating System: Windows 10</li>
<li>Mobile, Desktop, or Tablet: Desktop</li>
</ul>
<h4 dir="auto">Your Code</h4>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="

function chainToSwitch(val) {
var answer = "";
// Only change code below this line
// if (val === "bob") {
// answer = "Marley";
// } else if (val === 42) {
// answer = "The Answer";
// } else if (val === 1) {
// answer = "There is no #1";
// } else if (val === 99) {
// answer = "Missed me by this much!";
// } else if (val === 7) {
// answer = "Ate Nine";
// }
switch(val){
case "bob":
answer = "Marley";
break;
case 42:
answer = "The Answer";
break;
case 1:
answer = "There is no #1";
break;
case 99:
answer = "Missed me by this much!";
break;
case 7:
answer = "Ate Nine";
break;
}
// Only change code above this line
return answer;
}
// Change this value to test
chainToSwitch(7);
"><pre class="notranslate"><span class="pl-c1">!</span><span class="pl-kos">[</span><span class="pl-s1">untitled</span><span class="pl-kos">]</span><span class="pl-kos">(</span><span class="pl-s1">https</span>:<span class="pl-c">//cloud.githubusercontent.com/assets/8456105/23828563/07185c06-072a-11e7-9f2b-e19014eecc39.jpg)</span>
<span class="pl-k">function</span> <span class="pl-en">chainToSwitch</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s">""</span><span class="pl-kos">;</span>
<span class="pl-c">// Only change code below this line</span>
<span class="pl-c">// if (val === "bob") {</span>
<span class="pl-c">// answer = "Marley";</span>
<span class="pl-c">// } else if (val === 42) {</span>
<span class="pl-c">// answer = "The Answer";</span>
<span class="pl-c">// } else if (val === 1) {</span>
<span class="pl-c">// answer = "There is no #1";</span>
<span class="pl-c">// } else if (val === 99) {</span>
<span class="pl-c">// answer = "Missed me by this much!";</span>
<span class="pl-c">// } else if (val === 7) {</span>
<span class="pl-c">// answer = "Ate Nine";</span>
<span class="pl-c">// }</span>
<span class="pl-k">switch</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">case</span> <span class="pl-s">"bob"</span>:
<span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s">"Marley"</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">case</span> <span class="pl-c1">42</span>:
<span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s">"The Answer"</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">case</span> <span class="pl-c1">1</span>:
<span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s">"There is no #1"</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">case</span> <span class="pl-c1">99</span>:
<span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s">"Missed me by this much!"</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-k">case</span> <span class="pl-c1">7</span>:
<span class="pl-s1">answer</span> <span class="pl-c1">=</span> <span class="pl-s">"Ate Nine"</span><span class="pl-kos">;</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Only change code above this line </span>
<span class="pl-k">return</span> <span class="pl-s1">answer</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Change this value to test</span>
<span class="pl-s1">chainToSwitch</span><span class="pl-kos">(</span><span class="pl-c1">7</span><span class="pl-kos">)</span><span class="pl-kos"></span><span class="pl-kos">;</span></pre></div>
<h4 dir="auto">Screenshot</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8456105/23828565/17f8d0fa-072a-11e7-9df9-f48c008737fd.png"><img src="https://cloud.githubusercontent.com/assets/8456105/23828565/17f8d0fa-072a-11e7-9df9-f48c008737fd.png" alt="image" style="max-width: 100%;"></a></p> | <p dir="auto">When I complete the code that I have been working on for a bonfire there is sometimes something that I will want to change after I have already submitted and run my code. I then noticed that there will be multiple bonfire completions under your profile when you run the code more than once. This occurs even when you run the same code twice. Across the ~40,000 users that are signed up right now, it might save some significant drive space to only show one of these.</p> | 0 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.2</p>
<p dir="auto"><strong>Problem</strong></p>
<p dir="auto">I've found that somewhere between typescript 1.6.2 and 1.8.2, it started printing relative file names in error messages instead of absolute file names. This makes it harder for us to find the right (generated) input file, since we have to know what the paths are relative to. Was this change on purpose, or accidental? It's not listed in the change log.</p> | <p dir="auto">TypeScript Version: 1.8.5<br>
Visual Studio 2013 Version: 12.0.40629.00 Update 5</p>
<p dir="auto"><strong>Code</strong><br>
The code is available via a codeproject article, called "First Angular2 App with TypeScript and Visual Studio 2013." I downloaded the code, unblocked it, opened it in VS2013 and ran it.<br>
<a href="http://www.codeproject.com/Articles/1060262/First-Angular-App-with-TypeScript-and-Visual-Studi" rel="nofollow">http://www.codeproject.com/Articles/1060262/First-Angular-App-with-TypeScript-and-Visual-Studi</a></p>
<p dir="auto"><strong>Expected behavior:</strong><br>
When the application is Cleaned in Visual Studio 2013, and then rebuilt, it should regenerate javascript from typescript and then run if there are no errors. The problem is that there are errors that were probably not there in a prior version of TypeScript.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
The first time the application builds, it gets me to upgrade TypeScript to 1.8.5. The first time it runs, the application works successfully, I believe because the custom tool does not need to run as there have been no changes to the typescript file.</p>
<p dir="auto">Changing the typescript file will cause typescript to return "Build: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning."</p>
<p dir="auto">This is in spite of having the TypeScriptExperimentalDecorators option set to true in the csproj file.</p>
<p dir="auto">But there is no need to even change the typescript file. Simply cleaning the code appears to cause the failure.</p>
<p dir="auto">The (poor) workaround is to tick the box to allow the code to be generated even if there's an error. Obviously this is bad especially if there are real errors needing to be corrected.</p>
<p dir="auto">Based on the number of demonstration apps out there I believe this option was working at some stage but is not working presently.</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/color</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/color" rel="nofollow">https://www.npmjs.com/package/color</a>
<ul dir="auto">
<li>Authors: @<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jameswlane/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jameswlane">@jameswlane</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BeeeQueue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BeeeQueue">@BeeeQueue</a></li>
</ul>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
ERROR ERROR in /Users/lifenautjoe/Documents/code/okuna/okuna-web/node_modules/@types/color/index.d.ts(13,40): nuxt:typescript 13:54:14
13:40 Type parameter 'T' has a circular default.
11 | type ColorParam = Color | string | ArrayLike<number> | number | { [key: string]: any };
12 |
> 13 | interface Color<T extends ColorParam = ColorParam> {
| ^
14 | toString(): string;
15 | toJSON(): Color<T>;
16 | string(places?: number): string;"><pre class="notranslate"><code class="notranslate">
ERROR ERROR in /Users/lifenautjoe/Documents/code/okuna/okuna-web/node_modules/@types/color/index.d.ts(13,40): nuxt:typescript 13:54:14
13:40 Type parameter 'T' has a circular default.
11 | type ColorParam = Color | string | ArrayLike<number> | number | { [key: string]: any };
12 |
> 13 | interface Color<T extends ColorParam = ColorParam> {
| ^
14 | toString(): string;
15 | toJSON(): Color<T>;
16 | string(places?: number): string;
</code></pre></div> | <p dir="auto">React typings throws errors in terminal after installation via typings</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error TS2320: Interface 'Element' cannot simultaneously extend types 'ReactElement<any>' and 'ReactElement<any>'.
Named property 'type' of types 'ReactElement<any>' and 'ReactElement<any>' are not identical.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/typings/globals/react/index.d.ts
(2375,5): error TS1036: Statements are not allowed in ambient contexts.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/typings/globals/react-dom/index.d.ts
(69,5): error TS2309: An export assignment cannot be used in a module with other exported elements.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react-dom/index.d.ts
(19,31): error TS2315: Type 'DOMAttributes' is not generic.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react-dom/index.d.ts
(44,60): error TS2315: Type 'DOMAttributes' is not generic.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react/index.d.ts
(2368,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'a' must be of type 'HTMLProps<HTMLAnchorElement>', but here has type 'HTMLProps<HTMLAnchorElement>'.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react/index.d.ts
(2369,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'abbr' must be of type 'HTMLProps<HTMLElement>', but here has type 'HTMLProps<HTMLElement>'.
"><pre class="notranslate"><code class="notranslate">error TS2320: Interface 'Element' cannot simultaneously extend types 'ReactElement<any>' and 'ReactElement<any>'.
Named property 'type' of types 'ReactElement<any>' and 'ReactElement<any>' are not identical.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/typings/globals/react/index.d.ts
(2375,5): error TS1036: Statements are not allowed in ambient contexts.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/typings/globals/react-dom/index.d.ts
(69,5): error TS2309: An export assignment cannot be used in a module with other exported elements.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react-dom/index.d.ts
(19,31): error TS2315: Type 'DOMAttributes' is not generic.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react-dom/index.d.ts
(44,60): error TS2315: Type 'DOMAttributes' is not generic.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react/index.d.ts
(2368,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'a' must be of type 'HTMLProps<HTMLAnchorElement>', but here has type 'HTMLProps<HTMLAnchorElement>'.
ERROR in /Users/ajvivek/Dev/ES6/motionize-code/node_modules/@types/react/index.d.ts
(2369,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'abbr' must be of type 'HTMLProps<HTMLElement>', but here has type 'HTMLProps<HTMLElement>'.
</code></pre></div>
<p dir="auto"><strong>index.d.ts</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/// <reference path="globals/react/index.d.ts" />
/// <reference path="globals/react-dom/index.d.ts" />"><pre class="notranslate"><code class="notranslate">/// <reference path="globals/react/index.d.ts" />
/// <reference path="globals/react-dom/index.d.ts" />
</code></pre></div>
<p dir="auto">Is anyone facing this issue?</p> | 0 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")<br>
[x ] bug report => search github for a similar issue or PR before submitting</p>
<p dir="auto"><strong>Current behavior</strong><br>
Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158752959" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9047" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9047/hovercard" href="https://github.com/angular/angular/issues/9047">#9047</a>. AppConfig is loaded using APP_INITIALIZER. Before the returned promise has been resolved, the initializer for the requested route is already invoked. The initializer will fail if it requires settings from AppConfig</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">The route resolvers should be invoked after the APP_INITIALIZER promise(s) have been resolved</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
<a href="https://plnkr.co/edit/PbTGxQ2X1aKUVfUvJdcO?p=preview" rel="nofollow">https://plnkr.co/edit/PbTGxQ2X1aKUVfUvJdcO?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
Use API url from AppConfig in a resolver</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Not relevant</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X<br>
2.4.8 (I have not tried downgrading but I thought is was working properly in 2.4.7)</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br>
Chrome but does not seem relevant</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
Typescript</p>
</li>
</ul> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x ] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">After update angular my application shows the loader and that's it, nothing happens.<br>
On version 2.4.7 the site works just fine.<br>
I have no errors on console. I have no clue what's causing this issue except the version change<br>
<strong>Expected behavior</strong></p>
<p dir="auto">The site should work just like it 2.4.7</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">Updating angular from 2.4.7 to 2.4.8</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<p dir="auto">Windows 10,<br>
Webstorm 2016.3.3</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.8</li>
</ul>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
</ul>
<p dir="auto">Chrome 56.0.2924.87 (Only one that was tested)</p>
<ul dir="auto">
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
TypeScript 2.1.6</li>
</ul> | 1 |
<p dir="auto">there is a problem in <code class="notranslate">Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler</code><br>
lines 38-42</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $method = $form->getConfig()->getMethod();
if ($method !== $request->getMethod()) {
return;
} "><pre class="notranslate"><code class="notranslate"> $method = $form->getConfig()->getMethod();
if ($method !== $request->getMethod()) {
return;
}
</code></pre></div>
<p dir="auto">i use the same form and it's creating process for POST, PUT, PATCH. i set the method in the template like this:</p>
<p dir="auto"><code class="notranslate">form_start( form , {'method': 'POST' , 'action': url( 'post_resource' ) })</code></p>
<p dir="auto">when the method is PUT or PATCH (other than the one in form's config, which is default, ie POST), then the check on line 40 fails with no verbal error.</p>
<p dir="auto">why is this check&return here anyway? i don't see any point in it.</p> | <p dir="auto">I am trying to forward a request to controller action<br>
using<br>
i am inside actionA and i am trying to forward request to actionB</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$this->forward('controller:actionB', $path);"><pre class="notranslate"><code class="notranslate">$this->forward('controller:actionB', $path);
</code></pre></div>
<p dir="auto">The problem is come methods in actionB throw Exception and get a blank page after that.<br>
I expected to see the exception trace in the debugging page not a blank page.</p>
<p dir="auto">after check the source code of the forward function</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" public function forward($controller, array $path = array(), array $query = array())
{
$path['_controller'] = $controller;
$subRequest = $this->container->get('request_stack')->getCurrentRequest()->duplicate($query,
null, $path);
return $this->container->get('http_kernel')->handle($subRequest, HttpKernelInterface::SUB_REQUEST);
}"><pre class="notranslate"><code class="notranslate"> public function forward($controller, array $path = array(), array $query = array())
{
$path['_controller'] = $controller;
$subRequest = $this->container->get('request_stack')->getCurrentRequest()->duplicate($query,
null, $path);
return $this->container->get('http_kernel')->handle($subRequest, HttpKernelInterface::SUB_REQUEST);
}
</code></pre></div>
<p dir="auto">And then forward function call</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return $this->container->get('http_kernel')->handle($subRequest, HttpKernelInterface::SUB_REQUEST);
}"><pre class="notranslate"><code class="notranslate">return $this->container->get('http_kernel')->handle($subRequest, HttpKernelInterface::SUB_REQUEST);
}
</code></pre></div>
<p dir="auto">handle function code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
$this->finishRequest($request, $type);
throw $e;
}
return $this->handleException($e, $request, $type);
}
}"><pre class="notranslate"><code class="notranslate">public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
$this->finishRequest($request, $type);
throw $e;
}
return $this->handleException($e, $request, $type);
}
}
</code></pre></div>
<p dir="auto">the catch variable is by default = true and there no way to pass it in the forward function<br>
so it will never throw any exception and always return a blank page</p>
<p dir="auto">I think there is something wrong here because i can't see any exception thrown in actionB</p> | 0 |
<p dir="auto">Dear Pandas community, this is a duplicate of SO's <a href="http://stackoverflow.com/questions/28226074/unstack-pandas-dataframe-with-multiindex" rel="nofollow">question</a>. I have seen a lots of similar questions across the web, but unfortunately I was not able to find the answers that could help me.</p>
<p dir="auto">What I'm trying to do is just to reshape the DataFrame with MultiIndex via unstack() method. Here is it:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" val
item indicator
0 Расположение: Минское шоссе /Минское шоссе
Направление: Запад
Площадь: 1200 м²
Стоимость: 1 007 259 000 руб.
1 Расположение: Переделкино /Минское шоссе
Направление: Запад
Площадь: 850 м²
Стоимость: 973 683 700 руб.
2 Расположение: Бородки /Минское шоссе
Направление: Запад
Площадь: 860 м²
Стоимость: 786 669 600 руб. "><pre class="notranslate"><code class="notranslate"> val
item indicator
0 Расположение: Минское шоссе /Минское шоссе
Направление: Запад
Площадь: 1200 м²
Стоимость: 1 007 259 000 руб.
1 Расположение: Переделкино /Минское шоссе
Направление: Запад
Площадь: 850 м²
Стоимость: 973 683 700 руб.
2 Расположение: Бородки /Минское шоссе
Направление: Запад
Площадь: 860 м²
Стоимость: 786 669 600 руб.
</code></pre></div>
<p dir="auto">The desired output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Расположение: Направление: Площадь: Стоимость:
0 ... ... ... ...
1 ... ... ... ...
2 ... ... ... ... "><pre class="notranslate"><code class="notranslate"> Расположение: Направление: Площадь: Стоимость:
0 ... ... ... ...
1 ... ... ... ...
2 ... ... ... ...
</code></pre></div>
<p dir="auto">I tried to use the unstack() according to the <a href="http://pandas.pydata.org/pandas-docs/stable/reshaping.html#reshaping-by-stacking-and-unstacking" rel="nofollow">manual</a>, but with no success:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [6]: combined.unstack('indicator')
...
ValueError: Index contains duplicate entries, cannot reshape"><pre class="notranslate"><code class="notranslate">In [6]: combined.unstack('indicator')
...
ValueError: Index contains duplicate entries, cannot reshape
</code></pre></div>
<p dir="auto">Any help will be appreciated.</p> | <p dir="auto">It would be nice to have the possibility to plot expressions. Suppose I have a dataframe with three columns: col1, col2, col3. Now I can do:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df.plot.scatter(x='col1', y='col2')"><pre class="notranslate"><code class="notranslate">df.plot.scatter(x='col1', y='col2')
</code></pre></div>
<p dir="auto">it would be nice to be able to plot expressions directly:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df.plot.scatter(x='col1 ** 2', y = 'col2 / sqrt(col3)')"><pre class="notranslate"><code class="notranslate">df.plot.scatter(x='col1 ** 2', y = 'col2 / sqrt(col3)')
</code></pre></div>
<p dir="auto">and also for other plotting methods (e.g. histograms)</p> | 0 |
<p dir="auto">This issue is observed in Chromium .......as the browser window is limited and infinite scroll comes into action as we need to navigate down to the next screen to find the element.<br>
Onclick action is performed once the element is found.<br>
But the unstable condition is thrown in between these 2 events. Auto scrolling is by default enabled.<br>
This works fine in firefox browser. Below i will highlight the debugger code against firefox(works fine) vs chrome(does not work)</p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: Version 1.35.1</li>
<li>Operating System: [macOS 13.2, etc.]</li>
<li>Browser: [All, Chromium]</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto">import { test, expect } from '@playwright/test';</p>
<p dir="auto">test('test', async ({ page }) => {<br>
await page.goto('<a href="https://qe.east.cbna.dev1.dev.aws.swacorp.com/" rel="nofollow">https://qe.east.cbna.dev1.dev.aws.swacorp.com/</a>');<br>
await page.goto('<a href="https://sso.fed.dev.aws.swacorp.com/as/authorization.oauth2?redirect_uri=https%3A%2F%2Fqe.east.cbna.dev1.dev.aws.swacorp.com%2Fcallback&client_id=p501608&response_type=code&state=mxaSNWViPd&scope=openid%20email%20profile%20address%20phone&code_challenge=MLS4NB8jPuB2T-eF5UpbgiaB4kdfSIxi4GHP_w4fl94&code_challenge_method=S256" rel="nofollow">https://sso.fed.dev.aws.swacorp.com/as/authorization.oauth2?redirect_uri=https%3A%2F%2Fqe.east.cbna.dev1.dev.aws.swacorp.com%2Fcallback&client_id=p501608&response_type=code&state=mxaSNWViPd&scope=openid%20email%20profile%20address%20phone&code_challenge=MLS4NB8jPuB2T-eF5UpbgiaB4kdfSIxi4GHP_w4fl94&code_challenge_method=S256</a>');<br>
await page.locator('#username').click();<br>
await page.locator('#username').fill('');<br>
await page.locator('#username').click();<br>
await page.locator('#username').fill('e14242');<br>
await page.locator('#password').click();<br>
await page.locator('#password').fill('pauoRD9H');<br>
await page.getByText('Submit').click();<br>
await page.goto('<a href="https://qe.east.cbna.dev1.dev.aws.swacorp.com/" rel="nofollow">https://qe.east.cbna.dev1.dev.aws.swacorp.com/</a>');<br>
await page.goto('<a href="https://qe.east.cbna.dev1.dev.aws.swacorp.com/dashboard" rel="nofollow">https://qe.east.cbna.dev1.dev.aws.swacorp.com/dashboard</a>');<br>
await page.getByTestId('card-button-IFVacationAuction').click();<br>
await page.getByTestId('tab-label-1').click();<br>
await page.getByTestId('cl-nav-link--1').click();<br>
await page.getByTestId('search-employeeId').click();<br>
await page.getByTestId('search-employeeId').fill('5050');<br>
await page.getByTestId('search-employeeId').press('Tab');<br>
await page.getByTestId('button-anchor').click();<br>
await page.getByRole('menuitem', { name: 'Update Accrual' }).click();<br>
await page.getByTestId('adjustedAccruedDays').click();<br>
await page.getByTestId('adjustedAccruedDays').fill('30');<br>
await page.getByTestId('textarea--adjustmentComment').click();<br>
await page.getByTestId('modal-save').click();<br>
await page.getByTestId('cl-nav-link--3').click();<br>
<strong>await page.getByTestId('actions-3').getByTestId('button-anchor').click();<br>
await page.getByRole('menuitem', { name: 'Re-award Base' }).click();</strong><br>
});</p>
<p dir="auto">When the code is run via playwright the application becomes unstable....here is the piece of code.. in the automation script for the above 2 lines highlighted in bold produced by playwright debugger.</p>
<p dir="auto">against Chrome - auto scrolling comes into picture and that intercept the click event.....<br>
LOG<br>
waiting for getByTestId('actions-7').getByTestId('button-anchor')<br>
locator resolved to <button type="button" id="button-anchor" class="css-16nx…>…<br>
attempting click action<br>
waiting for element to be visible, enabled and stable<br>
forcing action<br>
element is visible, enabled and stable<br>
scrolling into view if needed<br>
done scrolling<br>
performing click action<br>
click action done<br>
waiting for scheduled navigations to finish<br>
navigations have finished</p>
<p dir="auto">In this case the reaward-base sub menu is not available or visible. Although the same sub menu appears in the safari browser perfectly fine.<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/28334629/254282830-b1040856-79cc-4132-96e7-2498c39a9ac9.png"><img width="1728" alt="image" src="https://user-images.githubusercontent.com/28334629/254282830-b1040856-79cc-4132-96e7-2498c39a9ac9.png" style="max-width: 100%;"></a></p>
<p dir="auto">Above code in safari browser....works fine and this is in the logs</p>
<p dir="auto">locator.click<br>
TIME<br>
wall time:<br>
7/18/2023, 8:28:08 AM<br>
duration:<br>
16ms<br>
PARAMETERS<br>
locator:<br>
getByTestId('actions-7').getByTestId('button-anchor')<br>
strict:<br>
true<br>
force:<br>
true<br>
LOG<br>
waiting for getByTestId('actions-7').getByTestId('button-anchor')<br>
locator resolved to <button type="button" id="button-anchor" class="css-16nx…>…<br>
attempting click action<br>
waiting for element to be visible, enabled and stable<br>
forcing action<br>
element is visible, enabled and stable<br>
scrolling into view if needed<br>
done scrolling<br>
performing click action<br>
click action done<br>
waiting for scheduled navigations to finish<br>
navigations have finished..<br>
In this case the reaward-base sub menu is available - refer the screen shot below<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/28334629/254280905-947b6983-629c-4488-9d85-e008b018975d.png"><img width="1728" alt="image" src="https://user-images.githubusercontent.com/28334629/254280905-947b6983-629c-4488-9d85-e008b018975d.png" style="max-width: 100%;"></a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'], },
},
});"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span><span class="pl-kos"></span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="it('should check the box using setChecked', async ({ page }) => {
await page.setContent(`<input id='checkbox' type='checkbox'></input>`);
await page.getByRole('checkbox').check();
await expect(page.getByRole('checkbox')).toBeChecked();
});"><pre class="notranslate"><span class="pl-en">it</span><span class="pl-kos">(</span><span class="pl-s">'should check the box using setChecked'</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">setContent</span><span class="pl-kos">(</span><span class="pl-s">`<input id='checkbox' type='checkbox'></input>`</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'checkbox'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">check</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-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'checkbox'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toBeChecked</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
<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">Issue Description: I am writing some tests for a kanban board app built with react. i have a test that verifies the following behavior doesn't occur:</p>
<details open="" class="details-reset border rounded-2">
<summary class="px-3 py-2">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-camera-video">
<path d="M16 3.75v8.5a.75.75 0 0 1-1.136.643L11 10.575v.675A1.75 1.75 0 0 1 9.25 13h-7.5A1.75 1.75 0 0 1 0 11.25v-6.5C0 3.784.784 3 1.75 3h7.5c.966 0 1.75.784 1.75 1.75v.675l3.864-2.318A.75.75 0 0 1 16 3.75Zm-6.5 1a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-6.5ZM11 8.825l3.5 2.1v-5.85l-3.5 2.1Z"></path>
</svg>
<span aria-label="Video description test_against.this.behavior.mov" class="m-1">test_against.this.behavior.mov</span>
<span class="dropdown-caret"></span>
</summary>
<video src="https://user-images.githubusercontent.com/2349518/236545085-9b89d163-8e65-4d6f-bdf2-10f518ebb0d5.mov" data-canonical-src="https://user-images.githubusercontent.com/2349518/236545085-9b89d163-8e65-4d6f-bdf2-10f518ebb0d5.mov" controls="controls" muted="muted" class="d-block rounded-bottom-2 border-top width-fit" style="max-height:640px; min-height: 200px">
</video>
</details>
<p dir="auto">This involves dragging a task to a spot, then dragging it away from that spot, and then dropping it.</p>
<p dir="auto">The issue i'm facing with playwright is that I am able to drag the task to the first spot, but i am unable to move away from it. However, If I remove the first mouse down event, i move as many times as i want. This leads me to believe that once I have triggered a mouse down event, I am only able to move once. Any further moves are not possible.</p>
<p dir="auto">Video of moves without mousedown</p>
<details open="" class="details-reset border rounded-2">
<summary class="px-3 py-2">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-camera-video">
<path d="M16 3.75v8.5a.75.75 0 0 1-1.136.643L11 10.575v.675A1.75 1.75 0 0 1 9.25 13h-7.5A1.75 1.75 0 0 1 0 11.25v-6.5C0 3.784.784 3 1.75 3h7.5c.966 0 1.75.784 1.75 1.75v.675l3.864-2.318A.75.75 0 0 1 16 3.75Zm-6.5 1a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-6.5ZM11 8.825l3.5 2.1v-5.85l-3.5 2.1Z"></path>
</svg>
<span aria-label="Video description without_mousedown.webm" class="m-1">without_mousedown.webm</span>
<span class="dropdown-caret"></span>
</summary>
<video src="https://user-images.githubusercontent.com/2349518/236546294-8bd1310a-79fe-48e3-946a-15efeabd8f3e.webm" data-canonical-src="https://user-images.githubusercontent.com/2349518/236546294-8bd1310a-79fe-48e3-946a-15efeabd8f3e.webm" controls="controls" muted="muted" class="d-block rounded-bottom-2 border-top width-fit" style="max-height:640px; min-height: 200px">
</video>
</details>
<p dir="auto">Video of moves with mousedown</p>
<details open="" class="details-reset border rounded-2">
<summary class="px-3 py-2">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-camera-video">
<path d="M16 3.75v8.5a.75.75 0 0 1-1.136.643L11 10.575v.675A1.75 1.75 0 0 1 9.25 13h-7.5A1.75 1.75 0 0 1 0 11.25v-6.5C0 3.784.784 3 1.75 3h7.5c.966 0 1.75.784 1.75 1.75v.675l3.864-2.318A.75.75 0 0 1 16 3.75Zm-6.5 1a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-6.5ZM11 8.825l3.5 2.1v-5.85l-3.5 2.1Z"></path>
</svg>
<span aria-label="Video description with_mousedown.webm" class="m-1">with_mousedown.webm</span>
<span class="dropdown-caret"></span>
</summary>
<video src="https://user-images.githubusercontent.com/2349518/236546252-bba8250e-592a-4d0e-9aac-d45992667d80.webm" data-canonical-src="https://user-images.githubusercontent.com/2349518/236546252-bba8250e-592a-4d0e-9aac-d45992667d80.webm" controls="controls" muted="muted" class="d-block rounded-bottom-2 border-top width-fit" style="max-height:640px; min-height: 200px">
</video>
</details>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: 1.31.1</li>
<li>Operating System: macOS 13.3.1</li>
<li>Browser: All</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/sbmsr/playwright-mousedown-issue">https://github.com/sbmsr/playwright-mousedown-issue</a></p>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>run <code class="notranslate">npm install</code></li>
<li>run <code class="notranslate">npm dev:client</code> to start local vite server</li>
<li>run <code class="notranslate">npm dev:sever</code> to start backend</li>
<li>run <code class="notranslate">npm test</code> to run the tests</li>
<li>comment the mouse.down on line 84, and view the video to see that the mouse moves fine without it</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">I expect the mouse to drag the task to two places on the screen.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">The mouse drags the task to the first intended place, but not the second.</p> | 0 |
<p dir="auto">At the moment we have a single major blocker to compiling scipy on Windows:</p>
<ul dir="auto">
<li>Python.org Windows binaries are compiled against an MS Visual C++ runtime, which differs with different Python versions: see <a href="https://matthew-brett.github.io/pydagogue/python_msvc.html" rel="nofollow">https://matthew-brett.github.io/pydagogue/python_msvc.html</a></li>
<li>It is dangerous and error-prone to pass objects (such as file-handles) that are created using one run-time, into code linked against another run-time;</li>
<li>There is currently Fortran compiler with a BSD-compatible run-time license that can link against all the MSVC runtimes we need to support. In particular mingw-w64 cannot currently link against MSVC 2015 runtimes, used by Pythons 3.5 and 3.6.</li>
</ul>
<p dir="auto">Here we are exploring another option, which is to compile the Fortran code to link against the generic MSVCRT runtime, on the basis that the Fortran code does not use any of the objects (such as file-handles) that get created by the Python (and Numpy) linked MSVC run-times. The plan is therefore:</p>
<ul dir="auto">
<li>Compile scipy C code with the MSVC compiler matching the version of Python;</li>
<li>Compile scipy Fortran code with gfortran linking against the generic MSVCRT runtime;</li>
<li>Hope for the best.</li>
</ul>
<p dir="auto">There's some discussion of this over at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="239959507" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/7551" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/7551/hovercard" href="https://github.com/scipy/scipy/issues/7551">#7551</a> - starting at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="239959507" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/7551" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/7551/hovercard?comment_id=312460365&comment_type=issue_comment" href="https://github.com/scipy/scipy/issues/7551#issuecomment-312460365">#7551 (comment)</a>.</p>
<p dir="auto">Appveyor scripting at <a href="https://github.com/matthew-brett/build-scipy">https://github.com/matthew-brett/build-scipy</a> . Builds at <a href="https://ci.appveyor.com/project/matthew-brett/build-scipy" rel="nofollow">https://ci.appveyor.com/project/matthew-brett/build-scipy</a></p>
<p dir="auto">The procedure so far is the following (see: <a href="https://github.com/matthew-brett/build-scipy/blob/master/appveyor.yml">https://github.com/matthew-brett/build-scipy/blob/master/appveyor.yml</a>):</p>
<ul dir="auto">
<li>Download and install mingwpy into Python 2.7 matching the bitness (32 or 64) of the Python we're building in;</li>
<li>Patch <a href="https://mingwpy.github.io/" rel="nofollow">mingwpy</a> to link to the the default msvcrt.dll rather than the specific MSVC 9 runtime;</li>
<li>Unpack built OpenBLAS, and point scipy install to that build;</li>
<li>Patch numpy distutils to avoid linking to some mingw-specific libraries;</li>
<li>Build scipy.</li>
</ul>
<p dir="auto">Current errors are for missing math symbols such as <code class="notranslate">_sinf</code> - see <a href="https://github.com/scipy/scipy/issues/7551#issuecomment-314930962" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/7551/hovercard">this report</a> and <a href="https://github.com/scipy/scipy/issues/7551#issuecomment-314999140" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/7551/hovercard">Pauli's suggestion</a>.</p>
<p dir="auto">Current participants <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/matthew-brett/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/matthew-brett">@matthew-brett</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carlkl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carlkl">@carlkl</a> .</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/1665" rel="nofollow">http://projects.scipy.org/scipy/ticket/1665</a> on 2012-05-30 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/endolith/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/endolith">@endolith</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cournape/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cournape">@cournape</a>.</em></p>
<p dir="auto">The window functions in scipy.signal have a <code class="notranslate">sym</code> option for producing symmetric windows or periodic windows, but if you create a periodic window of an odd size, it gives identical output to a symmetric window. This is in the code, but is it right? It doesn't match Matlab's behavior, as described [https://ccrma.stanford.edu/~jos/sasp/Matlab_Hamming_Window.html here].</p>
<p dir="auto">If it's right, it should be documented why it works this way</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">> hamming(3) % same in Matlab and Octave
ans =
0.0800
1.0000
0.0800
>> hamming(3,'symmetric') % Matlab only
ans =
0.0800
1.0000
0.0800
>> hamming(3,'periodic') % Matlab only
ans =
0.0800
0.7700
0.7700
>> hamming(4) % same in Matlab and Octave
ans =
0.0800
0.7700
0.7700
0.0800"><pre class="notranslate"><code class="notranslate">>> hamming(3) % same in Matlab and Octave
ans =
0.0800
1.0000
0.0800
>> hamming(3,'symmetric') % Matlab only
ans =
0.0800
1.0000
0.0800
>> hamming(3,'periodic') % Matlab only
ans =
0.0800
0.7700
0.7700
>> hamming(4) % same in Matlab and Octave
ans =
0.0800
0.7700
0.7700
0.0800
</code></pre></div>
<p dir="auto">SciPy:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [2]: hamming(3)
Out[2]: array([ 0.08, 1. , 0.08])
In [3]: hamming(3,sym=True)
Out[3]: array([ 0.08, 1. , 0.08])
In [4]: hamming(3,sym=False)
Out[4]: array([ 0.08, 1. , 0.08])
In [5]: hamming(4)
Out[5]: array([ 0.08, 0.77, 0.77, 0.08])
In [6]: hamming(4, sym=True)
Out[6]: array([ 0.08, 0.77, 0.77, 0.08])
In [7]: hamming(4, sym=False)
Out[7]: array([ 0.08, 0.54, 1. , 0.54])"><pre class="notranslate"><code class="notranslate">In [2]: hamming(3)
Out[2]: array([ 0.08, 1. , 0.08])
In [3]: hamming(3,sym=True)
Out[3]: array([ 0.08, 1. , 0.08])
In [4]: hamming(3,sym=False)
Out[4]: array([ 0.08, 1. , 0.08])
In [5]: hamming(4)
Out[5]: array([ 0.08, 0.77, 0.77, 0.08])
In [6]: hamming(4, sym=True)
Out[6]: array([ 0.08, 0.77, 0.77, 0.08])
In [7]: hamming(4, sym=False)
Out[7]: array([ 0.08, 0.54, 1. , 0.54])
</code></pre></div> | 0 |
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">13.1.7</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Windows 10 19042.1110</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The website is displayed normally</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">is a blank page</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">If used BrowserWindow, "<a href="https://play.google.com" rel="nofollow">https://play.google.com</a>" It can be displayed successfully.</p> | <p dir="auto">Version: 9.3.0, 10.1.1, 11.0.0-beta.4, master<br>
Last working version: 8.5.0</p>
<p dir="auto">To repro: load this gist and hit run. It will crash within a few seconds. <a href="https://gist.github.com/19fa4b45478032494306a7388e0804a2">https://gist.github.com/19fa4b45478032494306a7388e0804a2</a><br>
Sometimes it will take a few navigations before it crashes; it's not 100% reliable.</p>
<p dir="auto">Crash trace excerpt:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="4 ??? 0x0000000000000000 0x0 + 0
5 Electron Framework 0x000000010885a576 content::RenderFrameHostManager::SetRWHViewForInnerContents(content::RenderWidgetHostView*) + 118
6 Electron Framework 0x0000000108d2ffa5 content::WebContentsImpl::ReattachToOuterWebContentsFrame() + 133
7 Electron Framework 0x0000000108d484cd content::WebContentsImpl::NotifyViewSwapped(content::RenderViewHost*, content::RenderViewHost*) + 909
8 Electron Framework 0x0000000108d518c8 content::WebContentsImpl::NotifySwappedFromRenderManager(content::RenderFrameHost*, content::RenderFrameHost*, bool) + 312
9 Electron Framework 0x0000000108852904 content::RenderFrameHostManager::CommitPending(std::__1::unique_ptr<content::RenderFrameHostImpl, std::__1::default_delete<content::RenderFrameHostImpl> >, std::__1::unique_ptr<content::BackForwardCacheImpl::Entry, std::__1::default_delete<content::BackForwardCacheImpl::Entry> >, bool) + 1940
10 Electron Framework 0x0000000108851fcf content::RenderFrameHostManager::CommitPendingIfNecessary(content::RenderFrameHostImpl*, bool, bool, bool) + 399
11 Electron Framework 0x0000000108851e17 content::RenderFrameHostManager::DidNavigateFrame(content::RenderFrameHostImpl*, bool, bool, bool, blink::FramePolicy const&) + 23
[...]"><pre class="notranslate"><code class="notranslate">4 ??? 0x0000000000000000 0x0 + 0
5 Electron Framework 0x000000010885a576 content::RenderFrameHostManager::SetRWHViewForInnerContents(content::RenderWidgetHostView*) + 118
6 Electron Framework 0x0000000108d2ffa5 content::WebContentsImpl::ReattachToOuterWebContentsFrame() + 133
7 Electron Framework 0x0000000108d484cd content::WebContentsImpl::NotifyViewSwapped(content::RenderViewHost*, content::RenderViewHost*) + 909
8 Electron Framework 0x0000000108d518c8 content::WebContentsImpl::NotifySwappedFromRenderManager(content::RenderFrameHost*, content::RenderFrameHost*, bool) + 312
9 Electron Framework 0x0000000108852904 content::RenderFrameHostManager::CommitPending(std::__1::unique_ptr<content::RenderFrameHostImpl, std::__1::default_delete<content::RenderFrameHostImpl> >, std::__1::unique_ptr<content::BackForwardCacheImpl::Entry, std::__1::default_delete<content::BackForwardCacheImpl::Entry> >, bool) + 1940
10 Electron Framework 0x0000000108851fcf content::RenderFrameHostManager::CommitPendingIfNecessary(content::RenderFrameHostImpl*, bool, bool, bool) + 399
11 Electron Framework 0x0000000108851e17 content::RenderFrameHostManager::DidNavigateFrame(content::RenderFrameHostImpl*, bool, bool, bool, blink::FramePolicy const&) + 23
[...]
</code></pre></div>
<details>
<summary>Full stack trace</summary>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Received signal 11 SEGV_MAPERR 000000000050
0 Electron Framework 0x0000000109cf8d79 base::debug::CollectStackTrace(void**, unsigned long) + 9
1 Electron Framework 0x0000000109bf33f3 base::debug::StackTrace::StackTrace() + 19
2 Electron Framework 0x0000000109cf8c41 base::debug::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, void*) + 2385
3 libsystem_platform.dylib 0x00007fff73e0d42d _sigtramp + 29
4 ??? 0x0000000000000000 0x0 + 0
5 Electron Framework 0x000000010885a576 content::RenderFrameHostManager::SetRWHViewForInnerContents(content::RenderWidgetHostView*) + 118
6 Electron Framework 0x0000000108d2ffa5 content::WebContentsImpl::ReattachToOuterWebContentsFrame() + 133
7 Electron Framework 0x0000000108d484cd content::WebContentsImpl::NotifyViewSwapped(content::RenderViewHost*, content::RenderViewHost*) + 909
8 Electron Framework 0x0000000108d518c8 content::WebContentsImpl::NotifySwappedFromRenderManager(content::RenderFrameHost*, content::RenderFrameHost*, bool) + 312
9 Electron Framework 0x0000000108852904 content::RenderFrameHostManager::CommitPending(std::__1::unique_ptr<content::RenderFrameHostImpl, std::__1::default_delete<content::RenderFrameHostImpl> >, std::__1::unique_ptr<content::BackForwardCacheImpl::Entry, std::__1::default_delete<content::BackForwardCacheImpl::Entry> >, bool) + 1940
10 Electron Framework 0x0000000108851fcf content::RenderFrameHostManager::CommitPendingIfNecessary(content::RenderFrameHostImpl*, bool, bool, bool) + 399
11 Electron Framework 0x0000000108851e17 content::RenderFrameHostManager::DidNavigateFrame(content::RenderFrameHostImpl*, bool, bool, bool, blink::FramePolicy const&) + 23
12 Electron Framework 0x0000000108809d6f content::Navigator::DidNavigate(content::RenderFrameHostImpl*, FrameHostMsg_DidCommitProvisionalLoad_Params const&, std::__1::unique_ptr<content::NavigationRequest, std::__1::default_delete<content::NavigationRequest> >, bool) + 495
13 Electron Framework 0x0000000108820974 content::RenderFrameHostImpl::DidCommitNavigationInternal(std::__1::unique_ptr<content::NavigationRequest, std::__1::default_delete<content::NavigationRequest> >, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, bool) + 2820
14 Electron Framework 0x000000010881fa9d content::RenderFrameHostImpl::DidCommitNavigation(std::__1::unique_ptr<content::NavigationRequest, std::__1::default_delete<content::NavigationRequest> >, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>) + 1085
15 Electron Framework 0x00000001088212e5 content::RenderFrameHostImpl::DidCommitPerNavigationMojoInterfaceNavigation(content::NavigationRequest*, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>) + 341
16 Electron Framework 0x000000010884fdf2 base::internal::Invoker<base::internal::BindState<void (content::RenderFrameHostImpl::*)(content::NavigationRequest*, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>), base::internal::UnretainedWrapper<content::RenderFrameHostImpl>, content::NavigationRequest*>, void (std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>)>::RunOnce(base::internal::BindStateBase*, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >&&, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>&&) + 82
17 Electron Framework 0x0000000105d82f0e content::mojom::NavigationClient_CommitNavigation_ForwardToCallback::Accept(mojo::Message*) + 478
18 Electron Framework 0x000000010a197ff6 mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) + 1462
19 Electron Framework 0x000000010a19bbdb mojo::MessageDispatcher::Accept(mojo::Message*) + 251
20 Electron Framework 0x000000010a199361 mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) + 97
21 Electron Framework 0x000000010a1f9df6 IPC::(anonymous namespace)::ChannelAssociatedGroupController::AcceptOnProxyThread(mojo::Message) + 630
22 Electron Framework 0x000000010a1f6e9c base::internal::Invoker<base::internal::BindState<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, void ()>::RunOnce(base::internal::BindStateBase*) + 140
23 Electron Framework 0x0000000109c88dbb base::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 411
24 Electron Framework 0x0000000109ca7da7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*) + 519
25 Electron Framework 0x0000000109ca7a18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() + 168
26 Electron Framework 0x0000000109d19511 base::MessagePumpCFRunLoopBase::RunWork() + 65
27 Electron Framework 0x0000000109d0e5a2 base::mac::CallWithEHFrame(void () block_pointer) + 10
28 Electron Framework 0x0000000109d18edf base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 63
29 CoreFoundation 0x00007fff3c570b21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
30 CoreFoundation 0x00007fff3c570ac0 __CFRunLoopDoSource0 + 103
31 CoreFoundation 0x00007fff3c5708d4 __CFRunLoopDoSources0 + 209
32 CoreFoundation 0x00007fff3c56f740 __CFRunLoopRun + 1272
33 CoreFoundation 0x00007fff3c56ebd3 CFRunLoopRunSpecific + 499
34 HIToolbox 0x00007fff3b0c465d RunCurrentEventLoopInMode + 292
35 HIToolbox 0x00007fff3b0c439d ReceiveNextEventCommon + 600
36 HIToolbox 0x00007fff3b0c4127 _BlockUntilNextEventMatchingListInModeWithFilter + 64
37 AppKit 0x00007fff39734ba4 _DPSNextEvent + 990
38 AppKit 0x00007fff39733380 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
39 AppKit 0x00007fff3972509e -[NSApplication run] + 658
40 Electron Framework 0x0000000109d1a4cc base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 348
41 Electron Framework 0x0000000109d189e2 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 130
42 Electron Framework 0x0000000109ca85dd base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) + 349
43 Electron Framework 0x0000000109c5bf2c base::RunLoop::Run() + 956
44 Electron Framework 0x00000001085bfe4b content::BrowserMainLoop::RunMainMessageLoopParts() + 203
45 Electron Framework 0x00000001085c2212 content::BrowserMainRunnerImpl::Run() + 82
46 Electron Framework 0x00000001085bc96b content::BrowserMain(content::MainFunctionParams const&) + 267
47 Electron Framework 0x00000001083d282e content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 1406
48 Electron Framework 0x00000001083d2283 content::ContentMainRunnerImpl::Run(bool) + 467
49 Electron Framework 0x000000010c42c11e service_manager::Main(service_manager::MainParams const&) + 3310
50 Electron Framework 0x00000001063095c8 content::ContentMain(content::ContentMainParams const&) + 120
51 Electron Framework 0x00000001043fadc6 ElectronMain + 134
52 Electron 0x0000000103835551 main + 289
53 libdyld.dylib 0x00007fff73c147fd start + 1
54 ??? 0x0000000000000002 0x0 + 2"><pre class="notranslate"><code class="notranslate">Received signal 11 SEGV_MAPERR 000000000050
0 Electron Framework 0x0000000109cf8d79 base::debug::CollectStackTrace(void**, unsigned long) + 9
1 Electron Framework 0x0000000109bf33f3 base::debug::StackTrace::StackTrace() + 19
2 Electron Framework 0x0000000109cf8c41 base::debug::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, void*) + 2385
3 libsystem_platform.dylib 0x00007fff73e0d42d _sigtramp + 29
4 ??? 0x0000000000000000 0x0 + 0
5 Electron Framework 0x000000010885a576 content::RenderFrameHostManager::SetRWHViewForInnerContents(content::RenderWidgetHostView*) + 118
6 Electron Framework 0x0000000108d2ffa5 content::WebContentsImpl::ReattachToOuterWebContentsFrame() + 133
7 Electron Framework 0x0000000108d484cd content::WebContentsImpl::NotifyViewSwapped(content::RenderViewHost*, content::RenderViewHost*) + 909
8 Electron Framework 0x0000000108d518c8 content::WebContentsImpl::NotifySwappedFromRenderManager(content::RenderFrameHost*, content::RenderFrameHost*, bool) + 312
9 Electron Framework 0x0000000108852904 content::RenderFrameHostManager::CommitPending(std::__1::unique_ptr<content::RenderFrameHostImpl, std::__1::default_delete<content::RenderFrameHostImpl> >, std::__1::unique_ptr<content::BackForwardCacheImpl::Entry, std::__1::default_delete<content::BackForwardCacheImpl::Entry> >, bool) + 1940
10 Electron Framework 0x0000000108851fcf content::RenderFrameHostManager::CommitPendingIfNecessary(content::RenderFrameHostImpl*, bool, bool, bool) + 399
11 Electron Framework 0x0000000108851e17 content::RenderFrameHostManager::DidNavigateFrame(content::RenderFrameHostImpl*, bool, bool, bool, blink::FramePolicy const&) + 23
12 Electron Framework 0x0000000108809d6f content::Navigator::DidNavigate(content::RenderFrameHostImpl*, FrameHostMsg_DidCommitProvisionalLoad_Params const&, std::__1::unique_ptr<content::NavigationRequest, std::__1::default_delete<content::NavigationRequest> >, bool) + 495
13 Electron Framework 0x0000000108820974 content::RenderFrameHostImpl::DidCommitNavigationInternal(std::__1::unique_ptr<content::NavigationRequest, std::__1::default_delete<content::NavigationRequest> >, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, bool) + 2820
14 Electron Framework 0x000000010881fa9d content::RenderFrameHostImpl::DidCommitNavigation(std::__1::unique_ptr<content::NavigationRequest, std::__1::default_delete<content::NavigationRequest> >, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>) + 1085
15 Electron Framework 0x00000001088212e5 content::RenderFrameHostImpl::DidCommitPerNavigationMojoInterfaceNavigation(content::NavigationRequest*, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>) + 341
16 Electron Framework 0x000000010884fdf2 base::internal::Invoker<base::internal::BindState<void (content::RenderFrameHostImpl::*)(content::NavigationRequest*, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>), base::internal::UnretainedWrapper<content::RenderFrameHostImpl>, content::NavigationRequest*>, void (std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>)>::RunOnce(base::internal::BindStateBase*, std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >&&, mojo::StructPtr<content::mojom::DidCommitProvisionalLoadInterfaceParams>&&) + 82
17 Electron Framework 0x0000000105d82f0e content::mojom::NavigationClient_CommitNavigation_ForwardToCallback::Accept(mojo::Message*) + 478
18 Electron Framework 0x000000010a197ff6 mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) + 1462
19 Electron Framework 0x000000010a19bbdb mojo::MessageDispatcher::Accept(mojo::Message*) + 251
20 Electron Framework 0x000000010a199361 mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) + 97
21 Electron Framework 0x000000010a1f9df6 IPC::(anonymous namespace)::ChannelAssociatedGroupController::AcceptOnProxyThread(mojo::Message) + 630
22 Electron Framework 0x000000010a1f6e9c base::internal::Invoker<base::internal::BindState<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, void ()>::RunOnce(base::internal::BindStateBase*) + 140
23 Electron Framework 0x0000000109c88dbb base::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 411
24 Electron Framework 0x0000000109ca7da7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*) + 519
25 Electron Framework 0x0000000109ca7a18 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() + 168
26 Electron Framework 0x0000000109d19511 base::MessagePumpCFRunLoopBase::RunWork() + 65
27 Electron Framework 0x0000000109d0e5a2 base::mac::CallWithEHFrame(void () block_pointer) + 10
28 Electron Framework 0x0000000109d18edf base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 63
29 CoreFoundation 0x00007fff3c570b21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
30 CoreFoundation 0x00007fff3c570ac0 __CFRunLoopDoSource0 + 103
31 CoreFoundation 0x00007fff3c5708d4 __CFRunLoopDoSources0 + 209
32 CoreFoundation 0x00007fff3c56f740 __CFRunLoopRun + 1272
33 CoreFoundation 0x00007fff3c56ebd3 CFRunLoopRunSpecific + 499
34 HIToolbox 0x00007fff3b0c465d RunCurrentEventLoopInMode + 292
35 HIToolbox 0x00007fff3b0c439d ReceiveNextEventCommon + 600
36 HIToolbox 0x00007fff3b0c4127 _BlockUntilNextEventMatchingListInModeWithFilter + 64
37 AppKit 0x00007fff39734ba4 _DPSNextEvent + 990
38 AppKit 0x00007fff39733380 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
39 AppKit 0x00007fff3972509e -[NSApplication run] + 658
40 Electron Framework 0x0000000109d1a4cc base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 348
41 Electron Framework 0x0000000109d189e2 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 130
42 Electron Framework 0x0000000109ca85dd base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) + 349
43 Electron Framework 0x0000000109c5bf2c base::RunLoop::Run() + 956
44 Electron Framework 0x00000001085bfe4b content::BrowserMainLoop::RunMainMessageLoopParts() + 203
45 Electron Framework 0x00000001085c2212 content::BrowserMainRunnerImpl::Run() + 82
46 Electron Framework 0x00000001085bc96b content::BrowserMain(content::MainFunctionParams const&) + 267
47 Electron Framework 0x00000001083d282e content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) + 1406
48 Electron Framework 0x00000001083d2283 content::ContentMainRunnerImpl::Run(bool) + 467
49 Electron Framework 0x000000010c42c11e service_manager::Main(service_manager::MainParams const&) + 3310
50 Electron Framework 0x00000001063095c8 content::ContentMain(content::ContentMainParams const&) + 120
51 Electron Framework 0x00000001043fadc6 ElectronMain + 134
52 Electron 0x0000000103835551 main + 289
53 libdyld.dylib 0x00007fff73c147fd start + 1
54 ??? 0x0000000000000002 0x0 + 2
</code></pre></div>
</details> | 1 |
<p dir="auto"><a href="https://github.com/pallets/markupsafe/issues/286" data-hovercard-type="issue" data-hovercard-url="/pallets/markupsafe/issues/286/hovercard">This</a> issue in markupsafe is transitively included in flask, so even applications running Flask 1.1.4 are crashing on startup.</p>
<p dir="auto">Here is a sample stack trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "/<...>/bin/superset", line 33, in <module>
sys.exit(load_entry_point('apache-superset==1.4.1', 'console_scripts', 'superset')())
File "/opt/bb/bin/superset", line 25, in importlib_load_entry_point
return next(matches).load()
File "/<...>/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/<...>/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/<...>/lib/python3.9/site-packages/superset/__init__.py", line 18, in <module>
from flask import current_app, Flask
File "/<...>/lib/python3.9/site-packages/flask/__init__.py", line 14, in <module>
from jinja2 import escape
File "/<...>/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module>
from .environment import Environment
File "/<...>/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module>
from .defaults import BLOCK_END_STRING
File "/<...>/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module>
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/<...>/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module>
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/<...>/lib/python3.9/site-packages/markupsafe/__init__.py)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "/<...>/bin/superset", line 33, in <module>
sys.exit(load_entry_point('apache-superset==1.4.1', 'console_scripts', 'superset')())
File "/opt/bb/bin/superset", line 25, in importlib_load_entry_point
return next(matches).load()
File "/<...>/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/<...>/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/<...>/lib/python3.9/site-packages/superset/__init__.py", line 18, in <module>
from flask import current_app, Flask
File "/<...>/lib/python3.9/site-packages/flask/__init__.py", line 14, in <module>
from jinja2 import escape
File "/<...>/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module>
from .environment import Environment
File "/<...>/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module>
from .defaults import BLOCK_END_STRING
File "/<...>/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module>
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/<...>/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module>
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/<...>/lib/python3.9/site-packages/markupsafe/__init__.py)
</code></pre></div>
<p dir="auto">Environment:</p>
<ul dir="auto">
<li>Python version: 3.9</li>
<li>Flask version: 1.1.4</li>
</ul> | <p dir="auto">Since the update of <a href="https://itsdangerous.palletsprojects.com/en/2.1.x/changes/#version-2-1-0" rel="nofollow">itsdangerous module</a> to version 2.1.0, Flask 1.1.2 fails to run.<br>
This is because Flask’s requirements.txt indicates to install <code class="notranslate">itsdangerous</code> >= 0.24, it automatically installs the newest version which leads to using deprecated feature.<br>
I can do a workaround in my project’s requirements.txt to install <code class="notranslate">itsdangerous</code> <= 2.0.1 before installing Flask but is it possible to fix the requirements.txt in Flask to install <code class="notranslate">itsdangerous</code> not upper than 2.0.1?</p>
<p dir="auto">To replicate the bug,</p>
<ol dir="auto">
<li>install Flask 1.1.2</li>
<li><code class="notranslate">flask run</code> in terminal</li>
<li>it will produce <code class="notranslate">ImportError: cannot import name 'json' from 'itsdangerous'</code></li>
</ol>
<p dir="auto">Thank you in advance.</p>
<p dir="auto">Environment:</p>
<ul dir="auto">
<li>Python version: 3.8</li>
<li>Flask version: 1.1.2</li>
</ul> | 1 |
<p dir="auto">It looks like Pace (or NProgress) ! So cool man!<br>
But there isn't any isomorphic loading bar component out in the React ecosystem. Yes, I tried to make one, but it just feels un-natural, and I couldn't figure out how to place loading bar during AJAX/REST request...<g-emoji class="g-emoji" alias="joy" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f602.png">😂</g-emoji></p> | <p dir="auto">Having animated route transitions would be nice, as this is one of the many benefits through client-side routing. Doing so should be left up to the user in my opinion (some people prefer CSS transitions over more fine-grained control with <code class="notranslate">react-motion</code> etc). As I understand it, one would need to modify the top-level App component.</p>
<p dir="auto">The <a href="https://github.com/zeit/next.js/blob/master/client/next.js#L13">client entry file</a> seems to look for a globally assigned <code class="notranslate">__NEXT_DATA__.app</code> variable but I can't find any documentation on that.</p> | 1 |
<p dir="auto">Don't have time to implement this, but I wanted to float the idea and park it. It's pretty trivial and you can achieve the same thing with filter, but it might be nice if drop had a regex keyword. E.g., these would be equivalent</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = df.filter(regex="^(?!var_start)")
df = df.drop(regex="^var_start", axis=1)"><pre class="notranslate"><code class="notranslate">df = df.filter(regex="^(?!var_start)")
df = df.drop(regex="^var_start", axis=1)
</code></pre></div> | <p dir="auto">I assume that this was officially supported before. Haven't narrowed it down any more than sometime between 0.16.2 and 0.17.0.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: pd.__version__
Out[1]: '0.16.2'
In [2]: pd.date_range("Jan 1", "March 31", name="date")
Out[2]:
DatetimeIndex(['2015-01-01', '2015-01-02', '2015-01-03', '2015-01-04',
'2015-01-05', '2015-01-06', '2015-01-07', '2015-01-08',
'2015-01-09', '2015-01-10', '2015-01-11', '2015-01-12',
..."><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span>
<span class="pl-v">Out</span>[<span class="pl-c1">1</span>]: <span class="pl-s">'0.16.2'</span>
<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">"Jan 1"</span>, <span class="pl-s">"March 31"</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"date"</span>)
<span class="pl-v">Out</span>[<span class="pl-c1">2</span>]:
<span class="pl-v">DatetimeIndex</span>([<span class="pl-s">'2015-01-01'</span>, <span class="pl-s">'2015-01-02'</span>, <span class="pl-s">'2015-01-03'</span>, <span class="pl-s">'2015-01-04'</span>,
<span class="pl-s">'2015-01-05'</span>, <span class="pl-s">'2015-01-06'</span>, <span class="pl-s">'2015-01-07'</span>, <span class="pl-s">'2015-01-08'</span>,
<span class="pl-s">'2015-01-09'</span>, <span class="pl-s">'2015-01-10'</span>, <span class="pl-s">'2015-01-11'</span>, <span class="pl-s">'2015-01-12'</span>,
...</pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: pd.__version__
Out[1]: '0.17.0'
In [2]: pd.date_range("Jan 1", "March 31", name="date")
---------------------------------------------------------------------------
OutOfBoundsDatetime Traceback (most recent call last)
<ipython-input-2-8eaca08051ac> in <module>()
----> 1 pd.date_range("Jan 1", "March 31", name="date")
/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/tseries/index.py in date_range(start, end, periods, freq, tz, normalize, name, closed)
1912 return DatetimeIndex(start=start, end=end, periods=periods,
1913 freq=freq, tz=tz, normalize=normalize, name=name,
-> 1914 closed=closed)
1915
1916
/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/util/decorators.py in wrapper(*args, **kwargs)
87 else:
88 kwargs[new_arg_name] = new_arg_value
---> 89 return func(*args, **kwargs)
90 return wrapper
91 return _deprecate_kwarg
/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/tseries/index.py in __new__(cls, data, freq, start, end, periods, copy, name, tz, verify_integrity, normalize, closed, ambiguous, dtype, **kwargs)
234 return cls._generate(start, end, periods, name, freq,
235 tz=tz, normalize=normalize, closed=closed,
--> 236 ambiguous=ambiguous)
237
238 if not isinstance(data, (np.ndarray, Index, ABCSeries)):
/Users/tom.augspurger/Envs/py3/lib/python3.5/site-packages/pandas/tseries/index.py in _generate(cls, start, end, periods, name, offset, tz, normalize, ambiguous, closed)
383
384 if start is not None:
--> 385 start = Timestamp(start)
386
387 if end is not None:
pandas/tslib.pyx in pandas.tslib.Timestamp.__new__ (pandas/tslib.c:8967)()
pandas/tslib.pyx in pandas.tslib.convert_to_tsobject (pandas/tslib.c:22303)()
pandas/tslib.pyx in pandas.tslib.convert_str_to_tsobject (pandas/tslib.c:24364)()
pandas/tslib.pyx in pandas.tslib.convert_to_tsobject (pandas/tslib.c:23344)()
pandas/tslib.pyx in pandas.tslib._check_dts_bounds (pandas/tslib.c:26590)()
OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1-01-01 00:00:00"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">pd</span>.<span class="pl-s1">__version__</span>
<span class="pl-v">Out</span>[<span class="pl-c1">1</span>]: <span class="pl-s">'0.17.0'</span>
<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">"Jan 1"</span>, <span class="pl-s">"March 31"</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"date"</span>)
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">OutOfBoundsDatetime</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1"><</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">2</span><span class="pl-c1">-</span><span class="pl-c1">8</span><span class="pl-s1">eaca08051ac</span><span class="pl-c1">></span> <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1</span> <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">"Jan 1"</span>, <span class="pl-s">"March 31"</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"date"</span>)
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tseries</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">date_range</span>(<span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">freq</span>, <span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span>, <span class="pl-s1">name</span>, <span class="pl-s1">closed</span>)
<span class="pl-c1">1912</span> <span class="pl-k">return</span> <span class="pl-v">DatetimeIndex</span>(<span class="pl-s1">start</span><span class="pl-c1">=</span><span class="pl-s1">start</span>, <span class="pl-s1">end</span><span class="pl-c1">=</span><span class="pl-s1">end</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-s1">periods</span>,
<span class="pl-c1">1913</span> <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s1">freq</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span><span class="pl-c1">=</span><span class="pl-s1">normalize</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s1">name</span>,
<span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1914</span> <span class="pl-s1">closed</span><span class="pl-c1">=</span><span class="pl-s1">closed</span>)
<span class="pl-c1">1915</span>
<span class="pl-c1">1916</span>
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">util</span><span class="pl-c1">/</span><span class="pl-s1">decorators</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">wrapper</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-c1">87</span> <span class="pl-s1">else</span>:
<span class="pl-c1">88</span> <span class="pl-s1">kwargs</span>[<span class="pl-s1">new_arg_name</span>] <span class="pl-c1">=</span> <span class="pl-s1">new_arg_value</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">89</span> <span class="pl-s1">return</span> <span class="pl-en">func</span>(<span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-c1">90</span> <span class="pl-k">return</span> <span class="pl-s1">wrapper</span>
<span class="pl-c1">91</span> <span class="pl-s1">return</span> <span class="pl-s1">_deprecate_kwarg</span>
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tseries</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__new__</span>(<span class="pl-s1">cls</span>, <span class="pl-s1">data</span>, <span class="pl-s1">freq</span>, <span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">copy</span>, <span class="pl-s1">name</span>, <span class="pl-s1">tz</span>, <span class="pl-s1">verify_integrity</span>, <span class="pl-s1">normalize</span>, <span class="pl-s1">closed</span>, <span class="pl-s1">ambiguous</span>, <span class="pl-s1">dtype</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-c1">234</span> <span class="pl-k">return</span> <span class="pl-s1">cls</span>.<span class="pl-en">_generate</span>(<span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">name</span>, <span class="pl-s1">freq</span>,
<span class="pl-c1">235</span> <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span><span class="pl-c1">=</span><span class="pl-s1">normalize</span>, <span class="pl-s1">closed</span><span class="pl-c1">=</span><span class="pl-s1">closed</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">236</span> <span class="pl-s1">ambiguous</span><span class="pl-c1">=</span><span class="pl-s1">ambiguous</span>)
<span class="pl-c1">237</span>
<span class="pl-c1">238</span> <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">data</span>, (<span class="pl-s1">np</span>.<span class="pl-s1">ndarray</span>, <span class="pl-v">Index</span>, <span class="pl-v">ABCSeries</span>)):
<span class="pl-c1">/</span><span class="pl-v">Users</span><span class="pl-c1">/</span><span class="pl-s1">tom</span>.<span class="pl-s1">augspurger</span><span class="pl-c1">/</span><span class="pl-v">Envs</span><span class="pl-c1">/</span><span class="pl-s1">py3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">5</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tseries</span><span class="pl-c1">/</span><span class="pl-s1">index</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_generate</span>(<span class="pl-s1">cls</span>, <span class="pl-s1">start</span>, <span class="pl-s1">end</span>, <span class="pl-s1">periods</span>, <span class="pl-s1">name</span>, <span class="pl-s1">offset</span>, <span class="pl-s1">tz</span>, <span class="pl-s1">normalize</span>, <span class="pl-s1">ambiguous</span>, <span class="pl-s1">closed</span>)
<span class="pl-c1">383</span>
<span class="pl-c1">384</span> <span class="pl-k">if</span> <span class="pl-s1">start</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">385</span> <span class="pl-s1">start</span> <span class="pl-c1">=</span> <span class="pl-v">Timestamp</span>(<span class="pl-s1">start</span>)
<span class="pl-c1">386</span>
<span class="pl-c1">387</span> <span class="pl-k">if</span> <span class="pl-s1">end</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-v">Timestamp</span>.<span class="pl-en">__new__</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">8967</span>)()
<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">22303</span>)()
<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_str_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">24364</span>)()
<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">convert_to_tsobject</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">23344</span>)()
<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">tslib</span>.<span class="pl-en">_check_dts_bounds</span> (<span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">tslib</span>.<span class="pl-s1">c</span>:<span class="pl-c1">26590</span>)()
<span class="pl-v">OutOfBoundsDatetime</span>: <span class="pl-v">Out</span> <span class="pl-s1">of</span> <span class="pl-s1">bounds</span> <span class="pl-s1">nanosecond</span> <span class="pl-s1">timestamp</span>: <span class="pl-c1">1</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00</span></pre></div> | 0 |
<p dir="auto">In my page by using <code class="notranslate">ng-outlet</code>.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ng-outlet class="app"></ng-outlet>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ng-outlet</span> <span class="pl-c1">class</span>="<span class="pl-s">app</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">ng-outlet</span><span class="pl-kos">></span></pre></div>
<p dir="auto">I aspect something like, where <code class="notranslate">month-cmp</code> it's just my directive view.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ng-outlet class="app" month-cmp>
<div class="tasks"><div>
</div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ng-outlet</span> <span class="pl-c1">class</span>="<span class="pl-s">app</span>" <span class="pl-c1">month-cmp</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">tasks</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">Instead I have an extra <code class="notranslate">div</code> that will start creating some possible css conflict.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ng-outlet class="app ng-scope" month-cmp>
<div month-cmp>
<div class="tasks"><div>
</div>
</div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ng-outlet</span> <span class="pl-c1">class</span>="<span class="pl-s">app ng-scope</span>" <span class="pl-c1">month-cmp</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">month-cmp</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">tasks</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | <p dir="auto">Angular 1 Component Router adds a <code class="notranslate"><div></code> who wraps the template's content :</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ng-outlet>
<div component-name="" ng-scope>
<!--- template content -->
</div>
</ng-outlet>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ng-outlet</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">component-name</span>="" <span class="pl-c1">ng-scope</span><span class="pl-kos">></span>
<span class="pl-c"><!--- template content --></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">ng-outlet</span><span class="pl-kos">></span></pre></div>
<p dir="auto">But this behaviour breaks some CSS rules, for example with angular material.</p>
<p dir="auto">Why this div is added ? If it is mandatory, how add attributes (who will compiled after) to this div from the template ?</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report / Feature Idea</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ ansible --version
ansible 2.1.0.0"><pre class="notranslate">$ <span class="pl-s1">ansible --version</span>
<span class="pl-c1">ansible 2.1.0.0</span></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04.1</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Ubuntu 16 comes without <code class="notranslate">aptitude</code> package:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "Could not find aptitude. Please ensure it is installed.""><pre class="notranslate"><span class="pl-c1"> "Could not find aptitude. Please ensure it is installed."</span></pre></div>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Tasks with <code class="notranslate">upgrade</code> parameter fails:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=full"
lab.xxx | FAILED! => {
"changed": false,
"failed": true,
"msg": "Could not find aptitude. Please ensure it is installed."
}
~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=yes"
lab.xxx | FAILED! => {
"changed": false,
"failed": true,
"msg": "Could not find aptitude. Please ensure it is installed."
}
~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=full"
lab.xxx | FAILED! => {
"changed": false,
"failed": true,
"msg": "Could not find aptitude. Please ensure it is installed."
}
~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=safe"
lab.xxx | FAILED! => {
"changed": false,
"failed": true,
"msg": "Could not find aptitude. Please ensure it is installed."
}"><pre class="notranslate"><span class="pl-c1">~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=full"</span>
<span class="pl-c1">lab.xxx | FAILED! => {</span>
<span class="pl-c1"> "changed": false, </span>
<span class="pl-c1"> "failed": true, </span>
<span class="pl-c1"> "msg": "Could not find aptitude. Please ensure it is installed."</span>
<span class="pl-c1">}</span>
<span class="pl-c1">~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=yes"</span>
<span class="pl-c1">lab.xxx | FAILED! => {</span>
<span class="pl-c1"> "changed": false, </span>
<span class="pl-c1"> "failed": true, </span>
<span class="pl-c1"> "msg": "Could not find aptitude. Please ensure it is installed."</span>
<span class="pl-c1">}</span>
<span class="pl-c1">~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=full"</span>
<span class="pl-c1">lab.xxx | FAILED! => {</span>
<span class="pl-c1"> "changed": false, </span>
<span class="pl-c1"> "failed": true, </span>
<span class="pl-c1"> "msg": "Could not find aptitude. Please ensure it is installed."</span>
<span class="pl-c1">}</span>
<span class="pl-c1">~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=safe"</span>
<span class="pl-c1">lab.xxx | FAILED! => {</span>
<span class="pl-c1"> "changed": false, </span>
<span class="pl-c1"> "failed": true, </span>
<span class="pl-c1"> "msg": "Could not find aptitude. Please ensure it is installed."</span>
<span class="pl-c1">}</span></pre></div>
<p dir="auto">Only <code class="notranslate">upgrade=dist</code> work fine:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=dist"
lab.xxx | SUCCESS => {
"changed": false,
"msg": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nCalculating upgrade...\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n",
"stderr": "",
"stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nCalculating upgrade...\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n",
"stdout_lines": [
"Reading package lists...",
"Building dependency tree...",
"Reading state information...",
"Calculating upgrade...",
"0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
]
}"><pre class="notranslate"><span class="pl-c1">~/ansible-scripts $ ansible -i inventory/hosts lab -m apt -a "upgrade=dist"</span>
<span class="pl-c1">lab.xxx | SUCCESS => {</span>
<span class="pl-c1"> "changed": false, </span>
<span class="pl-c1"> "msg": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nCalculating upgrade...\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n", </span>
<span class="pl-c1"> "stderr": "", </span>
<span class="pl-c1"> "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nCalculating upgrade...\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n", </span>
<span class="pl-c1"> "stdout_lines": [</span>
<span class="pl-c1"> "Reading package lists...", </span>
<span class="pl-c1"> "Building dependency tree...", </span>
<span class="pl-c1"> "Reading state information...", </span>
<span class="pl-c1"> "Calculating upgrade...", </span>
<span class="pl-c1"> "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."</span>
<span class="pl-c1"> ]</span>
<span class="pl-c1">}</span></pre></div> | <p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tjbenator/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tjbenator">@tjbenator</a> on April 23, 2016 7:18</em></p>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<ul dir="auto">
<li>apt</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.1.0"><pre class="notranslate"><code class="notranslate">ansible 2.0.1.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Mostly defaults, nothing that would affect this.<br>
<a href="https://github.com/binarypenguin/automation/blob/master/ansible.cfg">https://github.com/binarypenguin/automation/blob/master/ansible.cfg</a></p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Ubuntu 16.04 -> Ubuntu 16.04</p>
<h5 dir="auto">SUMMARY</h5>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible [HOSTNAME] -m apt -a 'update_cache=yes cache_valid_time=3600'"><pre class="notranslate"><code class="notranslate">ansible [HOSTNAME] -m apt -a 'update_cache=yes cache_valid_time=3600'
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Download apt updates</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="HOSTNAME | FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"cache_valid_time": 3600,
"deb": null,
"default_release": null,
"dpkg_options": "force-confdef,force-confold",
"force": false,
"install_recommends": null,
"package": null,
"purge": false,
"state": "present",
"update_cache": true,
"upgrade": null
},
"module_name": "apt"
},
"msg": "Could not fetch updated apt files"
}"><pre class="notranslate"><code class="notranslate">HOSTNAME | FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"cache_valid_time": 3600,
"deb": null,
"default_release": null,
"dpkg_options": "force-confdef,force-confold",
"force": false,
"install_recommends": null,
"package": null,
"purge": false,
"state": "present",
"update_cache": true,
"upgrade": null
},
"module_name": "apt"
},
"msg": "Could not fetch updated apt files"
}
</code></pre></div>
<p dir="auto"><code class="notranslate">sudo apt-get update</code> works fine on the host. I thought the issue was that Ubuntu 16.04 LTS does not include Aptitude by default. Also python-apt wasn't installed. Installing them both on the remote machine did not fix the issue.</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="150526382" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/3523" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/3523/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/3523">ansible/ansible-modules-core#3523</a></em></p> | 1 |
<p dir="auto">PowerRun is fantastic, and I have missed it every time I switch from Mac to PC.</p>
<p dir="auto">I can search programs on my computer, and I can do simple calculations such as 9*3 and 5+2 and similar.</p>
<p dir="auto">Would is be possible to add web search and currency calculations?</p>
<p dir="auto">Entering for instance "10DKK" should result in conversions to 5 top currencies and the one from you locale settings in Windows.</p>
<p dir="auto">Web search should be either default Google, or for instance "g " to search Google, "b " to search Bing, "w " to search WiKipedia, "d " to search DuckDuck and "y " to search Youtube</p> | <h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2>
<ul dir="auto">
<li>PowerToys version: Version v0.20.1</li>
<li>PowerToy Utility: FancyZones</li>
<li>Running PowerToys as Admin: Yes</li>
<li>Windows build number: [run "winver"] 1803</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>Using Google Chrome, when moving a tab to merge with the browser. FancyZone interferes and makes the tab that the user wants to merge with the browser becomes white and takes around a minute to close manually.</li>
</ol>
<h3 dir="auto">✔️ Expected result</h3>
<p dir="auto">To merge a google chrome tab to the browser</p>
<h3 dir="auto">❌ Actual result</h3>
<p dir="auto">instead of merging the tab becomes white with invisible Minimize, Enlarge, Close. Takes a minute to close manually</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/65454299/91656588-8b642900-eaec-11ea-898d-c7550a20e14a.png"><img src="https://user-images.githubusercontent.com/65454299/91656588-8b642900-eaec-11ea-898d-c7550a20e14a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p> | 0 |
<p dir="auto">My problem might be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4885817" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4492" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/4492/hovercard" href="https://github.com/symfony/symfony/issues/4492">#4492</a>, however now appeared in Symfony v2.7.3:<br>
Reordering of form collections using AJAX submits does not work correcly.</p>
<p dir="auto">I have an entity "Meeting", which consists of a collection of "Topics". When reordering the topics, the integer field "position" is re-assigned using javascript based on the current ordering.</p>
<p dir="auto">When starting, the collection of topics is as follows:</p>
<p dir="auto">topic[0] : topic ZERO, position 0<br>
topic[1] : topic ONE, position 1</p>
<p dir="auto">Now I switch the order (using jQuery), it looks as follows:<br>
topic[1] : topic ONE, position 0<br>
topic[0] : topic ZERO, position 1</p>
<p dir="auto">Now I save this state to the database using AJAX, meaning that in the browser (DOM) nothing changes.</p>
<p dir="auto">Now I switch the order again, it looks exactly as in the beginning:<br>
topic[0] : topic ZERO, position 0<br>
topic[1] : topic ONE, position 1</p>
<p dir="auto">Now I save again using AJAX (no visible change in the browser).</p>
<p dir="auto">When I reload the page, however, something strange appears:<br>
topic[1] : topic ZERO, position 0<br>
topic[0] : topic ONE, position 1</p>
<p dir="auto">-> The order of topics is not switched but only their content reassigned to the new position, which leads to the situation that the topic's content is changed which should definitely not happen.<br>
-> If I reload after the first saving (meaning standard POST submit with page reload instead of AJAX), everything is fine in the end.</p>
<p dir="auto">What's wrong here?<br>
Thanks a lot!</p> | <p dir="auto">Symfony default behaviour for handling reordering in collection type is wrong.</p>
<p dir="auto">When you reorder to items saved in database as:</p>
<p dir="auto">id: 56, name: first, order: 0<br>
id: 57, name: second, order: 1</p>
<p dir="auto">After changing they positions I receive:</p>
<p dir="auto">id: 56, name: second, order: 0<br>
id: 57, name: first, order: 1</p>
<p dir="auto">Instead of:</p>
<p dir="auto">id: 56, name: first, order: 1<br>
id: 57, name: second, order: 0</p>
<p dir="auto">Last occurrence at version 2.0.15</p> | 1 |
<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.): vSphere, "message": "no endpoints available for service "kube-dns"", kube-dns, etc -- similar issues include: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="149190989" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/24407" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/24407/hovercard" href="https://github.com/kubernetes/kubernetes/issues/24407">#24407</a> however it's not quite the same</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): Bug</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:"3", GitVersion:"v1.3.0", GitCommit:"283137936a498aed572ee22af6774b6fb6e9fd94", GitTreeState:"clean", BuildDate:"2016-07-01T19:26:38Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:10:32Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.0", GitCommit:"283137936a498aed572ee22af6774b6fb6e9fd94", GitTreeState:"clean", BuildDate:"2016-07-01T19:26:38Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:10:32Z", 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>: vSphere</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): Using provided vmdk</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): <code class="notranslate">Linux kubernetes-minion-4 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux</code> and <code class="notranslate">Linux kubernetes-master 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux</code></li>
<li><strong>Install tools</strong>: GOVC + the <code class="notranslate">cluster/vsphere/config-default.sh</code> script</li>
</ul>
<p dir="auto"><strong>What happened</strong>: Our environment utilizes the RFC1918 10.0.0.0/8 block, so I edited <code class="notranslate">cluster/vsphere/config-default.sh</code> to utilize an address space we are not using. This is my current configuration:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NODE_IP_RANGES="192.168.0.0/17"
MASTER_IP_RANGE="${MASTER_IP_RANGE:-192.168.128.0/17}"
SERVICE_CLUSTER_IP_RANGE="192.168.120.0/21" # formerly PORTAL_NET
DNS_SERVER_IP="192.168.120.120""><pre class="notranslate"><code class="notranslate">NODE_IP_RANGES="192.168.0.0/17"
MASTER_IP_RANGE="${MASTER_IP_RANGE:-192.168.128.0/17}"
SERVICE_CLUSTER_IP_RANGE="192.168.120.0/21" # formerly PORTAL_NET
DNS_SERVER_IP="192.168.120.120"
</code></pre></div>
<p dir="auto">After the deployment is finished, I am able to login to the dashboard via the URL provided via <code class="notranslate">kubectl cluster-info</code>, however, when I check the DNS server I see:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> curl -sk https://admin:[email protected]/api/v1/proxy/namespaces/kube-system/services/kube-dns
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "no endpoints available for service \"kube-dns\"",
"reason": "ServiceUnavailable",
"code": 503
}"><pre class="notranslate"><code class="notranslate">> curl -sk https://admin:[email protected]/api/v1/proxy/namespaces/kube-system/services/kube-dns
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "no endpoints available for service \"kube-dns\"",
"reason": "ServiceUnavailable",
"code": 503
}
</code></pre></div>
<p dir="auto">When I list services, I see:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> kubectl get svc --namespace=kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns 192.168.120.120 <none> 53/UDP,53/TCP 50m
kubernetes-dashboard 192.168.127.194 <none> 80/TCP 50m"><pre class="notranslate"><code class="notranslate">> kubectl get svc --namespace=kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns 192.168.120.120 <none> 53/UDP,53/TCP 50m
kubernetes-dashboard 192.168.127.194 <none> 80/TCP 50m
</code></pre></div>
<p dir="auto">When I start a container and try to ping kube-dns, I am unable to:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> kubectl exec -ti testing-network-2429464084-8jauq /bin/bash
root@testing-network-2429464084-8jauq:/# ping 192.168.120.120
PING 192.168.120.120 (192.168.120.120) 56(84) bytes of data.
^C
--- 192.168.120.120 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4032ms"><pre class="notranslate"><code class="notranslate">> kubectl exec -ti testing-network-2429464084-8jauq /bin/bash
root@testing-network-2429464084-8jauq:/# ping 192.168.120.120
PING 192.168.120.120 (192.168.120.120) 56(84) bytes of data.
^C
--- 192.168.120.120 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4032ms
</code></pre></div>
<p dir="auto">I can ping external IP addresses:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ping 216.58.192.142
PING 216.58.192.142 (216.58.192.142) 56(84) bytes of data.
64 bytes from 216.58.192.142: icmp_seq=1 ttl=50 time=52.0 ms
64 bytes from 216.58.192.142: icmp_seq=2 ttl=50 time=51.9 ms
^C
--- 216.58.192.142 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 51.968/51.999/52.031/0.230 ms"><pre class="notranslate"><code class="notranslate"># ping 216.58.192.142
PING 216.58.192.142 (216.58.192.142) 56(84) bytes of data.
64 bytes from 216.58.192.142: icmp_seq=1 ttl=50 time=52.0 ms
64 bytes from 216.58.192.142: icmp_seq=2 ttl=50 time=51.9 ms
^C
--- 216.58.192.142 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 51.968/51.999/52.031/0.230 ms
</code></pre></div>
<p dir="auto">Here's the configuration on each minion and the master:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Master - IP: 10.248.30.36
kube@kubernetes-master:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.36
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 via 10.248.30.37 dev eth0
192.168.128.0/17 dev cbr0 proto kernel scope link src 192.168.128.1
Minion 1 - IP: 10.248.30.38
kube@kubernetes-minion-1:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.38
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 dev cbr0 proto kernel scope link src 192.168.0.1
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 via 10.248.30.37 dev eth0
Minion 2 - IP: 10.248.30.40
kube@kubernetes-minion-2:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.40
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 dev cbr0 proto kernel scope link src 192.168.1.1
192.168.2.0/24 via 10.248.30.37 dev eth0
Minion 2 - IP: 10.248.30.37
kube@kubernetes-minion-3:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.37
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 dev cbr0 proto kernel scope link src 192.168.2.1
Minion 4 - IP: 10.248.30.39
kube@kubernetes-minion-4:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.39
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 via 10.248.30.37 dev eth0
192.168.3.0/24 dev cbr0 proto kernel scope link src 192.168.3.1"><pre class="notranslate"><code class="notranslate">Master - IP: 10.248.30.36
kube@kubernetes-master:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.36
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 via 10.248.30.37 dev eth0
192.168.128.0/17 dev cbr0 proto kernel scope link src 192.168.128.1
Minion 1 - IP: 10.248.30.38
kube@kubernetes-minion-1:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.38
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 dev cbr0 proto kernel scope link src 192.168.0.1
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 via 10.248.30.37 dev eth0
Minion 2 - IP: 10.248.30.40
kube@kubernetes-minion-2:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.40
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 dev cbr0 proto kernel scope link src 192.168.1.1
192.168.2.0/24 via 10.248.30.37 dev eth0
Minion 2 - IP: 10.248.30.37
kube@kubernetes-minion-3:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.37
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.18.0.0/16 via 10.248.30.39 dev eth0
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 dev cbr0 proto kernel scope link src 192.168.2.1
Minion 4 - IP: 10.248.30.39
kube@kubernetes-minion-4:~$ ip ro sh
default via 10.248.30.1 dev eth0
10.248.30.0/24 dev eth0 proto kernel scope link src 10.248.30.39
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
192.168.0.0/24 via 10.248.30.38 dev eth0
192.168.1.0/24 via 10.248.30.40 dev eth0
192.168.2.0/24 via 10.248.30.37 dev eth0
192.168.3.0/24 dev cbr0 proto kernel scope link src 192.168.3.1
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>: I expect containers can reach ping eachother.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible): I've reproduced this problem using both 172.16.0.0/16 addresses as well as the 192.168.0.0/16 addresses.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>: I followed the documentation here: <a href="http://kubernetes.io/docs/getting-started-guides/vsphere/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/vsphere/</a> and the only change I made was to the network configuration.</p> | <p dir="auto">The <code class="notranslate">test-cmd</code> script currently does not test resizing replication controllers; this is a central use-case and should have coverage in that script.</p> | 0 |
<p dir="auto">When you are building components, you often want to support both valueLink and value/onChange, which means you need a function like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="getValueLink: function(props) {
return props.valueLink || {
value: props.value,
requestChange: props.onChange
};
},"><pre class="notranslate"><code class="notranslate">getValueLink: function(props) {
return props.valueLink || {
value: props.value,
requestChange: props.onChange
};
},
</code></pre></div>
<p dir="auto">This easily end up being duplicated between components. Would it be an idea to include it in the LinkedState mixin?</p> | <p dir="auto">Describe what you were doing when the bug occurred:<br>
1.<br>
2.<br>
3.</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.2.1-3816ae7c3</p>
<p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br>
at Map.forEach ()<br>
at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br>
at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br>
at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br>
at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br>
at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:107381)<br>
at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br>
at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)<br>
at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89544)</p>
<p dir="auto">Component stack: in vl<br>
in div<br>
in div<br>
in div<br>
in wo<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in Li<br>
in $e<br>
in dn<br>
in Ca<br>
in Pc</p> | 0 |
<p dir="auto">I would love to drag windows to zones without having one hand on the keyboard. But I also don't want zones enabled always when I move a window, because I like free placement too.</p>
<p dir="auto">Wouldn't it be nice when you could set a modifier by yourself? Maybe use your 5th mouse button as a modifier? Or you could also enable something like left + right mouse down + mouse drag to show zones..</p> | <p dir="auto">I use 38" display (3840 x 1600) in office and 34" (3440x1440) at home.<br>
When I move in between those displays I always need to open Zones editor and apply same layout to not have smaller or bigger zones. Otherwise I have zones small (when I move from 34" to 38" display and higher resolution) or bigger when I move vice-versa.</p>
<p dir="auto">I think fix can be quite easy, just to re-apply layout when display is changed.</p>
<p dir="auto">Anyway, I can't imagine working on todays' displays without PowerToys ;-)</p> | 0 |
<p dir="auto">I cannot reproduce it myself, but from windows-386-gce builder <a href="http://build.golang.org/log/e3bf7d994667518abb7f2a2f0064257d8c373927" rel="nofollow">http://build.golang.org/log/e3bf7d994667518abb7f2a2f0064257d8c373927</a> while building <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/golang/go/commit/56a7c5b95c01ccf23914ddb70193c3943ae5aaa0/hovercard" href="https://github.com/golang/go/commit/56a7c5b95c01ccf23914ddb70193c3943ae5aaa0"><tt>56a7c5b</tt></a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal error: unexpected signal during runtime execution
[signal 0xc0000005 code=0x0 addr=0x2140c00 pc=0x40d8c1]
runtime stack:
runtime.throw(0x5ff288, 0x2a)
C:/workdir/go/src/runtime/panic.go:543 +0x7f
runtime.sigpanic()
C:/workdir/go/src/runtime/signal_windows.go:157 +0x5c
runtime.gcmarkwb_m(0x3280000c, 0x32800218)
C:/workdir/go/src/runtime/mbarrier.go:73 +0xb1
runtime.writebarrierptr_nostore1.func1()
C:/workdir/go/src/runtime/mbarrier.go:107 +0x117
runtime.systemstack(0x32a7fdfc)
C:/workdir/go/src/runtime/asm_386.s:283 +0x81
runtime.writebarrierptr_nostore1(0x3280000c, 0x32800218)
C:/workdir/go/src/runtime/mbarrier.go:108 +0x56
runtime.writebarrierptr(0x3280000c, 0x32800218)
C:/workdir/go/src/runtime/mbarrier.go:131 +0x7f
runtime.writebarrierslice(0x3280000c, 0x32800218, 0x6933, 0xfde8)
C:/workdir/go/src/runtime/mbarrier.go:207 +0x1e
runtime.traceEvent(0x15, 0x0, 0x32a7fee4, 0x1, 0x1)
C:/workdir/go/src/runtime/trace.go:502 +0x5b2
runtime.traceGoUnpark(0x12215080, 0x0)
C:/workdir/go/src/runtime/trace.go:793 +0x75
runtime.findrunnable(0x12212a00)
C:/workdir/go/src/runtime/proc1.go:1345 +0x251
runtime.schedule()
C:/workdir/go/src/runtime/proc1.go:1515 +0x1dd
runtime.park_m(0x12215080)
C:/workdir/go/src/runtime/proc1.go:1574 +0x161
runtime.mcall(0x0)
C:/workdir/go/src/runtime/asm_386.s:210 +0x47
goroutine 1 [chan receive]:
testing.RunTests(0x620844, 0x6b83e0, 0xe, 0xe, 0x12246001)
C:/workdir/go/src/testing/testing.go:561 +0x884
testing.(*M).Run(0x12206360, 0x6cf540)
C:/workdir/go/src/testing/testing.go:490 +0x6b
main.main()
runtime/pprof/_test/_testmain.go:82 +0x177
goroutine 58 [runnable]:
runtime/pprof_test.TestTraceStress(0x18a9dd40)
C:/workdir/go/src/runtime/pprof/trace_test.go:149 +0x3af
testing.tRunner(0x18a9dd40, 0x6b8464)
C:/workdir/go/src/testing/testing.go:452 +0xa6
created by testing.RunTests
C:/workdir/go/src/testing/testing.go:560 +0x852
goroutine 41 [select (no cases)]:
runtime/pprof_test.TestTraceSymbolize.func1()
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:38 +0x1e
created by runtime/pprof_test.TestTraceSymbolize
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:39 +0x178
goroutine 60 [syscall, locked to thread]:
syscall.Syscall6(0x77433e93, 0x5, 0x194, 0x1268cfcf, 0x1, 0x1268cf38, 0x0, 0x0, 0x40bbd6, 0x6be720, ...)
C:/workdir/go/src/runtime/syscall_windows.go:139 +0x4b
syscall.ReadFile(0x194, 0x1268cfcf, 0x1, 0x1, 0x1268cf38, 0x0, 0x0, 0x0)
C:/workdir/go/src/syscall/zsyscall_windows.go:283 +0xa0
syscall.Read(0x194, 0x1268cfcf, 0x1, 0x1, 0xf69, 0x0, 0x0)
C:/workdir/go/src/syscall/syscall_windows.go:286 +0x64
os.(*File).read(0x1221e658, 0x1268cfcf, 0x1, 0x1, 0x0, 0x0, 0x0)
C:/workdir/go/src/os/file_windows.go:300 +0x106
os.(*File).Read(0x1221e658, 0x1268cfcf, 0x1, 0x1, 0x0, 0x0, 0x0)
C:/workdir/go/src/os/file.go:95 +0x72
runtime/pprof_test.TestTraceStress.func3(0x1221e658, 0x126a7940, 0x1228c9a0)
C:/workdir/go/src/runtime/pprof/trace_test.go:120 +0x5b
created by runtime/pprof_test.TestTraceStress
C:/workdir/go/src/runtime/pprof/trace_test.go:123 +0x1ff
goroutine 42 [chan send (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func2()
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:42 +0x3e
created by runtime/pprof_test.TestTraceSymbolize
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:43 +0x18d
goroutine 43 [chan receive (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func3()
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:46 +0x36
created by runtime/pprof_test.TestTraceSymbolize
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:47 +0x1a2
goroutine 62 [runnable, locked to thread]:
runtime.Gosched()
C:/workdir/go/src/runtime/proc.go:166 +0x10
runtime/pprof_test.TestTraceStress.func4(0x126a7940)
C:/workdir/go/src/runtime/pprof/trace_test.go:141 +0xb4
created by runtime/pprof_test.TestTraceStress
C:/workdir/go/src/runtime/pprof/trace_test.go:144 +0x371
goroutine 59 [chan receive]:
runtime/pprof_test.TestTraceStress.func1(0x126a7940, 0x1228c9a0)
C:/workdir/go/src/runtime/pprof/trace_test.go:104 +0x38
created by runtime/pprof_test.TestTraceStress
C:/workdir/go/src/runtime/pprof/trace_test.go:106 +0xa3
goroutine 61 [trace reader (blocked)]:
runtime.ReadTrace(0x0, 0x0, 0x0)
C:/workdir/go/src/runtime/trace.go:313 +0x1d9
runtime/pprof.StartTrace.func1(0x3b0c58, 0x18a9dda0)
C:/workdir/go/src/runtime/pprof/pprof.go:629 +0x21
created by runtime/pprof.StartTrace
C:/workdir/go/src/runtime/pprof/pprof.go:635 +0x70
FAIL runtime/pprof 8.670s"><pre class="notranslate"><code class="notranslate">fatal error: unexpected signal during runtime execution
[signal 0xc0000005 code=0x0 addr=0x2140c00 pc=0x40d8c1]
runtime stack:
runtime.throw(0x5ff288, 0x2a)
C:/workdir/go/src/runtime/panic.go:543 +0x7f
runtime.sigpanic()
C:/workdir/go/src/runtime/signal_windows.go:157 +0x5c
runtime.gcmarkwb_m(0x3280000c, 0x32800218)
C:/workdir/go/src/runtime/mbarrier.go:73 +0xb1
runtime.writebarrierptr_nostore1.func1()
C:/workdir/go/src/runtime/mbarrier.go:107 +0x117
runtime.systemstack(0x32a7fdfc)
C:/workdir/go/src/runtime/asm_386.s:283 +0x81
runtime.writebarrierptr_nostore1(0x3280000c, 0x32800218)
C:/workdir/go/src/runtime/mbarrier.go:108 +0x56
runtime.writebarrierptr(0x3280000c, 0x32800218)
C:/workdir/go/src/runtime/mbarrier.go:131 +0x7f
runtime.writebarrierslice(0x3280000c, 0x32800218, 0x6933, 0xfde8)
C:/workdir/go/src/runtime/mbarrier.go:207 +0x1e
runtime.traceEvent(0x15, 0x0, 0x32a7fee4, 0x1, 0x1)
C:/workdir/go/src/runtime/trace.go:502 +0x5b2
runtime.traceGoUnpark(0x12215080, 0x0)
C:/workdir/go/src/runtime/trace.go:793 +0x75
runtime.findrunnable(0x12212a00)
C:/workdir/go/src/runtime/proc1.go:1345 +0x251
runtime.schedule()
C:/workdir/go/src/runtime/proc1.go:1515 +0x1dd
runtime.park_m(0x12215080)
C:/workdir/go/src/runtime/proc1.go:1574 +0x161
runtime.mcall(0x0)
C:/workdir/go/src/runtime/asm_386.s:210 +0x47
goroutine 1 [chan receive]:
testing.RunTests(0x620844, 0x6b83e0, 0xe, 0xe, 0x12246001)
C:/workdir/go/src/testing/testing.go:561 +0x884
testing.(*M).Run(0x12206360, 0x6cf540)
C:/workdir/go/src/testing/testing.go:490 +0x6b
main.main()
runtime/pprof/_test/_testmain.go:82 +0x177
goroutine 58 [runnable]:
runtime/pprof_test.TestTraceStress(0x18a9dd40)
C:/workdir/go/src/runtime/pprof/trace_test.go:149 +0x3af
testing.tRunner(0x18a9dd40, 0x6b8464)
C:/workdir/go/src/testing/testing.go:452 +0xa6
created by testing.RunTests
C:/workdir/go/src/testing/testing.go:560 +0x852
goroutine 41 [select (no cases)]:
runtime/pprof_test.TestTraceSymbolize.func1()
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:38 +0x1e
created by runtime/pprof_test.TestTraceSymbolize
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:39 +0x178
goroutine 60 [syscall, locked to thread]:
syscall.Syscall6(0x77433e93, 0x5, 0x194, 0x1268cfcf, 0x1, 0x1268cf38, 0x0, 0x0, 0x40bbd6, 0x6be720, ...)
C:/workdir/go/src/runtime/syscall_windows.go:139 +0x4b
syscall.ReadFile(0x194, 0x1268cfcf, 0x1, 0x1, 0x1268cf38, 0x0, 0x0, 0x0)
C:/workdir/go/src/syscall/zsyscall_windows.go:283 +0xa0
syscall.Read(0x194, 0x1268cfcf, 0x1, 0x1, 0xf69, 0x0, 0x0)
C:/workdir/go/src/syscall/syscall_windows.go:286 +0x64
os.(*File).read(0x1221e658, 0x1268cfcf, 0x1, 0x1, 0x0, 0x0, 0x0)
C:/workdir/go/src/os/file_windows.go:300 +0x106
os.(*File).Read(0x1221e658, 0x1268cfcf, 0x1, 0x1, 0x0, 0x0, 0x0)
C:/workdir/go/src/os/file.go:95 +0x72
runtime/pprof_test.TestTraceStress.func3(0x1221e658, 0x126a7940, 0x1228c9a0)
C:/workdir/go/src/runtime/pprof/trace_test.go:120 +0x5b
created by runtime/pprof_test.TestTraceStress
C:/workdir/go/src/runtime/pprof/trace_test.go:123 +0x1ff
goroutine 42 [chan send (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func2()
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:42 +0x3e
created by runtime/pprof_test.TestTraceSymbolize
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:43 +0x18d
goroutine 43 [chan receive (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func3()
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:46 +0x36
created by runtime/pprof_test.TestTraceSymbolize
C:/workdir/go/src/runtime/pprof/trace_stack_test.go:47 +0x1a2
goroutine 62 [runnable, locked to thread]:
runtime.Gosched()
C:/workdir/go/src/runtime/proc.go:166 +0x10
runtime/pprof_test.TestTraceStress.func4(0x126a7940)
C:/workdir/go/src/runtime/pprof/trace_test.go:141 +0xb4
created by runtime/pprof_test.TestTraceStress
C:/workdir/go/src/runtime/pprof/trace_test.go:144 +0x371
goroutine 59 [chan receive]:
runtime/pprof_test.TestTraceStress.func1(0x126a7940, 0x1228c9a0)
C:/workdir/go/src/runtime/pprof/trace_test.go:104 +0x38
created by runtime/pprof_test.TestTraceStress
C:/workdir/go/src/runtime/pprof/trace_test.go:106 +0xa3
goroutine 61 [trace reader (blocked)]:
runtime.ReadTrace(0x0, 0x0, 0x0)
C:/workdir/go/src/runtime/trace.go:313 +0x1d9
runtime/pprof.StartTrace.func1(0x3b0c58, 0x18a9dda0)
C:/workdir/go/src/runtime/pprof/pprof.go:629 +0x21
created by runtime/pprof.StartTrace
C:/workdir/go/src/runtime/pprof/pprof.go:635 +0x70
FAIL runtime/pprof 8.670s
</code></pre></div>
<p dir="auto">I also have couple of questions about the stack trace:</p>
<ul dir="auto">
<li>It looks like our exception handler got fired because of EXCEPTION_ACCESS_VIOLATION (see signal 0xc0000005). The source code line where it happened must be mbarrier.go:73 - it is right before signal_windows.go:157 (runtime.sigpanic). Looking at that line: "if ptr != 0 && inheap(ptr) {", I don't see how it is possible for EXCEPTION_ACCESS_VIOLATION to be raised here. Can someone explain?</li>
<li>Also "runtime stack:" starts with runtime.mcall. But why? Who called it? Looking at remaining goroutine stacks, I see "goroutine 58 [runnable]" allocating memory at trace_test.go:149 with "_ = make([]byte, 1<<20)". But how did we get from allocating memory into runtime.mcall?</li>
</ul>
<p dir="auto">I suspect there is missing information here. Is it OK for it to be missing? How should I debug this crash?</p>
<p dir="auto">Perhaps I am misreading this altogether.</p>
<p dir="auto">Alex</p> | <p dir="auto">Not sure this is the same as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="58467559" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/9953" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/9953/hovercard" href="https://github.com/golang/go/issues/9953">#9953</a>.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal error: unexpected signal during runtime execution
[signal 0xa code=0xc addr=0x28316794 pc=0x80548be]
runtime stack:
runtime.throw(0x82311a8, 0x2a)
/tmp/buildlet-scatch766897833/go/src/runtime/panic.go:543 +0x80
runtime.sigpanic()
/tmp/buildlet-scatch766897833/go/src/runtime/sigpanic_unix.go:12 +0x54
runtime.gcmarkwb_m(0x587a100c, 0x587a1218)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:73 +0xae
runtime.writebarrierptr_nostore1.func1()
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:111 +0x115
runtime.systemstack(0x38409e88)
/tmp/buildlet-scatch766897833/go/src/runtime/asm_386.s:283 +0x77
runtime.writebarrierptr_nostore1(0x587a100c, 0x587a1218)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:112 +0x44
runtime.writebarrierptr(0x587a100c, 0x587a1218)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:135 +0x7f
runtime.writebarrierslice(0x587a100c, 0x587a1218, 0x689d, 0xfde8)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:211 +0x1e
runtime.traceEvent(0x383d6a0e, 0xffffffff, 0x38409f70, 0x1, 0x1)
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:502 +0x5af
runtime.traceGoStart()
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:770 +0x81
runtime.execute(0x383d74a0)
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1214 +0xd7
runtime.schedule()
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1418 +0x76
runtime.goschedImpl(0x383d74a0)
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1530 +0xd1
runtime.gosched_m(0x383d74a0)
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1538 +0x33
runtime.mcall(0x383fc52c)
/tmp/buildlet-scatch766897833/go/src/runtime/asm_386.s:210 +0x43
goroutine 66 [running, locked to thread]:
runtime.Gosched()
/tmp/buildlet-scatch766897833/go/src/runtime/proc.go:135 +0x10 fp=0x4c2497d4 sp=0x4c2497cc
runtime/pprof_test.TestTraceStressStartStop.func1.5(0x383e6140)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:269 +0x4a fp=0x4c2497e8 sp=0x4c2497d4
runtime.goexit()
/tmp/buildlet-scatch766897833/go/src/runtime/asm_386.s:2431 +0x1 fp=0x4c2497ec sp=0x4c2497e8
created by runtime/pprof_test.TestTraceStressStartStop.func1
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:272 +0x233
goroutine 1 [chan receive]:
testing.RunTests(0x82528e8, 0x82e7160, 0xe, 0xe, 0x1)
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:561 +0x864
testing.(*M).Run(0x383e8120, 0x82fdac0)
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:490 +0x65
main.main()
/tmp/go-build720119124/runtime/pprof/_test/_testmain.go:82 +0x171
goroutine 89 [semacquire]:
runtime.StopTrace()
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:184 +0x28
runtime/pprof.StopTrace()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/pprof.go:642 +0x18
runtime/pprof_test.TestTraceStressStartStop(0x4c23a240)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:356 +0x1c0
testing.tRunner(0x4c23a240, 0x82e71f0)
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:452 +0xa0
created by testing.RunTests
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:560 +0x832
goroutine 40 [select (no cases)]:
runtime/pprof_test.TestTraceSymbolize.func1()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:38 +0x18
created by runtime/pprof_test.TestTraceSymbolize
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:39 +0x179
goroutine 41 [chan send (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func2()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:42 +0x38
created by runtime/pprof_test.TestTraceSymbolize
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:43 +0x18e
goroutine 42 [chan receive (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func3()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:46 +0x30
created by runtime/pprof_test.TestTraceSymbolize
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:47 +0x1a3
goroutine 90 [runnable]:
runtime/pprof_test.TestTraceStressStartStop.func1(0x384690c0, 0x4c23a240)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:277 +0x271
created by runtime/pprof_test.TestTraceStressStartStop
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:348 +0x99
goroutine 113 [chan receive]:
runtime/pprof_test.TestTraceStressStartStop.func1.2(0x383e6140, 0x4c23c020)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:241 +0x32
created by runtime/pprof_test.TestTraceStressStartStop.func1
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:243 +0xb7
goroutine 114 [syscall]:
syscall.Syscall(0x3, 0x3ea03fcf, 0x1, 0x1, 0x0, 0x58751218, 0x3128)
/tmp/buildlet-scatch766897833/go/src/syscall/asm_freebsd_386.s:20 +0x5
syscall.read(0x3, 0x3ea03fcf, 0x1, 0x1, 0xb23bb542, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/syscall/zsyscall_freebsd_386.go:890 +0x50
syscall.Read(0x3, 0x3ea03fcf, 0x1, 0x1, 0x58751000, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/syscall/syscall_unix.go:136 +0x46
os.(*File).read(0x4c23e000, 0x3ea03fcf, 0x1, 0x1, 0x9, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/os/file_unix.go:203 +0x6c
os.(*File).Read(0x4c23e000, 0x3ea03fcf, 0x1, 0x1, 0xfde8, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/os/file.go:95 +0x6c
runtime/pprof_test.TestTraceStressStartStop.func1.4(0x4c23e000, 0x383e6140, 0x4c23c020)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:256 +0x54
created by runtime/pprof_test.TestTraceStressStartStop.func1
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:259 +0x202
goroutine 98 [select (no cases)]:
runtime/pprof_test.TestTraceStress.func9()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:205 +0x1d
created by runtime/pprof_test.TestTraceStress
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:206 +0x82c
goroutine 67 [trace reader (blocked)]:
runtime.ReadTrace(0x0, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:313 +0x1d2
runtime/pprof.StartTrace.func1(0x584e8918, 0x383eb440)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/pprof.go:629 +0x1b
created by runtime/pprof.StartTrace
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/pprof.go:635 +0x6a
FAIL runtime/pprof 7.732s"><pre class="notranslate"><code class="notranslate">fatal error: unexpected signal during runtime execution
[signal 0xa code=0xc addr=0x28316794 pc=0x80548be]
runtime stack:
runtime.throw(0x82311a8, 0x2a)
/tmp/buildlet-scatch766897833/go/src/runtime/panic.go:543 +0x80
runtime.sigpanic()
/tmp/buildlet-scatch766897833/go/src/runtime/sigpanic_unix.go:12 +0x54
runtime.gcmarkwb_m(0x587a100c, 0x587a1218)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:73 +0xae
runtime.writebarrierptr_nostore1.func1()
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:111 +0x115
runtime.systemstack(0x38409e88)
/tmp/buildlet-scatch766897833/go/src/runtime/asm_386.s:283 +0x77
runtime.writebarrierptr_nostore1(0x587a100c, 0x587a1218)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:112 +0x44
runtime.writebarrierptr(0x587a100c, 0x587a1218)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:135 +0x7f
runtime.writebarrierslice(0x587a100c, 0x587a1218, 0x689d, 0xfde8)
/tmp/buildlet-scatch766897833/go/src/runtime/mbarrier.go:211 +0x1e
runtime.traceEvent(0x383d6a0e, 0xffffffff, 0x38409f70, 0x1, 0x1)
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:502 +0x5af
runtime.traceGoStart()
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:770 +0x81
runtime.execute(0x383d74a0)
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1214 +0xd7
runtime.schedule()
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1418 +0x76
runtime.goschedImpl(0x383d74a0)
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1530 +0xd1
runtime.gosched_m(0x383d74a0)
/tmp/buildlet-scatch766897833/go/src/runtime/proc1.go:1538 +0x33
runtime.mcall(0x383fc52c)
/tmp/buildlet-scatch766897833/go/src/runtime/asm_386.s:210 +0x43
goroutine 66 [running, locked to thread]:
runtime.Gosched()
/tmp/buildlet-scatch766897833/go/src/runtime/proc.go:135 +0x10 fp=0x4c2497d4 sp=0x4c2497cc
runtime/pprof_test.TestTraceStressStartStop.func1.5(0x383e6140)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:269 +0x4a fp=0x4c2497e8 sp=0x4c2497d4
runtime.goexit()
/tmp/buildlet-scatch766897833/go/src/runtime/asm_386.s:2431 +0x1 fp=0x4c2497ec sp=0x4c2497e8
created by runtime/pprof_test.TestTraceStressStartStop.func1
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:272 +0x233
goroutine 1 [chan receive]:
testing.RunTests(0x82528e8, 0x82e7160, 0xe, 0xe, 0x1)
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:561 +0x864
testing.(*M).Run(0x383e8120, 0x82fdac0)
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:490 +0x65
main.main()
/tmp/go-build720119124/runtime/pprof/_test/_testmain.go:82 +0x171
goroutine 89 [semacquire]:
runtime.StopTrace()
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:184 +0x28
runtime/pprof.StopTrace()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/pprof.go:642 +0x18
runtime/pprof_test.TestTraceStressStartStop(0x4c23a240)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:356 +0x1c0
testing.tRunner(0x4c23a240, 0x82e71f0)
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:452 +0xa0
created by testing.RunTests
/tmp/buildlet-scatch766897833/go/src/testing/testing.go:560 +0x832
goroutine 40 [select (no cases)]:
runtime/pprof_test.TestTraceSymbolize.func1()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:38 +0x18
created by runtime/pprof_test.TestTraceSymbolize
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:39 +0x179
goroutine 41 [chan send (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func2()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:42 +0x38
created by runtime/pprof_test.TestTraceSymbolize
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:43 +0x18e
goroutine 42 [chan receive (nil chan)]:
runtime/pprof_test.TestTraceSymbolize.func3()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:46 +0x30
created by runtime/pprof_test.TestTraceSymbolize
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_stack_test.go:47 +0x1a3
goroutine 90 [runnable]:
runtime/pprof_test.TestTraceStressStartStop.func1(0x384690c0, 0x4c23a240)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:277 +0x271
created by runtime/pprof_test.TestTraceStressStartStop
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:348 +0x99
goroutine 113 [chan receive]:
runtime/pprof_test.TestTraceStressStartStop.func1.2(0x383e6140, 0x4c23c020)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:241 +0x32
created by runtime/pprof_test.TestTraceStressStartStop.func1
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:243 +0xb7
goroutine 114 [syscall]:
syscall.Syscall(0x3, 0x3ea03fcf, 0x1, 0x1, 0x0, 0x58751218, 0x3128)
/tmp/buildlet-scatch766897833/go/src/syscall/asm_freebsd_386.s:20 +0x5
syscall.read(0x3, 0x3ea03fcf, 0x1, 0x1, 0xb23bb542, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/syscall/zsyscall_freebsd_386.go:890 +0x50
syscall.Read(0x3, 0x3ea03fcf, 0x1, 0x1, 0x58751000, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/syscall/syscall_unix.go:136 +0x46
os.(*File).read(0x4c23e000, 0x3ea03fcf, 0x1, 0x1, 0x9, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/os/file_unix.go:203 +0x6c
os.(*File).Read(0x4c23e000, 0x3ea03fcf, 0x1, 0x1, 0xfde8, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/os/file.go:95 +0x6c
runtime/pprof_test.TestTraceStressStartStop.func1.4(0x4c23e000, 0x383e6140, 0x4c23c020)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:256 +0x54
created by runtime/pprof_test.TestTraceStressStartStop.func1
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:259 +0x202
goroutine 98 [select (no cases)]:
runtime/pprof_test.TestTraceStress.func9()
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:205 +0x1d
created by runtime/pprof_test.TestTraceStress
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/trace_test.go:206 +0x82c
goroutine 67 [trace reader (blocked)]:
runtime.ReadTrace(0x0, 0x0, 0x0)
/tmp/buildlet-scatch766897833/go/src/runtime/trace.go:313 +0x1d2
runtime/pprof.StartTrace.func1(0x584e8918, 0x383eb440)
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/pprof.go:629 +0x1b
created by runtime/pprof.StartTrace
/tmp/buildlet-scatch766897833/go/src/runtime/pprof/pprof.go:635 +0x6a
FAIL runtime/pprof 7.732s
</code></pre></div> | 1 |
<p dir="auto">I've been trying to get numpy working with Intel's MKL math library without much success.</p>
<p dir="auto">The first problem was convincing numpy's build process to use MKL even though I have openblas installed on my system The problem is in <code class="notranslate">distutils/system_info.py</code> checks for the existence of openblas before checking whether MKL is configured. Checking MKL first resolved that issue (I can submit a patch if you're interested).</p>
<p dir="auto">That leads to the second problem. When linked with MKL, numpy fails several of it's tests. Specifically:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
ERROR: test_umath.TestComplexFunctions.test_loss_of_precision(<class 'numpy.complex64'>,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1634, in check_loss_of_precision
check(x_series, 2.1*eps)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1603, in check
d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
RuntimeWarning: divide by zero encountered in true_divide
======================================================================
ERROR: test_umath.TestComplexFunctions.test_loss_of_precision(<class 'numpy.complex128'>,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1634, in check_loss_of_precision
check(x_series, 2.1*eps)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1603, in check
d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
RuntimeWarning: divide by zero encountered in true_divide
======================================================================
ERROR: test_umath.TestComplexFunctions.test_loss_of_precision_longcomplex
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/decorators.py", line 216, in knownfailer
return f(*args, **kwargs)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1681, in test_loss_of_precision_longcomplex
self.check_loss_of_precision(np.longcomplex)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1632, in check_loss_of_precision
check(x_series, 50*eps)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1603, in check
d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
RuntimeWarning: divide by zero encountered in true_divide
======================================================================
ERROR: test_scripts.test_f2py
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
return f(*args, **kwargs)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/tests/test_scripts.py", line 68, in test_f2py
code, stdout, stderr = run_command([f2py_cmd, '-v'])
File "/home/malouf/python/lib/python3.5/site-packages/numpy/tests/test_scripts.py", line 48, in run_command
proc = Popen(cmd, stdout=PIPE, stderr=PIPE)
File "/home/malouf/python/lib/python3.5/subprocess.py", line 950, in __init__
restore_signals, start_new_session)
File "/home/malouf/python/lib/python3.5/subprocess.py", line 1540, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'f2py3.5'
======================================================================
FAIL: test_accelerate_framework_sgemv_fix (test_multiarray.TestDot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_multiarray.py", line 4275, in test_accelerate_framework_sgemv_fix
assert_dot_close(A_f, X_f, desired)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_multiarray.py", line 4260, in assert_dot_close
assert_allclose(np.dot(A, X), desired, rtol=1e-5, atol=1e-7)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 1347, in assert_allclose
verbose=verbose, header=header)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-05, atol=1e-07
(mismatch 62.68%)
x: array([ 163.433014, 144.792694, 145.528854, ..., 103.144707,
94.63633 , 98.819527], dtype=float32)
y: array([ 54.477672, 48.264233, 48.50962 , ..., 103.144708,
94.636337, 148.229279])
======================================================================
FAIL: test_dot_3args (test_multiarray.TestDot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_multiarray.py", line 4171, in test_dot_3args
assert_array_equal(r2, r)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 782, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 39.74609375%)
x: array([ 7.675112, 11.017172, 5.982513, ..., 14.025107, 14.226657,
20.369611])
y: array([ 11.512668, 16.525758, 8.973769, ..., 14.025107, 14.226657,
20.369611])
======================================================================
FAIL: test_polyfit_build (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/numpy/lib/tests/test_regression.py", line 111, in test_polyfit_build
assert_array_almost_equal(ref, tested)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 886, in assert_array_almost_equal
precision=decimal)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
(mismatch 100.0%)
x: array([ -1.061238e-06, 5.708869e-04, -1.138220e-01, 9.953682e+00,
-3.145265e+02])
y: array([ 0.003459, -0.012066, 0.046189, -0.349192, 0.086812])"><pre class="notranslate"><code class="notranslate">======================================================================
ERROR: test_umath.TestComplexFunctions.test_loss_of_precision(<class 'numpy.complex64'>,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1634, in check_loss_of_precision
check(x_series, 2.1*eps)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1603, in check
d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
RuntimeWarning: divide by zero encountered in true_divide
======================================================================
ERROR: test_umath.TestComplexFunctions.test_loss_of_precision(<class 'numpy.complex128'>,)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1634, in check_loss_of_precision
check(x_series, 2.1*eps)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1603, in check
d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
RuntimeWarning: divide by zero encountered in true_divide
======================================================================
ERROR: test_umath.TestComplexFunctions.test_loss_of_precision_longcomplex
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/decorators.py", line 216, in knownfailer
return f(*args, **kwargs)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1681, in test_loss_of_precision_longcomplex
self.check_loss_of_precision(np.longcomplex)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1632, in check_loss_of_precision
check(x_series, 50*eps)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_umath.py", line 1603, in check
d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
RuntimeWarning: divide by zero encountered in true_divide
======================================================================
ERROR: test_scripts.test_f2py
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
return f(*args, **kwargs)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/tests/test_scripts.py", line 68, in test_f2py
code, stdout, stderr = run_command([f2py_cmd, '-v'])
File "/home/malouf/python/lib/python3.5/site-packages/numpy/tests/test_scripts.py", line 48, in run_command
proc = Popen(cmd, stdout=PIPE, stderr=PIPE)
File "/home/malouf/python/lib/python3.5/subprocess.py", line 950, in __init__
restore_signals, start_new_session)
File "/home/malouf/python/lib/python3.5/subprocess.py", line 1540, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'f2py3.5'
======================================================================
FAIL: test_accelerate_framework_sgemv_fix (test_multiarray.TestDot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_multiarray.py", line 4275, in test_accelerate_framework_sgemv_fix
assert_dot_close(A_f, X_f, desired)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_multiarray.py", line 4260, in assert_dot_close
assert_allclose(np.dot(A, X), desired, rtol=1e-5, atol=1e-7)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 1347, in assert_allclose
verbose=verbose, header=header)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-05, atol=1e-07
(mismatch 62.68%)
x: array([ 163.433014, 144.792694, 145.528854, ..., 103.144707,
94.63633 , 98.819527], dtype=float32)
y: array([ 54.477672, 48.264233, 48.50962 , ..., 103.144708,
94.636337, 148.229279])
======================================================================
FAIL: test_dot_3args (test_multiarray.TestDot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/numpy/core/tests/test_multiarray.py", line 4171, in test_dot_3args
assert_array_equal(r2, r)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 782, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 39.74609375%)
x: array([ 7.675112, 11.017172, 5.982513, ..., 14.025107, 14.226657,
20.369611])
y: array([ 11.512668, 16.525758, 8.973769, ..., 14.025107, 14.226657,
20.369611])
======================================================================
FAIL: test_polyfit_build (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/malouf/python/lib/python3.5/site-packages/numpy/lib/tests/test_regression.py", line 111, in test_polyfit_build
assert_array_almost_equal(ref, tested)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 886, in assert_array_almost_equal
precision=decimal)
File "/home/malouf/python/lib/python3.5/site-packages/numpy/testing/utils.py", line 708, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
(mismatch 100.0%)
x: array([ -1.061238e-06, 5.708869e-04, -1.138220e-01, 9.953682e+00,
-3.145265e+02])
y: array([ 0.003459, -0.012066, 0.046189, -0.349192, 0.086812])
</code></pre></div>
<p dir="auto">I don't even know where to begin to isolate the problem. Has anyone reported this before? What other information would be helpful? I'm using numpy 1.10.1, python 3.5.0, gcc 4.8.3, MKL 11.3.</p> | <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="604273559" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/16036" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/16036/hovercard" href="https://github.com/numpy/numpy/issues/16036">#16036</a> reports downstream issues due to backwards-incompatible changes to classes in <code class="notranslate">numpy.core.arrayprint</code>. Based on the lack of docstrings etc. it seems that some functionality in arrayprint was not necessarily intended to be public. It would be good to review this and perhaps provide some more concrete guidance to users.</p>
<p dir="auto">Incompatible changes introduced in e.g. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="269430256" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/9941" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/9941/hovercard" href="https://github.com/numpy/numpy/pull/9941">#9941</a></p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Display the delete icon for the <code class="notranslate"><Chip /></code> component when <code class="notranslate">onDelete</code> prop is provided.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Does not display the delete icon for the <code class="notranslate"><Chip /></code> component when <code class="notranslate">onDelete</code> prop is provided.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Install <code class="notranslate">material-ui v1.0.0-beta23</code> on a fresh project with <code class="notranslate">create-react-app</code></li>
<li>Copy over the example code for a chip array <a href="https://material-ui.com/demos/chips/" rel="nofollow">https://material-ui.com/demos/chips/</a></li>
<li>Observe how the delete icon does not appear for any of the chips.</li>
<li>Observe in the console the error: <code class="notranslate">Warning: Unknown event handler property "onDelete". It will be ignored.</code></li>
</ol>
<h2 dir="auto">Context</h2>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.23</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 63.0.3239.84 (Official Build) (64-bit)</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">I'm currently using next.js with material-ui. I've stubbled across adding the href prop to a button, and in most cases I can wrap a button with a ..</p><p dir="auto"></p>
<p dir="auto">However, I'm struggling with Tab.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Cannot read property 'charAt' of undefined"><pre class="notranslate"><code class="notranslate">Cannot read property 'charAt' of undefined
</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/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<Tabs centered>
<Link route="/home">
<Tab
label="Home"
href="/home"
/>
</Link>
</Tabs>"><pre class="notranslate"><code class="notranslate"><Tabs centered>
<Link route="/home">
<Tab
label="Home"
href="/home"
/>
</Link>
</Tabs>
</code></pre></div>
<h2 dir="auto">Context</h2>
<p dir="auto">I'm trying to avoid a full page reload and use the Router push/replace features.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.27</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>next.js</td>
<td>4.4.0-canary.3</td>
</tr>
</tbody>
</table><p></p> | 0 |
<h2 dir="auto">Feature request: Fill name attribute or add static toString() method for all PropTypes.</h2>
<p dir="auto">For example:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const StringPropType = PropTypes.string;
expect(StringPropType.name).toEqual('checkType: String');
const ArrayOfBoolType = PropTypes.arrayOf(PropTypes.bool);
expect(ArrayOfBoolType.name).toEqual('bound checkType: Array of Bool');
const ShapeType = PropTypes.shape({
foo: PropTypes.bool,
bar: PropTypes.number
});
expect(ShapeType.name).toEqual('bound checkType: Shape of foo:Bool, bar:Number'"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-v">StringPropType</span> <span class="pl-c1">=</span> <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">string</span><span class="pl-kos">;</span>
<span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-v">StringPropType</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-en">toEqual</span><span class="pl-kos">(</span><span class="pl-s">'checkType: String'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">ArrayOfBoolType</span> <span class="pl-c1">=</span> <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-en">arrayOf</span><span class="pl-kos">(</span><span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">bool</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-v">ArrayOfBoolType</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-en">toEqual</span><span class="pl-kos">(</span><span class="pl-s">'bound checkType: Array of Bool'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">ShapeType</span> <span class="pl-c1">=</span> <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-en">shape</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">foo</span>: <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">bool</span><span class="pl-kos">,</span>
<span class="pl-c1">bar</span>: <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">number</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-v">ShapeType</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-c1">toEqual</span><span class="pl-kos">(</span><span class="pl-s">'bound checkType: Shape of foo:Bool, bar:Number'</span></pre></div>
<p dir="auto">It maybe useful when debugging.<br>
In my case - I need to equal components prop types and throw exception if there are same props. So if generate names for prop types - they could be compared.</p>
<h3 dir="auto">Current behaviour</h3>
<p dir="auto">Only primitive types could be compared (string, bool, number).<br>
Complex types (shape, arrayOf) - each time returns new bound function. So it could not be compared by value.</p>
<h3 dir="auto">Problems with custom prop types</h3>
<p dir="auto">Will generate "undefined" name for custom prop like this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="customProp: function(props, propName, componentName) {
if (!/matchme/.test(props[propName])) {
return new Error(
'Invalid prop `' + propName + '` supplied to' +
' `' + componentName + '`. Validation failed.'
);
}
},"><pre class="notranslate"><span class="pl-s1">customProp</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">,</span> <span class="pl-s1">propName</span><span class="pl-kos">,</span> <span class="pl-s1">componentName</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-pds"><span class="pl-c1">/</span>matchme<span class="pl-c1">/</span></span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">[</span><span class="pl-s1">propName</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">return</span> <span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span>
<span class="pl-s">'Invalid prop `'</span> <span class="pl-c1">+</span> <span class="pl-s1">propName</span> <span class="pl-c1">+</span> <span class="pl-s">'` supplied to'</span> <span class="pl-c1">+</span>
<span class="pl-s">' `'</span> <span class="pl-c1">+</span> <span class="pl-s1">componentName</span> <span class="pl-c1">+</span> <span class="pl-s">'`. Validation failed.'</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">but it fixed by adding function name:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="customProp: function customProp(props, propName, componentName) {"><pre class="notranslate">customProp: <span class="pl-k">function</span> <span class="pl-en">customProp</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">,</span> <span class="pl-s1">propName</span><span class="pl-kos">,</span> <span class="pl-s1">componentName</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos"></span></pre></div>
<p dir="auto">btw. Same feature implemented at <a href="https://github.com/gcanti/tcomb">tcomb</a> lib</p> | <p dir="auto">Describe what you were doing when the bug occurred:<br>
I was using profiler to check the performance of my react app, and when i recorded one session, and clicked on close button, got this exception.</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.12.2-d14b6a4bdd</p>
<p dir="auto">Call stack: at updateTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20849:21)<br>
at getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:20694:26)<br>
at ProfilingCache_ProfilingCache.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:21268:11)<br>
at CommitFlamegraphAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:38408:33)<br>
at Rh (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:13414:7)<br>
at Ci (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:14115:7)<br>
at vk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16899:86)<br>
at uk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16419:11)<br>
at rk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16411:23)<br>
at jk (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:16395:5)</p>
<p dir="auto">Component stack: at CommitFlamegraphAutoSizer (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:38391:34)<br>
at div<br>
at div<br>
at div<br>
at SettingsModalContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:29445:3)<br>
at Profiler_Profiler (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40189:34)<br>
at ErrorBoundary_ErrorBoundary (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:33091:5)<br>
at PortaledContent (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:33171:5)<br>
at div<br>
at div<br>
at ProfilerContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:37210:3)<br>
at TreeContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:25673:3)<br>
at SettingsContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:26287:3)<br>
at ModalDialogContextController (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:33314:3)<br>
at DevTools_DevTools (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40585:3)</p> | 0 |
<p dir="auto">All works fine but there are errors in console, maybe I am not properly use ngSwitchDefault directive, but there is nothing about the right location of ngSwitchDefault in docs. For example, if ngSwitchDefault must be in the same level of nesting like all ngSwitchCase or not.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { Component } from '@angular/core';
@Component({
selector:'my-app',
template:`
<input type="text" [(ngModel)]="box"/>
<div [ngSwitch]="box">
<div *ngFor="let j of ['1','2','3']">
<div *ngSwitchCase="j">Case {{j}}</div>
</div>
<h2 *ngSwitchDefault>Default</h2>
</div>
`})
export class App {
box:string = '1';
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">Component</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@angular/core'</span><span class="pl-kos">;</span>
@<span class="pl-smi">Component</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">selector</span>:<span class="pl-s">'my-app'</span><span class="pl-kos">,</span>
<span class="pl-c1">template</span>:<span class="pl-s">`</span>
<span class="pl-s"> <input type="text" [(ngModel)]="box"/></span>
<span class="pl-s"> <div [ngSwitch]="box"></span>
<span class="pl-s"> <div *ngFor="let j of ['1','2','3']"></span>
<span class="pl-s"> <div *ngSwitchCase="j">Case {{j}}</div></span>
<span class="pl-s"> </div></span>
<span class="pl-s"> <h2 *ngSwitchDefault>Default</h2></span>
<span class="pl-s"> </div></span>
<span class="pl-s">`</span><span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">App</span> <span class="pl-kos">{</span>
<span class="pl-c1">box</span>:<span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">'1'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>I'm submitting a ...</strong><br>
[x] bug report</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
<a href="http://plnkr.co/edit/KWEExfmHYtmKs7FpR00d?p=preview" rel="nofollow">http://plnkr.co/edit/KWEExfmHYtmKs7FpR00d?p=preview</a></p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
This issue only appears on initial view creation.<br>
If a <code class="notranslate">ngSwitchDefault</code> is surrounded by a <code class="notranslate">ngIf</code> like:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<div [ngSwitch]="switchVar">
<template [ngIf]="1">
<span *ngSwitchCase="0">0</span>
<span *ngSwitchDefault>A</span>
</template>
</div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[ngSwitch]</span>="<span class="pl-s">switchVar</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">template</span> <span class="pl-c1">[ngIf]</span>="<span class="pl-s">1</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">*ngSwitchCase</span>="<span class="pl-s">0</span>"<span class="pl-kos">></span>0<span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">*ngSwitchDefault</span><span class="pl-kos">></span>A<span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">template</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">the <code class="notranslate">ngSwitchDefault</code> element will not be shown.</p>
<p dir="auto">If you remove the <code class="notranslate">ngIf</code> it works fine like:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<div [ngSwitch]="switchVar">
<span *ngSwitchCase="0">0</span>
<span *ngSwitchDefault>A</span>
</div>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[ngSwitch]</span>="<span class="pl-s">switchVar</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">*ngSwitchCase</span>="<span class="pl-s">0</span>"<span class="pl-kos">></span>0<span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">*ngSwitchDefault</span><span class="pl-kos">></span>A<span class="pl-kos"></</span><span class="pl-ent">span</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"><strong>Expected behavior</strong><br>
It should show ngSwitchDefault on view creation, if surrounded by ngif.</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
<a href="http://plnkr.co/edit/vy4KguXbPxnBxeMgqAWd?p=preview" rel="nofollow">http://plnkr.co/edit/vy4KguXbPxnBxeMgqAWd?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
Fine working framework</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.1</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [all]</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all]</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = 6.6.0</p>
</li>
</ul> | 1 |
<p dir="auto">Hello TypeScripters.</p>
<p dir="auto">I might be opening a can of worms which might bring an age of darkness upon us (but see PS). Anyway, I've done an attempt to add language support for mixins.</p>
<p dir="auto">For the user, it is similar to the <code class="notranslate">extends</code> or <code class="notranslate">implements</code> keywords, and thus goes by <code class="notranslate">mixes</code>. The semantic intent of the keyword is that a <code class="notranslate">Mixture</code> is NOT a derived class of its <code class="notranslate">Mixins</code>, it just copies their static and dynamic properties.</p>
<p dir="auto">Several mixins can be supplied, the order determines which property will finally be mixed (newer definitions shadow previous definitions).</p>
<p dir="auto">What this does is roughly equivalent to <a href="http://www.typescriptlang.org/Handbook#mixins" rel="nofollow">http://www.typescriptlang.org/Handbook#mixins</a>, except there is no need to copy attributes manually, so mixins become more manageable - hopefully.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
class Base {
say(hello:string) {
console.log(hello);
}
}
class Mixin1 {
something : string = "Couac couac";
fn1() {
console.log(this.something);
}
}
class Mixin2 {
something : string = "shadowing you, little duck!";
fn2() {
console.log("The dragon is", this.something);
}
}
/* Only mixes one mixin */
class SimpleMixture mixes Mixin1 {
}
/* Mixes several mixins, property definitions in newer mixins (from left
to right) shadow those from previous mixins AND those in the mixture
class itself, including inherited ones. */
class MultiMixture extends Base mixes Mixin1, Mixin2 {
}
var sm1 = new SimpleMixture();
sm1.fn1();
var sm2 = new MultiMixture();
sm2.fn1();
sm2.fn2();
console.log( sm1 instanceof Base );
console.log( sm1 instanceof Mixin1 );
console.log( sm2 instanceof Base );
console.log( sm2 instanceof Mixin2 );"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">Base</span> <span class="pl-kos">{</span>
<span class="pl-en">say</span><span class="pl-kos">(</span><span class="pl-s1">hello</span>:<span class="pl-smi">string</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">hello</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">class</span> <span class="pl-smi">Mixin1</span> <span class="pl-kos">{</span>
<span class="pl-c1">something</span> : <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">"Couac couac"</span><span class="pl-kos">;</span>
<span class="pl-en">fn1</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-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">something</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">class</span> <span class="pl-smi">Mixin2</span> <span class="pl-kos">{</span>
<span class="pl-c1">something</span> : <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">"shadowing you, little duck!"</span><span class="pl-kos">;</span>
<span class="pl-en">fn2</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">"The dragon is"</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">something</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">/* Only mixes one mixin */</span>
<span class="pl-k">class</span> <span class="pl-smi">SimpleMixture</span> <span class="pl-s1">mixes</span> <span class="pl-smi">Mixin1</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-c">/* Mixes several mixins, property definitions in newer mixins (from left</span>
<span class="pl-c">to right) shadow those from previous mixins AND those in the mixture</span>
<span class="pl-c">class itself, including inherited ones. */</span>
<span class="pl-k">class</span> <span class="pl-smi">MultiMixture</span> <span class="pl-k">extends</span> <span class="pl-smi">Base</span> <span class="pl-s1">mixes</span> <span class="pl-smi">Mixin1</span><span class="pl-kos">,</span> <span class="pl-smi">Mixin2</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-k">var</span> <span class="pl-s1">sm1</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">SimpleMixture</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">sm1</span><span class="pl-kos">.</span><span class="pl-en">fn1</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">sm2</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">MultiMixture</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">sm2</span><span class="pl-kos">.</span><span class="pl-en">fn1</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">sm2</span><span class="pl-kos">.</span><span class="pl-en">fn2</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span> <span class="pl-s1">sm1</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Base</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">sm1</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Mixin1</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">sm2</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Base</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">sm2</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Mixin2</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Which emits</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var __applyMixins = this.__applyMixins || function (mixtureTarget) {
for(var a=1; a<arguments.length; ++a) {
var mixin = arguments[a];
Object.getOwnPropertyNames(mixin.prototype).forEach( function(name) {
mixtureTarget.prototype[name] = mixin.prototype[name];
})
};
};
var Base = (function () {
function Base() {
}
Base.prototype.say = function (hello) {
console.log(hello);
};
return Base;
})();
var Mixin1 = (function () {
function Mixin1() {
this.something = "Couac couac";
}
Mixin1.prototype.fn1 = function () {
console.log(this.something);
};
return Mixin1;
})();
var Mixin2 = (function () {
function Mixin2() {
this.something = "shadowing you, little duck!";
}
Mixin2.prototype.fn2 = function () {
console.log("The dragon is", this.something);
};
return Mixin2;
})();
/* Only mixes one mixin */
var SimpleMixture = (function () {
function SimpleMixture() {
Mixin1.apply(this) ;
}
__applyMixins(/*mixtureTarget*/ SimpleMixture, Mixin1);
return SimpleMixture;
})();
/* Mixes several mixins, property definitions in newer mixins (from left
to right) shadow those from previous mixins AND those in the mixture
class itself, including inherited ones. */
var MultiMixture = (function (_super) {
__extends(MultiMixture, _super);
function MultiMixture() {
_super.apply(this, arguments);
Mixin1.apply(this) ;
Mixin2.apply(this) ;
}
__applyMixins(/*mixtureTarget*/ MultiMixture, Mixin1, Mixin2);
return MultiMixture;
})(Base);
var sm1 = new SimpleMixture();
sm1.fn1();
var sm2 = new MultiMixture();
sm2.fn1();
sm2.fn2();
console.log(sm1 instanceof Base);
console.log(sm1 instanceof Mixin1);
console.log(sm2 instanceof Base);
console.log(sm2 instanceof Mixin2);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">__extends</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">__extends</span> <span class="pl-c1">||</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">p</span> <span class="pl-k">in</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">.</span><span class="pl-en">hasOwnProperty</span><span class="pl-kos">(</span><span class="pl-s1">p</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-s1">d</span><span class="pl-kos">[</span><span class="pl-s1">p</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">b</span><span class="pl-kos">[</span><span class="pl-s1">p</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-c1">__</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">constructor</span> <span class="pl-c1">=</span> <span class="pl-s1">d</span><span class="pl-kos">;</span> <span class="pl-kos">}</span>
<span class="pl-c1">__</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-s1">b</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">;</span>
<span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">__</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">__applyMixins</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">__applyMixins</span> <span class="pl-c1">||</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">mixtureTarget</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">a</span><span class="pl-c1">=</span><span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-s1">a</span><span class="pl-c1"><</span><span class="pl-smi">arguments</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-c1">++</span><span class="pl-s1">a</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">mixin</span> <span class="pl-c1">=</span> <span class="pl-smi">arguments</span><span class="pl-kos">[</span><span class="pl-s1">a</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getOwnPropertyNames</span><span class="pl-kos">(</span><span class="pl-s1">mixin</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">mixtureTarget</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">[</span><span class="pl-s1">name</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">mixin</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">[</span><span class="pl-s1">name</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">Base</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span>
<span class="pl-v">Base</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-en">say</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">hello</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">hello</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">return</span> <span class="pl-v">Base</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-v">Mixin1</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">Mixin1</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">something</span> <span class="pl-c1">=</span> <span class="pl-s">"Couac couac"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-v">Mixin1</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-en">fn1</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">something</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">return</span> <span class="pl-v">Mixin1</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-v">Mixin2</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">Mixin2</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">something</span> <span class="pl-c1">=</span> <span class="pl-s">"shadowing you, little duck!"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-v">Mixin2</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-en">fn2</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"The dragon is"</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">something</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">return</span> <span class="pl-v">Mixin2</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">/* Only mixes one mixin */</span>
<span class="pl-k">var</span> <span class="pl-v">SimpleMixture</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">SimpleMixture</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-v">Mixin1</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">)</span> <span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">__applyMixins</span><span class="pl-kos">(</span><span class="pl-c">/*mixtureTarget*/</span> <span class="pl-v">SimpleMixture</span><span class="pl-kos">,</span> <span class="pl-v">Mixin1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-v">SimpleMixture</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">/* Mixes several mixins, property definitions in newer mixins (from left</span>
<span class="pl-c">to right) shadow those from previous mixins AND those in the mixture</span>
<span class="pl-c">class itself, including inherited ones. */</span>
<span class="pl-k">var</span> <span class="pl-v">MultiMixture</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">_super</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">__extends</span><span class="pl-kos">(</span><span class="pl-v">MultiMixture</span><span class="pl-kos">,</span> <span class="pl-s1">_super</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-v">MultiMixture</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">_super</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">Mixin1</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">)</span> <span class="pl-kos">;</span>
<span class="pl-v">Mixin2</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">)</span> <span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">__applyMixins</span><span class="pl-kos">(</span><span class="pl-c">/*mixtureTarget*/</span> <span class="pl-v">MultiMixture</span><span class="pl-kos">,</span> <span class="pl-v">Mixin1</span><span class="pl-kos">,</span> <span class="pl-v">Mixin2</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-v">MultiMixture</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-v">Base</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">sm1</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">SimpleMixture</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">sm1</span><span class="pl-kos">.</span><span class="pl-en">fn1</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">sm2</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">MultiMixture</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">sm2</span><span class="pl-kos">.</span><span class="pl-en">fn1</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">sm2</span><span class="pl-kos">.</span><span class="pl-en">fn2</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">sm1</span> <span class="pl-k">instanceof</span> <span class="pl-v">Base</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">sm1</span> <span class="pl-k">instanceof</span> <span class="pl-v">Mixin1</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">sm2</span> <span class="pl-k">instanceof</span> <span class="pl-v">Base</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">sm2</span> <span class="pl-k">instanceof</span> <span class="pl-v">Mixin2</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">and outputs</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> Couac couac
>>> shadowing you, little duck!
>>> The dragon is shadowing you, little duck!
>>> false
>>> false
>>> true
>>> false"><pre class="notranslate">>>> Couac couac
>>> shadowing you, little duck<span class="pl-k">!</span>
>>> The dragon is shadowing you, little duck<span class="pl-k">!</span>
>>> <span class="pl-c1">false</span>
>>> <span class="pl-c1">false</span>
>>> <span class="pl-c1">true</span>
>>> <span class="pl-c1">false</span></pre></div>
<p dir="auto">At this point it seems to work with target ES<6 with quite some limitations (the user can't pass arguments to the mixin constructors). Type checking seems to be working (although I could not make Eclipse or Emacs behave with the new keyword). But be warned Very early experimental preview code from a bad JS programmer who knew nothing about TSC's internals three days ago and who was in a rush. Be warned.</p>
<p dir="auto">I did this to overcome a maintainability issue with my code and rushed this implementation. It was also an exercise to learn more about TSC. I'm also aware that it might not be a great idea to add keywords to a language each time one gets into trouble, but if others see interest in it or you have suggestions, the branch is here <a href="https://github.com/dbarbeau/TypeScript/tree/mixes">https://github.com/dbarbeau/TypeScript/tree/mixes</a>. Just don't expect this implementation to be stable/complete/anything. Actually, if it can just spark some interest/discussion on how to make mixins more useable, then I'm ok with that.</p>
<p dir="auto">Daniel<br>
PS: Don't get mad at me :)<br>
PS: I'm now testing this with more "serious code", I will quickly see if it is indeed practical.</p> | <p dir="auto">As per ES6 grammar:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ExportDeclaration :
export * FromClause ;
export ExportClause FromClause ;
export ExportClause ;
export VariableStatement
export Declaration
export default HoistableDeclaration[Default]
export default [lookahead ≠ function ] AssignmentExpression[In] ;
ExportClause[NoReference] :
{ }
{ ExportsList }
{ ExportsList , }
ExportsList :
ExportSpecifier
ExportsList , ExportSpecifier
ExportSpecifier :
IdentifierName
IdentifierName as IdentifierName
FromClause :
from ModuleSpecifier
ModuleSpecifier :
StringLiteral"><pre class="notranslate"><code class="notranslate">ExportDeclaration :
export * FromClause ;
export ExportClause FromClause ;
export ExportClause ;
export VariableStatement
export Declaration
export default HoistableDeclaration[Default]
export default [lookahead ≠ function ] AssignmentExpression[In] ;
ExportClause[NoReference] :
{ }
{ ExportsList }
{ ExportsList , }
ExportsList :
ExportSpecifier
ExportsList , ExportSpecifier
ExportSpecifier :
IdentifierName
IdentifierName as IdentifierName
FromClause :
from ModuleSpecifier
ModuleSpecifier :
StringLiteral
</code></pre></div>
<p dir="auto">Meanings of export syntax that we currently do not support (doesn't list generators since we do not support them as yet)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default function name() { }
// function name() { }
// exports.default = name;"><pre class="notranslate"><code class="notranslate">export default function name() { }
// function name() { }
// exports.default = name;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default function () { }
// function _temp() { }
// exports.default = _temp;"><pre class="notranslate"><code class="notranslate">export default function () { }
// function _temp() { }
// exports.default = _temp;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export default = expression;
// var _tmp = expression;
// exports.default = _tmp;"><pre class="notranslate"><code class="notranslate">export default = expression;
// var _tmp = expression;
// exports.default = _tmp;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export { };
// Make this external module"><pre class="notranslate"><code class="notranslate">export { };
// Make this external module
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export { } from StringLiteral;
// import __tmp = require(StringLiteral)"><pre class="notranslate"><code class="notranslate">export { } from StringLiteral;
// import __tmp = require(StringLiteral)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export { a };
//exports.a = a;"><pre class="notranslate"><code class="notranslate">export { a };
//exports.a = a;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export { a } from StringLiteral;
// import __tmp = require(StringLiteral)
// exports.a = _tmp.a"><pre class="notranslate"><code class="notranslate">export { a } from StringLiteral;
// import __tmp = require(StringLiteral)
// exports.a = _tmp.a
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export { id1 as a};
//exports.a = id1;"><pre class="notranslate"><code class="notranslate">export { id1 as a};
//exports.a = id1;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export { id1 as a } from StringLiteral;
// import __tmp = require(StringLiteral)
// exports.a = _tmp.id1"><pre class="notranslate"><code class="notranslate">export { id1 as a } from StringLiteral;
// import __tmp = require(StringLiteral)
// exports.a = _tmp.id1
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export * from StringLiteral
// import _tmp = require(StringLIteral)
// foreach(a in _tmp.exports)
// exports.a = _tmp.exports[a] "><pre class="notranslate"><code class="notranslate">export * from StringLiteral
// import _tmp = require(StringLIteral)
// foreach(a in _tmp.exports)
// exports.a = _tmp.exports[a]
</code></pre></div>
<p dir="auto">Few things to consider:</p>
<ol dir="auto">
<li>Resolution of export name is as follows,</li>
</ol>
<ul dir="auto">
<li>if the name is directly exported clause (without referring to another module) - the resolution is returned for this name</li>
<li>if the name is exported using names eg. export {a} from stringLiteral - that resolution is returned</li>
<li>it is tried to be resolved from export entries of name (except default) from export * from StringLiteral</li>
<li>Should we be reporting errors for the name from export * from StringLiteral that is shadowed by the local exports/indirect named exports/existing * exports. According to ES6 it is ok, but should we still report error for shadowing for unintentional cases?</li>
</ul>
<ol dir="auto">
<li>The export names are always resolved in order of local exports, indirect exports and then star exports, But typescript currently uses declaration order to determine duplicate error. Should we change this order for duplicate naming or is it ok?</li>
</ol> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kyrill007" rel="nofollow">Kyrill Alyoshin</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9170?redirect=false" rel="nofollow">SPR-9170</a></strong> and commented</p>
<p dir="auto">I think it would be a really-really good idea to move <em>org.springframework.batch.retry</em> into <em>org.springframework.core.retry</em>. It is really well-thought out and useful API, a true gem. I can't believe I haven't noticed it in all these years of using Spring. The API contain no conceptual dependencies on batch infrastructure and they should really be moved into the core.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.1</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="398088670" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9531" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9531/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9531">#9531</a> Migrate Repeat and Retry from Spring Batch (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto">1 votes, 4 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer" rel="nofollow">Dave Syer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4855?redirect=false" rel="nofollow">SPR-4855</a></strong> and commented</p>
<p dir="auto">Migrate Repeat and Retry from Spring Batch. They are almost completely self-contained now (on trunk), so it shouldn't be a tough job - just need to decide where to put them. Maybe the tests might have some batch dependencies, but they would be easily factored out. There is also a dependency on some utility stuff in org.springframework.batch.support which would need to be moved over or equivalents provided in core.</p>
<p dir="auto">The only real work will be migrating the StatefulRetryOperationsInterceptor (very useful). It currently depends on ItemKeyGenerator and NewItemIdentifier, for good reasons, so equivalents will have to be provided. When this is refactored it might also be a good idea to revisit the whole stateful retry concept - it could be implemented as an extension of the RetryOperations interface instead of through a callback / policy pairing as it is now.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.5.4</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398117592" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13808" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13808/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13808">#13808</a> Consider moving Spring Batch Retry package into Spring Core (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto">1 votes, 3 watchers</p> | 1 |
<p dir="auto">Right now, as I understand it, helpers registered to the PHP templating engine aren't accesible in Twig, so any developer who writes a helper must duplicate (or at least wrap) their helper to make it available to Twig templates. To me, this seems like unnecessary work for the developer and it's bound to cause trouble for some users switching from one templating engine to the other. Why not simply have TwigBundle pass the PHP helpers to all twig templates?</p> | <p dir="auto">The API of FileSystem::copy() is unintuitive and its docs are probably flawed. It says:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@param bool $override Whether to override an existing file or not"><pre class="notranslate"><code class="notranslate">@param bool $override Whether to override an existing file or not
</code></pre></div>
<p dir="auto">But that's not true, even if <code class="notranslate">$override</code> is false the target might be overwritten if it's older than origin. Generally, I would expect</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$fs->copy($origin, $target, false);"><pre class="notranslate"><code class="notranslate">$fs->copy($origin, $target, false);
</code></pre></div>
<p dir="auto">not to overwrite my $target but it does. Either the docs should make this very clear or the behavior should ideally be changed but that would probably mean a breaking change. Anyway, if <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="30279843" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/10547" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/10547/hovercard" href="https://github.com/symfony/symfony/issues/10547">#10547</a> gets a go ahead I think that the time comparison "magic" should be removed or at least hidden behind some appropriately named parameter.</p> | 0 |
<p dir="auto">I'm pretty excited about the new xmap feature and so I took it for a spin.I know xmap is a bit unstable at the moment (or I may have done something incorrectly!) so I thought I'd raise the following issue.</p>
<p dir="auto">xmap doesn't seem to like the following (although jit is fine with it), triggering what looks like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="434056089" data-permission-text="Title is private" data-url="https://github.com/google/jax/issues/620" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/620/hovercard" href="https://github.com/google/jax/issues/620">#620</a>.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" l = lm[:, 0, None, None] # noqa"><pre class="notranslate"> <span class="pl-s1">l</span> <span class="pl-c1">=</span> <span class="pl-s1">lm</span>[:, <span class="pl-c1">0</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>] <span class="pl-c"># noqa</span></pre></div>
<p dir="auto">producing the following exception</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="IndexError: Too many indices for array: 2 non-None/Ellipsis indices for dim 0."><pre class="notranslate"><code class="notranslate">IndexError: Too many indices for array: 2 non-None/Ellipsis indices for dim 0.
</code></pre></div>
<p dir="auto">This occurs on <code class="notranslate">jax==jax==0.2.11</code> and <code class="notranslate">jaxlib==0.1.64</code></p>
<p dir="auto">I don't think it is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="434056089" data-permission-text="Title is private" data-url="https://github.com/google/jax/issues/620" data-hovercard-type="issue" data-hovercard-url="/google/jax/issues/620/hovercard" href="https://github.com/google/jax/issues/620">#620</a> as I'll explain at the end of the traceback:</p>
<p dir="auto">See the full example below:</p>
<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li>
</ul>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax
import jax.config
from jax.experimental.maps import xmap, mesh
import jax.numpy as np
from jax import jit
import numpy as onp
minus_two_pi_over_c = -2*np.pi/3e8
@jit
def phase_delay(lm, uvw, frequency):
out_dtype = np.result_type(lm, uvw, frequency, np.complex64)
one = lm.dtype.type(1.0)
neg_two_pi_over_c = lm.dtype.type(minus_two_pi_over_c)
complex_one = out_dtype.type(1j)
l = lm[:, 0, None, None] # noqa
m = lm[:, 1, None, None]
u = uvw[None, :, 0, None]
v = uvw[None, :, 1, None]
w = uvw[None, :, 2, None]
n = np.sqrt(one - l**2 - m**2) - one
real_phase = (neg_two_pi_over_c *
(l * u + m * v + n * w) *
frequency[None, None, :])
return np.exp(complex_one*real_phase)
if __name__ == "__main__":
jax.config.update("jax_enable_x64", True)
src = 10
row = 1000
chan = 64
key = jax.random.PRNGKey(42)
lm = jax.random.normal(key, (src, 2)) - 0.5
uvw = (jax.random.normal(key, (row, 3)) - 0.5)*10000
freq = np.linspace(.856e9, 2*.856e9, chan)
with mesh(onp.array(jax.devices()) ("row",)):
xphase = xmap(phase_delay,
in_axes=(["source", "lm"],
["row", "uvw"],
["chan"]),
out_axes=["source", "row", "chan"],
axis_resources={"row": "row"})
xphase(lm, uvw, freq)"><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">config</span>
<span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">experimental</span>.<span class="pl-s1">maps</span> <span class="pl-k">import</span> <span class="pl-s1">xmap</span>, <span class="pl-s1">mesh</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">np</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-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">onp</span>
<span class="pl-s1">minus_two_pi_over_c</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">2</span><span class="pl-c1">*</span><span class="pl-s1">np</span>.<span class="pl-s1">pi</span><span class="pl-c1">/</span><span class="pl-c1">3e8</span>
<span class="pl-en">@<span class="pl-s1">jit</span></span>
<span class="pl-k">def</span> <span class="pl-en">phase_delay</span>(<span class="pl-s1">lm</span>, <span class="pl-s1">uvw</span>, <span class="pl-s1">frequency</span>):
<span class="pl-s1">out_dtype</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">result_type</span>(<span class="pl-s1">lm</span>, <span class="pl-s1">uvw</span>, <span class="pl-s1">frequency</span>, <span class="pl-s1">np</span>.<span class="pl-s1">complex64</span>)
<span class="pl-s1">one</span> <span class="pl-c1">=</span> <span class="pl-s1">lm</span>.<span class="pl-s1">dtype</span>.<span class="pl-en">type</span>(<span class="pl-c1">1.0</span>)
<span class="pl-s1">neg_two_pi_over_c</span> <span class="pl-c1">=</span> <span class="pl-s1">lm</span>.<span class="pl-s1">dtype</span>.<span class="pl-en">type</span>(<span class="pl-s1">minus_two_pi_over_c</span>)
<span class="pl-s1">complex_one</span> <span class="pl-c1">=</span> <span class="pl-s1">out_dtype</span>.<span class="pl-en">type</span>(<span class="pl-c1">1j</span>)
<span class="pl-s1">l</span> <span class="pl-c1">=</span> <span class="pl-s1">lm</span>[:, <span class="pl-c1">0</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>] <span class="pl-c"># noqa</span>
<span class="pl-s1">m</span> <span class="pl-c1">=</span> <span class="pl-s1">lm</span>[:, <span class="pl-c1">1</span>, <span class="pl-c1">None</span>, <span class="pl-c1">None</span>]
<span class="pl-s1">u</span> <span class="pl-c1">=</span> <span class="pl-s1">uvw</span>[<span class="pl-c1">None</span>, :, <span class="pl-c1">0</span>, <span class="pl-c1">None</span>]
<span class="pl-s1">v</span> <span class="pl-c1">=</span> <span class="pl-s1">uvw</span>[<span class="pl-c1">None</span>, :, <span class="pl-c1">1</span>, <span class="pl-c1">None</span>]
<span class="pl-s1">w</span> <span class="pl-c1">=</span> <span class="pl-s1">uvw</span>[<span class="pl-c1">None</span>, :, <span class="pl-c1">2</span>, <span class="pl-c1">None</span>]
<span class="pl-s1">n</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">sqrt</span>(<span class="pl-s1">one</span> <span class="pl-c1">-</span> <span class="pl-s1">l</span><span class="pl-c1">**</span><span class="pl-c1">2</span> <span class="pl-c1">-</span> <span class="pl-s1">m</span><span class="pl-c1">**</span><span class="pl-c1">2</span>) <span class="pl-c1">-</span> <span class="pl-s1">one</span>
<span class="pl-s1">real_phase</span> <span class="pl-c1">=</span> (<span class="pl-s1">neg_two_pi_over_c</span> <span class="pl-c1">*</span>
(<span class="pl-s1">l</span> <span class="pl-c1">*</span> <span class="pl-s1">u</span> <span class="pl-c1">+</span> <span class="pl-s1">m</span> <span class="pl-c1">*</span> <span class="pl-s1">v</span> <span class="pl-c1">+</span> <span class="pl-s1">n</span> <span class="pl-c1">*</span> <span class="pl-s1">w</span>) <span class="pl-c1">*</span>
<span class="pl-s1">frequency</span>[<span class="pl-c1">None</span>, <span class="pl-c1">None</span>, :])
<span class="pl-k">return</span> <span class="pl-s1">np</span>.<span class="pl-en">exp</span>(<span class="pl-s1">complex_one</span><span class="pl-c1">*</span><span class="pl-s1">real_phase</span>)
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>:
<span class="pl-s1">jax</span>.<span class="pl-s1">config</span>.<span class="pl-en">update</span>(<span class="pl-s">"jax_enable_x64"</span>, <span class="pl-c1">True</span>)
<span class="pl-s1">src</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span>
<span class="pl-s1">row</span> <span class="pl-c1">=</span> <span class="pl-c1">1000</span>
<span class="pl-s1">chan</span> <span class="pl-c1">=</span> <span class="pl-c1">64</span>
<span class="pl-s1">key</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">42</span>)
<span class="pl-s1">lm</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">normal</span>(<span class="pl-s1">key</span>, (<span class="pl-s1">src</span>, <span class="pl-c1">2</span>)) <span class="pl-c1">-</span> <span class="pl-c1">0.5</span>
<span class="pl-s1">uvw</span> <span class="pl-c1">=</span> (<span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">normal</span>(<span class="pl-s1">key</span>, (<span class="pl-s1">row</span>, <span class="pl-c1">3</span>)) <span class="pl-c1">-</span> <span class="pl-c1">0.5</span>)<span class="pl-c1">*</span><span class="pl-c1">10000</span>
<span class="pl-s1">freq</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">.856e9</span>, <span class="pl-c1">2</span><span class="pl-c1">*</span><span class="pl-c1">.856e9</span>, <span class="pl-s1">chan</span>)
<span class="pl-k">with</span> <span class="pl-en">mesh</span>(<span class="pl-s1">onp</span>.<span class="pl-en">array</span>(<span class="pl-s1">jax</span>.<span class="pl-en">devices</span>()) (<span class="pl-s">"row"</span>,)):
<span class="pl-s1">xphase</span> <span class="pl-c1">=</span> <span class="pl-en">xmap</span>(<span class="pl-s1">phase_delay</span>,
<span class="pl-s1">in_axes</span><span class="pl-c1">=</span>([<span class="pl-s">"source"</span>, <span class="pl-s">"lm"</span>],
[<span class="pl-s">"row"</span>, <span class="pl-s">"uvw"</span>],
[<span class="pl-s">"chan"</span>]),
<span class="pl-s1">out_axes</span><span class="pl-c1">=</span>[<span class="pl-s">"source"</span>, <span class="pl-s">"row"</span>, <span class="pl-s">"chan"</span>],
<span class="pl-s1">axis_resources</span><span class="pl-c1">=</span>{<span class="pl-s">"row"</span>: <span class="pl-s">"row"</span>})
<span class="pl-en">xphase</span>(<span class="pl-s1">lm</span>, <span class="pl-s1">uvw</span>, <span class="pl-s1">freq</span>)</pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ XLA_FLAGS="--xla_force_host_platform_device_count=8" python test_xmap.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py:411: UserWarning: xmap is an experimental feature and probably has bugs!
warn("xmap is an experimental feature and probably has bugs!")
Traceback (most recent call last):
File "test_xmap.py", line 95, in <module>
xphase(lm, uvw, freq)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 524, in fun_mapped
backend=backend)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 651, in bind
return core.call_bind(self, fun, *args, **params) # type: ignore
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1393, in call_bind
outs = primitive.process(top_trace, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 654, in process
return trace.process_xmap(self, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 600, in process_call
return primitive.impl(f, *tracers, **params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 539, in xmap_impl
axis_resources, resource_env, backend, *in_avals)(*args)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/linear_util.py", line 260, in memoized_fun
ans = call(fun, *args)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 554, in make_xmap_callable
jaxpr, _, consts = pe.trace_to_jaxpr_final(fun, mapped_in_avals)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1228, in trace_to_jaxpr_final
jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(fun, main, in_avals)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1208, in trace_to_subjaxpr_dynamic
ans = fun.call_wrapped(*in_tracers)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/linear_util.py", line 166, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/api.py", line 382, in f_jitted
return cpp_jitted_f(context, *args, **kwargs)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/api.py", line 351, in cache_miss_wrapper
def cache_miss_wrapper(_, *args, **kw): return cache_miss(*args, **kw)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/api.py", line 301, in cache_miss
donated_invars=donated_invars)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1402, in bind
return call_bind(self, fun, *args, **params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1393, in call_bind
outs = primitive.process(top_trace, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1405, in process
return trace.process_call(self, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1082, in process_call
jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(f, self.main, in_avals)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1208, in trace_to_subjaxpr_dynamic
ans = fun.call_wrapped(*in_tracers)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/linear_util.py", line 166, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "test_xmap.py", line 20, in phase_delay
l = lm[:, 0, None, None] # noqa
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 527, in __getitem__
def __getitem__(self, idx): return self.aval._getitem(self, idx)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4462, in _rewriting_take
return _gather(arr, treedef, static_idx, dynamic_idx)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4469, in _gather
indexer = _index_to_gather(shape(arr), idx) # shared with _scatter_update
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4553, in _index_to_gather
idx = _canonicalize_tuple_index(len(x_shape), idx)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4825, in _canonicalize_tuple_index
raise IndexError(msg.format(len_without_none, arr_ndim))
IndexError: Too many indices for array: 2 non-None/Ellipsis indices for dim 0."><pre lang="traceback" class="notranslate"><code class="notranslate">$ XLA_FLAGS="--xla_force_host_platform_device_count=8" python test_xmap.py
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py:411: UserWarning: xmap is an experimental feature and probably has bugs!
warn("xmap is an experimental feature and probably has bugs!")
Traceback (most recent call last):
File "test_xmap.py", line 95, in <module>
xphase(lm, uvw, freq)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 524, in fun_mapped
backend=backend)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 651, in bind
return core.call_bind(self, fun, *args, **params) # type: ignore
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1393, in call_bind
outs = primitive.process(top_trace, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 654, in process
return trace.process_xmap(self, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 600, in process_call
return primitive.impl(f, *tracers, **params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 539, in xmap_impl
axis_resources, resource_env, backend, *in_avals)(*args)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/linear_util.py", line 260, in memoized_fun
ans = call(fun, *args)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/experimental/maps.py", line 554, in make_xmap_callable
jaxpr, _, consts = pe.trace_to_jaxpr_final(fun, mapped_in_avals)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1228, in trace_to_jaxpr_final
jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(fun, main, in_avals)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1208, in trace_to_subjaxpr_dynamic
ans = fun.call_wrapped(*in_tracers)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/linear_util.py", line 166, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/api.py", line 382, in f_jitted
return cpp_jitted_f(context, *args, **kwargs)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/api.py", line 351, in cache_miss_wrapper
def cache_miss_wrapper(_, *args, **kw): return cache_miss(*args, **kw)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/api.py", line 301, in cache_miss
donated_invars=donated_invars)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1402, in bind
return call_bind(self, fun, *args, **params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1393, in call_bind
outs = primitive.process(top_trace, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 1405, in process
return trace.process_call(self, fun, tracers, params)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1082, in process_call
jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(f, self.main, in_avals)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/interpreters/partial_eval.py", line 1208, in trace_to_subjaxpr_dynamic
ans = fun.call_wrapped(*in_tracers)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/linear_util.py", line 166, in call_wrapped
ans = self.f(*args, **dict(self.params, **kwargs))
File "test_xmap.py", line 20, in phase_delay
l = lm[:, 0, None, None] # noqa
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/core.py", line 527, in __getitem__
def __getitem__(self, idx): return self.aval._getitem(self, idx)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4462, in _rewriting_take
return _gather(arr, treedef, static_idx, dynamic_idx)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4469, in _gather
indexer = _index_to_gather(shape(arr), idx) # shared with _scatter_update
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4553, in _index_to_gather
idx = _canonicalize_tuple_index(len(x_shape), idx)
File "/home/sperkins/venv/jax/lib/python3.6/site-packages/jax/_src/numpy/lax_numpy.py", line 4825, in _canonicalize_tuple_index
raise IndexError(msg.format(len_without_none, arr_ndim))
IndexError: Too many indices for array: 2 non-None/Ellipsis indices for dim 0.
</code></pre></div>
<p dir="auto">What I find interesting is that <code class="notranslate">arr_ndim == 0</code> so it looks to me like the tracing process is trying to slice a 0-length array. Thus I may be using xmap incorrectly, but I've done some checking. Any thoughts?</p> | <p dir="auto">Hi, I'm working in a simple optimization problem with image transformations. However, the gradient function fails and I can not understand why, as there is an array without nan values to the power of a number, which is not supposed to fail but gives nan. Furthermore, the numbers are not big. I would appreciate some help :)</p>
<p dir="auto">by the way, the grad function works for different input values (e.g. <code class="notranslate">x=[0.]*3</code>)</p>
<p dir="auto">Please:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug</li>
</ul>
<p dir="auto">Reproducible example:<br>
<a href="https://drive.google.com/drive/folders/1rxjUF7nsagSyOKt4iGbM38d0CN5NgVne?usp=sharing" rel="nofollow">in my drive because of two images</a> but it's a colab notebook :)</p>
<p dir="auto">traceback: (the print statements in the beginning are there to check the value of <code class="notranslate">arr</code>)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="are there nans in arr? False
max Traced<ConcreteArray(1.1942956)>with<JVPTrace(level=2/0)>
with primal = DeviceArray(1.1942956, dtype=float32)
tangent = Traced<ShapedArray(float32[]):JaxprTrace(level=1/0)>
min Traced<ConcreteArray(-0.097952805)>with<JVPTrace(level=2/0)>
with primal = DeviceArray(-0.09795281, dtype=float32)
tangent = Traced<ShapedArray(float32[]):JaxprTrace(level=1/0)>
---------------------------------------------------------------------------
UnfilteredStackTrace Traceback (most recent call last)
<ipython-input-40-72c254e38e5c> in <module>()
2 config.update("jax_debug_nans", True)
----> 3 dloss(raw1, target1, full_transformation, [.1]*3)
4
27 frames
/usr/local/lib/python3.7/dist-packages/jax/_src/traceback_util.py in reraise_with_filtered_traceback(*args, **kwargs)
182 try:
--> 183 return fun(*args, **kwargs)
184 except Exception as e:
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in grad_f(*args, **kwargs)
828 def grad_f(*args, **kwargs):
--> 829 _, g = value_and_grad_f(*args, **kwargs)
830 return g
/usr/local/lib/python3.7/dist-packages/jax/_src/traceback_util.py in reraise_with_filtered_traceback(*args, **kwargs)
182 try:
--> 183 return fun(*args, **kwargs)
184 except Exception as e:
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in value_and_grad_f(*args, **kwargs)
900 if not has_aux:
--> 901 ans, vjp_py = _vjp(f_partial, *dyn_args, reduce_axes=reduce_axes)
902 else:
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in _vjp(fun, has_aux, reduce_axes, *primals)
1996 out_primal, out_vjp = ad.vjp(
-> 1997 flat_fun, primals_flat, reduce_axes=reduce_axes)
1998 out_tree = out_tree()
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in vjp(traceable, primals, has_aux, reduce_axes)
114 if not has_aux:
--> 115 out_primals, pvals, jaxpr, consts = linearize(traceable, *primals)
116 else:
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in linearize(traceable, *primals, **kwargs)
101 jvpfun_flat, out_tree = flatten_fun(jvpfun, in_tree)
--> 102 jaxpr, out_pvals, consts = pe.trace_to_jaxpr(jvpfun_flat, in_pvals)
103 out_primals_pvals, out_tangents_pvals = tree_unflatten(out_tree(), out_pvals)
/usr/local/lib/python3.7/dist-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr(fun, pvals, instantiate)
504 fun = trace_to_subjaxpr(fun, main, instantiate)
--> 505 jaxpr, (out_pvals, consts, env) = fun.call_wrapped(pvals)
506 assert not env
/usr/local/lib/python3.7/dist-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs)
165 try:
--> 166 ans = self.f(*args, **dict(self.params, **kwargs))
167 except:
<ipython-input-36-5e6c764e260d> in loss(raw1, target1, transformation, x)
11 '''x represents the parameters of the transformation (powers in our case)'''
---> 12 return dE(transformation(raw1, x), target1)
13
<ipython-input-34-fc9812f7e0ed> in dE(img1, img2)
31 def dE(img1, img2):
---> 32 return jnp.mean(jnp.sqrt(jnp.sum((jax_rgb2lab(img1) - jax_rgb2lab(img2))**2, axis=-1)))
33
<ipython-input-34-fc9812f7e0ed> in jax_rgb2lab(img)
16 print('min', arr.min()) # debugging purposes
---> 17 arr = jnp.power((arr + 0.055) / 1.055, 2.4) * mask + (arr / 12.92) * (1 - mask)
18 arr = arr @ xyz_from_rgb_T
/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py in power(x1, x2)
638 if not issubdtype(dtype, integer):
--> 639 return lax.pow(x1, x2)
640
/usr/local/lib/python3.7/dist-packages/jax/_src/lax/lax.py in pow(x, y)
299 r"""Elementwise power: :math:`x^y`."""
--> 300 return pow_p.bind(x, y)
301
/usr/local/lib/python3.7/dist-packages/jax/core.py in bind(self, *args, **params)
263 tracers = map(top_trace.full_raise, args)
--> 264 out = top_trace.process_primitive(self, tracers, params)
265 return map(full_lower, out) if self.multiple_results else full_lower(out)
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in process_primitive(self, primitive, tracers, params)
282 raise NotImplementedError(msg)
--> 283 primal_out, tangent_out = jvp(primals_in, tangents_in, **params)
284 if primitive.multiple_results:
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in standard_jvp2(jvprules, primitive, primals, tangents, **params)
470 def standard_jvp2(jvprules, primitive, primals, tangents, **params):
--> 471 val_out = primitive.bind(*primals, **params)
472 tangents_out = (rule(t, val_out, *primals, **params) for rule, t in zip(jvprules, tangents)
/usr/local/lib/python3.7/dist-packages/jax/core.py in bind(self, *args, **params)
263 tracers = map(top_trace.full_raise, args)
--> 264 out = top_trace.process_primitive(self, tracers, params)
265 return map(full_lower, out) if self.multiple_results else full_lower(out)
/usr/local/lib/python3.7/dist-packages/jax/core.py in process_primitive(self, primitive, tracers, params)
602 def process_primitive(self, primitive, tracers, params):
--> 603 return primitive.impl(*tracers, **params)
604
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in apply_primitive(prim, *args, **params)
248 compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args), **params)
--> 249 return compiled_fun(*args)
250
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in _execute_compiled_primitive(prim, compiled, result_handler, *args)
365 out_bufs = compiled.execute(input_bufs)
--> 366 check_special(prim.name, out_bufs)
367 return result_handler(*out_bufs)
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in check_special(name, bufs)
384 for buf in bufs:
--> 385 _check_special(name, buf.xla_shape(), buf)
386
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in _check_special(name, xla_shape, buf)
390 if config.jax_debug_nans and np.any(np.isnan(buf.to_py())):
--> 391 raise FloatingPointError(f"invalid value (nan) encountered in {name}")
392 if config.jax_debug_infs and np.any(np.isinf(buf.to_py())):
UnfilteredStackTrace: FloatingPointError: invalid value (nan) encountered in pow
The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.
--------------------
The above exception was the direct cause of the following exception:
FloatingPointError Traceback (most recent call last)
<ipython-input-40-72c254e38e5c> in <module>()
1 from jax.config import config
2 config.update("jax_debug_nans", True)
----> 3 dloss(raw1, target1, full_transformation, [.1]*3)
4
5 # jax.make_jaxpr(dloss, static_argnums=[0, 1, 2])(raw1, target1, full_transformation, [.1]*3)
<ipython-input-36-5e6c764e260d> in loss(raw1, target1, transformation, x)
10 def loss(raw1, target1, transformation, x):
11 '''x represents the parameters of the transformation (powers in our case)'''
---> 12 return dE(transformation(raw1, x), target1)
13
14 jit_loss = jax.jit(loss)
<ipython-input-34-fc9812f7e0ed> in dE(img1, img2)
30
31 def dE(img1, img2):
---> 32 return jnp.mean(jnp.sqrt(jnp.sum((jax_rgb2lab(img1) - jax_rgb2lab(img2))**2, axis=-1)))
33
<ipython-input-34-fc9812f7e0ed> in jax_rgb2lab(img)
15 print('max', arr.max()) # debugging purposes
16 print('min', arr.min()) # debugging purposes
---> 17 arr = jnp.power((arr + 0.055) / 1.055, 2.4) * mask + (arr / 12.92) * (1 - mask)
18 arr = arr @ xyz_from_rgb_T
19 # scale by CIE XYZ tristimulus values of the reference white point
/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py in power(x1, x2)
637 dtype = _dtype(x1)
638 if not issubdtype(dtype, integer):
--> 639 return lax.pow(x1, x2)
640
641 # Integer power => use binary exponentiation.
FloatingPointError: invalid value (nan) encountered in pow"><pre class="notranslate"><code class="notranslate">are there nans in arr? False
max Traced<ConcreteArray(1.1942956)>with<JVPTrace(level=2/0)>
with primal = DeviceArray(1.1942956, dtype=float32)
tangent = Traced<ShapedArray(float32[]):JaxprTrace(level=1/0)>
min Traced<ConcreteArray(-0.097952805)>with<JVPTrace(level=2/0)>
with primal = DeviceArray(-0.09795281, dtype=float32)
tangent = Traced<ShapedArray(float32[]):JaxprTrace(level=1/0)>
---------------------------------------------------------------------------
UnfilteredStackTrace Traceback (most recent call last)
<ipython-input-40-72c254e38e5c> in <module>()
2 config.update("jax_debug_nans", True)
----> 3 dloss(raw1, target1, full_transformation, [.1]*3)
4
27 frames
/usr/local/lib/python3.7/dist-packages/jax/_src/traceback_util.py in reraise_with_filtered_traceback(*args, **kwargs)
182 try:
--> 183 return fun(*args, **kwargs)
184 except Exception as e:
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in grad_f(*args, **kwargs)
828 def grad_f(*args, **kwargs):
--> 829 _, g = value_and_grad_f(*args, **kwargs)
830 return g
/usr/local/lib/python3.7/dist-packages/jax/_src/traceback_util.py in reraise_with_filtered_traceback(*args, **kwargs)
182 try:
--> 183 return fun(*args, **kwargs)
184 except Exception as e:
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in value_and_grad_f(*args, **kwargs)
900 if not has_aux:
--> 901 ans, vjp_py = _vjp(f_partial, *dyn_args, reduce_axes=reduce_axes)
902 else:
/usr/local/lib/python3.7/dist-packages/jax/_src/api.py in _vjp(fun, has_aux, reduce_axes, *primals)
1996 out_primal, out_vjp = ad.vjp(
-> 1997 flat_fun, primals_flat, reduce_axes=reduce_axes)
1998 out_tree = out_tree()
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in vjp(traceable, primals, has_aux, reduce_axes)
114 if not has_aux:
--> 115 out_primals, pvals, jaxpr, consts = linearize(traceable, *primals)
116 else:
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in linearize(traceable, *primals, **kwargs)
101 jvpfun_flat, out_tree = flatten_fun(jvpfun, in_tree)
--> 102 jaxpr, out_pvals, consts = pe.trace_to_jaxpr(jvpfun_flat, in_pvals)
103 out_primals_pvals, out_tangents_pvals = tree_unflatten(out_tree(), out_pvals)
/usr/local/lib/python3.7/dist-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr(fun, pvals, instantiate)
504 fun = trace_to_subjaxpr(fun, main, instantiate)
--> 505 jaxpr, (out_pvals, consts, env) = fun.call_wrapped(pvals)
506 assert not env
/usr/local/lib/python3.7/dist-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs)
165 try:
--> 166 ans = self.f(*args, **dict(self.params, **kwargs))
167 except:
<ipython-input-36-5e6c764e260d> in loss(raw1, target1, transformation, x)
11 '''x represents the parameters of the transformation (powers in our case)'''
---> 12 return dE(transformation(raw1, x), target1)
13
<ipython-input-34-fc9812f7e0ed> in dE(img1, img2)
31 def dE(img1, img2):
---> 32 return jnp.mean(jnp.sqrt(jnp.sum((jax_rgb2lab(img1) - jax_rgb2lab(img2))**2, axis=-1)))
33
<ipython-input-34-fc9812f7e0ed> in jax_rgb2lab(img)
16 print('min', arr.min()) # debugging purposes
---> 17 arr = jnp.power((arr + 0.055) / 1.055, 2.4) * mask + (arr / 12.92) * (1 - mask)
18 arr = arr @ xyz_from_rgb_T
/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py in power(x1, x2)
638 if not issubdtype(dtype, integer):
--> 639 return lax.pow(x1, x2)
640
/usr/local/lib/python3.7/dist-packages/jax/_src/lax/lax.py in pow(x, y)
299 r"""Elementwise power: :math:`x^y`."""
--> 300 return pow_p.bind(x, y)
301
/usr/local/lib/python3.7/dist-packages/jax/core.py in bind(self, *args, **params)
263 tracers = map(top_trace.full_raise, args)
--> 264 out = top_trace.process_primitive(self, tracers, params)
265 return map(full_lower, out) if self.multiple_results else full_lower(out)
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in process_primitive(self, primitive, tracers, params)
282 raise NotImplementedError(msg)
--> 283 primal_out, tangent_out = jvp(primals_in, tangents_in, **params)
284 if primitive.multiple_results:
/usr/local/lib/python3.7/dist-packages/jax/interpreters/ad.py in standard_jvp2(jvprules, primitive, primals, tangents, **params)
470 def standard_jvp2(jvprules, primitive, primals, tangents, **params):
--> 471 val_out = primitive.bind(*primals, **params)
472 tangents_out = (rule(t, val_out, *primals, **params) for rule, t in zip(jvprules, tangents)
/usr/local/lib/python3.7/dist-packages/jax/core.py in bind(self, *args, **params)
263 tracers = map(top_trace.full_raise, args)
--> 264 out = top_trace.process_primitive(self, tracers, params)
265 return map(full_lower, out) if self.multiple_results else full_lower(out)
/usr/local/lib/python3.7/dist-packages/jax/core.py in process_primitive(self, primitive, tracers, params)
602 def process_primitive(self, primitive, tracers, params):
--> 603 return primitive.impl(*tracers, **params)
604
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in apply_primitive(prim, *args, **params)
248 compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args), **params)
--> 249 return compiled_fun(*args)
250
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in _execute_compiled_primitive(prim, compiled, result_handler, *args)
365 out_bufs = compiled.execute(input_bufs)
--> 366 check_special(prim.name, out_bufs)
367 return result_handler(*out_bufs)
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in check_special(name, bufs)
384 for buf in bufs:
--> 385 _check_special(name, buf.xla_shape(), buf)
386
/usr/local/lib/python3.7/dist-packages/jax/interpreters/xla.py in _check_special(name, xla_shape, buf)
390 if config.jax_debug_nans and np.any(np.isnan(buf.to_py())):
--> 391 raise FloatingPointError(f"invalid value (nan) encountered in {name}")
392 if config.jax_debug_infs and np.any(np.isinf(buf.to_py())):
UnfilteredStackTrace: FloatingPointError: invalid value (nan) encountered in pow
The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.
--------------------
The above exception was the direct cause of the following exception:
FloatingPointError Traceback (most recent call last)
<ipython-input-40-72c254e38e5c> in <module>()
1 from jax.config import config
2 config.update("jax_debug_nans", True)
----> 3 dloss(raw1, target1, full_transformation, [.1]*3)
4
5 # jax.make_jaxpr(dloss, static_argnums=[0, 1, 2])(raw1, target1, full_transformation, [.1]*3)
<ipython-input-36-5e6c764e260d> in loss(raw1, target1, transformation, x)
10 def loss(raw1, target1, transformation, x):
11 '''x represents the parameters of the transformation (powers in our case)'''
---> 12 return dE(transformation(raw1, x), target1)
13
14 jit_loss = jax.jit(loss)
<ipython-input-34-fc9812f7e0ed> in dE(img1, img2)
30
31 def dE(img1, img2):
---> 32 return jnp.mean(jnp.sqrt(jnp.sum((jax_rgb2lab(img1) - jax_rgb2lab(img2))**2, axis=-1)))
33
<ipython-input-34-fc9812f7e0ed> in jax_rgb2lab(img)
15 print('max', arr.max()) # debugging purposes
16 print('min', arr.min()) # debugging purposes
---> 17 arr = jnp.power((arr + 0.055) / 1.055, 2.4) * mask + (arr / 12.92) * (1 - mask)
18 arr = arr @ xyz_from_rgb_T
19 # scale by CIE XYZ tristimulus values of the reference white point
/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py in power(x1, x2)
637 dtype = _dtype(x1)
638 if not issubdtype(dtype, integer):
--> 639 return lax.pow(x1, x2)
640
641 # Integer power => use binary exponentiation.
FloatingPointError: invalid value (nan) encountered in pow
</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> | 0 |
<p dir="auto">REF: <a href="https://github.com/scikit-learn/scikit-learn/pull/18183/files#r472079672">https://github.com/scikit-learn/scikit-learn/pull/18183/files#r472079672</a></p> | <p dir="auto">Currently, the following list of metrics will raise an error if <code class="notranslate">str</code> are provided as labels and that <code class="notranslate">pos_label</code> is not defined and needed to compute the metrics:</p>
<ul dir="auto">
<li><code class="notranslate">average_precision_score</code></li>
<li><code class="notranslate">f1_score</code></li>
<li><code class="notranslate">fbeta_score</code></li>
<li><code class="notranslate">jaccard_score</code></li>
<li><code class="notranslate">precision_recall_curve</code></li>
<li><code class="notranslate">precision_score</code></li>
<li><code class="notranslate">recall_score</code></li>
<li><code class="notranslate">roc_curve</code></li>
</ul>
<p dir="auto">We try to make sure that the error message is consistent in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="681646578" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/18192" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/18192/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/18192">#18192</a></p>
<p dir="auto"><code class="notranslate">brier_score_loss</code> should supposedly follow the behaviour than the other metrics. However, it seems that up-to-now, it does some inference when labels are string.</p>
<p dir="auto">Thus, 2 questions can be raised:</p>
<ul dir="auto">
<li>Is it normal that <code class="notranslate">brier_score_loss</code> can do such inference or should it raise a similar error as other metrics?</li>
<li>If it should raise an error, shall we open consider as a bug fix or make a deprecation cycle?</li>
</ul> | 1 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">When using the “WXAgg” backend, I’m unable to draw a zoom region on one of the two axes of a matplotlib figure.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# coding=utf-8
import matplotlib
matplotlib.use("WXAgg")
import matplotlib.backends.backend_wx
import matplotlib.backends.backend_wxagg
import matplotlib.figure
import matplotlib.pyplot
import skimage.data
import wx
class App(wx.App):
def OnInit(self):
x = skimage.data.chelsea()
y = skimage.data.chelsea()
frame = Frame(x, y)
frame.Show(True)
return True
class Frame(wx.Frame):
def __init__(self, x, y):
wx.Frame.__init__(self, None, -1, "…", size=(800, 600))
self.x = x
self.y = y
self.figure, (a, b) = matplotlib.pyplot.subplots(
figsize=(12, 6),
ncols=2,
sharex=True,
sharey=True
)
a.imshow(self.x)
b.imshow(self.y)
self.canvas = matplotlib.backends.backend_wxagg.FigureCanvasWxAgg(self, -1, self.figure)
self.sizer = wx.BoxSizer(wx.VERTICAL)
self.toolbar = NavigationToolbar(self.canvas)
self.toolbar.Realize()
self.sizer.Add(self.toolbar, 0, wx.GROW)
self.toolbar.update()
self.sizer.Add(self.canvas, 1, wx.LEFT | wx.TOP | wx.GROW)
self.SetSizer(self.sizer)
self.Fit()
def OnPaint(self, event):
self.canvas.draw()
class NavigationToolbar(matplotlib.backends.backend_wxagg.NavigationToolbar2WxAgg):
def __init__(self, canvas):
matplotlib.backends.backend_wxagg.NavigationToolbar2WxAgg.__init__(self, canvas)
if __name__ == "__main__":
app = App(0)
app.MainLoop()"><pre class="notranslate"><span class="pl-c"># coding=utf-8</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-s1">matplotlib</span>.<span class="pl-en">use</span>(<span class="pl-s">"WXAgg"</span>)
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wx</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wxagg</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">figure</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span>
<span class="pl-k">import</span> <span class="pl-s1">skimage</span>.<span class="pl-s1">data</span>
<span class="pl-k">import</span> <span class="pl-s1">wx</span>
<span class="pl-k">class</span> <span class="pl-v">App</span>(<span class="pl-s1">wx</span>.<span class="pl-v">App</span>):
<span class="pl-k">def</span> <span class="pl-v">OnInit</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">skimage</span>.<span class="pl-s1">data</span>.<span class="pl-en">chelsea</span>()
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">skimage</span>.<span class="pl-s1">data</span>.<span class="pl-en">chelsea</span>()
<span class="pl-s1">frame</span> <span class="pl-c1">=</span> <span class="pl-v">Frame</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>)
<span class="pl-s1">frame</span>.<span class="pl-v">Show</span>(<span class="pl-c1">True</span>)
<span class="pl-k">return</span> <span class="pl-c1">True</span>
<span class="pl-k">class</span> <span class="pl-v">Frame</span>(<span class="pl-s1">wx</span>.<span class="pl-v">Frame</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>, <span class="pl-s1">y</span>):
<span class="pl-s1">wx</span>.<span class="pl-v">Frame</span>.<span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-c1">None</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s">"…"</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">800</span>, <span class="pl-c1">600</span>))
<span class="pl-s1">self</span>.<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>
<span class="pl-s1">self</span>.<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">y</span>
<span class="pl-s1">self</span>.<span class="pl-s1">figure</span>, (<span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">=</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span>.<span class="pl-en">subplots</span>(
<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">12</span>, <span class="pl-c1">6</span>),
<span class="pl-s1">ncols</span><span class="pl-c1">=</span><span class="pl-c1">2</span>,
<span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">sharey</span><span class="pl-c1">=</span><span class="pl-c1">True</span>
)
<span class="pl-s1">a</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">self</span>.<span class="pl-s1">x</span>)
<span class="pl-s1">b</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">self</span>.<span class="pl-s1">y</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span> <span class="pl-c1">=</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wxagg</span>.<span class="pl-v">FigureCanvasWxAgg</span>(<span class="pl-s1">self</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s1">self</span>.<span class="pl-s1">figure</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">sizer</span> <span class="pl-c1">=</span> <span class="pl-s1">wx</span>.<span class="pl-v">BoxSizer</span>(<span class="pl-s1">wx</span>.<span class="pl-v">VERTICAL</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span> <span class="pl-c1">=</span> <span class="pl-v">NavigationToolbar</span>(<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span>.<span class="pl-v">Realize</span>()
<span class="pl-s1">self</span>.<span class="pl-s1">sizer</span>.<span class="pl-v">Add</span>(<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span>, <span class="pl-c1">0</span>, <span class="pl-s1">wx</span>.<span class="pl-v">GROW</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span>.<span class="pl-en">update</span>()
<span class="pl-s1">self</span>.<span class="pl-s1">sizer</span>.<span class="pl-v">Add</span>(<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>, <span class="pl-c1">1</span>, <span class="pl-s1">wx</span>.<span class="pl-v">LEFT</span> <span class="pl-c1">|</span> <span class="pl-s1">wx</span>.<span class="pl-v">TOP</span> <span class="pl-c1">|</span> <span class="pl-s1">wx</span>.<span class="pl-v">GROW</span>)
<span class="pl-s1">self</span>.<span class="pl-v">SetSizer</span>(<span class="pl-s1">self</span>.<span class="pl-s1">sizer</span>)
<span class="pl-s1">self</span>.<span class="pl-v">Fit</span>()
<span class="pl-k">def</span> <span class="pl-v">OnPaint</span>(<span class="pl-s1">self</span>, <span class="pl-s1">event</span>):
<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>.<span class="pl-en">draw</span>()
<span class="pl-k">class</span> <span class="pl-v">NavigationToolbar</span>(<span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wxagg</span>.<span class="pl-v">NavigationToolbar2WxAgg</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">canvas</span>):
<span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wxagg</span>.<span class="pl-v">NavigationToolbar2WxAgg</span>.<span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">canvas</span>)
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">"__main__"</span>:
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">App</span>(<span class="pl-c1">0</span>)
<span class="pl-s1">app</span>.<span class="pl-v">MainLoop</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/315821/29936010-ae848284-8e4e-11e7-8f91-6f61fc8f26bb.png"><img width="1192" alt="bug" src="https://user-images.githubusercontent.com/315821/29936010-ae848284-8e4e-11e7-8f91-6f61fc8f26bb.png" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">The Jupyter backend, for example, works:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="%matplotlib notebook
import matplotlib.pyplot
import skimage.data
figure, (a, b) = matplotlib.pyplot.subplots(
figsize=(6, 3),
ncols=2,
sharex=True,
sharey=True
)
image = skimage.data.chelsea()
a.imshow(image)
b.imshow(image)
figure.show()"><pre class="notranslate"><span class="pl-c1">%</span><span class="pl-s1">matplotlib</span> <span class="pl-s1">notebook</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span>
<span class="pl-k">import</span> <span class="pl-s1">skimage</span>.<span class="pl-s1">data</span>
<span class="pl-s1">figure</span>, (<span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">=</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span>.<span class="pl-en">subplots</span>(
<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">6</span>, <span class="pl-c1">3</span>),
<span class="pl-s1">ncols</span><span class="pl-c1">=</span><span class="pl-c1">2</span>,
<span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">sharey</span><span class="pl-c1">=</span><span class="pl-c1">True</span>
)
<span class="pl-s1">image</span> <span class="pl-c1">=</span> <span class="pl-s1">skimage</span>.<span class="pl-s1">data</span>.<span class="pl-en">chelsea</span>()
<span class="pl-s1">a</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">image</span>)
<span class="pl-s1">b</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">image</span>)
<span class="pl-s1">figure</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating System: macOS 10.11.6</li>
<li>Matplotlib Version: 2.0.2</li>
<li>Python Version: 2.7.13</li>
<li>Jupyter Version (if applicable):</li>
<li>Other Libraries:</li>
</ul>
<p dir="auto">cc: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RobinD42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RobinD42">@RobinD42</a></p> | <h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong><br>
On plots with the wxagg backend, when using zoom tool the zoom box (rubberband) doesn't display properly if there are multiple subfigures. It always displays on the last subfigure, regardless of which you click and drag on. The appropriate figure still zooms, regardless of where the box is drawn.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import wx
import matplotlib as mpl
from matplotlib.backends.backend_wxagg import NavigationToolbar2WxAgg
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
class PlotFrame(wx.Frame):
def __init__(self, parent, title, *args, **kwargs):
wx.Frame.__init__(self, parent, title=title, *args, **kwargs)
self.fig = mpl.figure.Figure((5,4))
self.subplot1 = self.fig.add_subplot(211)
self.subplot2 = self.fig.add_subplot(212)
self.canvas = FigureCanvasWxAgg(self, wx.ID_ANY, self.fig)
self.subplot1.plot([0,100],[0,100])
self.subplot2.plot([0,100],[0,100])
self.toolbar = NavigationToolbar2WxAgg(self.canvas)
self.toolbar.Realize()
sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(self.canvas, 1, wx.LEFT | wx.TOP | wx.GROW)
sizer.Add(self.toolbar, 0, wx.GROW)
self.SetSizer(sizer)
self.Layout()
self.Fit()
self.CenterOnScreen()
self.Show(True)
if __name__ == '__main__':
app = wx.App(False)
frame = PlotFrame(None, 'My Plot Frame')
app.MainLoop()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">wx</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">as</span> <span class="pl-s1">mpl</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wxagg</span> <span class="pl-k">import</span> <span class="pl-v">NavigationToolbar2WxAgg</span>
<span class="pl-k">from</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">backend_wxagg</span> <span class="pl-k">import</span> <span class="pl-v">FigureCanvasWxAgg</span>
<span class="pl-k">class</span> <span class="pl-v">PlotFrame</span>(<span class="pl-s1">wx</span>.<span class="pl-v">Frame</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">parent</span>, <span class="pl-s1">title</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">wx</span>.<span class="pl-v">Frame</span>.<span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">parent</span>, <span class="pl-s1">title</span><span class="pl-c1">=</span><span class="pl-s1">title</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">self</span>.<span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">mpl</span>.<span class="pl-s1">figure</span>.<span class="pl-v">Figure</span>((<span class="pl-c1">5</span>,<span class="pl-c1">4</span>))
<span class="pl-s1">self</span>.<span class="pl-s1">subplot1</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-c1">211</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">subplot2</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-c1">212</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span> <span class="pl-c1">=</span> <span class="pl-v">FigureCanvasWxAgg</span>(<span class="pl-s1">self</span>, <span class="pl-s1">wx</span>.<span class="pl-v">ID_ANY</span>, <span class="pl-s1">self</span>.<span class="pl-s1">fig</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">subplot1</span>.<span class="pl-en">plot</span>([<span class="pl-c1">0</span>,<span class="pl-c1">100</span>],[<span class="pl-c1">0</span>,<span class="pl-c1">100</span>])
<span class="pl-s1">self</span>.<span class="pl-s1">subplot2</span>.<span class="pl-en">plot</span>([<span class="pl-c1">0</span>,<span class="pl-c1">100</span>],[<span class="pl-c1">0</span>,<span class="pl-c1">100</span>])
<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span> <span class="pl-c1">=</span> <span class="pl-v">NavigationToolbar2WxAgg</span>(<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span>.<span class="pl-v">Realize</span>()
<span class="pl-s1">sizer</span> <span class="pl-c1">=</span> <span class="pl-s1">wx</span>.<span class="pl-v">BoxSizer</span>(<span class="pl-s1">wx</span>.<span class="pl-v">VERTICAL</span>)
<span class="pl-s1">sizer</span>.<span class="pl-v">Add</span>(<span class="pl-s1">self</span>.<span class="pl-s1">canvas</span>, <span class="pl-c1">1</span>, <span class="pl-s1">wx</span>.<span class="pl-v">LEFT</span> <span class="pl-c1">|</span> <span class="pl-s1">wx</span>.<span class="pl-v">TOP</span> <span class="pl-c1">|</span> <span class="pl-s1">wx</span>.<span class="pl-v">GROW</span>)
<span class="pl-s1">sizer</span>.<span class="pl-v">Add</span>(<span class="pl-s1">self</span>.<span class="pl-s1">toolbar</span>, <span class="pl-c1">0</span>, <span class="pl-s1">wx</span>.<span class="pl-v">GROW</span>)
<span class="pl-s1">self</span>.<span class="pl-v">SetSizer</span>(<span class="pl-s1">sizer</span>)
<span class="pl-s1">self</span>.<span class="pl-v">Layout</span>()
<span class="pl-s1">self</span>.<span class="pl-v">Fit</span>()
<span class="pl-s1">self</span>.<span class="pl-v">CenterOnScreen</span>()
<span class="pl-s1">self</span>.<span class="pl-v">Show</span>(<span class="pl-c1">True</span>)
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-s1">wx</span>.<span class="pl-v">App</span>(<span class="pl-c1">False</span>)
<span class="pl-s1">frame</span> <span class="pl-c1">=</span> <span class="pl-v">PlotFrame</span>(<span class="pl-c1">None</span>, <span class="pl-s">'My Plot Frame'</span>)
<span class="pl-s1">app</span>.<span class="pl-v">MainLoop</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong><br>
When using the zoom tool from the toolbar, if you click and drag on the top plot, the rubberband appears on the bottom plot. The upper plot is still the one that zooms, it is just the rubberband that is wrong. If you click and drag on the bottom plot, the rubberband appears on the bottom plot. This should be easy to verify with the code, but impossible to get a screenshot of :)</p>
<p dir="auto"><strong>Expected outcome</strong><br>
When using the zoom tool from the toolbar, if you click and drag on the top plot, the rubberband appears on the top plot. If you click and drag on the bottom plot, the rubberband appears on the bottom plot.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating System: macOS</li>
<li>Matplotlib Version: 2.0.2</li>
<li>Python Version: 2.7.12</li>
<li>wx Version: 3.0.0.0</li>
</ul>
<p dir="auto">matplotlib and wx were installed using conda, default channel.</p> | 1 |
<p dir="auto"><strong>Glide Version</strong>: 3.0.1</p>
<p dir="auto"><strong>Integration libraries</strong>:</p>
<p dir="auto"><strong>Device/Android Version</strong>: Android 7.1.1</p>
<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:</p>
<p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with..."><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-smi">with</span>...</pre></div>
<p dir="auto"><strong>Layout XML</strong>:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<FrameLayout xmlns:android="..."><pre class="notranslate"><<span class="pl-ent">FrameLayout</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>...</span></pre></div>
<p dir="auto"><strong>Stack trace / LogCat</strong>:</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="paste stack trace and/or log here"><pre class="notranslate"><span class="pl-en">paste</span> <span class="pl-en">stack</span> <span class="pl-en">trace</span> <span class="pl-k">and</span>/<span class="pl-en">or</span> <span class="pl-en">log</span> <span class="pl-en">here</span></pre></div>
<p dir="auto">I tested version >= 4.4.0, when I click icon turn to MainActivity, has a crash.<br>
version <= 4.3.1, no crash.<br>
MainActivity do nothing, only onCreate() { super.onCreate(); setContentView(R.layout.activity_main); }</p>
<p dir="auto">this is the crash log:<br>
03-02 15:12:33.452 1716-1897/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.miui.securitycenter/com.miui.permcenter.install.AdbInstallActivity/243<br>
03-02 15:12:33.458 1716-1897/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.securitycenter/com.miui.permcenter.install.AdbInstallActivity/243<br>
03-02 15:12:33.459 612-2691/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only<br>
03-02 15:12:33.464 1716-3080/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.securitycenter/com.miui.permcenter.install.AdbInstallActivity/243<br>
03-02 15:12:33.516 1716-3080/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/10000<br>
03-02 15:12:33.817 612-2691/? E/ANDR-PERF-RESOURCEQS: Failed to reset optimization [3, 0]<br>
03-02 15:12:34.721 2802-2802/? E/CardEmulation: AID 2PAY.SYS.DDF01 is not a valid AID.<br>
03-02 15:12:34.721 2802-2802/? E/ApduServiceInfo: Ignoring invalid or duplicate aid: 2PAY.SYS.DDF01<br>
03-02 15:12:34.732 2802-2802/? E/RegisteredServicesCache: Next Tag=services<br>
03-02 15:12:34.733 2802-2802/? E/RegisteredServicesCache: 1invalidateCache:WriteServiceStateToFile<br>
03-02 15:12:34.733 2802-2802/? E/RegisteredServicesCache: Writing service state Data Always<br>
03-02 15:12:34.739 2802-2802/? E/RegisteredServicesCache: component namecom.eg.android.AlipayGphone/com.alipay.android.phone.offlinepay.nfc.CardService<br>
03-02 15:12:34.739 2802-2802/? E/RegisteredServicesCache: uid name10070<br>
03-02 15:12:34.739 2802-2802/? E/RegisteredServicesCache: service State:2<br>
03-02 15:12:34.889 2951-3259/? E/Launcher.AllAppsList: Can't load postion for packageName: innocent.test activityName: innocent.test.MainActivity<br>
03-02 15:12:35.059 612-2691/? E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only<br>
03-02 15:12:35.060 1716-11202/? E/ActivityTrigger: activityStartTrigger: not whiteListedinnocent.test/innocent.test.MainActivity/1<br>
03-02 15:12:35.063 1716-11202/? E/ActivityTrigger: activityResumeTrigger: not whiteListedinnocent.test/innocent.test.MainActivity/1<br>
03-02 15:12:35.065 1716-3173/? E/ActivityTrigger: activityResumeTrigger: not whiteListedinnocent.test/innocent.test.MainActivity/1<br>
03-02 15:12:35.104 6811-6811/? E/art: No implementation found for int cn.jpush.android.service.PushProtocol.GetSdkVersion() (tried Java_cn_jpush_android_service_PushProtocol_GetSdkVersion and Java_cn_jpush_android_service_PushProtocol_GetSdkVersion__)<br>
03-02 15:12:35.104 6811-6811/? E/JPush: [JPushGlobal] Get sdk version fail![获取sdk版本失败!]<br>
03-02 15:12:35.105 6811-6811/? E/JPush: [JPushGlobal] JPush .so file do not match JPush .jar file in the project, Failed to init JPush<br>
03-02 15:12:35.124 2847-3066/? E/WtProcessController: Error pid or pid not exist<br>
03-02 15:12:35.346 6112-6112/? E/AndroidRuntime: FATAL EXCEPTION: main<br>
Process: innocent.test, PID: 6112<br>
java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat' appears in /data/app/innocent.test-1/split_lib_dependencies_apk.apk)<br>
at android.support.v7.widget.TintTypedArray.getFont(TintTypedArray.java:119)<br>
at android.support.v7.widget.AppCompatTextHelper.updateTypefaceAndStyle(AppCompatTextHelper.java:208)<br>
at android.support.v7.widget.AppCompatTextHelper.loadFromAttributes(AppCompatTextHelper.java:110)<br>
at android.support.v7.widget.AppCompatTextHelperV17.loadFromAttributes(AppCompatTextHelperV17.java:38)<br>
at android.support.v7.widget.AppCompatTextView.(AppCompatTextView.java:81)<br>
at android.support.v7.widget.AppCompatTextView.(AppCompatTextView.java:71)<br>
at android.support.v7.widget.AppCompatTextView.(AppCompatTextView.java:67)<br>
at android.support.v7.widget.Toolbar.setTitle(Toolbar.java:753)<br>
at android.support.v7.widget.ToolbarWidgetWrapper.setTitleInt(ToolbarWidgetWrapper.java:261)<br>
at android.support.v7.widget.ToolbarWidgetWrapper.setWindowTitle(ToolbarWidgetWrapper.java:243)<br>
at android.support.v7.widget.ActionBarOverlayLayout.setWindowTitle(ActionBarOverlayLayout.java:621)<br>
at android.support.v7.app.AppCompatDelegateImplV9.onTitleChanged(AppCompatDelegateImplV9.java:631)<br>
at android.support.v7.app.AppCompatDelegateImplV9.ensureSubDecor(AppCompatDelegateImplV9.java:328)<br>
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)<br>
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)<br>
at innocent.test.MainActivity.onCreate(MainActivity.java:11)<br>
at android.app.Activity.performCreate(Activity.java:6861)<br>
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)<br>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2693)<br>
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2801)<br>
at android.app.ActivityThread.-wrap12(ActivityThread.java)<br>
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1548)<br>
at android.os.Handler.dispatchMessage(Handler.java:102)<br>
at android.os.Looper.loop(Looper.java:163)<br>
at android.app.ActivityThread.main(ActivityThread.java:6368)<br>
at java.lang.reflect.Method.invoke(Native Method)<br>
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)<br>
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:791)<br>
03-02 15:12:35.365 2847-3066/? E/WtProcessController: Error pid or pid not exist<br>
03-02 15:12:35.366 1716-11135/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/10000<br>
03-02 15:12:35.478 14403-14495/? E/Market-LocalAppManager: [InvalidPackageList] JSON : list is null<br>
03-02 15:12:35.680 14403-21265/? E/Market-ConnectionRSA: get key exception : com.android.org.bouncycastle.util.encoders.DecoderException: unable to decode base64 string: invalid characters encountered in base64 data<br>
03-02 15:12:37.071 612-2691/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 1<br>
return value 2<br>
03-02 15:12:37.073 612-2691/? E/ANDR-PERF-RESOURCEQS: Failed to reset optimization [3, 0]<br>
03-02 15:12:37.719 941-1644/? E/Parcel: Reading a NULL string not supported here.</p>
<p dir="auto">this is my build.gradle of app:<br>
apply plugin: 'com.android.application'</p>
<p dir="auto">android {<br>
compileSdkVersion 26<br>
defaultConfig {<br>
applicationId "innocent.test"<br>
minSdkVersion 14<br>
targetSdkVersion 26<br>
versionCode 1<br>
versionName "1.0"<br>
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"<br>
}<br>
buildTypes {<br>
release {<br>
minifyEnabled false<br>
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'<br>
}<br>
}<br>
}</p>
<p dir="auto">dependencies {<br>
implementation fileTree(dir: 'libs', include: ['*.jar'])<br>
implementation 'com.android.support:appcompat-v7:26.1.0'<br>
implementation 'com.android.support.constraint:constraint-layout:1.0.2'<br>
testImplementation 'junit:junit:4.12'<br>
androidTestImplementation 'com.android.support.test<g-emoji class="g-emoji" alias="runner" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3c3.png">🏃</g-emoji>0.5'<br>
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Glide图片加载库
compile 'com.github.bumptech.glide:glide:4.3.1'
// annotationProcessor 'com.github.bumptech.glide:compiler:3.7.0'
// Picasso图片加载库
// implementation 'com.squareup.picasso:picasso:2.5.2'"><pre class="notranslate"><code class="notranslate">// Glide图片加载库
compile 'com.github.bumptech.glide:glide:4.3.1'
// annotationProcessor 'com.github.bumptech.glide:compiler:3.7.0'
// Picasso图片加载库
// implementation 'com.squareup.picasso:picasso:2.5.2'
</code></pre></div>
<p dir="auto">}</p> | <p dir="auto"><strong>Glide Version</strong>: 4.0.0 SNAPSHOT from 10/22/2016</p>
<p dir="auto">How should I implement</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="requestManager.load(avatarUrl)
.fitCenter()
.placeholder(R.drawable.profile_photo_stub)
.into(viewHolder.avatarImg);"><pre class="notranslate"><code class="notranslate">requestManager.load(avatarUrl)
.fitCenter()
.placeholder(R.drawable.profile_photo_stub)
.into(viewHolder.avatarImg);
</code></pre></div>
<p dir="auto">using 4.x API?</p>
<p dir="auto">Looks like it should be something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="requestManager.load(avatarUrl)
.apply(RequestOptions.fitCenterTransform(getContext()))
.apply(RequestOptions.placeholderOf(R.drawable.profile_photo_stub))
.into(viewHolder.avatarImg);"><pre class="notranslate"><code class="notranslate">requestManager.load(avatarUrl)
.apply(RequestOptions.fitCenterTransform(getContext()))
.apply(RequestOptions.placeholderOf(R.drawable.profile_photo_stub))
.into(viewHolder.avatarImg);
</code></pre></div>
<p dir="auto">but it seems too heavy and complex for me.</p>
<p dir="auto">Why <code class="notranslate">fitCenterTransform</code> requires context and doesn't get it from the <code class="notranslate">requestManager</code>?</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"><code class="notranslate">include</code> task</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[vagrant@localhost ~]$ ansible --version
ansible 2.1.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">[vagrant@localhost ~]$ ansible --version
ansible 2.1.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">No changes</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Centos 7.2</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">the nested include task fails with <code class="notranslate">"'item' is undefined"</code> error when outer include task uses a loop</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<ol dir="auto">
<li>create a directory structure and place yml files as described in the gist below</li>
<li>run the ansible-playbook to hit the error</li>
</ol>
<p dir="auto"><a href="https://gist.github.com/mapuri/b4b74e81c531eedb834c5ba81cde449f">https://gist.github.com/mapuri/b4b74e81c531eedb834c5ba81cde449f</a></p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">There shall be no error and the nested includes should work. This was working with ansible 2.1.0.0</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[vagrant@localhost ~]$ ansible-playbook -i ./hosts ./tmp/site.yml -kK
SSH password:
SUDO password[defaults to SSH password]:
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [include] *****************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "reason": "'item' is undefined"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @./tmp/site.retry
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1"><pre class="notranslate"><code class="notranslate">[vagrant@localhost ~]$ ansible-playbook -i ./hosts ./tmp/site.yml -kK
SSH password:
SUDO password[defaults to SSH password]:
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [include] *****************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "reason": "'item' is undefined"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @./tmp/site.retry
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.1.0"><pre class="notranslate"><code class="notranslate">ansible 2.1.1.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">None</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Variables do not resolve and error out as undefined when using <em>include</em> statements in tasks. When you replace the below code for /duck/main.yml with anything but 'include' statements, it works fine. I have verified that this is not an issue in 2.1.0.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">tasks/main.yml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
---
- set_fact:
folder_name: 'duck'
- debug:
var: folder_name
- include: "{{ folder_name }}/main.yml"
"><pre class="notranslate"><code class="notranslate">
---
- set_fact:
folder_name: 'duck'
- debug:
var: folder_name
- include: "{{ folder_name }}/main.yml"
</code></pre></div>
<p dir="auto">tasks/duck/main.yml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
---
- include: test.yml"><pre class="notranslate"><code class="notranslate">
---
- include: test.yml
</code></pre></div>
<p dir="auto">tasks/duck/test.yml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
---
- debug:
msg: "I made it here!""><pre class="notranslate"><code class="notranslate">
---
- debug:
msg: "I made it here!"
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [Set Facts Issue] *********************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [foo : set_fact] **********************************************************
task path: ansible/roles/foo/tasks/main.yml:3
ok: [localhost] => {"ansible_facts": {"folder_name": "duck"}, "changed": false, "invocation": {"module_args": {"folder_name": "duck"}, "module_name": "set_fact"}}
TASK [foo : debug] *************************************************************
task path: ansible/roles/foo/tasks/main.yml:6
ok: [localhost] => {
"folder_name": "duck"
}
TASK [foo : include] ***********************************************************
task path: ansible/roles/foo/tasks/main.yml:8
included: ansible/roles/foo/tasks/duck/main.yml for localhost
TASK [foo : include] ***********************************************************
task path: ansible/roles/foo/tasks/duck/main.yml:2
included: ansible/roles/foo/tasks/duck/test.yml for localhost
TASK [foo : debug] *************************************************************
task path: ansible/roles/foo/tasks/duck/test.yml:2
ok: [localhost] => {
"msg": "I made it here!"
}
PLAY RECAP *********************************************************************
localhost : ok=6 changed=0 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">PLAY [Set Facts Issue] *********************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [foo : set_fact] **********************************************************
task path: ansible/roles/foo/tasks/main.yml:3
ok: [localhost] => {"ansible_facts": {"folder_name": "duck"}, "changed": false, "invocation": {"module_args": {"folder_name": "duck"}, "module_name": "set_fact"}}
TASK [foo : debug] *************************************************************
task path: ansible/roles/foo/tasks/main.yml:6
ok: [localhost] => {
"folder_name": "duck"
}
TASK [foo : include] ***********************************************************
task path: ansible/roles/foo/tasks/main.yml:8
included: ansible/roles/foo/tasks/duck/main.yml for localhost
TASK [foo : include] ***********************************************************
task path: ansible/roles/foo/tasks/duck/main.yml:2
included: ansible/roles/foo/tasks/duck/test.yml for localhost
TASK [foo : debug] *************************************************************
task path: ansible/roles/foo/tasks/duck/test.yml:2
ok: [localhost] => {
"msg": "I made it here!"
}
PLAY RECAP *********************************************************************
localhost : ok=6 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="PLAY [Set Facts Issue] *********************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [foo : set_fact] **********************************************************
task path: ansible/roles/foo/tasks/main.yml:3
ok: [localhost] => {"ansible_facts": {"folder_name": "duck"}, "changed": false, "invocation": {"module_args": {"folder_name": "duck"}, "module_name": "set_fact"}}
TASK [foo : debug] *************************************************************
task path: ansible/roles/foo/tasks/main.yml:6
ok: [localhost] => {
"folder_name": "duck"
}
TASK [foo : include] ***********************************************************
task path: ansible/roles/foo/tasks/main.yml:8
fatal: [localhost]: FAILED! => {"failed": true, "reason": "'folder_name' is undefined"}
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1"><pre class="notranslate"><code class="notranslate">PLAY [Set Facts Issue] *********************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [foo : set_fact] **********************************************************
task path: ansible/roles/foo/tasks/main.yml:3
ok: [localhost] => {"ansible_facts": {"folder_name": "duck"}, "changed": false, "invocation": {"module_args": {"folder_name": "duck"}, "module_name": "set_fact"}}
TASK [foo : debug] *************************************************************
task path: ansible/roles/foo/tasks/main.yml:6
ok: [localhost] => {
"folder_name": "duck"
}
TASK [foo : include] ***********************************************************
task path: ansible/roles/foo/tasks/main.yml:8
fatal: [localhost]: FAILED! => {"failed": true, "reason": "'folder_name' is undefined"}
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1
</code></pre></div> | 1 |
<p dir="auto">Is it possible to use next.js with the new react router v4?</p> | <h1 dir="auto">Bug report</h1>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">We are displaying a banner for users to manage their third party cookie consent. We include the script on the page<br>
and then it goes and downloads the necessary styling.</p>
<p dir="auto">When upgrading from version <code class="notranslate">9.0.2</code> to <code class="notranslate">> 9.0.3</code> we are seeing an issue with the script inclusion.</p>
<p dir="auto">The script seems to be rendered in the page source (<code class="notranslate">View Page Source</code>), but when looking at the Elements tab of the<br>
devtools it's not visible. When going to the network tab, we can see the script being downloaded successfully.</p>
<p dir="auto">We can also see the CSS the script dynamically loads in the network tab, but it doesn't appear on the page.</p>
<p dir="auto">Any help would be great!</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p>
<ol dir="auto">
<li>Use <a href="https://github.com/vernak2539/next-head-element-demo">test repo</a> and run <code class="notranslate">yarn dev</code></li>
<li>Load main page, view designs (actual behaviour)</li>
<li>Downgrade next to v<code class="notranslate">9.0.2</code>, <code class="notranslate">yarn</code>, <code class="notranslate">yarn dev</code></li>
<li>Load main page, view designs (expected behaviour)</li>
</ol>
<h2 dir="auto">Actual behavior</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/521270/65958592-a85d2b80-e447-11e9-9503-daf1e55425b3.png"><img src="https://user-images.githubusercontent.com/521270/65958592-a85d2b80-e447-11e9-9503-daf1e55425b3.png" alt="actual" style="max-width: 100%;"></a></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/521270/65958608-adba7600-e447-11e9-98db-82e6400646e4.png"><img src="https://user-images.githubusercontent.com/521270/65958608-adba7600-e447-11e9-98db-82e6400646e4.png" alt="expected" style="max-width: 100%;"></a></p>
<h2 dir="auto">Screenshots</h2>
<p dir="auto">See above</p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: macOS</li>
<li>Browser (if applies): Chrome, Firefox</li>
<li>Version of Next.js: 9.0.7 (breaking at 9.0.3)</li>
</ul> | 0 |
<p dir="auto">Reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mechanoid/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mechanoid">@mechanoid</a> here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116718119" data-permission-text="Title is private" data-url="https://github.com/TypeStrong/atom-typescript/issues/719" data-hovercard-type="issue" data-hovercard-url="/TypeStrong/atom-typescript/issues/719/hovercard" href="https://github.com/TypeStrong/atom-typescript/issues/719#issue-116718119">TypeStrong/atom-typescript#719 (comment)</a> Tested with TypeScript nightly</p>
<p dir="auto">Sample from original issue report : <a href="https://github.com/mechanoid/ts-import-error-test">https://github.com/mechanoid/ts-import-error-test</a></p> | <p dir="auto">This is as minimal an example as I have for now (<code class="notranslate">tsc</code> version and <code class="notranslate">tsconfig.json</code> details at the bottom of this issue)</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class A {
doIt(x: Array<string>): void {
x.forEach((v) => {
switch(v) {
case "test": console.log(this);
}
});
}
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">A</span> <span class="pl-kos">{</span>
<span class="pl-en">doIt</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">Array</span><span class="pl-kos"><</span><span class="pl-smi">string</span><span class="pl-kos">></span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span>
<span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">v</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">switch</span><span class="pl-kos">(</span><span class="pl-s1">v</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">case</span> <span class="pl-s">"test"</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-smi">this</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Comparing the transpiled output from <code class="notranslate">1.8.0-dev.20151109</code> and <code class="notranslate">1.8.0-dev.20151110</code> we see:</p>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- app.js.1.8.0-dev.20151109 2015-11-12 16:02:01.064780316 +0000
+++ app.js.1.8.0-dev.20151110 2015-11-12 16:05:07.933061708 +0000
@@ -2,10 +2,9 @@
function A() {
}
A.prototype.doIt = function (x) {
- var _this = this;
x.forEach(function (v) {
switch (v) {
- case "test": console.log(_this);
+ case "test": console.log(this);
}
});
};"><pre class="notranslate"><span class="pl-md">--- app.js.1.8.0-dev.20151109 2015-11-12 16:02:01.064780316 +0000</span>
<span class="pl-mi1">+++ app.js.1.8.0-dev.20151110 2015-11-12 16:05:07.933061708 +0000</span>
<span class="pl-mdr">@@ -2,10 +2,9 @@</span>
function A() {
}
A.prototype.doIt = function (x) {
<span class="pl-md"><span class="pl-md">-</span> var _this = this;</span>
x.forEach(function (v) {
switch (v) {
<span class="pl-md"><span class="pl-md">-</span> case "test": console.log(_this);</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> case "test": console.log(this);</span>
}
});
};</pre></div>
<p dir="auto">This feels like a bug to me... but I might have missed something?</p>
<p dir="auto">Thanks</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="message TS6029: Version 1.8.0-dev.20151110
{
"compilerOptions": {
"declaration": false,
"jsx": "react",
"module": "system",
"noImplicitAny": true,
"noLib": true,
"outDir": "../dist/",
"removeComments": false,
"rootDir": ".",
"sourceMap": true,
"target": "es5"
}
}"><pre class="notranslate"><code class="notranslate">message TS6029: Version 1.8.0-dev.20151110
{
"compilerOptions": {
"declaration": false,
"jsx": "react",
"module": "system",
"noImplicitAny": true,
"noLib": true,
"outDir": "../dist/",
"removeComments": false,
"rootDir": ".",
"sourceMap": true,
"target": "es5"
}
}
</code></pre></div> | 1 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-serial/107/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-serial/107/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: DumpClusterLogs {e2e.go}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Terminate testing after 15m after 5h0m0s timeout during dump cluster logs"><pre class="notranslate"><code class="notranslate">Terminate testing after 15m after 5h0m0s timeout during dump cluster logs
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179960536" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33722" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33722/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33722">#33722</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="192117293" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37578" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37578/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37578">#37578</a></p>
<p dir="auto">Failed: TearDown {e2e.go}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Terminate testing after 15m after 5h0m0s timeout during teardown"><pre class="notranslate"><code class="notranslate">Terminate testing after 15m after 5h0m0s timeout during teardown
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181215973" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34118" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34118/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34118">#34118</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182969155" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34795" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34795/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34795">#34795</a></p>
<p dir="auto">Failed: DiffResources {e2e.go}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: 19 leaked resources
+NAME MACHINE_TYPE PREEMPTIBLE CREATION_TIMESTAMP
+gke-bootstrap-e2e-default-pool-a39ba184 n1-standard-2 2016-12-06T06:49:38.059-08:00
+NAME LOCATION SCOPE NETWORK MANAGED INSTANCES
+gke-bootstrap-e2e-default-pool-a39ba184-grp us-central1-f zone bootstrap-e2e Yes 3
+NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
+gke-bootstrap-e2e-default-pool-a39ba184-8z7s us-central1-f n1-standard-2 10.240.0.3 130.211.228.182 RUNNING
+gke-bootstrap-e2e-default-pool-a39ba184-i3q8 us-central1-f n1-standard-2 10.240.0.5 104.154.166.164 RUNNING
+gke-bootstrap-e2e-default-pool-a39ba184-l691 us-central1-f n1-standard-2 10.240.0.2 104.154.180.28 RUNNING
+gke-bootstrap-e2e-default-pool-a39ba184-8z7s us-central1-f 100 pd-standard READY
+gke-bootstrap-e2e-default-pool-a39ba184-i3q8 us-central1-f 100 pd-standard READY
+gke-bootstrap-e2e-default-pool-a39ba184-l691 us-central1-f 100 pd-standard READY
+default-route-8abe11bc8b8276ff bootstrap-e2e 0.0.0.0/0 default-internet-gateway 1000
+default-route-8ff9f16630e0e354 bootstrap-e2e 10.240.0.0/16 1000
+gke-bootstrap-e2e-55bb9cb0-85e51399-bbc3-11e6-aa5b-42010af00051 bootstrap-e2e 10.72.1.0/24 us-central1-f/instances/gke-bootstrap-e2e-default-pool-a39ba184-8z7s 1000
+gke-bootstrap-e2e-55bb9cb0-b4c19733-bbcb-11e6-aa5b-42010af00051 bootstrap-e2e 10.72.3.0/24 us-central1-f/instances/gke-bootstrap-e2e-default-pool-a39ba184-l691 1000
+gke-bootstrap-e2e-55bb9cb0-e14db0ed-bbd0-11e6-aa5b-42010af00051 bootstrap-e2e 10.72.4.0/24 us-central1-f/instances/gke-bootstrap-e2e-default-pool-a39ba184-i3q8 1000
+gke-bootstrap-e2e-55bb9cb0-all bootstrap-e2e 10.72.0.0/14 tcp,udp,icmp,esp,ah,sctp
+gke-bootstrap-e2e-55bb9cb0-ssh bootstrap-e2e 130.211.233.111/32 tcp:22 gke-bootstrap-e2e-55bb9cb0-node
+gke-bootstrap-e2e-55bb9cb0-vms bootstrap-e2e 10.240.0.0/16 udp:1-65535,icmp,tcp:1-65535 gke-bootstrap-e2e-55bb9cb0-node"><pre class="notranslate"><code class="notranslate">Error: 19 leaked resources
+NAME MACHINE_TYPE PREEMPTIBLE CREATION_TIMESTAMP
+gke-bootstrap-e2e-default-pool-a39ba184 n1-standard-2 2016-12-06T06:49:38.059-08:00
+NAME LOCATION SCOPE NETWORK MANAGED INSTANCES
+gke-bootstrap-e2e-default-pool-a39ba184-grp us-central1-f zone bootstrap-e2e Yes 3
+NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
+gke-bootstrap-e2e-default-pool-a39ba184-8z7s us-central1-f n1-standard-2 10.240.0.3 130.211.228.182 RUNNING
+gke-bootstrap-e2e-default-pool-a39ba184-i3q8 us-central1-f n1-standard-2 10.240.0.5 104.154.166.164 RUNNING
+gke-bootstrap-e2e-default-pool-a39ba184-l691 us-central1-f n1-standard-2 10.240.0.2 104.154.180.28 RUNNING
+gke-bootstrap-e2e-default-pool-a39ba184-8z7s us-central1-f 100 pd-standard READY
+gke-bootstrap-e2e-default-pool-a39ba184-i3q8 us-central1-f 100 pd-standard READY
+gke-bootstrap-e2e-default-pool-a39ba184-l691 us-central1-f 100 pd-standard READY
+default-route-8abe11bc8b8276ff bootstrap-e2e 0.0.0.0/0 default-internet-gateway 1000
+default-route-8ff9f16630e0e354 bootstrap-e2e 10.240.0.0/16 1000
+gke-bootstrap-e2e-55bb9cb0-85e51399-bbc3-11e6-aa5b-42010af00051 bootstrap-e2e 10.72.1.0/24 us-central1-f/instances/gke-bootstrap-e2e-default-pool-a39ba184-8z7s 1000
+gke-bootstrap-e2e-55bb9cb0-b4c19733-bbcb-11e6-aa5b-42010af00051 bootstrap-e2e 10.72.3.0/24 us-central1-f/instances/gke-bootstrap-e2e-default-pool-a39ba184-l691 1000
+gke-bootstrap-e2e-55bb9cb0-e14db0ed-bbd0-11e6-aa5b-42010af00051 bootstrap-e2e 10.72.4.0/24 us-central1-f/instances/gke-bootstrap-e2e-default-pool-a39ba184-i3q8 1000
+gke-bootstrap-e2e-55bb9cb0-all bootstrap-e2e 10.72.0.0/14 tcp,udp,icmp,esp,ah,sctp
+gke-bootstrap-e2e-55bb9cb0-ssh bootstrap-e2e 130.211.233.111/32 tcp:22 gke-bootstrap-e2e-55bb9cb0-node
+gke-bootstrap-e2e-55bb9cb0-vms bootstrap-e2e 10.240.0.0/16 udp:1-65535,icmp,tcp:1-65535 gke-bootstrap-e2e-55bb9cb0-node
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178910070" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33373" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33373/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33373">#33373</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179005170" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33416" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33416/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33416">#33416</a></p>
<p dir="auto">Failed: Deferred TearDown {e2e.go}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Terminate testing after 15m after 5h0m0s timeout during teardown"><pre class="notranslate"><code class="notranslate">Terminate testing after 15m after 5h0m0s timeout during teardown
</code></pre></div>
<p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="190517307" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37161" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37161/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37161">#37161</a></p> | <p dir="auto">Failed: <a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-serial/93/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-serial/93/</a></p>
<p dir="auto">Run so broken it didn't make JUnit output!</p> | 1 |
<h2 dir="auto">Issue description</h2>
<p dir="auto">Implement derivative for <code class="notranslate">torch.eig(a, eigenvectors=True)</code>.</p>
<h2 dir="auto">Code example</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
a = torch.tensor(1., requires_grad=True)
(a * torch.eye(3)).eig(eigenvectors=True)[1].sum().backward()"><pre class="notranslate"><code class="notranslate">import torch
a = torch.tensor(1., requires_grad=True)
(a * torch.eye(3)).eig(eigenvectors=True)[1].sum().backward()
</code></pre></div>
<p dir="auto">yields</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError: the derivative for 'eig' is not implemented"><pre class="notranslate"><code class="notranslate">RuntimeError: the derivative for 'eig' is not implemented
</code></pre></div>
<h2 dir="auto">System Info</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python collect_env.py
Collecting environment information...
PyTorch version: 0.4.1
Is debug build: No
CUDA used to build PyTorch: Could not collect
OS: Mac OSX 10.13.6
GCC version: Could not collect
CMake version: version 3.12.0
Python version: 3.6
Is CUDA available: No
CUDA runtime version: 9.2.148
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
Versions of relevant libraries:
[pip] Could not collect
[conda] torch 0.4.1 <pip>
[conda] torchvision 0.2.1 <pip>
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ pip --version
pip 18.0 from /anaconda3/lib/python3.6/site-packages/pip (python 3.6)"><pre class="notranslate"><code class="notranslate">$ python collect_env.py
Collecting environment information...
PyTorch version: 0.4.1
Is debug build: No
CUDA used to build PyTorch: Could not collect
OS: Mac OSX 10.13.6
GCC version: Could not collect
CMake version: version 3.12.0
Python version: 3.6
Is CUDA available: No
CUDA runtime version: 9.2.148
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
Versions of relevant libraries:
[pip] Could not collect
[conda] torch 0.4.1 <pip>
[conda] torchvision 0.2.1 <pip>
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ pip --version
pip 18.0 from /anaconda3/lib/python3.6/site-packages/pip (python 3.6)
</code></pre></div> | <p dir="auto">It seems that the derivative for 'eig' is not implemented in torch 0.3.1 .post2.<br>
How could I use the derivate for 'eig'?</p> | 1 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
Basically I have 2 guards a child and a parent. The child guard navigates to a child route. The problem is the child guard is getting resolved before the parent.</p>
<p dir="auto"><a href="https://plnkr.co/edit/yK0eGoUGIVvKZu45jSBs?p=preview" rel="nofollow">Here is a plunker</a>.</p>
<p dir="auto">Also seems related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="173980107" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11161" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/11161/hovercard" href="https://github.com/angular/angular/issues/11161">#11161</a> but from what the tests look like on that merge, it isn't doing what I describe here.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
I need a way to tell the child guard to wait until the parent has returned true before continuing.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
OSX, VIM/Sublime, Webpack</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X<br>
2.3.0</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5] TS2</p>
</li>
</ul> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
CanActivate[Child] Guards run, parent-first, in parallel, meaning there is no way to resolve data in a parent that may be needed in child guards, unless managed explicitly elsewhere.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
A CanActivate[Child] guard's behavior could possibly be set to block children guards from.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
path: 'parent',
canActivateChild: [FiveSecondObservableGuard], // Takes a long time
children: [
{
path: 'child',
component: ChildComponent, // waits a long time, as expected
canActivate: [AuthGuard] // Runs immediately
}
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-c1">path</span>: <span class="pl-s">'parent'</span><span class="pl-kos">,</span>
<span class="pl-c1">canActivateChild</span>: <span class="pl-kos">[</span><span class="pl-v">FiveSecondObservableGuard</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">// Takes a long time</span>
<span class="pl-c1">children</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">path</span>: <span class="pl-s">'child'</span><span class="pl-kos">,</span>
<span class="pl-c1">component</span>: <span class="pl-v">ChildComponent</span><span class="pl-kos">,</span> <span class="pl-c">// waits a long time, as expected</span>
<span class="pl-c1">canActivate</span>: <span class="pl-kos">[</span><span class="pl-v">AuthGuard</span><span class="pl-kos">]</span> <span class="pl-c">// Runs immediately</span>
<span class="pl-kos">}</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
Loading server information/flags that are required in all Guards can now be done in two ways:</p>
<ul dir="auto">
<li>in <code class="notranslate">APP_INITIALIZER</code>, which severely hinders UX choices/flexibility</li>
<li>Making all requests for server data asynchronous, making the whole codebase needlessly complex.</li>
</ul>
<p dir="auto">When a certain branch of routes is behind an AuthGuard that may need asynchronous loading, while the components respect the Guard the Guards themselves (which may require user identification to be complete) won't necessarily have access to that (unless all data is made asynchronous, as mentioned above)</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> all</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> all</p>
</li>
</ul> | 1 |
<p dir="auto">The weekly build with nightly wheels from numpy and pandas<br>
has failed. Check the logs for any updates that need to be<br>
made in matplotlib.<br>
<a href="https://github.com/matplotlib/matplotlib/actions/runs/3209069093">https://github.com/matplotlib/matplotlib/actions/runs/3209069093</a></p> | <p dir="auto">The weekly build with nightly wheels from numpy and pandas<br>
has failed. Check the logs for any updates that need to be<br>
made in matplotlib.<br>
<a href="https://github.com/matplotlib/matplotlib/actions/runs/3163174215">https://github.com/matplotlib/matplotlib/actions/runs/3163174215</a></p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~$ rustc | sh -c 'exec &0>-'
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task '<main>' failed at 'failed printing to stdout: broken pipe (Broken pipe)', /build/rust-git/src/rust/src/libstd/io/stdio.rs:215"><pre class="notranslate"><code class="notranslate">~$ rustc | sh -c 'exec &0>-'
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task '<main>' failed at 'failed printing to stdout: broken pipe (Broken pipe)', /build/rust-git/src/rust/src/libstd/io/stdio.rs:215
</code></pre></div> | <p dir="auto">Attempting to run <code class="notranslate">rustc --version</code> with a closed stdout will ICE:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> rustc --version | false
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task '<main>' failed at 'failed printing to stdout: broken pipe (Broken pipe)', /Users/kevin/Dev/rust/rust/src/libstd/io/stdio.rs:245"><pre class="notranslate"><code class="notranslate">> rustc --version | false
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task '<main>' failed at 'failed printing to stdout: broken pipe (Broken pipe)', /Users/kevin/Dev/rust/rust/src/libstd/io/stdio.rs:245
</code></pre></div> | 1 |
<p dir="auto">by <strong>slairf</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. compile a Go app (such as <a href="http://codepad.org/KFcgHcF6)" rel="nofollow">http://codepad.org/KFcgHcF6)</a> in the usual manner
2. run 'strip' on the resulting binary: strip yourBinary
3. attempt to run the binary: ./yourBinary
4. experience a Segmentation fault
What is the expected output?
everything but a Segmentation fault
What do you see instead?
Segmentation fault
Which compiler are you using (5g, 6g, 8g, gccgo)?
8g
Which operating system are you using?
Linux (Ubuntu 10.04)
Which revision are you using? (hg identify)
4d5b08163921+ tip
Please provide any additional information below.
version of strip: 2.20.1-system.20100303</pre> | <p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. Run build on Ubuntu 9.10, which uses gcc 4.4.1
What is the expected output? What do you see instead?
Cgo fails with the following error:
{{{
go/misc/cgo/stdio$ make
cgo file.go
could not determine kind of name for C.CString
could not determine kind of name for C.puts
could not determine kind of name for C.fflushstdout
could not determine kind of name for C.free
throw: sys·mapaccess1: key not in map
panic PC=0x2b01c2b96a08
throw+0x33 /media/scratch/workspace/go/src/pkg/runtime/runtime.c:71
throw(0x4d2daf, 0x0)
sys·mapaccess1+0x74
/media/scratch/workspace/go/src/pkg/runtime/hashmap.c:769
sys·mapaccess1(0xc2b51930, 0x2b01)
main·*Prog·loadDebugInfo+0xa67
/media/scratch/workspace/go/src/cmd/cgo/gcc.go:164
main·*Prog·loadDebugInfo(0xc2bc0000, 0x2b01)
main·main+0x352
/media/scratch/workspace/go/src/cmd/cgo/main.go:68
main·main()
mainstart+0xf
/media/scratch/workspace/go/src/pkg/runtime/amd64/asm.s:55
mainstart()
goexit /media/scratch/workspace/go/src/pkg/runtime/proc.c:133
goexit()
make: *** [file.cgo1.go] Error 2
}}}
Please use labels and text to provide additional information.</pre> | 0 |
<p dir="auto">Hello,</p>
<p dir="auto">I want to propose to you to extend router url_parser in angular, to make it smarter.</p>
<p dir="auto">On a big projects, I have to deal with complex routes which have optional params and I want to work only with one route and also keep it simple and clean, also I don't want duplicated urls or empty segments in them or something like that.</p>
<p dir="auto">For example, if I have a pagination on the page <code class="notranslate">/cars</code>, I can access the same page via <code class="notranslate">/cars</code> or <code class="notranslate">/cars/page-2</code>. Also I don't want to have url like <code class="notranslate">/cars/page-1</code> because it is the same as <code class="notranslate">/cars</code>.</p>
<p dir="auto">To avoid this kind of problems, I made for my backend framework a smarter routes which resolve all issues which I described above, and I will be happy if you will implement it too in the standard angular router to make all the community happier.</p>
<p dir="auto">I have made them in that way:</p>
<ol dir="auto">
<li><code class="notranslate">{<paramName>?:<defaultValue>|<regex>}?</code> - You can define a parameter which may be optional, with a default value and restrict it by regex, or just add "?" symbol at the end of <code class="notranslate">paramName</code>, to make it greedy(for example <code class="notranslate">{systemName?}</code> is equal to <code class="notranslate">(.+?)</code>, <code class="notranslate">{systemName?}?</code> is equal to <code class="notranslate">(.+?)?</code>).</li>
<li><code class="notranslate">[<optionalRouteSegment>]</code> - You can define an optional part of the route if it would not be valid in the segment from the inside. This syntax goes recursively. For example <code class="notranslate">[/engine/{engineName}[/year/{engineYear}]/v/{engineVersion}]</code></li>
</ol>
<p dir="auto">For example I have a route with syntax <code class="notranslate">/cars[/category/{categoryName?}][/page/{page:1|[1-9][0-9]*}]</code>.</p>
<p dir="auto"><code class="notranslate">categoryName</code> is greedy and required in his segment and could be any symbol. If it does't exists, all the segment will disappear. Why greedy? Because it has an optional segment after, which will match if you will not set the greedy.<br>
<code class="notranslate">page</code> is also required in his segment, has a default value and could be any number which starts from <code class="notranslate">1</code>.</p>
<p dir="auto">It will be valid via next urls:</p>
<ol dir="auto">
<li>If i call it with no params or with <code class="notranslate">{page: 1}</code>, i will get <code class="notranslate">/cars</code>, because it doesn't have <code class="notranslate">categoryName</code> and the <code class="notranslate">page</code> value is the same as default value.</li>
<li>If i call it with <code class="notranslate">{page: 2}</code>, i will get <code class="notranslate">/cars/page/2</code>.</li>
<li>If i call it with <code class="notranslate">{categoryName: 'supercar'}</code> or with <code class="notranslate">{categoryName: 'supercar', page: 1}</code>, I will get <code class="notranslate">/cars/category/supercar</code>.</li>
<li>If i call it with <code class="notranslate">{categoryName: 'supercar', page: 2}</code>, I will get <code class="notranslate">/cars/category/supercar/page/2</code>.</li>
</ol>
<p dir="auto">You get the idea how smart can they be? And this is a big plus for the seo.</p>
<p dir="auto">Cheers.</p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Human readable error text is informative only and can't be minified for production build. This text does not compress well with gzip.</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">Suggest moving this informative error text to console.error() to work well with UglifyJS drop_console.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto">From<br>
new Error("long informative error message...")<br>
To<br>
console.error("long informative error message...")<br>
new Error()</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">Informative-only error strings are verbose and cannot be dropped in minification.<br>
Suggest moving most informative-only human-readable text to console.error() to work well with UglifyJS options drop_console. It might not be significant, but minification saving may be 4 or 5 KB for total build.<br>
Top affected files are:<br>
./forms/src/directives/error_examples.ts (1217 bytes of informative text)<br>
./forms/src/directives/reactive_error.ts (1286 bytes of informative text)<br>
./forms/src/directives/template_driven_errors.ts (1415 bytes of informative text)<br>
./common/src/facade/errors.ts<br>
./core/src/di/reflective_errors.ts<br>
./core/src/facade/errors.ts<br>
./core/testing/facade/errors.ts</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<p dir="auto">Windows 7</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>
<p dir="auto">2.4.9</p>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
</ul>
<p dir="auto">all</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
Typescript<br>
Webpack AOT<br>
UglifyJS minify compiler</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
7.2.1</p>
</li>
</ul> | 0 |
<p dir="auto">Google Chrome Version 29.0.1547.62 - OSX 10.8.4</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/88b8d8112f3a01308742fdeeffaa1a3cf165e5ba6500c96d090ec7844a375279/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313639383836302f313036323638342f38393836616534302d313236342d313165332d386534632d6430646163333735633935342e706e67"><img src="https://camo.githubusercontent.com/88b8d8112f3a01308742fdeeffaa1a3cf165e5ba6500c96d090ec7844a375279/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313639383836302f313036323638342f38393836616534302d313236342d313165332d386534632d6430646163333735633935342e706e67" alt="screen shot 2013-08-31 at 8 38 29 pm" data-canonical-src="https://f.cloud.github.com/assets/1698860/1062684/8986ae40-1264-11e3-8e4c-d0dac375c954.png" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7ed35e070595f709cdb90bdf6005d2cf6990868251a66d952681553b0cbafc15/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313639383836302f313036323638352f38393862396664362d313236342d313165332d393730352d3034643963343338303635382e706e67"><img src="https://camo.githubusercontent.com/7ed35e070595f709cdb90bdf6005d2cf6990868251a66d952681553b0cbafc15/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313639383836302f313036323638352f38393862396664362d313236342d313165332d393730352d3034643963343338303635382e706e67" alt="screen shot 2013-08-31 at 8 38 50 pm" data-canonical-src="https://f.cloud.github.com/assets/1698860/1062685/898b9fd6-1264-11e3-9705-04d9c4380658.png" style="max-width: 100%;"></a></p> | <p dir="auto">When launching the modal component (<a href="http://getbootstrap.com/javascript/#modals" rel="nofollow">http://getbootstrap.com/javascript/#modals</a>) the entire content will slightly move to the left on mac OS (haven't tried it on windows yet). With the active modal the scrollbar seem to disappear, while the content width still changes.</p>
<p dir="auto">You can observer the problem on the bootstrap page</p> | 1 |
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">I'm trying to use an import map in my Deno project. I set up the import map like:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"imports": {
"interfaces/": "./interfaces/",
}
}"><pre class="notranslate">{
<span class="pl-ent">"imports"</span>: {
<span class="pl-ent">"interfaces/"</span>: <span class="pl-s"><span class="pl-pds">"</span>./interfaces/<span class="pl-pds">"</span></span>,
}
}</pre></div>
<p dir="auto">But when in another file I type:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { IEnergyMeterValidator } from "interfaces/validators/mod.ts";"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">IEnergyMeterValidator</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"interfaces/validators/mod.ts"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">It shows the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="relative import path "interfaces/validators/mod.ts" not prefixed with / or ./ or ../ Imported from "file:///c%3A/Users/anton/Documents/inversor/validators/EnergyMeterValidator.ts"deno(invalid-specifier)"><pre class="notranslate"><code class="notranslate">relative import path "interfaces/validators/mod.ts" not prefixed with / or ./ or ../ Imported from "file:///c%3A/Users/anton/Documents/inversor/validators/EnergyMeterValidator.ts"deno(invalid-specifier)
</code></pre></div>
<p dir="auto">All those files exist and if I run the command <code class="notranslate">deno run --import-map=import_map.json validators\EnergyMeterValidator.ts</code> from the command line it works great.</p>
<p dir="auto">Here is my vscode configuration:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"deno.enable": true,
"deno.lint": true,
"deno.unstable": true,
"deno.importMap": "./import_map.json"
}"><pre class="notranslate">{
<span class="pl-ent">"deno.enable"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"deno.lint"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"deno.unstable"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"deno.importMap"</span>: <span class="pl-s"><span class="pl-pds">"</span>./import_map.json<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto"><strong>To Reproduce</strong></p>
<ol dir="auto">
<li>Recreate the file structure described above.</li>
<li>Copy my vscode configuration in vscode.</li>
<li>Copy my <code class="notranslate">import_map.json</code>.</li>
<li>Go to <code class="notranslate">EnergyMeterValidator.ts</code> and see the import line in red.</li>
</ol>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">The error should not be shown and the import map should be taken into account.</p>
<p dir="auto"><strong>Versions</strong></p>
<p dir="auto">vscode: 1.54.3<br>
deno: 1.8.2<br>
extension: 3.2.0</p> | <p dir="auto">(EDIT: See comments below, this goes beyond import maps, there's a mismatch in how paths are encoded between the extension and the LSP on Windows)</p>
<p dir="auto">I'm using an import map to remap <code class="notranslate">.js</code> imports to <code class="notranslate">.ts</code> in code I share between the browser and Deno.<br>
It is working fine in Deno, but the extension reports the following errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unable to load a local module: "file:///c%3A/vscode-deno-import-map/browser/secondary.js".
Please check the file path."><pre class="notranslate"><code class="notranslate">Unable to load a local module: "file:///c%3A/vscode-deno-import-map/browser/secondary.js".
Please check the file path.
</code></pre></div>
<p dir="auto">and</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Property 'value' does not exist on type 'typeof import("file:///c%3A/vscode-deno-import-map/browser/shared")'."><pre class="notranslate"><code class="notranslate">Property 'value' does not exist on type 'typeof import("file:///c%3A/vscode-deno-import-map/browser/shared")'.
</code></pre></div>
<p dir="auto"><strong>To Reproduce</strong></p>
<p dir="auto">See screenshot below or minimal repro here: <a href="https://github.com/elisee/vscode-deno-import-map">https://github.com/elisee/vscode-deno-import-map</a></p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">The import map should be properly applied by the extension and there should be no errors.</p>
<p dir="auto"><strong>Screenshots</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/446986/109956763-56779f80-7ce4-11eb-8b5d-30f5d12dbb49.png"><img src="https://user-images.githubusercontent.com/446986/109956763-56779f80-7ce4-11eb-8b5d-30f5d12dbb49.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Versions</strong></p>
<p dir="auto">vscode: v1.53.2<br>
deno: v1.8.0<br>
extension: v3.1.0<br>
os: windows (seems important, see comment below)</p> | 1 |
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Windows 7, 10, Mac 10.11.4</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Start VS Code</li>
<li>Type a for loop without a spaced condition i.e j< 10<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1550134/14215888/1ee84efc-f846-11e5-861d-384528b462ad.png"><img src="https://cloud.githubusercontent.com/assets/1550134/14215888/1ee84efc-f846-11e5-861d-384528b462ad.png" alt="screen shot 2016-04-01 at 20 01 10" style="max-width: 100%;"></a></li>
</ol> | <ul dir="auto">
<li>VSCode Version: 1.1.1</li>
<li>OS Version: Windows 7</li>
</ul>
<p dir="auto">Hi, in my work environment only certain user agents are allowed to make http(s) requests, so I can't download any extension (<code class="notranslate">getaddrinfo ENOTFOUND marketplace.visualstudio.com marketplace.visualstudio.com:443</code>).</p>
<p dir="auto">I had the same issue with package control for Sublime Text and there you can set a custom user agent string (<a href="https://packagecontrol.io/docs/settings" rel="nofollow">https://packagecontrol.io/docs/settings</a>) for the downloader.</p>
<p dir="auto">Can you please implement that for VS Code?</p>
<p dir="auto">Related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117862459" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/262" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/262/hovercard" href="https://github.com/microsoft/vscode/issues/262">#262</a></p> | 0 |
<p dir="auto">I'd like to let the user control whether or not to download the update. User may be using a mobile connection for all we know (tethered), so downloading automatically is not something that should happen without user consent. (same for installing automatically)</p> | <ul dir="auto">
<li>Electron version: 0.36.8</li>
<li>Operating system: OSX</li>
</ul>
<p dir="auto">Atom has a setting <code class="notranslate">core.automaticallyUpdate</code>, when it's false, we don't check for updates. It would be nice to be able to periodically check if there is an update available, report the version to the user, but without auto-downloading the new update.</p>
<p dir="auto">This would allow us to provide a mechanism to users to control when they spend that bandwidth, which is a problem for <a href="https://github.com/atom/atom/issues/1882" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1882/hovercard">people on data plans</a>. See the manual update section of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="132439967" data-permission-text="Title is private" data-url="https://github.com/atom/about/issues/12" data-hovercard-type="pull_request" data-hovercard-url="/atom/about/pull/12/hovercard?comment_id=182171998&comment_type=issue_comment" href="https://github.com/atom/about/pull/12#issuecomment-182171998">atom/about#12 (comment)</a> for what this would look like in atom.</p>
<p dir="auto">Not sure on what the interface could be. Maybe a boolean in <code class="notranslate">checkForUpdates()</code>? Maybe also some data in the <code class="notranslate">update-available</code> event indicating whether or not the update is being downloaded? Just riffing here.</p> | 1 |
<p dir="auto">Apache Druid 0.23.0 contains over 450 new features, bug fixes, performance enhancements, documentation improvements, and additional test coverage from 81 contributors. <a href="https://github.com/apache/druid/milestone/45?closed=1">See the complete set of changes for additional details</a>.</p>
<h1 dir="auto"><a name="user-content-0.23.0-new-features" href="#0.23.0-new-features">#</a> New Features</h1>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-query-engine" href="#0.23.0-new-features-query-engine">#</a> Query engine</h2>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-query-engine-grouping-on-arrays-without-exploding-the-arrays" href="#0.23.0-new-features-query-engine-grouping-on-arrays-without-exploding-the-arrays">#</a> Grouping on arrays without exploding the arrays</h3>
<p dir="auto">You can now group on a multi-value dimension as an array. For a datasource named "test":</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{"timestamp": "2011-01-12T00:00:00.000Z", "tags": ["t1","t2","t3"]} #row1
{"timestamp": "2011-01-13T00:00:00.000Z", "tags": ["t3","t4","t5"]} #row2
{"timestamp": "2011-01-14T00:00:00.000Z", "tags": ["t5","t6","t7"]} #row3
{"timestamp": "2011-01-14T00:00:00.000Z", "tags": []} #row4"><pre class="notranslate"><code class="notranslate">{"timestamp": "2011-01-12T00:00:00.000Z", "tags": ["t1","t2","t3"]} #row1
{"timestamp": "2011-01-13T00:00:00.000Z", "tags": ["t3","t4","t5"]} #row2
{"timestamp": "2011-01-14T00:00:00.000Z", "tags": ["t5","t6","t7"]} #row3
{"timestamp": "2011-01-14T00:00:00.000Z", "tags": []} #row4
</code></pre></div>
<p dir="auto">The following query:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"queryType": "groupBy",
"dataSource": "test",
"intervals": [
"1970-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z"
],
"granularity": {
"type": "all"
},
"virtualColumns" : [ {
"type" : "expression",
"name" : "v0",
"expression" : "mv_to_array(\"tags\")",
"outputType" : "ARRAY<STRING>"
} ],
"dimensions": [
{
"type": "default",
"dimension": "v0",
"outputName": "tags"
"outputType":"ARRAY<STRING>"
}
],
"aggregations": [
{
"type": "count",
"name": "count"
}
]
}"><pre class="notranslate">{
<span class="pl-ent">"queryType"</span>: <span class="pl-s"><span class="pl-pds">"</span>groupBy<span class="pl-pds">"</span></span>,
<span class="pl-ent">"dataSource"</span>: <span class="pl-s"><span class="pl-pds">"</span>test<span class="pl-pds">"</span></span>,
<span class="pl-ent">"intervals"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>1970-01-01T00:00:00.000Z/3000-01-01T00:00:00.000Z<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"granularity"</span>: {
<span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>all<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"virtualColumns"</span> : [ {
<span class="pl-ent">"type"</span> : <span class="pl-s"><span class="pl-pds">"</span>expression<span class="pl-pds">"</span></span>,
<span class="pl-ent">"name"</span> : <span class="pl-s"><span class="pl-pds">"</span>v0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"expression"</span> : <span class="pl-s"><span class="pl-pds">"</span>mv_to_array(<span class="pl-cce">\"</span>tags<span class="pl-cce">\"</span>)<span class="pl-pds">"</span></span>,
<span class="pl-ent">"outputType"</span> : <span class="pl-s"><span class="pl-pds">"</span>ARRAY<STRING><span class="pl-pds">"</span></span>
} ],
<span class="pl-ent">"dimensions"</span>: [
{
<span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>default<span class="pl-pds">"</span></span>,
<span class="pl-ent">"dimension"</span>: <span class="pl-s"><span class="pl-pds">"</span>v0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"outputName"</span>: <span class="pl-s"><span class="pl-pds">"</span>tags<span class="pl-pds">"</span></span>
<span class="pl-ent">"outputType"</span>:<span class="pl-s"><span class="pl-pds">"</span>ARRAY<STRING><span class="pl-pds">"</span></span>
}
],
<span class="pl-ent">"aggregations"</span>: [
{
<span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>count<span class="pl-pds">"</span></span>,
<span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>count<span class="pl-pds">"</span></span>
}
]
}</pre></div>
<p dir="auto">Returns the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 1,
"tags": "[]"
}
},
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 1,
"tags": "["t1","t2","t3"]"
}
},
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 1,
"tags": "[t3","t4","t5"]"
}
},
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 2,
"tags": "["t5","t6","t7"]"
}
}
]"><pre class="notranslate"><code class="notranslate">[
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 1,
"tags": "[]"
}
},
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 1,
"tags": "["t1","t2","t3"]"
}
},
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 1,
"tags": "[t3","t4","t5"]"
}
},
{
"timestamp": "1970-01-01T00:00:00.000Z",
"event": {
"count": 2,
"tags": "["t5","t6","t7"]"
}
}
]
</code></pre></div>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1083157169" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12078" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12078/hovercard" href="https://github.com/apache/druid/pull/12078">#12078</a>)<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1129991931" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12253" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12253/hovercard" href="https://github.com/apache/druid/pull/12253">#12253</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-query-engine-specify-a-column-other-than-__time-column-for-row-comparison-in-first%2flast-aggregators" href="#0.23.0-new-features-query-engine-specify-a-column-other-than-__time-column-for-row-comparison-in-first%2Flast-aggregators">#</a> Specify a column other than __time column for row comparison in first/last aggregators</h3>
<p dir="auto">You can pass time column in <code class="notranslate">*first</code>/<code class="notranslate">*last</code> aggregators by using <code class="notranslate">LATEST_BY</code> / <code class="notranslate">EARLIEST_BY</code> SQL functions. This provides support for cases where the time is stored as a part of a column different than "__time". You can also specify another logical time column.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1057626925" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11949" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11949/hovercard" href="https://github.com/apache/druid/pull/11949">#11949</a>)<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1099756737" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12145" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12145/hovercard" href="https://github.com/apache/druid/pull/12145">#12145</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-query-engine-improvements-to-querying-user-experience" href="#0.23.0-new-features-query-engine-improvements-to-querying-user-experience">#</a> Improvements to querying user experience</h3>
<p dir="auto">This release includes several improvements for querying:</p>
<ul dir="auto">
<li>Added the SQL query ID to response header for failed SQL query to aid in locating the error messages (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1010595114" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11756" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11756/hovercard" href="https://github.com/apache/druid/pull/11756">#11756</a>)</li>
<li>Added input type validation for DataSketches HLL (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1096051350" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12131" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12131/hovercard" href="https://github.com/apache/druid/pull/12131">#12131</a>)</li>
<li>Improved JDBC logging (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="991003347" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11676" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11676/hovercard" href="https://github.com/apache/druid/pull/11676">#11676</a>)</li>
<li>Added SQL functions MV_FILTER_ONLY and MV_FILTER_NONE to filter rows of multi-value string dimensions to include only the supplied list of values or none of them respectively (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="984886884" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11650" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11650/hovercard" href="https://github.com/apache/druid/pull/11650">#11650</a>)</li>
<li>Added ARRAY_CONCAT_AGG to aggregate array inputs together into a single array (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1122145180" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12226" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12226/hovercard" href="https://github.com/apache/druid/pull/12226">#12226</a>)</li>
<li>Added the ability to authorize the usage of query context parameters (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1192373091" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12396" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12396/hovercard" href="https://github.com/apache/druid/pull/12396">#12396</a>)</li>
<li>Improved query IDs to make it easier to link queries and sub-queries for end-to-end query visibility (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1029300077" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11809" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11809/hovercard" href="https://github.com/apache/druid/pull/11809">#11809</a>)</li>
<li>Added a safe divide function to protect against division by 0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1050455040" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11904" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11904/hovercard" href="https://github.com/apache/druid/pull/11904">#11904</a>)</li>
<li>You can now add a query context to internally generated <code class="notranslate">SegmentMetadata</code> query (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="941088434" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11429" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11429/hovercard" href="https://github.com/apache/druid/pull/11429">#11429</a>)</li>
<li>Added support for Druid complex types to the native expression processing system to make all Druid data usable within expressions (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1038921621" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11853" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11853/hovercard" href="https://github.com/apache/druid/pull/11853">#11853</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1069182729" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12016" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12016/hovercard" href="https://github.com/apache/druid/pull/12016">#12016</a>)</li>
<li>You can control the size of the on-heap segment-level dictionary via <code class="notranslate">druid.query.groupBy.maxSelectorDictionarySize</code> when grouping on string or array-valued expressions that do not have pre-existing dictionaries.</li>
<li>You have better protection against filter explosion during CNF conversion (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1161810847" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12314" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12314/hovercard" href="https://github.com/apache/druid/pull/12314">#12314</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1163711538" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12324" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12324/hovercard" href="https://github.com/apache/druid/pull/12324">#12324</a>)</li>
<li>You can get the complete native query on explaining the SQL query by setting <code class="notranslate">useNativeQueryExplain</code> to true in query context (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1050658987" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11908" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11908/hovercard" href="https://github.com/apache/druid/pull/11908">#11908</a>)</li>
<li>You can have broker ignore real time nodes or specific historical tiers. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1014828047" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11766" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11766/hovercard" href="https://github.com/apache/druid/pull/11766">#11766</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1004055213" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11732" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11732/hovercard" href="https://github.com/apache/druid/pull/11732">#11732</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-streaming-ingestion" href="#0.23.0-new-features-streaming-ingestion">#</a> Streaming Ingestion</h2>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-streaming-ingestion-kafka-input-format-for-parsing-headers-and-key" href="#0.23.0-new-features-streaming-ingestion-kafka-input-format-for-parsing-headers-and-key">#</a> Kafka input format for parsing headers and key</h3>
<p dir="auto">We've introduced a Kafka input format so you can ingest header data in addition to the message contents. For example:</p>
<ul dir="auto">
<li>the event key field</li>
<li>event headers</li>
<li>the Kafka event timestamp</li>
<li>the Kafka event value that stores the payload.</li>
</ul>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="978322672" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11630" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11630/hovercard" href="https://github.com/apache/druid/pull/11630">#11630</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-streaming-ingestion-kinesis-ingestion---improvements" href="#0.23.0-new-features-streaming-ingestion-kinesis-ingestion---improvements">#</a> Kinesis ingestion - Improvements</h3>
<p dir="auto">We have made following improvements in kinesis ingestion</p>
<ul dir="auto">
<li>Re-sharding can affect and slow down ingestion as many intermediate empty shards are created. These shards get assigned to tasks causing imbalance in load assignment. You can set <code class="notranslate">skipIgnorableShards</code> to <code class="notranslate">true</code> in kinesis ingestion tuning config to ignore such shards. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1125450413" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12235" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12235/hovercard" href="https://github.com/apache/druid/pull/12235">#12235</a>)</li>
<li>Currently, kinesis ingestion uses <code class="notranslate">DescribeStream</code> to fetch the list of shards. This call is deprecated and slower. In this release, you can switch to a newer API <code class="notranslate">listShards</code> by setting <code class="notranslate">useListShards</code> to <code class="notranslate">true</code> in kinesis ingestion tuning config. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1105410630" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12161" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12161/hovercard" href="https://github.com/apache/druid/pull/12161">#12161</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-native-batch-ingestion" href="#0.23.0-new-features-native-batch-ingestion">#</a> Native Batch Ingestion</h2>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-native-batch-ingestion-multi-dimension-range-partitioning" href="#0.23.0-new-features-native-batch-ingestion-multi-dimension-range-partitioning">#</a> Multi-dimension range partitioning</h3>
<p dir="auto">Multi-dimension range partitioning allows users to partition their data on the ranges of any number of dimensions. It develops further on the concepts behind "single-dim" partitioning and is now arguably the most preferable secondary partitioning, both for query performance and storage efficiency.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1036887369" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11848" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11848/hovercard" href="https://github.com/apache/druid/pull/11848">#11848</a>)<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1059851880" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11973" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11973/hovercard" href="https://github.com/apache/druid/pull/11973">#11973</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-native-batch-ingestion-improved-replace-data-behavior" href="#0.23.0-new-features-native-batch-ingestion-improved-replace-data-behavior">#</a> Improved replace data behavior</h3>
<p dir="auto">In previous versions of Druid, if ingested data with <code class="notranslate">dropExisting</code> flag to replace data, Druid would retain the existing data for a time chunk if there was no new data to replace it. Now, if you set <code class="notranslate">dropExisting</code> to <code class="notranslate">true</code> in your <code class="notranslate">ioSpec</code> and ingest data for a time range that includes a time chunk with no data, Druid uses a tombstone to overshadow the existing data in the empty time chunk.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1098555134" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12137" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12137/hovercard" href="https://github.com/apache/druid/pull/12137">#12137</a>)</p>
<p dir="auto">This release includes several improvements for native batch ingestion:</p>
<ul dir="auto">
<li>Druid now emits a new metric when a batch task finishes waiting for segment availability. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="854883492" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11090" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11090/hovercard" href="https://github.com/apache/druid/pull/11090">#11090</a>)</li>
<li>Added <code class="notranslate">segmentAvailabilityWaitTimeMs</code>, the duration in milliseconds that a task waited for its segments to be handed off to Historical nodes, to <code class="notranslate">IngestionStatsAndErrorsTaskReportData</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="854883492" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11090" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11090/hovercard" href="https://github.com/apache/druid/pull/11090">#11090</a>)</li>
<li>Added functionality to preserve existing metrics during ingestion (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1110223413" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12185" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12185/hovercard" href="https://github.com/apache/druid/pull/12185">#12185</a>)</li>
<li>Parallel native batch task can now provide task reports for the sequential and single phase mode (e.g., used with dynamic partitioning) as well as single phase mode subtasks (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="993008582" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11688" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11688/hovercard" href="https://github.com/apache/druid/pull/11688">#11688</a>)</li>
<li>Added support for <code class="notranslate">RowStats</code> in <code class="notranslate">druid/indexer/v1/task/{task_id}/reports</code> API for multi-phase parallel indexing task (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1149140358" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12280" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12280/hovercard" href="https://github.com/apache/druid/pull/12280">#12280</a>)</li>
<li>Fixed the OOM failures in the dimension distribution phase of parallel indexing (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1168762932" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12331" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12331/hovercard" href="https://github.com/apache/druid/pull/12331">#12331</a>)</li>
<li>Added support to handle null dimension values while creating partition boundaries (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1059851880" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11973" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11973/hovercard" href="https://github.com/apache/druid/pull/11973">#11973</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-improvements-to-ingestion-in-general" href="#0.23.0-new-features-improvements-to-ingestion-in-general">#</a> Improvements to ingestion in general</h2>
<p dir="auto">This release includes several improvements for ingestion in general:</p>
<ul dir="auto">
<li>Removed the template modifier from <code class="notranslate">IncrementalIndex<AggregatorType></code> because it is no longer required</li>
<li>You can now use <code class="notranslate">JsonPath</code> functions in <code class="notranslate">JsonPath</code> expressions during ingestion (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1000273420" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11722" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11722/hovercard" href="https://github.com/apache/druid/pull/11722">#11722</a>)</li>
<li>Druid no longer creates a materialized list of segment files and elimited looping over the files to reduce OOM issues (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1049864081" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11903" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11903/hovercard" href="https://github.com/apache/druid/pull/11903">#11903</a>)</li>
<li>Added an intermediate-persist <code class="notranslate">IndexSpec</code> to the main "merge" method in <code class="notranslate">IndexMerger</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1056372105" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11940" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11940/hovercard" href="https://github.com/apache/druid/pull/11940">#11940</a>)</li>
<li><code class="notranslate">Granularity.granularitiesFinerThan</code> now returns ALL if you pass in ALL (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1066709178" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12003" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12003/hovercard" href="https://github.com/apache/druid/pull/12003">#12003</a>)</li>
<li>Added a configuation parameter for appending tasks to allow them to use a SHARED lock (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1074390956" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12041" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12041/hovercard" href="https://github.com/apache/druid/pull/12041">#12041</a>)</li>
<li><code class="notranslate">SchemaRegistryBasedAvroBytesDecoder</code> now throws a <code class="notranslate">ParseException</code> instead of RE when it fails to retrieve a schema (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1083716471" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12080" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12080/hovercard" href="https://github.com/apache/druid/pull/12080">#12080</a>)</li>
<li>Added <code class="notranslate">includeAllDimensions</code> to <code class="notranslate">dimensionsSpec</code> to put all explicit dimensions first in <code class="notranslate">InputRow</code> and subsequently any other dimensions found in input data (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1147718396" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12276" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12276/hovercard" href="https://github.com/apache/druid/pull/12276">#12276</a>)</li>
<li>Added the ability to store null columns in segments (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1148926302" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12279" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12279/hovercard" href="https://github.com/apache/druid/pull/12279">#12279</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-compaction" href="#0.23.0-new-features-compaction">#</a> Compaction</h2>
<p dir="auto">This release includes several improvements for compaction:</p>
<ul dir="auto">
<li>Automatic compaction now supports complex dimensions (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1054737042" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11924" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11924/hovercard" href="https://github.com/apache/druid/pull/11924">#11924</a>)</li>
<li>Automatic compaction now supports overlapping segment intervals (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1079498135" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12062" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12062/hovercard" href="https://github.com/apache/druid/pull/12062">#12062</a>)</li>
<li>You can now configure automatic compaction to calculate the ratio of slots available for compaction tasks from maximum slots, including autoscaler maximum worker nodes (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1139210401" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12263" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12263/hovercard" href="https://github.com/apache/druid/pull/12263">#12263</a>)</li>
<li>You can now configure the Coordinator auto compaction duty period separately from other indexing duties (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1139210401" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12263" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12263/hovercard" href="https://github.com/apache/druid/pull/12263">#12263</a>)</li>
<li>Default inputSegmentSizeBytes is now changed to ~ 100 TB (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1239779215" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12534" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12534/hovercard" href="https://github.com/apache/druid/pull/12534">#12534</a>)</li>
<li>You can change query granularity, change dimension schema, filter data, add metrics through auto-compaction (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1039989192" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11856" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11856/hovercard" href="https://github.com/apache/druid/pull/11856">#11856</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1043925080" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11874" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11874/hovercard" href="https://github.com/apache/druid/pull/11874">#11874</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1054628292" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11922" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11922/hovercard" href="https://github.com/apache/druid/pull/11922">#11922</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1095009755" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12125" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12125/hovercard" href="https://github.com/apache/druid/pull/12125">#12125</a>)</li>
<li>You can control roll-up as well for auto and manual compaction (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1037928934" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11850" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11850/hovercard" href="https://github.com/apache/druid/pull/11850">#11850</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-sql" href="#0.23.0-new-features-sql">#</a> SQL</h2>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-sql-human-readable-and-actionable-sql-error-messages" href="#0.23.0-new-features-sql-human-readable-and-actionable-sql-error-messages">#</a> Human-readable and actionable SQL error messages</h3>
<p dir="auto">Until version 0.22.1, if you issued an unsupported SQL query, Druid would throw very cryptic and unhelpful error messages. With this change, error messages include exactly the part of the SQL query that is not supported in Druid. For example, if you run a scan query that is ordered on a dimension other than the time column.</p>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1051221954" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11911" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11911/hovercard" href="https://github.com/apache/druid/pull/11911">#11911</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-sql-cancel-api-for-sql-queries" href="#0.23.0-new-features-sql-cancel-api-for-sql-queries">#</a> Cancel API for SQL queries</h3>
<p dir="auto">We've added a new API to cancel SQL queries, so you can now cancel SQL queries just like you can cancel native queries. You can use the API from the web console. In previous versions, cancellation from the console only closed the client connection while the SQL query kept running on Druid.</p>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="983361566" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11643" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11643/hovercard" href="https://github.com/apache/druid/pull/11643">#11643</a>)<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1005544931" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11738" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11738/hovercard" href="https://github.com/apache/druid/pull/11738">#11738</a>)<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="996728106" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11710" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11710/hovercard" href="https://github.com/apache/druid/pull/11710">#11710</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-sql-improved-sql-compatibility" href="#0.23.0-new-features-sql-improved-sql-compatibility">#</a> Improved SQL compatibility</h3>
<p dir="auto">We have made changes to expressions that make expression evaluation more SQL compliant. This new behaviour is disabled by default. It can be enabled by setting <code class="notranslate">druid.expressions.useStrictBooleans</code> to <code class="notranslate">true</code>. We recommend enabling this behaviour since it is also more performant in some cases.</p>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="871562074" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11184" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11184/hovercard" href="https://github.com/apache/druid/pull/11184">#11184</a>)</p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-sql-improvements-to-sql-user-experience" href="#0.23.0-new-features-sql-improvements-to-sql-user-experience">#</a> Improvements to SQL user experience</h3>
<p dir="auto">This release includes several additional improvements for SQL:</p>
<ul dir="auto">
<li>You no longer need to include a trailing slash <code class="notranslate">/</code> for JDBC connections to Druid (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1005016314" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11737" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11737/hovercard" href="https://github.com/apache/druid/pull/11737">#11737</a>)</li>
<li>You can now use scans as outer queries (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1033907746" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11831" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11831/hovercard" href="https://github.com/apache/druid/pull/11831">#11831</a>)</li>
<li>Added a class to sanitize JDBC exceptions and to log them (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1035487991" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11843" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11843/hovercard" href="https://github.com/apache/druid/pull/11843">#11843</a>)</li>
<li>Added type headers to response format to make it easier for clients to interpret the results of SQL queries (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1051433155" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11914" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11914/hovercard" href="https://github.com/apache/druid/pull/11914">#11914</a>)</li>
<li>Improved the way the <code class="notranslate">DruidRexExecutor</code> handles numeric arrays (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1059492347" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11968" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11968/hovercard" href="https://github.com/apache/druid/pull/11968">#11968</a>)</li>
<li>Druid now returns an empty result after optimizing a GROUP BY query to a time series query (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1079709691" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12065" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12065/hovercard" href="https://github.com/apache/druid/pull/12065">#12065</a>)</li>
<li>As an administrator, you can now configure the implementation for APPROX_COUNT_DISTINCT and COUNT(DISTINCT expr) in approximate mode (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="870647461" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11181" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11181/hovercard" href="https://github.com/apache/druid/pull/11181">#11181</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-coordinator%2foverlord" href="#0.23.0-new-features-coordinator%2Foverlord">#</a> Coordinator/Overlord</h2>
<ul dir="auto">
<li>Coordinator can be overwhelmed by the connections from other druid services, especially when TLS is enabled. You can mitigate this by setting <code class="notranslate">druid.global.http.eagerInitialization</code> to <code class="notranslate">false</code> in common runtime properties.</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-web-console" href="#0.23.0-new-features-web-console">#</a> Web console</h2>
<ul dir="auto">
<li>Query view can now cancel all queries issued from it (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1005544931" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11738" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11738/hovercard" href="https://github.com/apache/druid/pull/11738">#11738</a>)</li>
<li>The auto refresh functions will now run in foreground only (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1010126362" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11750" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11750/hovercard" href="https://github.com/apache/druid/pull/11750">#11750</a>) this prevents forgotten background console tabs from putting any load on the cluster.</li>
<li>Add a <code class="notranslate">Segment size</code> (in bytes) column to the Datasources view (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1025704808" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11797" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11797/hovercard" href="https://github.com/apache/druid/pull/11797">#11797</a>)</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177816/167921423-b6ca2a24-4af7-4b48-bff7-3c16e3e9c398.png"><img width="264" alt="image" src="https://user-images.githubusercontent.com/177816/167921423-b6ca2a24-4af7-4b48-bff7-3c16e3e9c398.png" style="max-width: 100%;"></a></p>
<ul dir="auto">
<li>Format numbers with commas in the query view (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1072737309" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12031" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12031/hovercard" href="https://github.com/apache/druid/pull/12031">#12031</a>)</li>
<li>Add a JSON Diff view for supervisor specs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1085329526" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12085" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12085/hovercard" href="https://github.com/apache/druid/pull/12085">#12085</a>)</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177816/167922122-32466a67-0364-4f7e-93d0-0675abc29158.png"><img src="https://user-images.githubusercontent.com/177816/167922122-32466a67-0364-4f7e-93d0-0675abc29158.png" alt="image" style="max-width: 100%;"></a></p>
<ul dir="auto">
<li>Improve the formatting and info contents of code auto suggestion docs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1085329526" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12085" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12085/hovercard" href="https://github.com/apache/druid/pull/12085">#12085</a>)</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177816/167922311-99c79f49-0aa1-4ae4-903d-097fae7ee3f4.png"><img src="https://user-images.githubusercontent.com/177816/167922311-99c79f49-0aa1-4ae4-903d-097fae7ee3f4.png" alt="image" style="max-width: 100%;"></a></p>
<ul dir="auto">
<li>Add shard detail column to segments view (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1117990191" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12212" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12212/hovercard" href="https://github.com/apache/druid/pull/12212">#12212</a>)</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/177816/167922493-8e621a41-631c-4eae-9005-359c5aab7473.png"><img src="https://user-images.githubusercontent.com/177816/167922493-8e621a41-631c-4eae-9005-359c5aab7473.png" alt="image" style="max-width: 100%;"></a></p>
<ul dir="auto">
<li>Avoid refreshing tables if a menu is open (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1203861788" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12435" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12435/hovercard" href="https://github.com/apache/druid/pull/12435">#12435</a>)</li>
<li>Misc other bug fixes and usability improvements</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-metrics" href="#0.23.0-new-features-metrics">#</a> Metrics</h2>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-metrics-query-metrics-now-also-set-the-%60vectorized%60-dimension-by-default.-this-can-be-helpful-in-understanding-performance-profile-of-queries." href="#0.23.0-new-features-metrics-query-metrics-now-also-set-the-%60vectorized%60-dimension-by-default.-this-can-be-helpful-in-understanding-performance-profile-of-queries.">#</a> Query metrics now also set the <code class="notranslate">vectorized</code> dimension by default. This can be helpful in understanding performance profile of queries.</h3>
<p dir="auto"><a href="https://github.com/apache/druid/pull/12464" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12464/hovercard">12464</a></p>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-metrics-auto-compaction-duty-also-report-duty-metrics-now.-a-dimension-to-indicate-the-duty-group-has-also-been-added." href="#0.23.0-new-features-metrics-auto-compaction-duty-also-report-duty-metrics-now.-a-dimension-to-indicate-the-duty-group-has-also-been-added.">#</a> Auto-compaction duty also report duty metrics now. A dimension to indicate the duty group has also been added.</h3>
<p dir="auto"><a href="https://github.com/apache/druid/pull/12352" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12352/hovercard">12352</a></p>
<p dir="auto">This release includes several additional improvements for metrics:</p>
<ul dir="auto">
<li>Druid includes the Prometheus emitter by defult (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1030110741" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11812" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11812/hovercard" href="https://github.com/apache/druid/pull/11812">#11812</a>)</li>
<li>Fixed the missing <code class="notranslate">conversionFactor</code> in Prometheus emitter (12338)</li>
<li>Fixed an issue with the <code class="notranslate">ingest/events/messageGap</code> metric (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1170521480" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12337" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12337/hovercard" href="https://github.com/apache/druid/pull/12337">#12337</a>)</li>
<li>Added metrics for Shenandoah GC (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1182869481" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12369" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12369/hovercard" href="https://github.com/apache/druid/pull/12369">#12369</a>)</li>
<li>Added metrics as follows: <code class="notranslate">Cpu</code> and <code class="notranslate">CpuSet</code> to <code class="notranslate">java.util.metrics.cgroups</code>, <code class="notranslate">ProcFsUtil</code> for <code class="notranslate">procfs</code> info, and <code class="notranslate">CgroupCpuMonitor</code> and <code class="notranslate">CgroupCpuSetMonitor</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1013646035" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11763" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11763/hovercard" href="https://github.com/apache/druid/pull/11763">#11763</a>)</li>
<li>Added support to route data through an HTTP proxy (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1047871710" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11891" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11891/hovercard" href="https://github.com/apache/druid/pull/11891">#11891</a>)</li>
<li>Added more metrics for Jetty server thread pool usage (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="857299619" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11113" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11113/hovercard" href="https://github.com/apache/druid/pull/11113">#11113</a>)</li>
<li>Added worker category as a dimension TaskSlot metric of the indexing service (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="962219740" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11554" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11554/hovercard" href="https://github.com/apache/druid/pull/11554">#11554</a>)</li>
<li>Added <code class="notranslate">partitioningType</code> dimension to <code class="notranslate">segment/added/bytes</code> metric to track usage of different partitioning schemes (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1049700242" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11902" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11902/hovercard" href="https://github.com/apache/druid/pull/11902">#11902</a>)</li>
<li>Added query laning metrics to visualize lane assignment (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1092316163" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12111" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12111/hovercard" href="https://github.com/apache/druid/pull/12111">#12111</a>)</li>
</ul>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-cloud-integrations" href="#0.23.0-new-features-cloud-integrations">#</a> Cloud integrations</h2>
<h3 dir="auto"><a name="user-content-0.23.0-new-features-cloud-integrations-allow-authenticating-via-shared-access-resource-for-azure-storage" href="#0.23.0-new-features-cloud-integrations-allow-authenticating-via-shared-access-resource-for-azure-storage">#</a> Allow authenticating via Shared access resource for azure storage</h3>
<p dir="auto"><a href="https://github.com/apache/druid/pull/12266" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12266/hovercard">12266</a></p>
<h2 dir="auto"><a name="user-content-0.23.0-new-features-other-changes" href="#0.23.0-new-features-other-changes">#</a> Other changes</h2>
<ul dir="auto">
<li>Druid now processes lookup load failures more quickly (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1192644845" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12397" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12397/hovercard" href="https://github.com/apache/druid/pull/12397">#12397</a>)</li>
<li><code class="notranslate">BalanceSegments#balanceServers</code> now exits early when there is no balancing work to do (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1015386262" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11768" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11768/hovercard" href="https://github.com/apache/druid/pull/11768">#11768</a>)</li>
<li><code class="notranslate">DimensionHandler</code> now allows you to define a <code class="notranslate">DimensionSpec</code> appropriate for the type of dimension to handle (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1043415744" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11873" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11873/hovercard" href="https://github.com/apache/druid/pull/11873">#11873</a>)</li>
<li>Added an interface for external schema providers to Druid SQL (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1074819348" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12043" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12043/hovercard" href="https://github.com/apache/druid/pull/12043">#12043</a>)</li>
</ul>
<h1 dir="auto"><a name="user-content-0.23.0-security-fixes" href="#0.23.0-security-fixes">#</a> Security fixes</h1>
<h2 dir="auto"><a name="user-content-0.23.0-security-fixes-support-for-access-control-on-setting-query-contexts" href="#0.23.0-security-fixes-support-for-access-control-on-setting-query-contexts">#</a> Support for access control on setting query contexts</h2>
<p dir="auto">Today, any context params are allowed to users. This can cause 1) a bad UX if the context param is not matured yet or 2) even query failure or system fault in the worst case if a sensitive param is abused, ex) maxSubqueryRows. Druid now has an ability to limit context params per user role. That means, a query will fail if you have a context param set in the query that is not allowed to you.</p>
<p dir="auto">The context parameter authorization can be enabled using Druid.<code class="notranslate">auth.authorizeQueryContextParam</code>s. This is disabled by default to enable a smoother upgrade experience.</p>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1192373091" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12396" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12396/hovercard" href="https://github.com/apache/druid/pull/12396">#12396</a>)</p>
<h2 dir="auto"><a name="user-content-0.23.0-security-fixes-other-security-improvements" href="#0.23.0-security-fixes-other-security-improvements">#</a> Other security improvements</h2>
<p dir="auto">This release includes several additional improvements for security:</p>
<ul dir="auto">
<li>You can now optionally enable auhorization on Druid system tables (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="999630803" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11720" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11720/hovercard" href="https://github.com/apache/druid/pull/11720">#11720</a>)</li>
<li>Log4j2 has been upgraded to 2.17.1 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1090816624" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12106" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12106/hovercard" href="https://github.com/apache/druid/pull/12106">#12106</a>)</li>
</ul>
<h1 dir="auto"><a name="user-content-0.23.0-security-fixes-performance-improvements" href="#0.23.0-security-fixes-performance-improvements">#</a> Performance improvements</h1>
<h3 dir="auto"><a name="user-content-0.23.0-security-fixes-performance-improvements-ingestion" href="#0.23.0-security-fixes-performance-improvements-ingestion">#</a> Ingestion</h3>
<ul dir="auto">
<li>More accurate memory estimations while building an on-heap incremental index. Rather than using the maximum possible aggregated row size, Druid can now use (based on a task context flag) a closer estimate of the actual heap footprint of an aggregated row. This enables the indexer to fit more rows in memory before performing an intermediate persist. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1081194905" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12073" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12073/hovercard" href="https://github.com/apache/druid/pull/12073">#12073</a>)</li>
</ul>
<h3 dir="auto"><a name="user-content-0.23.0-security-fixes-performance-improvements-sql" href="#0.23.0-security-fixes-performance-improvements-sql">#</a> SQL</h3>
<ul dir="auto">
<li>Vectorized virtual column processing is enabled by default. It will improve performance for majority of the queries. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1235604030" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12520" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12520/hovercard" href="https://github.com/apache/druid/pull/12520">#12520</a>)</li>
<li>Improved performance for SQL queries with large IN filters. You can achieve better performance by reducing <code class="notranslate">inSubQueryThreshold</code> in SQL query context. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1174436006" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12357" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12357/hovercard" href="https://github.com/apache/druid/pull/12357">#12357</a>)</li>
<li><code class="notranslate">time_shift</code> is now vectorized (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1130762749" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12254" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12254/hovercard" href="https://github.com/apache/druid/pull/12254">#12254</a>)</li>
</ul>
<h1 dir="auto"><a name="user-content-0.23.0-bug-fixes" href="#0.23.0-bug-fixes">#</a> Bug fixes</h1>
<p dir="auto">Druid 0.23.0 contains over 68 bug fixes. You can find the complete list <a href="https://github.com/apache/druid/issues?q=milestone%3A0.23.0+label%3ABug">here</a></p>
<h1 dir="auto"><a name="user-content-0.23.0-upgrading-to-0.23.0" href="#0.23.0-upgrading-to-0.23.0">#</a> Upgrading to 0.23.0</h1>
<p dir="auto">Consider the following changes and updates when upgrading from Druid 0.22.x to 0.23.0. If you're updating from an earlier version than 0.22.1, see the release notes of the relevant intermediate versions.</p>
<h2 dir="auto"><a name="user-content-0.23.0-upgrading-to-0.23.0-autokill" href="#0.23.0-upgrading-to-0.23.0-autokill">#</a> Auto-killing of segments</h2>
<p dir="auto">In <code class="notranslate">0.23.0</code>, Auto killing of segments is now enabled by default (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1110760022" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12187" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12187/hovercard" href="https://github.com/apache/druid/pull/12187">#12187</a>). The new defaults should kill all unused segments older than 90 days. If users do not want this behavior on an upgrade, they should explicitly disable the behavior. This is a risky change since depending on the interval, segments will be killed immediately after being marked unused. this behavior will be reverted or changed in the next druid release. Please see (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1280786117" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/12693" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12693/hovercard" href="https://github.com/apache/druid/pull/12693">#12693</a>) for more details.</p>
<h2 dir="auto"><a name="user-content-0.23.0-upgrading-to-0.23.0-other-changes" href="#0.23.0-upgrading-to-0.23.0-other-changes">#</a> Other changes</h2>
<ul dir="auto">
<li>Kinesis ingestion requires <code class="notranslate">listShards</code> API access on the stream.</li>
<li>Kafka clients libraries have been upgraded to <code class="notranslate">3.0.0</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1004785283" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11735" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11735/hovercard" href="https://github.com/apache/druid/pull/11735">#11735</a>)</li>
<li>The dynamic coordinator config, percentOfSegmentsToConsiderPerMove has been deprecated and will be removed in a future release of Druid. It is being replaced by a new segment picking strategy introduced in (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="891722337" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11257" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11257/hovercard" href="https://github.com/apache/druid/pull/11257">#11257</a>). This new strategy is currently toggled off by default, but can be toggled on if you set the dynamic coordinator config useBatchedSegmentSampler to true. Setting this as such, will disable the use of the deprecated percentOfSegmentsToConsiderPerMove. In a future release, useBatchedSegmentSampler will become permanently true. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1058978336" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11960" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11960/hovercard" href="https://github.com/apache/druid/pull/11960">#11960</a>)</li>
</ul>
<h1 dir="auto"><a name="user-content-0.23.0-developer-notices" href="#0.23.0-developer-notices">#</a> Developer notices</h1>
<h2 dir="auto"><a name="user-content-0.23.0-developer-notices-updated-airline-dependency-to-2.x" href="#0.23.0-developer-notices-updated-airline-dependency-to-2.x">#</a> updated airline dependency to 2.x</h2>
<p dir="auto"><a href="https://github.com/airlift/airline">https://github.com/airlift/airline</a> is no longer maintained and so druid has upgraded to <a href="https://github.com/rvesse/airline">https://github.com/rvesse/airline</a> (Airline 2) to use an actively<br>
maintained version, while minimizing breaking changes.</p>
<p dir="auto">This is a backwards incompatible change, and custom extensions relying on the CliCommandCreator extension point will also need to be updated.</p>
<p dir="auto"><a href="https://github.com/apache/druid/pull/12270" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12270/hovercard">12270</a></p>
<h2 dir="auto"><a name="user-content-0.23.0-developer-notices-return-404-instead-of-400-for-unknown-supervisors-or-tasks" href="#0.23.0-developer-notices-return-404-instead-of-400-for-unknown-supervisors-or-tasks">#</a> Return 404 instead of 400 for unknown supervisors or tasks</h2>
<p dir="auto">Earlier supervisor/task endpoint return 400 when a supervisor or a task is not found. This status code is not friendly and confusing for the 3rd system. And according to the definition of HTTP status code, 404 is right code for such case. So we have changed the status code from 400 to 404 to eliminate the ambigiuty. Any clients of these endpoints should change the response code handling accordingly.</p>
<p dir="auto"><a href="https://github.com/apache/druid/pull/11724" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11724/hovercard">11724</a></p>
<h2 dir="auto"><a name="user-content-0.23.0-developer-notices-return-400-instead-of-500-when-sql-query-cannot-be-planned" href="#0.23.0-developer-notices-return-400-instead-of-500-when-sql-query-cannot-be-planned">#</a> Return 400 instead of 500 when SQL query cannot be planned</h2>
<p dir="auto">Any SQL query that cannot be planned by Druid is not considered a bad request. For such queries, we now return 400. Developers using SQL API should change the response code handling if needed.</p>
<p dir="auto"><a href="https://github.com/apache/druid/pull/12033" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/12033/hovercard">12033</a></p>
<h2 dir="auto"><a name="user-content-0.23.0-developer-notices-responsecontext-refactoring" href="#0.23.0-developer-notices-responsecontext-refactoring">#</a> ResponseContext refactoring</h2>
<p dir="auto"><code class="notranslate">0.23.0</code> changes the the <code class="notranslate">ResponseContext</code> and it's keys in a breaking way. The prior version of the response context suggested that keys be defined in an enum, then registered. This version suggests that keys be defined as objects, then registered. See the <code class="notranslate">ResponseContext</code> class itself for the details.</p>
<p dir="auto">(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1033060654" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11828" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11828/hovercard" href="https://github.com/apache/druid/pull/11828">#11828</a>)</p>
<h2 dir="auto"><a name="user-content-0.23.0-developer-notices-other-changes" href="#0.23.0-developer-notices-other-changes">#</a> Other changes</h2>
<ul dir="auto">
<li><code class="notranslate">SingleServerInventoryView</code> has been removed. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1015959332" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11770" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11770/hovercard" href="https://github.com/apache/druid/pull/11770">#11770</a>)</li>
<li><code class="notranslate">LocalInputSource</code> does not allow ingesting same file multiple times. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1059248438" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11965" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11965/hovercard" href="https://github.com/apache/druid/pull/11965">#11965</a>)</li>
<li><code class="notranslate">getType()</code> in <code class="notranslate">PostAggregator</code> is deprecated in favour of <code class="notranslate">getType(ColumnInspector)</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1031062062" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/11818" data-hovercard-type="pull_request" data-hovercard-url="/apache/druid/pull/11818/hovercard" href="https://github.com/apache/druid/pull/11818">#11818</a>)</li>
</ul>
<h1 dir="auto"><a name="user-content-0.23.0-known-issues" href="#0.23.0-known-issues">#</a> Known issues</h1>
<p dir="auto">For a full list of open issues, please see <a href="https://github.com/apache/druid/labels/Bug">Bug</a> .</p>
<h1 dir="auto"><a name="user-content-0.23.0-credits" href="#0.23.0-credits">#</a> Credits</h1>
<p dir="auto">Thanks to everyone who contributed to this release!</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/2bethere/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/2bethere">@2bethere</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/317brian/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/317brian">@317brian</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/a2l007/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/a2l007">@a2l007</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/abhishekagarwal87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abhishekagarwal87">@abhishekagarwal87</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adarshsanjeev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adarshsanjeev">@adarshsanjeev</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aggarwalakshay/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aggarwalakshay">@aggarwalakshay</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AlexanderSaydakov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AlexanderSaydakov">@AlexanderSaydakov</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AmatyaAvadhanula/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AmatyaAvadhanula">@AmatyaAvadhanula</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andreacyc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andreacyc">@andreacyc</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ApoorvGuptaAi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ApoorvGuptaAi">@ApoorvGuptaAi</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/arunramani/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/arunramani">@arunramani</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asdf2014/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asdf2014">@asdf2014</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AshishKapoor/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AshishKapoor">@AshishKapoor</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/benkrug/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/benkrug">@benkrug</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/capistrant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/capistrant">@capistrant</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Caroline1000/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Caroline1000">@Caroline1000</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cheddar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cheddar">@cheddar</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chenhuiyeh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chenhuiyeh">@chenhuiyeh</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/churromorales/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/churromorales">@churromorales</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clintropolis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clintropolis">@clintropolis</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cryptoe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cryptoe">@cryptoe</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidferlay/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidferlay">@davidferlay</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dbardbar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dbardbar">@dbardbar</a><br>
<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@dependabot</a>[bot]<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/didip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/didip">@didip</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dkoepke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dkoepke">@dkoepke</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dungdm93/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dungdm93">@dungdm93</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ektravel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ektravel">@ektravel</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/emirot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/emirot">@emirot</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/FrankChen021/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/FrankChen021">@FrankChen021</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gianm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gianm">@gianm</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hqx871/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hqx871">@hqx871</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/iMichka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/iMichka">@iMichka</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/imply-cheddar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/imply-cheddar">@imply-cheddar</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/isandeep41/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/isandeep41">@isandeep41</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IvanVan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IvanVan">@IvanVan</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jacobtolar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jacobtolar">@jacobtolar</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jasonk000/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jasonk000">@jasonk000</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jgoz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jgoz">@jgoz</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jihoonson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jihoonson">@jihoonson</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jon-wei/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jon-wei">@jon-wei</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josephglanville/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josephglanville">@josephglanville</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joyking7/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joyking7">@joyking7</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kfaraz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kfaraz">@kfaraz</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/klarose/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/klarose">@klarose</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LakshSingla/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LakshSingla">@LakshSingla</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/liran-funaro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/liran-funaro">@liran-funaro</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lokesh-lingarajan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lokesh-lingarajan">@lokesh-lingarajan</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/loquisgon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/loquisgon">@loquisgon</a><br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mark-imply/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mark-imply">@mark-imply</a><br>
@maytasm<br>
@mchades<br>
@nikhil-ddu<br>
@paul-rogers<br>
@petermarshallio<br>
@pjain1<br>
@pjfanning<br>
@rohangarg<br>
@samarthjain<br>
@sergioferragut<br>
@shallada<br>
@somu-imply<br>
@sthetland<br>
@suneet-s<br>
@syacobovitz<br>
@Tassatux<br>
@techdocsmith<br>
@tejaswini-imply<br>
@themarcelor<br>
@TSFenwick<br>
@uschindler<br>
@v-vishwa<br>
@Vespira<br>
@vogievetsky<br>
@vtlim<br>
@wangxiaobaidu11<br>
@williamhyun<br>
@wjhypo<br>
@xvrl<br>
@yuanlihan<br>
@zachjsh</p> | <p dir="auto">Druid version used: 0.8.3</p>
<p dir="auto">I noticed this while restarting one of my kafka replicas.</p>
<p dir="auto">It seems the realtime node read a msg twice due to this and ended up aggregating it. We saw metrics everywhere doubled due to that.</p>
<p dir="auto">Realtime nodes should check for duplicates. if entire row is exactly the same as previous, then discard it.</p> | 0 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>yes/no ?</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.2.10</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>Context</strong>:</p>
<ul dir="auto">
<li>symfony project v3.2</li>
<li>PHP 7</li>
<li>Mysql 5.7</li>
<li>Redis (for custom cache)</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<ul dir="auto">
<li>after a <code class="notranslate">composer update</code>, Symfony did update from 3.2.9 to 3.2.10 (along with a known update from an owned module)</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - Updating symfony/symfony (v3.2.9 => v3.2.10): Loading from cache
- Updating cleverage/process-bundle dev-master (6118651 => 4b264eb): Checking out 4b264eba8b"><pre class="notranslate"><code class="notranslate"> - Updating symfony/symfony (v3.2.9 => v3.2.10): Loading from cache
- Updating cleverage/process-bundle dev-master (6118651 => 4b264eb): Checking out 4b264eba8b
</code></pre></div>
<ul dir="auto">
<li>at the end of the <code class="notranslate">composer update</code>, a huge error happened</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to save key "%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" (array) {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","type":"array","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: array_keys() expects parameter 1 to be array, boolean given at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:95)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" {"key":"%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to save key "%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" (integer) {"key":"%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","type":"integer","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: array_keys() expects parameter 1 to be array, boolean given at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:95)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to save key "%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" (array) {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","type":"array","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: array_keys() expects parameter 1 to be array, boolean given at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:95)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" {"key":"%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[...]"><pre lang="[2017-07-04" class="notranslate"><code class="notranslate">[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to save key "%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" (array) {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","type":"array","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: array_keys() expects parameter 1 to be array, boolean given at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:95)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" {"key":"%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to save key "%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D" (integer) {"key":"%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CAbstractValue%5D%5B1%5D","type":"integer","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: array_keys() expects parameter 1 to be array, boolean given at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:95)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to save key "%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" (array) {"key":"%5BSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","type":"array","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: array_keys() expects parameter 1 to be array, boolean given at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ApcuAdapter.php:95)"}
[2017-07-04 13:54:11] cache.WARNING: Failed to fetch key "%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D" {"key":"%5B%5BC%5DSidus%5CEAVModelBundle%5CEntity%5CValueRepository%5D%5B1%5D","exception":"[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: Invalid argument supplied for foreach() at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:179)"}
[...]
</code></pre></div>
<ul dir="auto">
<li>it can be reproduced with some doctrine commands (such as <code class="notranslate">./bin/console doctrine:schema:validate | head</code>)</li>
<li>when reverting to v3.2.9, the bug disappear, all is normal ; when going back to v3.2.10 it fails again</li>
<li>reproduced on multiple environments (with mostly the same setup ; with and without docker)</li>
<li>cache clearing and restarting apache doesn't solve the thing</li>
</ul> | <table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.4.x-dev</td>
</tr>
</tbody>
</table>
<p dir="auto">After:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/yceruto/symfony-standard -b cache_warmup_warning
$ cd symfony-standard
$ composer install --prefer-dist
$ bin/console c:c --no-warmup
$ bin/console c:w"><pre class="notranslate">$ git clone https://github.com/yceruto/symfony-standard -b cache_warmup_warning
$ <span class="pl-c1">cd</span> symfony-standard
$ composer install --prefer-dist
$ bin/console c:c --no-warmup
$ bin/console c:w</pre></div>
<p dir="auto">Stacktrace:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
01:22:05 WARNING [cache] Failed to save key "%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D" (array)
[
"key" => "%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D",
"type" => "array",
"exception" => Symfony\Component\Debug\Exception\ContextErrorException {
-context: [
"values" => [
"tN2hJq4bT3:%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D" => []
],
"lifetime" => 0
],
#message: "Warning: array_keys() expects parameter 1 to be array, boolean given",
#code: 0,
#file: "/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/ApcuTrait.php",
#line: 97,
#severity: E_WARNING,
trace: {
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/ApcuTrait.php:97: {
: try {,
: return array_keys(apcu_store($values, null, $lifetime));,
: } catch (\Error $e) {
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:216: {
: try {,
: $e = $this->doSave($values, $lifetime);,
: } catch (\Exception $e) {,
arguments: {
$values: [ …1],
$lifetime: 0
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:185: {
: ,
: return $this->commit();,
: }
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:64: {
: ,
: $adapter->save($item);,
: $item->defaultLifetime = $origDefaultLifetime;,
arguments: {
$item: Symfony\Component\Cache\CacheItem {#1 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:84: {
: while (0 <= --$i) {,
: $saveUp($this->adapters[$i], $item);,
: },
arguments: {
Symfony\Component\Cache\Adapter\ApcuAdapter { …},
Symfony\Component\Cache\CacheItem {#1 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:40: {
: try {,
: $item = $this->pool->getItem($key);,
: } finally {,
arguments: {
$key: "%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:91: {
: if (!isset($this->values[$key])) {,
: return $this->fallbackPool->getItem($key);,
: },
arguments: {
$key: "%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/DoctrineProvider.php:34: {
: {,
: $item = $this->pool->getItem(rawurlencode($id));,
: ,
arguments: {
$key: "%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:78: {
: {,
: return $this->doFetch($this->getNamespacedId($id));,
: },
arguments: {
$id: "[Symfony\Component\Form\Form@[Annot]][1]"
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:193: {
: $cacheKey = $rawCacheKey . self::$CACHE_SALT;,
: if (($data = $this->cache->fetch($cacheKey)) !== false) {,
: if (!$this->debug || $this->isCacheFresh($cacheKey, $class)) {,
arguments: {
$id: "Symfony\Component\Form\Form@[Annot]"
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:82: {
: ,
: if (false === ($annots = $this->fetchFromCache($cacheKey, $class))) {,
: $annots = $this->delegate->getClassAnnotations($class);,
arguments: {
$rawCacheKey: "Symfony\Component\Form\Form",
$class: ReflectionClass {#2 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php:48: {
: ,
: foreach ($this->reader->getClassAnnotations($reflClass) as $constraint) {,
: if ($constraint instanceof GroupSequence) {,
arguments: {
$class: ReflectionClass {#2 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php:57: {
: foreach ($this->loaders as $loader) {,
: $success = $loader->loadClassMetadata($metadata) || $success;,
: },
arguments: {
$metadata: Symfony\Component\Validator\Mapping\ClassMetadata {#3 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Factory/LazyLoadingMetadataFactory.php:116: {
: if (null !== $this->loader) {,
: $this->loader->loadClassMetadata($metadata);,
: },
arguments: {
$metadata: Symfony\Component\Validator\Mapping\ClassMetadata {#3 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/ValidatorCacheWarmer.php:76: {
: if ($metadataFactory->hasMetadataFor($mappedClass)) {,
: $metadataFactory->getMetadataFor($mappedClass);,
: },
arguments: {
$value: "Symfony\Component\Form\Form"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:48: {
: ,
: $warmer->warmUp($cacheDir);,
: },
arguments: {
$cacheDir: "/home/yceruto/bug/var/cache/dev"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:68: {
: ,
: $warmer->warmUp($this->getContainer()->getParameter('kernel.cache_dir'));,
: ,
arguments: {
$cacheDir: "/home/yceruto/bug/var/cache/dev"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:264: {
: } else {,
: $statusCode = $this->execute($input, $output);,
: },
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#4 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#5 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887: {
: if ($event->commandShouldRun()) {,
: $exitCode = $command->run($input, $output);,
: } else {,
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#4 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#5 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223: {
: $this->runningCommand = $command;,
: $exitCode = $this->doRunCommand($command, $input, $output);,
: $this->runningCommand = null;,
arguments: {
$command: Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand { …},
$input: Symfony\Component\Console\Input\ArgvInput {#4 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#5 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81: {
: ,
: return parent::doRun($input, $output);,
: },
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#4 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#5 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130: {
: $e = null;,
: $exitCode = $this->doRun($input, $output);,
: } catch (\Exception $x) {,
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#4 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#5 …}
}
},
/home/yceruto/bug/bin/console:27: {
: $application = new Application($kernel);,
: $application->run($input);,
: ,
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#4 …}
}
}
}
}
]
[]
01:22:05 WARNING [cache] Failed to fetch key "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
[
"key" => "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D",
"exception" => Symfony\Component\Debug\Exception\ContextErrorException {
-context: [
"key" => "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D",
"id" => "tN2hJq4bT3:%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D",
"f" => Closure {
class: "Symfony\Component\Cache\CacheItem",
parameters: {
$key: {},
$value: {},
$isHit: {}
},
use: {
$defaultLifetime: 0
},
file: "/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php",
line: "41 to 49"
},
"isHit" => false,
"value" => null
],
#message: "Warning: Invalid argument supplied for foreach()",
#code: 0,
#file: "/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php",
#line: 141,
#severity: E_WARNING,
trace: {
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:141: {
: try {,
: foreach ($this->doFetch(array($id)) as $value) {,
: $isHit = true;
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:80: {
: foreach ($this->adapters as $i => $adapter) {,
: $item = $adapter->getItem($key);,
: ,
arguments: {
$key: "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:40: {
: try {,
: $item = $this->pool->getItem($key);,
: } finally {,
arguments: {
$key: "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:91: {
: if (!isset($this->values[$key])) {,
: return $this->fallbackPool->getItem($key);,
: },
arguments: {
$key: "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/DoctrineProvider.php:34: {
: {,
: $item = $this->pool->getItem(rawurlencode($id));,
: ,
arguments: {
$key: "%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D"
}
},
/home/yceruto/bug/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:78: {
: {,
: return $this->doFetch($this->getNamespacedId($id));,
: },
arguments: {
$id: "[[C]Symfony\Component\Form\Form@[Annot]][1]"
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:233: {
: ,
: return $this->cache->fetch('[C]'.$cacheKey) >= filemtime($filename);,
: },
arguments: {
$id: "[C]Symfony\Component\Form\Form@[Annot]"
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:194: {
: if (($data = $this->cache->fetch($cacheKey)) !== false) {,
: if (!$this->debug || $this->isCacheFresh($cacheKey, $class)) {,
: return $data;,
arguments: {
$cacheKey: "Symfony\Component\Form\Form@[Annot]",
$class: ReflectionClass {#1 …}
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:82: {
: ,
: if (false === ($annots = $this->fetchFromCache($cacheKey, $class))) {,
: $annots = $this->delegate->getClassAnnotations($class);,
arguments: {
$rawCacheKey: "Symfony\Component\Form\Form",
$class: ReflectionClass {#1 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php:48: {
: ,
: foreach ($this->reader->getClassAnnotations($reflClass) as $constraint) {,
: if ($constraint instanceof GroupSequence) {,
arguments: {
$class: ReflectionClass {#1 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php:57: {
: foreach ($this->loaders as $loader) {,
: $success = $loader->loadClassMetadata($metadata) || $success;,
: },
arguments: {
$metadata: Symfony\Component\Validator\Mapping\ClassMetadata {#2 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Factory/LazyLoadingMetadataFactory.php:116: {
: if (null !== $this->loader) {,
: $this->loader->loadClassMetadata($metadata);,
: },
arguments: {
$metadata: Symfony\Component\Validator\Mapping\ClassMetadata {#2 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/ValidatorCacheWarmer.php:76: {
: if ($metadataFactory->hasMetadataFor($mappedClass)) {,
: $metadataFactory->getMetadataFor($mappedClass);,
: },
arguments: {
$value: "Symfony\Component\Form\Form"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:48: {
: ,
: $warmer->warmUp($cacheDir);,
: },
arguments: {
$cacheDir: "/home/yceruto/bug/var/cache/dev"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:68: {
: ,
: $warmer->warmUp($this->getContainer()->getParameter('kernel.cache_dir'));,
: ,
arguments: {
$cacheDir: "/home/yceruto/bug/var/cache/dev"
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:264: {
: } else {,
: $statusCode = $this->execute($input, $output);,
: },
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#3 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#4 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887: {
: if ($event->commandShouldRun()) {,
: $exitCode = $command->run($input, $output);,
: } else {,
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#3 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#4 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223: {
: $this->runningCommand = $command;,
: $exitCode = $this->doRunCommand($command, $input, $output);,
: $this->runningCommand = null;,
arguments: {
$command: Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand { …},
$input: Symfony\Component\Console\Input\ArgvInput {#3 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#4 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81: {
: ,
: return parent::doRun($input, $output);,
: },
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#3 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#4 …}
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130: {
: $e = null;,
: $exitCode = $this->doRun($input, $output);,
: } catch (\Exception $x) {,
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#3 …},
$output: Symfony\Component\Console\Output\ConsoleOutput {#4 …}
}
},
/home/yceruto/bug/bin/console:27: {
: $application = new Application($kernel);,
: $application->run($input);,
: ,
arguments: {
$input: Symfony\Component\Console\Input\ArgvInput {#3 …}
}
}
}
}
]
[]
..."><pre class="notranslate">...
01:22:05 WARNING [cache] Failed to save key <span class="pl-s"><span class="pl-pds">"</span>%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span> (array)
[
<span class="pl-s"><span class="pl-pds">"</span>key<span class="pl-pds">"</span></span> <span class="pl-k">=></span> <span class="pl-s"><span class="pl-pds">"</span>%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>type<span class="pl-pds">"</span></span> <span class="pl-k">=></span> <span class="pl-s"><span class="pl-pds">"</span>array<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>exception<span class="pl-pds">"</span></span> <span class="pl-k">=></span> Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\D</span>ebug<span class="pl-cce">\E</span>xception<span class="pl-cce">\C</span>ontextErrorException {
-context: [
<span class="pl-s"><span class="pl-pds">"</span>values<span class="pl-pds">"</span></span> <span class="pl-k">=></span> [
<span class="pl-s"><span class="pl-pds">"</span>tN2hJq4bT3:%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span> <span class="pl-k">=></span> []
],
<span class="pl-s"><span class="pl-pds">"</span>lifetime<span class="pl-pds">"</span></span> <span class="pl-k">=></span> 0
],
<span class="pl-c"><span class="pl-c">#</span>message: "Warning: array_keys() expects parameter 1 to be array, boolean given",</span>
<span class="pl-c"><span class="pl-c">#</span>code: 0,</span>
<span class="pl-c"><span class="pl-c">#</span>file: "/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/ApcuTrait.php",</span>
<span class="pl-c"><span class="pl-c">#</span>line: 97,</span>
<span class="pl-c"><span class="pl-c">#</span>severity: E_WARNING,</span>
trace: {
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/ApcuTrait.php:97: {
<span class="pl-c1">:</span> try {,
<span class="pl-c1">:</span> <span class="pl-k">return</span> array_keys(apcu_store(<span class="pl-smi">$values</span>, null, <span class="pl-smi">$lifetime</span>))<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } catch (<span class="pl-cce">\E</span>rror <span class="pl-smi">$e</span>) {
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:216: {
<span class="pl-c1">:</span> try {,
<span class="pl-c1">:</span> <span class="pl-smi">$e</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>doSave(<span class="pl-smi">$values</span>, <span class="pl-smi">$lifetime</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } catch (<span class="pl-cce">\E</span>xception <span class="pl-smi">$e</span>) {,
arguments: {
<span class="pl-smi">$values</span>: [ …1],
<span class="pl-smi">$lifetime</span>: 0
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:185: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-en">$this->commit</span>();,
<span class="pl-c1">:</span> }
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:64: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-smi">$adapter</span>-<span class="pl-k">></span>save(<span class="pl-smi">$item</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$item</span>-<span class="pl-k">></span>defaultLifetime = <span class="pl-smi">$origDefaultLifetime</span><span class="pl-k">;</span>,
arguments: {
<span class="pl-smi">$item</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>ache<span class="pl-cce">\C</span>acheItem {<span class="pl-c"><span class="pl-c">#</span>1 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:84: {
<span class="pl-c1">:</span> <span class="pl-k">while</span> (0 <span class="pl-k"><</span>= --<span class="pl-smi">$i</span>) {,
<span class="pl-c1">:</span> <span class="pl-smi">$saveUp</span>(<span class="pl-smi">$this</span>-<span class="pl-k">></span>adapters[<span class="pl-smi">$i</span>], <span class="pl-smi">$item</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>ache<span class="pl-cce">\A</span>dapter<span class="pl-cce">\A</span>pcuAdapter { …},
Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>ache<span class="pl-cce">\C</span>acheItem {<span class="pl-c"><span class="pl-c">#</span>1 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:40: {
<span class="pl-c1">:</span> try {,
<span class="pl-c1">:</span> <span class="pl-smi">$item</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>pool-<span class="pl-k">></span>getItem(<span class="pl-smi">$key</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } finally {,
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:91: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-k">!</span>isset(<span class="pl-smi">$this</span>-<span class="pl-k">></span>values[<span class="pl-smi">$key</span>])) {,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>fallbackPool-<span class="pl-k">></span>getItem(<span class="pl-smi">$key</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/DoctrineProvider.php:34: {
<span class="pl-c1">:</span> {,
<span class="pl-c1">:</span> <span class="pl-smi">$item</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>pool-<span class="pl-k">></span>getItem(rawurlencode(<span class="pl-smi">$id</span>))<span class="pl-k">;</span>,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5BSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:78: {
<span class="pl-c1">:</span> {,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>doFetch(<span class="pl-smi">$this</span>-<span class="pl-k">></span>getNamespacedId(<span class="pl-smi">$id</span>))<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$id</span>: <span class="pl-s"><span class="pl-pds">"</span>[Symfony\Component\Form\Form@[Annot]][1]<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:193: {
<span class="pl-c1">:</span> <span class="pl-smi">$cacheKey</span> = <span class="pl-smi">$rawCacheKey</span> <span class="pl-c1">.</span> self::<span class="pl-smi">$CACHE_SALT</span><span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-k">if</span> <span class="pl-s"><span class="pl-pds">((</span><span class="pl-smi">$data</span> <span class="pl-k">=</span> <span class="pl-smi">$this</span><span class="pl-k">-></span>cache<span class="pl-k">-></span>fetch(<span class="pl-smi">$cacheKey</span><span class="pl-pds">))</span></span> <span class="pl-k">!</span>== false) {,
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-k">!</span><span class="pl-smi">$this</span>-<span class="pl-k">></span>debug <span class="pl-k">||</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>isCacheFresh(<span class="pl-smi">$cacheKey</span>, <span class="pl-smi">$class</span>)) {,
arguments: {
<span class="pl-smi">$id</span>: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Form\Form@[Annot]<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:82: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-k">if</span> (false === (<span class="pl-smi">$annots</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>fetchFromCache(<span class="pl-smi">$cacheKey</span>, <span class="pl-smi">$class</span>))) {,
<span class="pl-c1">:</span> <span class="pl-smi">$annots</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>delegate-<span class="pl-k">></span>getClassAnnotations(<span class="pl-smi">$class</span>)<span class="pl-k">;</span>,
arguments: {
<span class="pl-smi">$rawCacheKey</span>: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Form\Form<span class="pl-pds">"</span></span>,
<span class="pl-smi">$class</span>: ReflectionClass {<span class="pl-c"><span class="pl-c">#</span>2 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php:48: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> foreach (<span class="pl-smi">$this</span>-<span class="pl-k">></span>reader-<span class="pl-k">></span>getClassAnnotations(<span class="pl-smi">$reflClass</span>) as <span class="pl-smi">$constraint</span>) {,
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-smi">$constraint</span> instanceof GroupSequence) {,
arguments: {
<span class="pl-smi">$class</span>: ReflectionClass {<span class="pl-c"><span class="pl-c">#</span>2 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php:57: {
<span class="pl-c1">:</span> foreach (<span class="pl-smi">$this</span>-<span class="pl-k">></span>loaders as <span class="pl-smi">$loader</span>) {,
<span class="pl-c1">:</span> <span class="pl-smi">$success</span> = <span class="pl-smi">$loader</span>-<span class="pl-k">></span>loadClassMetadata(<span class="pl-smi">$metadata</span>) <span class="pl-k">||</span> <span class="pl-smi">$success</span><span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$metadata</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\V</span>alidator<span class="pl-cce">\M</span>apping<span class="pl-cce">\C</span>lassMetadata {<span class="pl-c"><span class="pl-c">#</span>3 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Factory/LazyLoadingMetadataFactory.php:116: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (null <span class="pl-k">!</span>== <span class="pl-smi">$this</span>-<span class="pl-k">></span>loader) {,
<span class="pl-c1">:</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>loader-<span class="pl-k">></span>loadClassMetadata(<span class="pl-smi">$metadata</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$metadata</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\V</span>alidator<span class="pl-cce">\M</span>apping<span class="pl-cce">\C</span>lassMetadata {<span class="pl-c"><span class="pl-c">#</span>3 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/ValidatorCacheWarmer.php:76: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-smi">$metadataFactory</span>-<span class="pl-k">></span>hasMetadataFor(<span class="pl-smi">$mappedClass</span>)) {,
<span class="pl-c1">:</span> <span class="pl-smi">$metadataFactory</span>-<span class="pl-k">></span>getMetadataFor(<span class="pl-smi">$mappedClass</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$value</span>: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Form\Form<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:48: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-smi">$warmer</span>-<span class="pl-k">></span>warmUp(<span class="pl-smi">$cacheDir</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$cacheDir</span>: <span class="pl-s"><span class="pl-pds">"</span>/home/yceruto/bug/var/cache/dev<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:68: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-en">$warmer->warmUp($this->getContainer</span>()-<span class="pl-k">></span>getParameter(<span class="pl-s"><span class="pl-pds">'</span>kernel.cache_dir<span class="pl-pds">'</span></span>));,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$cacheDir</span>: <span class="pl-s"><span class="pl-pds">"</span>/home/yceruto/bug/var/cache/dev<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:264: {
<span class="pl-c1">:</span> } <span class="pl-k">else</span> {,
<span class="pl-c1">:</span> <span class="pl-smi">$statusCode</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>execute(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>4 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>5 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-smi">$event</span>-<span class="pl-k">></span>commandShouldRun()) {,
<span class="pl-c1">:</span> <span class="pl-smi">$exitCode</span> = <span class="pl-smi">$command</span>-<span class="pl-k">></span>run(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } <span class="pl-k">else</span> {,
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>4 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>5 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223: {
<span class="pl-c1">:</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>runningCommand = <span class="pl-smi">$command</span><span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$exitCode</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>doRunCommand(<span class="pl-smi">$command</span>, <span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>runningCommand = null<span class="pl-k">;</span>,
arguments: {
<span class="pl-smi">$command</span>: Symfony<span class="pl-cce">\B</span>undle<span class="pl-cce">\F</span>rameworkBundle<span class="pl-cce">\C</span>ommand<span class="pl-cce">\C</span>acheWarmupCommand { …},
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>4 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>5 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-k">return</span> parent::doRun(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>4 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>5 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130: {
<span class="pl-c1">:</span> <span class="pl-smi">$e</span> = null<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$exitCode</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>doRun(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } catch (<span class="pl-cce">\E</span>xception <span class="pl-smi">$x</span>) {,
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>4 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>5 …}</span>
}
},
/home/yceruto/bug/bin/console:27: {
<span class="pl-c1">:</span> <span class="pl-smi">$application</span> = new Application(<span class="pl-smi">$kernel</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$application</span>-<span class="pl-k">></span>run(<span class="pl-smi">$input</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>4 …}</span>
}
}
}
}
]
[]
01:22:05 WARNING [cache] Failed to fetch key <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
[
<span class="pl-s"><span class="pl-pds">"</span>key<span class="pl-pds">"</span></span> <span class="pl-k">=></span> <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>exception<span class="pl-pds">"</span></span> <span class="pl-k">=></span> Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\D</span>ebug<span class="pl-cce">\E</span>xception<span class="pl-cce">\C</span>ontextErrorException {
-context: [
<span class="pl-s"><span class="pl-pds">"</span>key<span class="pl-pds">"</span></span> <span class="pl-k">=></span> <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>id<span class="pl-pds">"</span></span> <span class="pl-k">=></span> <span class="pl-s"><span class="pl-pds">"</span>tN2hJq4bT3:%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>f<span class="pl-pds">"</span></span> <span class="pl-k">=></span> Closure {
class: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Cache\CacheItem<span class="pl-pds">"</span></span>,
parameters: {
<span class="pl-smi">$key</span>: {},
<span class="pl-smi">$value</span>: {},
<span class="pl-smi">$isHit</span>: {}
},
use: {
<span class="pl-smi">$defaultLifetime</span>: 0
},
file: <span class="pl-s"><span class="pl-pds">"</span>/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php<span class="pl-pds">"</span></span>,
line: <span class="pl-s"><span class="pl-pds">"</span>41 to 49<span class="pl-pds">"</span></span>
},
<span class="pl-s"><span class="pl-pds">"</span>isHit<span class="pl-pds">"</span></span> <span class="pl-k">=></span> false,
<span class="pl-s"><span class="pl-pds">"</span>value<span class="pl-pds">"</span></span> <span class="pl-k">=></span> null
],
<span class="pl-c"><span class="pl-c">#</span>message: "Warning: Invalid argument supplied for foreach()",</span>
<span class="pl-c"><span class="pl-c">#</span>code: 0,</span>
<span class="pl-c"><span class="pl-c">#</span>file: "/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php",</span>
<span class="pl-c"><span class="pl-c">#</span>line: 141,</span>
<span class="pl-c"><span class="pl-c">#</span>severity: E_WARNING,</span>
trace: {
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:141: {
<span class="pl-c1">:</span> try {,
<span class="pl-c1">:</span> foreach (<span class="pl-smi">$this</span>-<span class="pl-k">></span>doFetch(array(<span class="pl-smi">$id</span>)) as <span class="pl-smi">$value</span>) {,
<span class="pl-c1">:</span> <span class="pl-smi">$isHit</span> = <span class="pl-c1">true</span><span class="pl-k">;</span>
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/ChainAdapter.php:80: {
<span class="pl-c1">:</span> foreach (<span class="pl-smi">$this</span>-<span class="pl-k">></span>adapters as <span class="pl-smi">$i</span> =<span class="pl-k">></span> <span class="pl-smi">$adapter</span>) {,
<span class="pl-c1">:</span> <span class="pl-smi">$item</span> = <span class="pl-smi">$adapter</span>-<span class="pl-k">></span>getItem(<span class="pl-smi">$key</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/TraceableAdapter.php:40: {
<span class="pl-c1">:</span> try {,
<span class="pl-c1">:</span> <span class="pl-smi">$item</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>pool-<span class="pl-k">></span>getItem(<span class="pl-smi">$key</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } finally {,
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/PhpArrayAdapter.php:91: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-k">!</span>isset(<span class="pl-smi">$this</span>-<span class="pl-k">></span>values[<span class="pl-smi">$key</span>])) {,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>fallbackPool-<span class="pl-k">></span>getItem(<span class="pl-smi">$key</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Cache/DoctrineProvider.php:34: {
<span class="pl-c1">:</span> {,
<span class="pl-c1">:</span> <span class="pl-smi">$item</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>pool-<span class="pl-k">></span>getItem(rawurlencode(<span class="pl-smi">$id</span>))<span class="pl-k">;</span>,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$key</span>: <span class="pl-s"><span class="pl-pds">"</span>%5B%5BC%5DSymfony%5CComponent%5CForm%5CForm%40%5BAnnot%5D%5D%5B1%5D<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:78: {
<span class="pl-c1">:</span> {,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>doFetch(<span class="pl-smi">$this</span>-<span class="pl-k">></span>getNamespacedId(<span class="pl-smi">$id</span>))<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$id</span>: <span class="pl-s"><span class="pl-pds">"</span>[[C]Symfony\Component\Form\Form@[Annot]][1]<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:233: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>cache-<span class="pl-k">></span>fetch(<span class="pl-s"><span class="pl-pds">'</span>[C]<span class="pl-pds">'</span></span>.<span class="pl-smi">$cacheKey</span>) <span class="pl-k">></span>= filemtime(<span class="pl-smi">$filename</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$id</span>: <span class="pl-s"><span class="pl-pds">"</span>[C]Symfony\Component\Form\Form@[Annot]<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:194: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> <span class="pl-s"><span class="pl-pds">((</span><span class="pl-smi">$data</span> <span class="pl-k">=</span> <span class="pl-smi">$this</span><span class="pl-k">-></span>cache<span class="pl-k">-></span>fetch(<span class="pl-smi">$cacheKey</span><span class="pl-pds">))</span></span> <span class="pl-k">!</span>== false) {,
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-k">!</span><span class="pl-smi">$this</span>-<span class="pl-k">></span>debug <span class="pl-k">||</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>isCacheFresh(<span class="pl-smi">$cacheKey</span>, <span class="pl-smi">$class</span>)) {,
<span class="pl-c1">:</span> <span class="pl-k">return</span> <span class="pl-smi">$data</span><span class="pl-k">;</span>,
arguments: {
<span class="pl-smi">$cacheKey</span>: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Form\Form@[Annot]<span class="pl-pds">"</span></span>,
<span class="pl-smi">$class</span>: ReflectionClass {<span class="pl-c"><span class="pl-c">#</span>1 …}</span>
}
},
/home/yceruto/bug/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:82: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-k">if</span> (false === (<span class="pl-smi">$annots</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>fetchFromCache(<span class="pl-smi">$cacheKey</span>, <span class="pl-smi">$class</span>))) {,
<span class="pl-c1">:</span> <span class="pl-smi">$annots</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>delegate-<span class="pl-k">></span>getClassAnnotations(<span class="pl-smi">$class</span>)<span class="pl-k">;</span>,
arguments: {
<span class="pl-smi">$rawCacheKey</span>: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Form\Form<span class="pl-pds">"</span></span>,
<span class="pl-smi">$class</span>: ReflectionClass {<span class="pl-c"><span class="pl-c">#</span>1 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php:48: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> foreach (<span class="pl-smi">$this</span>-<span class="pl-k">></span>reader-<span class="pl-k">></span>getClassAnnotations(<span class="pl-smi">$reflClass</span>) as <span class="pl-smi">$constraint</span>) {,
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-smi">$constraint</span> instanceof GroupSequence) {,
arguments: {
<span class="pl-smi">$class</span>: ReflectionClass {<span class="pl-c"><span class="pl-c">#</span>1 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/LoaderChain.php:57: {
<span class="pl-c1">:</span> foreach (<span class="pl-smi">$this</span>-<span class="pl-k">></span>loaders as <span class="pl-smi">$loader</span>) {,
<span class="pl-c1">:</span> <span class="pl-smi">$success</span> = <span class="pl-smi">$loader</span>-<span class="pl-k">></span>loadClassMetadata(<span class="pl-smi">$metadata</span>) <span class="pl-k">||</span> <span class="pl-smi">$success</span><span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$metadata</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\V</span>alidator<span class="pl-cce">\M</span>apping<span class="pl-cce">\C</span>lassMetadata {<span class="pl-c"><span class="pl-c">#</span>2 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Factory/LazyLoadingMetadataFactory.php:116: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (null <span class="pl-k">!</span>== <span class="pl-smi">$this</span>-<span class="pl-k">></span>loader) {,
<span class="pl-c1">:</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>loader-<span class="pl-k">></span>loadClassMetadata(<span class="pl-smi">$metadata</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$metadata</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\V</span>alidator<span class="pl-cce">\M</span>apping<span class="pl-cce">\C</span>lassMetadata {<span class="pl-c"><span class="pl-c">#</span>2 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/CacheWarmer/ValidatorCacheWarmer.php:76: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-smi">$metadataFactory</span>-<span class="pl-k">></span>hasMetadataFor(<span class="pl-smi">$mappedClass</span>)) {,
<span class="pl-c1">:</span> <span class="pl-smi">$metadataFactory</span>-<span class="pl-k">></span>getMetadataFor(<span class="pl-smi">$mappedClass</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$value</span>: <span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\Form\Form<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:48: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-smi">$warmer</span>-<span class="pl-k">></span>warmUp(<span class="pl-smi">$cacheDir</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$cacheDir</span>: <span class="pl-s"><span class="pl-pds">"</span>/home/yceruto/bug/var/cache/dev<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:68: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-en">$warmer->warmUp($this->getContainer</span>()-<span class="pl-k">></span>getParameter(<span class="pl-s"><span class="pl-pds">'</span>kernel.cache_dir<span class="pl-pds">'</span></span>));,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$cacheDir</span>: <span class="pl-s"><span class="pl-pds">"</span>/home/yceruto/bug/var/cache/dev<span class="pl-pds">"</span></span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:264: {
<span class="pl-c1">:</span> } <span class="pl-k">else</span> {,
<span class="pl-c1">:</span> <span class="pl-smi">$statusCode</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>execute(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>3 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>4 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887: {
<span class="pl-c1">:</span> <span class="pl-k">if</span> (<span class="pl-smi">$event</span>-<span class="pl-k">></span>commandShouldRun()) {,
<span class="pl-c1">:</span> <span class="pl-smi">$exitCode</span> = <span class="pl-smi">$command</span>-<span class="pl-k">></span>run(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } <span class="pl-k">else</span> {,
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>3 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>4 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223: {
<span class="pl-c1">:</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>runningCommand = <span class="pl-smi">$command</span><span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$exitCode</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>doRunCommand(<span class="pl-smi">$command</span>, <span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$this</span>-<span class="pl-k">></span>runningCommand = null<span class="pl-k">;</span>,
arguments: {
<span class="pl-smi">$command</span>: Symfony<span class="pl-cce">\B</span>undle<span class="pl-cce">\F</span>rameworkBundle<span class="pl-cce">\C</span>ommand<span class="pl-cce">\C</span>acheWarmupCommand { …},
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>3 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>4 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81: {
<span class="pl-c1">:</span> ,
<span class="pl-c1">:</span> <span class="pl-k">return</span> parent::doRun(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> },
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>3 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>4 …}</span>
}
},
/home/yceruto/bug/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130: {
<span class="pl-c1">:</span> <span class="pl-smi">$e</span> = null<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$exitCode</span> = <span class="pl-smi">$this</span>-<span class="pl-k">></span>doRun(<span class="pl-smi">$input</span>, <span class="pl-smi">$output</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> } catch (<span class="pl-cce">\E</span>xception <span class="pl-smi">$x</span>) {,
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>3 …},</span>
<span class="pl-smi">$output</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\O</span>utput<span class="pl-cce">\C</span>onsoleOutput {<span class="pl-c"><span class="pl-c">#</span>4 …}</span>
}
},
/home/yceruto/bug/bin/console:27: {
<span class="pl-c1">:</span> <span class="pl-smi">$application</span> = new Application(<span class="pl-smi">$kernel</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> <span class="pl-smi">$application</span>-<span class="pl-k">></span>run(<span class="pl-smi">$input</span>)<span class="pl-k">;</span>,
<span class="pl-c1">:</span> ,
arguments: {
<span class="pl-smi">$input</span>: Symfony<span class="pl-cce">\C</span>omponent<span class="pl-cce">\C</span>onsole<span class="pl-cce">\I</span>nput<span class="pl-cce">\A</span>rgvInput {<span class="pl-c"><span class="pl-c">#</span>3 …}</span>
}
}
}
}
]
[]
...</pre></div> | 1 |
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">we find java version: java8, full_version=1.8.0_342, full_path=/home/peilq_sharding/bisheng-jdk1.8.0_342//bin/java<br>
ShardingSphere-5.2.2-SNAPSHOT<br>
Commit ID: dirty-753c0cee8ee6fd3db00536da55b64bc5198a3758<br>
Commit Message: Optimize sqlFederationExecutor init logic when sqlFederationType modify dynamically (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1451253225" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/22209" data-hovercard-type="pull_request" data-hovercard-url="/apache/shardingsphere/pull/22209/hovercard" href="https://github.com/apache/shardingsphere/pull/22209">#22209</a>)<br>
Branch: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/753c0cee8ee6fd3db00536da55b64bc5198a3758/hovercard" href="https://github.com/apache/shardingsphere/commit/753c0cee8ee6fd3db00536da55b64bc5198a3758"><tt>753c0ce</tt></a><br>
Build time: 2022-11-19T10:18:41+0800</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto">ShardingSphere-Proxy</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">In the federation scenario, the view information in zookeeper exists duplicate name even the view has already dropped.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">In the federation scenario, the view information in zookeeper exists duplicate name even the view has already dropped.</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<p dir="auto"><strong><code class="notranslate">gsql -d test_db -p 11000 -r -h 7.212.123.28 -U sharding -W sharding -r -a <17.sql >17.ss 2>&1 </code></strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="-- step1.1:相同表 union 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2900 union select * from t_order where order_id > 2500 order by order_id ;
-- 查询视图
select * from select_view limit 3, 5;
-- 删除视图
drop view select_view;
-- step1.2:相同表 union all测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2900 union all select * from t_order where order_id > 2500 order by order_id ;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.3:相同表 union distinct 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2900 union distinct select * from t_order where order_id > 2500 order by order_id ;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.4:相同表 ()union 测试;expect:查询结果正确
create view select_view as (select * from t_order where order_id > 2900 ) union (select * from t_order where order_id > 2500 order by order_id ) order by 1,2;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.5:多个分片表 union 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 union select i.order_id, i.user_id from t_order_item i where i.order_id > 2500 order by order_id limit 5, 5;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.6:分片表、单表 union all 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 union all select u.user_id from t_user u order by user_id limit 5, 5;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.1:相同表 intersect all 测试;expect:查询结果正确
create view select_view as select * from t_order intersect all select * from t_order order by order_id limit 5, 5;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.2:相同表 intersect 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2000 intersect select * from t_order where order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.3:多个分片表 intersect all 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 intersect all select i.order_id, i.user_id from t_order_item i where i.order_id > 2400 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.4:多个分片表 intersect 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 intersect select i.order_id, i.user_id from t_order_item i where i.order_id > 2400 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.5:多个分片表 多个intersect 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 intersect select i.order_id, i.user_id from t_order_item i where i.order_id > 2400 intersect select i.order_id, i.user_id from t_order_item i where i.order_id < 2700 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.6:分片表、单表 intersect 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 intersect select u.user_id from t_user u order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.1:相同表 except all 测试;expect:查询结果正确
create view select_view as select * from t_order except all select * from t_order where order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.2:相同表 except 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 1500 except select * from t_order where order_id > 2000 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.3:多个分片表 except all 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 except all select i.order_id, i.user_id from t_order_item i where i.order_id > 2000 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.4:多个分片表 except 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2600 except select i.order_id, i.user_id from t_order_item i where i.order_id > 2500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.5:分片表、单表 except all 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 except all select u.user_id from t_user u order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.5:分片表、单表 except 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 1500 except select u.user_id from t_user u where user_id >5 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.1:相同表 minus all 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 1500 minus all select * from t_order where order_id > 1600 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.2:相同表 minus 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2000 minus select * from t_order where order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.3:多个分片表 minus all 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 1500 minus all select i.order_id, i.user_id from t_order_item i where i.order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.4:多个分片表 minus 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 1500 minus select i.order_id, i.user_id from t_order_item i where i.order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.5:分片表、单表 minus all 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 minus all select u.user_id from t_user u where u.user_id <29 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.6:分片表、单表 minus 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 minus select u.user_id from t_user u where u.user_id <29 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.6:分片表、单表 minus distinct 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 minus distinct select u.user_id from t_user u where u.user_id <29 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step5.1:相同表 UNION/INTERSECT/EXCEPT/MINUS组合优先级测试验证;expect:查询结果正确
create view select_view as (select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
create view select_view as select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id);
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
create view select_view as select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;"><pre class="notranslate"><code class="notranslate">-- step1.1:相同表 union 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2900 union select * from t_order where order_id > 2500 order by order_id ;
-- 查询视图
select * from select_view limit 3, 5;
-- 删除视图
drop view select_view;
-- step1.2:相同表 union all测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2900 union all select * from t_order where order_id > 2500 order by order_id ;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.3:相同表 union distinct 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2900 union distinct select * from t_order where order_id > 2500 order by order_id ;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.4:相同表 ()union 测试;expect:查询结果正确
create view select_view as (select * from t_order where order_id > 2900 ) union (select * from t_order where order_id > 2500 order by order_id ) order by 1,2;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.5:多个分片表 union 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 union select i.order_id, i.user_id from t_order_item i where i.order_id > 2500 order by order_id limit 5, 5;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step1.6:分片表、单表 union all 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 union all select u.user_id from t_user u order by user_id limit 5, 5;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.1:相同表 intersect all 测试;expect:查询结果正确
create view select_view as select * from t_order intersect all select * from t_order order by order_id limit 5, 5;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.2:相同表 intersect 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2000 intersect select * from t_order where order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.3:多个分片表 intersect all 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 intersect all select i.order_id, i.user_id from t_order_item i where i.order_id > 2400 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.4:多个分片表 intersect 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 intersect select i.order_id, i.user_id from t_order_item i where i.order_id > 2400 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.5:多个分片表 多个intersect 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 intersect select i.order_id, i.user_id from t_order_item i where i.order_id > 2400 intersect select i.order_id, i.user_id from t_order_item i where i.order_id < 2700 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step2.6:分片表、单表 intersect 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 intersect select u.user_id from t_user u order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.1:相同表 except all 测试;expect:查询结果正确
create view select_view as select * from t_order except all select * from t_order where order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.2:相同表 except 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 1500 except select * from t_order where order_id > 2000 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.3:多个分片表 except all 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2500 except all select i.order_id, i.user_id from t_order_item i where i.order_id > 2000 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.4:多个分片表 except 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 2600 except select i.order_id, i.user_id from t_order_item i where i.order_id > 2500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.5:分片表、单表 except all 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 except all select u.user_id from t_user u order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step3.5:分片表、单表 except 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 1500 except select u.user_id from t_user u where user_id >5 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.1:相同表 minus all 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 1500 minus all select * from t_order where order_id > 1600 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.2:相同表 minus 测试;expect:查询结果正确
create view select_view as select * from t_order where order_id > 2000 minus select * from t_order where order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.3:多个分片表 minus all 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 1500 minus all select i.order_id, i.user_id from t_order_item i where i.order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.4:多个分片表 minus 测试;expect:查询结果正确
create view select_view as select o.order_id, o.user_id from t_order o where o.order_id > 1500 minus select i.order_id, i.user_id from t_order_item i where i.order_id > 1500 order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.5:分片表、单表 minus all 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 minus all select u.user_id from t_user u where u.user_id <29 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.6:分片表、单表 minus 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 minus select u.user_id from t_user u where u.user_id <29 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step4.6:分片表、单表 minus distinct 测试;expect:查询结果正确
create view select_view as select o.user_id from t_order o where o.order_id > 2500 minus distinct select u.user_id from t_user u where u.user_id <29 order by user_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
-- step5.1:相同表 UNION/INTERSECT/EXCEPT/MINUS组合优先级测试验证;expect:查询结果正确
create view select_view as (select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 )INTERSECT select * from t_order where status ='finish' order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
create view select_view as select * from t_order where order_id = 1500 union (select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id);
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
create view select_view as select * from t_order where order_id = 1500 union select * from t_order where order_id = 1800 INTERSECT select * from t_order where status ='finish' order by order_id;
-- 查询视图
select * from select_view;
-- 删除视图
drop view select_view;
</code></pre></div>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="drop table if exists t_order;
create table t_order (order_id int primary key, user_id int not null, status varchar(50) not null, merchant_id int not null, remark varchar(50), creation_date date);
insert into t_order values(1000, 10, 'init', 1, 'test', '2017-07-08');
insert into t_order values(1001, 10, 'init', 2, 'test', '2017-07-08');
insert into t_order values(2000, 20, 'init', 3, 'test', '2017-08-08');
insert into t_order values(2001, 20, 'init', 4, 'test', '2017-08-08');
insert into t_order values(1100, 11, 'init', 5, 'test', '2017-08-08');
insert into t_order values(1101, 11, 'init', 6, 'test', '2017-08-08');
insert into t_order values(2100, 21, 'finish', 7, 'test', '2017-08-08');
insert into t_order values(2101, 21, 'finish', 8, 'test', '2017-08-08');
insert into t_order values(1200, 12, 'finish', 9, 'finish', '2017-08-08');
insert into t_order values(1201, 12, 'finish', 10, 'test22', '2017-08-18');
insert into t_order values(2200, 22, 'finish', 11, 'test', '2017-08-18');
insert into t_order values(2201, 22, 'finish', 12, 'test', '2017-08-18');
insert into t_order values(1300, 13, 'finish', 13, '', '2017-08-18');
insert into t_order values(1301, 13, 'finish', 14, 'test', '2017-08-18');
insert into t_order values(2300, 23, 'finish ', 15, 'test', '2017-08-18');
insert into t_order values(2301, 23, 'finish', 16, 'test', '2017-08-18');
insert into t_order values(1400, 14, 'init', 17, '', '2017-08-18');
insert into t_order values(1401, 14, 'init', 18, 'test', '2017-08-18');
insert into t_order values(2400, 24, 'init', 19, 'test', '2017-08-18');
insert into t_order values(2401, 24, 'init', 20, 'test', '2017-08-18');
insert into t_order values(1500, 15, 'init', 1, '', '2017-08-28');
insert into t_order values(1501, 15, 'init', 2, 'test', '2017-08-28');
insert into t_order values(2500, 25, 'init', 3, 'test', '2017-08-28');
insert into t_order values(2501, 25, 'init', 4, 'test', '2017-08-28');
insert into t_order values(1600, 16, 'init', 5, 'test', '2017-08-28');
insert into t_order values(1601, 16, 'init', 6, '', '2017-08-28');
insert into t_order values(2600, 26, 'init', 7, 'test', '2017-08-28');
insert into t_order values(2601, 26, 'init', 8);
insert into t_order values(1700, 17, 'init', 9, 'test', '2017-08-28');
insert into t_order values(1701, 17, 'finish', 10, 'test', '2017-08-18');
insert into t_order values(2700, 27, 'finish', 11, 'test', '2017-08-18');
insert into t_order values(2701, 27, 'finish', 12, 'test', '2017-08-18');
insert into t_order values(1800, 18, 'finish', 13, 'test', '2017-08-18');
insert into t_order values(1801, 18, 'finish', 14);
insert into t_order values(2800, 28, 'finish', 15, 'test', '2017-08-18');
insert into t_order values(2801, 28, 'finish', 16, 'test', '2017-08-18');
insert into t_order values(1900, 19, 'init', 17, 'test', '2017-08-18');
insert into t_order values(1901, 19, 'init', 18, 'test', '2017-08-18');
insert into t_order values(2900, 29, 'init', 19, 'test', '2017-08-18');
insert into t_order values(2901, 29, 'init', 20, 'test', '2017-08-18');
insert into t_order values(1902, 19, 'init', 17, 'test11', '2017-08-18');
insert into t_order values(1903, 19, 'init', 18, 'test12', '2017-08-18');
insert into t_order values(2902, 29, 'init', 19, 'test', '2017-08-18');
insert into t_order values(2903, 29, 'init', 20, 'test', '2017-08-18');"><pre class="notranslate"><code class="notranslate">drop table if exists t_order;
create table t_order (order_id int primary key, user_id int not null, status varchar(50) not null, merchant_id int not null, remark varchar(50), creation_date date);
insert into t_order values(1000, 10, 'init', 1, 'test', '2017-07-08');
insert into t_order values(1001, 10, 'init', 2, 'test', '2017-07-08');
insert into t_order values(2000, 20, 'init', 3, 'test', '2017-08-08');
insert into t_order values(2001, 20, 'init', 4, 'test', '2017-08-08');
insert into t_order values(1100, 11, 'init', 5, 'test', '2017-08-08');
insert into t_order values(1101, 11, 'init', 6, 'test', '2017-08-08');
insert into t_order values(2100, 21, 'finish', 7, 'test', '2017-08-08');
insert into t_order values(2101, 21, 'finish', 8, 'test', '2017-08-08');
insert into t_order values(1200, 12, 'finish', 9, 'finish', '2017-08-08');
insert into t_order values(1201, 12, 'finish', 10, 'test22', '2017-08-18');
insert into t_order values(2200, 22, 'finish', 11, 'test', '2017-08-18');
insert into t_order values(2201, 22, 'finish', 12, 'test', '2017-08-18');
insert into t_order values(1300, 13, 'finish', 13, '', '2017-08-18');
insert into t_order values(1301, 13, 'finish', 14, 'test', '2017-08-18');
insert into t_order values(2300, 23, 'finish ', 15, 'test', '2017-08-18');
insert into t_order values(2301, 23, 'finish', 16, 'test', '2017-08-18');
insert into t_order values(1400, 14, 'init', 17, '', '2017-08-18');
insert into t_order values(1401, 14, 'init', 18, 'test', '2017-08-18');
insert into t_order values(2400, 24, 'init', 19, 'test', '2017-08-18');
insert into t_order values(2401, 24, 'init', 20, 'test', '2017-08-18');
insert into t_order values(1500, 15, 'init', 1, '', '2017-08-28');
insert into t_order values(1501, 15, 'init', 2, 'test', '2017-08-28');
insert into t_order values(2500, 25, 'init', 3, 'test', '2017-08-28');
insert into t_order values(2501, 25, 'init', 4, 'test', '2017-08-28');
insert into t_order values(1600, 16, 'init', 5, 'test', '2017-08-28');
insert into t_order values(1601, 16, 'init', 6, '', '2017-08-28');
insert into t_order values(2600, 26, 'init', 7, 'test', '2017-08-28');
insert into t_order values(2601, 26, 'init', 8);
insert into t_order values(1700, 17, 'init', 9, 'test', '2017-08-28');
insert into t_order values(1701, 17, 'finish', 10, 'test', '2017-08-18');
insert into t_order values(2700, 27, 'finish', 11, 'test', '2017-08-18');
insert into t_order values(2701, 27, 'finish', 12, 'test', '2017-08-18');
insert into t_order values(1800, 18, 'finish', 13, 'test', '2017-08-18');
insert into t_order values(1801, 18, 'finish', 14);
insert into t_order values(2800, 28, 'finish', 15, 'test', '2017-08-18');
insert into t_order values(2801, 28, 'finish', 16, 'test', '2017-08-18');
insert into t_order values(1900, 19, 'init', 17, 'test', '2017-08-18');
insert into t_order values(1901, 19, 'init', 18, 'test', '2017-08-18');
insert into t_order values(2900, 29, 'init', 19, 'test', '2017-08-18');
insert into t_order values(2901, 29, 'init', 20, 'test', '2017-08-18');
insert into t_order values(1902, 19, 'init', 17, 'test11', '2017-08-18');
insert into t_order values(1903, 19, 'init', 18, 'test12', '2017-08-18');
insert into t_order values(2902, 29, 'init', 19, 'test', '2017-08-18');
insert into t_order values(2903, 29, 'init', 20, 'test', '2017-08-18');
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="schemaName: test_db
dataSources:
ds_0:
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 260
minPoolSize: 10
password: Test@123
url: jdbc:opengauss://90.90.44.171:14000/test_db?batchMode=on
username: tpccuser
ds_1:
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 260
minPoolSize: 10
password: Test@123
url: jdbc:opengauss://90.90.44.171:15000/test_db?batchMode=on
username: tpccuser
rules:
- !SHARDING
tables:
t_user:
actualDataNodes: ds_0.t_user
t_product:
actualDataNodes: ds_0.t_product
t_merchant:
actualDataNodes: ds_1.t_merchant
t_product_detail:
actualDataNodes: ds_1.t_product_detail
t_order:
actualDataNodes: ds_${0..1}.t_order
databaseStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: database_inline
t_order_item:
actualDataNodes: ds_${0..1}.t_order_item
databaseStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: database_inline
t_order_item1:
actualDataNodes: ds_${0..1}.t_order_item1
databaseStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: database_inline
t_new_order:
actualDataNodes: ds_${0..1}.t_new_order_${0..1}
databaseStrategy:
standard:
shardingAlgorithmName: database_inline
shardingColumn: user_id
tableStrategy:
standard:
shardingColumn: order_id
shardingAlgorithmName: table_inline
bindingTables:
- t_order,t_order_item
broadcastTables:
- t_product_category
- t_country
shardingAlgorithms:
database_inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
allow-range-query-with-inline-sharding: true
table_inline:
type: INLINE
props:
algorithm-expression: t_new_order_${order_id % 2}
allow-range-query-with-inline-sharding: true
mode:
type: Cluster
repository:
type: ZooKeeper
props:
namespace: governance_ds
server-lists: 7.212.123.28:2181
retryIntervalMilliseconds: 500
timeToLiveSeconds: 60
maxRetries: 3
operationTimeoutMilliseconds: 500
authority:
users:
- user: root@%
password: root
- user: sharding
password: sharding
privilege:
type: ALL_PERMITTED
rules:
- !TRANSACTION
defaultType: XA
providerType: Atomikos
props:
sql-show: true"><pre class="notranslate"><code class="notranslate">schemaName: test_db
dataSources:
ds_0:
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 260
minPoolSize: 10
password: Test@123
url: jdbc:opengauss://90.90.44.171:14000/test_db?batchMode=on
username: tpccuser
ds_1:
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 260
minPoolSize: 10
password: Test@123
url: jdbc:opengauss://90.90.44.171:15000/test_db?batchMode=on
username: tpccuser
rules:
- !SHARDING
tables:
t_user:
actualDataNodes: ds_0.t_user
t_product:
actualDataNodes: ds_0.t_product
t_merchant:
actualDataNodes: ds_1.t_merchant
t_product_detail:
actualDataNodes: ds_1.t_product_detail
t_order:
actualDataNodes: ds_${0..1}.t_order
databaseStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: database_inline
t_order_item:
actualDataNodes: ds_${0..1}.t_order_item
databaseStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: database_inline
t_order_item1:
actualDataNodes: ds_${0..1}.t_order_item1
databaseStrategy:
standard:
shardingColumn: user_id
shardingAlgorithmName: database_inline
t_new_order:
actualDataNodes: ds_${0..1}.t_new_order_${0..1}
databaseStrategy:
standard:
shardingAlgorithmName: database_inline
shardingColumn: user_id
tableStrategy:
standard:
shardingColumn: order_id
shardingAlgorithmName: table_inline
bindingTables:
- t_order,t_order_item
broadcastTables:
- t_product_category
- t_country
shardingAlgorithms:
database_inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
allow-range-query-with-inline-sharding: true
table_inline:
type: INLINE
props:
algorithm-expression: t_new_order_${order_id % 2}
allow-range-query-with-inline-sharding: true
mode:
type: Cluster
repository:
type: ZooKeeper
props:
namespace: governance_ds
server-lists: 7.212.123.28:2181
retryIntervalMilliseconds: 500
timeToLiveSeconds: 60
maxRetries: 3
operationTimeoutMilliseconds: 500
authority:
users:
- user: root@%
password: root
- user: sharding
password: sharding
privilege:
type: ALL_PERMITTED
rules:
- !TRANSACTION
defaultType: XA
providerType: Atomikos
props:
sql-show: true
</code></pre></div> | <h2 dir="auto">Bug Report</h2>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">4.0.0-RC2</p>
<h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3>
<p dir="auto">Sharding-JDBC</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3151306/66921270-63e0ab00-f057-11e9-8233-ce8dd2af6693.png"><img width="986" alt="WechatIMG877" src="https://user-images.githubusercontent.com/3151306/66921270-63e0ab00-f057-11e9-8233-ce8dd2af6693.png" style="max-width: 100%;"></a></p> | 0 |
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>Electron 5 is affected</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows / Linux</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>Electron 4 and Electron 6 are not affected</li>
</ul>
</li>
</ul>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1281234/60906248-00382c00-a277-11e9-8e31-b7c3a110559b.png"><img width="1025" alt="Screen Shot 2019-07-09 at 6 25 50 PM" src="https://user-images.githubusercontent.com/1281234/60906248-00382c00-a277-11e9-8e31-b7c3a110559b.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1281234/60906281-134afc00-a277-11e9-8bfb-95e02b276c2c.png"><img width="1025" alt="Screen Shot 2019-07-09 at 6 26 21 PM" src="https://user-images.githubusercontent.com/1281234/60906281-134afc00-a277-11e9-8bfb-95e02b276c2c.png" style="max-width: 100%;"></a></p>
<h3 dir="auto">Additional Information</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="resources/inspector/.htaccess
resources/inspector/Images/accelerometer-back.svg
resources/inspector/Images/accelerometer-bottom.png
resources/inspector/Images/accelerometer-front.svg
resources/inspector/Images/accelerometer-left.png
resources/inspector/Images/accelerometer-right.png
resources/inspector/Images/accelerometer-top.png
resources/inspector/Images/audits_logo.svg
resources/inspector/Images/breakpoint.png
resources/inspector/Images/breakpointConditional.png
resources/inspector/Images/breakpointConditional_2x.png
resources/inspector/Images/breakpoint_2x.png
resources/inspector/Images/checker.png
resources/inspector/Images/chromeDisabledSelect.png
resources/inspector/Images/chromeDisabledSelect_2x.png
resources/inspector/Images/chromeLeft.png
resources/inspector/Images/chromeMiddle.png
resources/inspector/Images/chromeRight.png
resources/inspector/Images/chromeSelect.png
resources/inspector/Images/chromeSelect_2x.png
resources/inspector/Images/errorWave.png
resources/inspector/Images/errorWave_2x.png
resources/inspector/Images/ic_info_black_18dp.svg
resources/inspector/Images/ic_warning_black_18dp.svg
resources/inspector/Images/largeIcons.png
resources/inspector/Images/largeIcons_2x.png
resources/inspector/Images/mediumIcons.png
resources/inspector/Images/mediumIcons_2x.png
resources/inspector/Images/navigationControls.png
resources/inspector/Images/navigationControls_2x.png
resources/inspector/Images/nodeIcon.png
resources/inspector/Images/popoverArrows.png
resources/inspector/Images/profileGroupIcon.png
resources/inspector/Images/profileIcon.png
resources/inspector/Images/profileSmallIcon.png
resources/inspector/Images/radioDot.png
resources/inspector/Images/resizeDiagonal.png
resources/inspector/Images/resizeDiagonal_2x.png
resources/inspector/Images/resizeHorizontal.png
resources/inspector/Images/resizeHorizontal_2x.png
resources/inspector/Images/resizeVertical.png
resources/inspector/Images/resizeVertical_2x.png
resources/inspector/Images/resourceCSSIcon.png
resources/inspector/Images/resourceDocumentIcon.png
resources/inspector/Images/resourceDocumentIconSmall.png
resources/inspector/Images/resourceJSIcon.png
resources/inspector/Images/resourcePlainIcon.png
resources/inspector/Images/resourcePlainIconSmall.png
resources/inspector/Images/resourcesTimeGraphIcon.png
resources/inspector/Images/searchNext.png
resources/inspector/Images/searchPrev.png
resources/inspector/Images/securityIcons.png
resources/inspector/Images/securityIcons_2x.png
resources/inspector/Images/smallIcons.png
resources/inspector/Images/smallIcons_2x.png
resources/inspector/Images/speech.png
resources/inspector/Images/toolbarResizerVertical.png
resources/inspector/Images/touchCursor.png
resources/inspector/Images/touchCursor_2x.png
resources/inspector/Images/treeoutlineTriangles.png
resources/inspector/Images/treeoutlineTriangles_2x.png
resources/inspector/Images/whatsnew.png
resources/inspector/InspectorBackendCommands.js
resources/inspector/SupportedCSSProperties.js
resources/inspector/Tests.js
resources/inspector/accessibility/ARIAProperties.js
resources/inspector/accessibility/accessibility_module.js
resources/inspector/accessibility_test_runner/accessibility_test_runner_module.js
resources/inspector/animation/animation_module.js
resources/inspector/application_test_runner/application_test_runner_module.js
resources/inspector/audits2/audits2_module.js
resources/inspector/audits2_test_runner/audits2_test_runner_module.js
resources/inspector/audits2_worker.js
resources/inspector/audits2_worker/audits2_worker_module.js
resources/inspector/bindings_test_runner/bindings_test_runner_module.js
resources/inspector/browser_debugger/browser_debugger_module.js
resources/inspector/changes/changes_module.js
resources/inspector/cm/cm_module.js
resources/inspector/cm_modes/cm_modes_module.js
resources/inspector/color_picker/color_picker_module.js
resources/inspector/console/console_module.js
resources/inspector/console_test_runner/console_test_runner_module.js
resources/inspector/cookie_table/cookie_table_module.js
resources/inspector/coverage/coverage_module.js
resources/inspector/coverage_test_runner/coverage_test_runner_module.js
resources/inspector/cpu_profiler_test_runner/cpu_profiler_test_runner_module.js
resources/inspector/data_grid/data_grid_module.js
resources/inspector/data_grid_test_runner/data_grid_test_runner_module.js
resources/inspector/device_mode_test_runner/device_mode_test_runner_module.js
resources/inspector/devices/devices_module.js
resources/inspector/devtools_app.html
resources/inspector/devtools_app.js
resources/inspector/devtools_compatibility.js
resources/inspector/devtools_extension_api.js
resources/inspector/diff/diff_module.js
resources/inspector/elements/elements_module.js
resources/inspector/elements_test_runner/elements_test_runner_module.js
resources/inspector/emulated_devices/Nexus5X-landscape.svg
resources/inspector/emulated_devices/Nexus5X-portrait.svg
resources/inspector/emulated_devices/Nexus6P-landscape.svg
resources/inspector/emulated_devices/Nexus6P-portrait.svg
resources/inspector/emulated_devices/emulated_devices_module.js
resources/inspector/emulated_devices/google-nexus-5-horizontal-default-1x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-default-2x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-2x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-default-1x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-default-2x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-2x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-default-1x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-default-2x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-default-1x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-default-2x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-navigation-2x.png
resources/inspector/emulated_devices/iPad-landscape.svg
resources/inspector/emulated_devices/iPad-portrait.svg
resources/inspector/emulated_devices/iPhone5-landscape.svg
resources/inspector/emulated_devices/iPhone5-portrait.svg
resources/inspector/emulated_devices/iPhone6-landscape.svg
resources/inspector/emulated_devices/iPhone6-portrait.svg
resources/inspector/emulated_devices/iPhone6Plus-landscape.svg
resources/inspector/emulated_devices/iPhone6Plus-portrait.svg
resources/inspector/event_listeners/event_listeners_module.js
resources/inspector/extensions_test_runner/extensions_test_runner_module.js
resources/inspector/formatter/formatter_module.js
resources/inspector/formatter_worker.js
resources/inspector/har_importer/har_importer_module.js
resources/inspector/heap_profiler_test_runner/heap_profiler_test_runner_module.js
resources/inspector/heap_snapshot_model/heap_snapshot_model_module.js
resources/inspector/heap_snapshot_worker.js
resources/inspector/heap_snapshot_worker/heap_snapshot_worker_module.js
resources/inspector/help/help_module.js
resources/inspector/inline_editor/inline_editor_module.js
resources/inspector/inspector.html
resources/inspector/inspector.js
resources/inspector/integration_test_runner.html
resources/inspector/integration_test_runner.js
resources/inspector/javascript_metadata/javascript_metadata_module.js
resources/inspector/js_app.html
resources/inspector/js_app.js
resources/inspector/js_profiler/js_profiler_module.js
resources/inspector/layer_viewer/layer_viewer_module.js
resources/inspector/layers/layers_module.js
resources/inspector/layers_test_runner/layers_test_runner_module.js
resources/inspector/network/network_module.js
resources/inspector/network_test_runner/network_test_runner_module.js
resources/inspector/node_app.html
resources/inspector/node_app.js
resources/inspector/node_debugger/node_debugger_module.js
resources/inspector/object_ui/object_ui_module.js
resources/inspector/perf_ui/perf_ui_module.js
resources/inspector/performance_monitor/performance_monitor_module.js
resources/inspector/performance_test_runner/performance_test_runner_module.js
resources/inspector/product_registry_impl/product_registry_impl_module.js
resources/inspector/profiler/profiler_module.js
resources/inspector/protocol_monitor/protocol_monitor_module.js
resources/inspector/quick_open/quick_open_module.js
resources/inspector/resources/resources_module.js
resources/inspector/sdk_test_runner/sdk_test_runner_module.js
resources/inspector/search/search_module.js
resources/inspector/security/security_module.js
resources/inspector/security_test_runner/security_test_runner_module.js
resources/inspector/settings/settings_module.js
resources/inspector/shell.js
resources/inspector/snippets/snippets_module.js
resources/inspector/source_frame/source_frame_module.js
resources/inspector/sources/sources_module.js
resources/inspector/sources_test_runner/sources_test_runner_module.js
resources/inspector/text_editor/text_editor_module.js
resources/inspector/timeline/timeline_module.js
resources/inspector/timeline_model/timeline_model_module.js
resources/inspector/toolbox.html
resources/inspector/toolbox.js
resources/inspector/worker_app.html
resources/inspector/worker_app.js
resources/inspector/workspace_diff/workspace_diff_module.js"><pre class="notranslate"><code class="notranslate">resources/inspector/.htaccess
resources/inspector/Images/accelerometer-back.svg
resources/inspector/Images/accelerometer-bottom.png
resources/inspector/Images/accelerometer-front.svg
resources/inspector/Images/accelerometer-left.png
resources/inspector/Images/accelerometer-right.png
resources/inspector/Images/accelerometer-top.png
resources/inspector/Images/audits_logo.svg
resources/inspector/Images/breakpoint.png
resources/inspector/Images/breakpointConditional.png
resources/inspector/Images/breakpointConditional_2x.png
resources/inspector/Images/breakpoint_2x.png
resources/inspector/Images/checker.png
resources/inspector/Images/chromeDisabledSelect.png
resources/inspector/Images/chromeDisabledSelect_2x.png
resources/inspector/Images/chromeLeft.png
resources/inspector/Images/chromeMiddle.png
resources/inspector/Images/chromeRight.png
resources/inspector/Images/chromeSelect.png
resources/inspector/Images/chromeSelect_2x.png
resources/inspector/Images/errorWave.png
resources/inspector/Images/errorWave_2x.png
resources/inspector/Images/ic_info_black_18dp.svg
resources/inspector/Images/ic_warning_black_18dp.svg
resources/inspector/Images/largeIcons.png
resources/inspector/Images/largeIcons_2x.png
resources/inspector/Images/mediumIcons.png
resources/inspector/Images/mediumIcons_2x.png
resources/inspector/Images/navigationControls.png
resources/inspector/Images/navigationControls_2x.png
resources/inspector/Images/nodeIcon.png
resources/inspector/Images/popoverArrows.png
resources/inspector/Images/profileGroupIcon.png
resources/inspector/Images/profileIcon.png
resources/inspector/Images/profileSmallIcon.png
resources/inspector/Images/radioDot.png
resources/inspector/Images/resizeDiagonal.png
resources/inspector/Images/resizeDiagonal_2x.png
resources/inspector/Images/resizeHorizontal.png
resources/inspector/Images/resizeHorizontal_2x.png
resources/inspector/Images/resizeVertical.png
resources/inspector/Images/resizeVertical_2x.png
resources/inspector/Images/resourceCSSIcon.png
resources/inspector/Images/resourceDocumentIcon.png
resources/inspector/Images/resourceDocumentIconSmall.png
resources/inspector/Images/resourceJSIcon.png
resources/inspector/Images/resourcePlainIcon.png
resources/inspector/Images/resourcePlainIconSmall.png
resources/inspector/Images/resourcesTimeGraphIcon.png
resources/inspector/Images/searchNext.png
resources/inspector/Images/searchPrev.png
resources/inspector/Images/securityIcons.png
resources/inspector/Images/securityIcons_2x.png
resources/inspector/Images/smallIcons.png
resources/inspector/Images/smallIcons_2x.png
resources/inspector/Images/speech.png
resources/inspector/Images/toolbarResizerVertical.png
resources/inspector/Images/touchCursor.png
resources/inspector/Images/touchCursor_2x.png
resources/inspector/Images/treeoutlineTriangles.png
resources/inspector/Images/treeoutlineTriangles_2x.png
resources/inspector/Images/whatsnew.png
resources/inspector/InspectorBackendCommands.js
resources/inspector/SupportedCSSProperties.js
resources/inspector/Tests.js
resources/inspector/accessibility/ARIAProperties.js
resources/inspector/accessibility/accessibility_module.js
resources/inspector/accessibility_test_runner/accessibility_test_runner_module.js
resources/inspector/animation/animation_module.js
resources/inspector/application_test_runner/application_test_runner_module.js
resources/inspector/audits2/audits2_module.js
resources/inspector/audits2_test_runner/audits2_test_runner_module.js
resources/inspector/audits2_worker.js
resources/inspector/audits2_worker/audits2_worker_module.js
resources/inspector/bindings_test_runner/bindings_test_runner_module.js
resources/inspector/browser_debugger/browser_debugger_module.js
resources/inspector/changes/changes_module.js
resources/inspector/cm/cm_module.js
resources/inspector/cm_modes/cm_modes_module.js
resources/inspector/color_picker/color_picker_module.js
resources/inspector/console/console_module.js
resources/inspector/console_test_runner/console_test_runner_module.js
resources/inspector/cookie_table/cookie_table_module.js
resources/inspector/coverage/coverage_module.js
resources/inspector/coverage_test_runner/coverage_test_runner_module.js
resources/inspector/cpu_profiler_test_runner/cpu_profiler_test_runner_module.js
resources/inspector/data_grid/data_grid_module.js
resources/inspector/data_grid_test_runner/data_grid_test_runner_module.js
resources/inspector/device_mode_test_runner/device_mode_test_runner_module.js
resources/inspector/devices/devices_module.js
resources/inspector/devtools_app.html
resources/inspector/devtools_app.js
resources/inspector/devtools_compatibility.js
resources/inspector/devtools_extension_api.js
resources/inspector/diff/diff_module.js
resources/inspector/elements/elements_module.js
resources/inspector/elements_test_runner/elements_test_runner_module.js
resources/inspector/emulated_devices/Nexus5X-landscape.svg
resources/inspector/emulated_devices/Nexus5X-portrait.svg
resources/inspector/emulated_devices/Nexus6P-landscape.svg
resources/inspector/emulated_devices/Nexus6P-portrait.svg
resources/inspector/emulated_devices/emulated_devices_module.js
resources/inspector/emulated_devices/google-nexus-5-horizontal-default-1x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-default-2x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-2x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-default-1x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-default-2x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-2x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-default-1x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-default-2x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-default-1x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-default-2x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-navigation-1x.png
resources/inspector/emulated_devices/google-nexus-5x-vertical-navigation-2x.png
resources/inspector/emulated_devices/iPad-landscape.svg
resources/inspector/emulated_devices/iPad-portrait.svg
resources/inspector/emulated_devices/iPhone5-landscape.svg
resources/inspector/emulated_devices/iPhone5-portrait.svg
resources/inspector/emulated_devices/iPhone6-landscape.svg
resources/inspector/emulated_devices/iPhone6-portrait.svg
resources/inspector/emulated_devices/iPhone6Plus-landscape.svg
resources/inspector/emulated_devices/iPhone6Plus-portrait.svg
resources/inspector/event_listeners/event_listeners_module.js
resources/inspector/extensions_test_runner/extensions_test_runner_module.js
resources/inspector/formatter/formatter_module.js
resources/inspector/formatter_worker.js
resources/inspector/har_importer/har_importer_module.js
resources/inspector/heap_profiler_test_runner/heap_profiler_test_runner_module.js
resources/inspector/heap_snapshot_model/heap_snapshot_model_module.js
resources/inspector/heap_snapshot_worker.js
resources/inspector/heap_snapshot_worker/heap_snapshot_worker_module.js
resources/inspector/help/help_module.js
resources/inspector/inline_editor/inline_editor_module.js
resources/inspector/inspector.html
resources/inspector/inspector.js
resources/inspector/integration_test_runner.html
resources/inspector/integration_test_runner.js
resources/inspector/javascript_metadata/javascript_metadata_module.js
resources/inspector/js_app.html
resources/inspector/js_app.js
resources/inspector/js_profiler/js_profiler_module.js
resources/inspector/layer_viewer/layer_viewer_module.js
resources/inspector/layers/layers_module.js
resources/inspector/layers_test_runner/layers_test_runner_module.js
resources/inspector/network/network_module.js
resources/inspector/network_test_runner/network_test_runner_module.js
resources/inspector/node_app.html
resources/inspector/node_app.js
resources/inspector/node_debugger/node_debugger_module.js
resources/inspector/object_ui/object_ui_module.js
resources/inspector/perf_ui/perf_ui_module.js
resources/inspector/performance_monitor/performance_monitor_module.js
resources/inspector/performance_test_runner/performance_test_runner_module.js
resources/inspector/product_registry_impl/product_registry_impl_module.js
resources/inspector/profiler/profiler_module.js
resources/inspector/protocol_monitor/protocol_monitor_module.js
resources/inspector/quick_open/quick_open_module.js
resources/inspector/resources/resources_module.js
resources/inspector/sdk_test_runner/sdk_test_runner_module.js
resources/inspector/search/search_module.js
resources/inspector/security/security_module.js
resources/inspector/security_test_runner/security_test_runner_module.js
resources/inspector/settings/settings_module.js
resources/inspector/shell.js
resources/inspector/snippets/snippets_module.js
resources/inspector/source_frame/source_frame_module.js
resources/inspector/sources/sources_module.js
resources/inspector/sources_test_runner/sources_test_runner_module.js
resources/inspector/text_editor/text_editor_module.js
resources/inspector/timeline/timeline_module.js
resources/inspector/timeline_model/timeline_model_module.js
resources/inspector/toolbox.html
resources/inspector/toolbox.js
resources/inspector/worker_app.html
resources/inspector/worker_app.js
resources/inspector/workspace_diff/workspace_diff_module.js
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><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.</p>
</li>
<li class="task-list-item">
<p dir="auto"><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.</p>
</li>
<li class="task-list-item">
<p dir="auto"><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.</p>
</li>
<li>
<p dir="auto"><strong>Electron Package Version:</strong><br>
5.0.6 for 32-bit Windows</p>
</li>
<li>
<p dir="auto"><strong>Operating System:</strong><br>
Windows 10</p>
</li>
<li>
<p dir="auto"><strong>Last Known Electron Package Version Without This Folder:</strong><br>
4.2.5</p>
</li>
</ul>
<p dir="auto">After updating Electron from <strong>v4</strong> to <strong>v5</strong> I found a new <strong>~9MB</strong> folder <code class="notranslate">inspector</code> containing <strong>188 files</strong> in the Electron package install path at <strong><code class="notranslate">node_modules/electron/dist/resources/inspector</code></strong> or <strong><code class="notranslate">${packagedApp}/resources/inspector</code></strong> after packaging with <code class="notranslate">electron-builder</code>. What is this for?</p>
<p dir="auto">There seems to be no consequences for deleting this folder. I can still use Electron and chrome devtools perfectly fine after removing it.</p>
<p dir="auto"><strong>Can it be safely deleted/excluded from my packaged app?</strong></p>
<p dir="auto">Any help is appreciated!</p> | 1 |
<p dir="auto">Currently, the following script</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from jax.scipy.linalg import solve_triangular
import jax.numpy as jnp
dim = 130
x = jnp.broadcast_to(jnp.eye(dim), (2, dim, dim))
solve_triangular(x, x) # error"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">jax</span>.<span class="pl-s1">scipy</span>.<span class="pl-s1">linalg</span> <span class="pl-k">import</span> <span class="pl-s1">solve_triangular</span>
<span class="pl-k">import</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">jnp</span>
<span class="pl-s1">dim</span> <span class="pl-c1">=</span> <span class="pl-c1">130</span>
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">broadcast_to</span>(<span class="pl-s1">jnp</span>.<span class="pl-en">eye</span>(<span class="pl-s1">dim</span>), (<span class="pl-c1">2</span>, <span class="pl-s1">dim</span>, <span class="pl-s1">dim</span>))
<span class="pl-en">solve_triangular</span>(<span class="pl-s1">x</span>, <span class="pl-s1">x</span>) <span class="pl-c"># error</span></pre></div>
<p dir="auto">raises the issue: <code class="notranslate">RuntimeError: Invalid argument: The rank of the operand and the padding configuration do not match: f32[126,126] vs dimensions { } dimensions { edge_padding_low: 2 } dimensions { }.: </code></p>
<p dir="auto">This does not fail when</p>
<ul dir="auto">
<li><code class="notranslate">dim <= 128</code></li>
<li>no batching (<code class="notranslate">(2,)</code> in the above script)</li>
</ul> | <p dir="auto">I am trying to apply <code class="notranslate">vmap</code> to a matrix solve, but it errors out on matrices larger than 128 x 128.</p>
<p dir="auto">Here's an example:</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
from jax import vmap
def vmap_solve(N):
A = jnp.expand_dims(jnp.eye(N), 0)
B = jnp.ones(N)
return vmap(jax.numpy.linalg.solve, in_axes=(0, None))(A, B)"><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">from</span> <span class="pl-s1">jax</span> <span class="pl-k">import</span> <span class="pl-s1">vmap</span>
<span class="pl-k">def</span> <span class="pl-en">vmap_solve</span>(<span class="pl-v">N</span>):
<span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">expand_dims</span>(<span class="pl-s1">jnp</span>.<span class="pl-en">eye</span>(<span class="pl-v">N</span>), <span class="pl-c1">0</span>)
<span class="pl-v">B</span> <span class="pl-c1">=</span> <span class="pl-s1">jnp</span>.<span class="pl-en">ones</span>(<span class="pl-v">N</span>)
<span class="pl-k">return</span> <span class="pl-en">vmap</span>(<span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">linalg</span>.<span class="pl-s1">solve</span>, <span class="pl-s1">in_axes</span><span class="pl-c1">=</span>(<span class="pl-c1">0</span>, <span class="pl-c1">None</span>))(<span class="pl-v">A</span>, <span class="pl-v">B</span>)</pre></div>
<p dir="auto"><code class="notranslate">vmap_solve(128)</code> gives a vector of ones, as expected.</p>
<p dir="auto"><code class="notranslate">vmap_solve(129)</code> produces the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError Traceback (most recent call last)
<ipython-input-16-31a363cce168> in <module>()
----> 1 print(vmap_solve(129))
16 frames
<ipython-input-9-fc01e1c69adf> in vmap_solve(N)
2 A = jnp.expand_dims(jnp.eye(N), 0)
3 B = jnp.ones(N)
----> 4 return vmap(jax.numpy.linalg.solve, in_axes=(0, None))(A, B)
/usr/local/lib/python3.6/dist-packages/jax/api.py in batched_fun(*args)
1231 lambda: flatten_axes("vmap out_axes", out_tree(),
1232 out_axes),
-> 1233 axis_name=axis_name)
1234 return tree_unflatten(out_tree(), out_flat)
1235
/usr/local/lib/python3.6/dist-packages/jax/interpreters/batching.py in batch(fun, in_vals, in_dims, out_dim_dests, axis_name)
34 # executes a batched version of `fun` following out_dim_dests
35 batched_fun = batch_fun(fun, in_dims, out_dim_dests, axis_name=axis_name)
---> 36 return batched_fun.call_wrapped(*in_vals)
37
38 @lu.transformation_with_aux
/usr/local/lib/python3.6/dist-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs)
154
155 try:
--> 156 ans = self.f(*args, **dict(self.params, **kwargs))
157 except:
158 # Some transformations yield from inside context managers, so we have to
/usr/local/lib/python3.6/dist-packages/jax/api.py in f_jitted(*args, **kwargs)
217 backend=backend,
218 name=flat_fun.__name__,
--> 219 donated_invars=donated_invars)
220 return tree_unflatten(out_tree(), out)
221
/usr/local/lib/python3.6/dist-packages/jax/core.py in bind(self, fun, *args, **params)
1172
1173 def bind(self, fun, *args, **params):
-> 1174 return call_bind(self, fun, *args, **params)
1175
1176 def process(self, trace, fun, tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/core.py in call_bind(primitive, fun, *args, **params)
1163 tracers = map(top_trace.full_raise, args)
1164 with maybe_new_sublevel(top_trace):
-> 1165 outs = primitive.process(top_trace, fun, tracers, params)
1166 return map(full_lower, apply_todos(env_trace_todo(), outs))
1167
/usr/local/lib/python3.6/dist-packages/jax/core.py in process(self, trace, fun, tracers, params)
1175
1176 def process(self, trace, fun, tracers, params):
-> 1177 return trace.process_call(self, fun, tracers, params)
1178
1179 def post_process(self, trace, out_tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/interpreters/batching.py in process_call(self, call_primitive, f, tracers, params)
169 else:
170 f, dims_out = batch_subtrace(f, self.main, dims)
--> 171 vals_out = call_primitive.bind(f, *vals, **params)
172 return [BatchTracer(self, v, d) for v, d in zip(vals_out, dims_out())]
173
/usr/local/lib/python3.6/dist-packages/jax/core.py in bind(self, fun, *args, **params)
1172
1173 def bind(self, fun, *args, **params):
-> 1174 return call_bind(self, fun, *args, **params)
1175
1176 def process(self, trace, fun, tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/core.py in call_bind(primitive, fun, *args, **params)
1163 tracers = map(top_trace.full_raise, args)
1164 with maybe_new_sublevel(top_trace):
-> 1165 outs = primitive.process(top_trace, fun, tracers, params)
1166 return map(full_lower, apply_todos(env_trace_todo(), outs))
1167
/usr/local/lib/python3.6/dist-packages/jax/core.py in process(self, trace, fun, tracers, params)
1175
1176 def process(self, trace, fun, tracers, params):
-> 1177 return trace.process_call(self, fun, tracers, params)
1178
1179 def post_process(self, trace, out_tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/core.py in process_call(self, primitive, f, tracers, params)
574
575 def process_call(self, primitive, f, tracers, params):
--> 576 return primitive.impl(f, *tracers, **params)
577 process_map = process_call
578
/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py in _xla_call_impl(fun, device, backend, name, donated_invars, *args)
555 def _xla_call_impl(fun: lu.WrappedFun, *args, device, backend, name, donated_invars):
556 compiled_fun = _xla_callable(fun, device, backend, name, donated_invars,
--> 557 *unsafe_map(arg_spec, args))
558 try:
559 return compiled_fun(*args)
/usr/local/lib/python3.6/dist-packages/jax/linear_util.py in memoized_fun(fun, *args)
245 fun.populate_stores(stores)
246 else:
--> 247 ans = call(fun, *args)
248 cache[key] = (ans, fun.stores)
249
/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py in _xla_callable(fun, device, backend, name, donated_invars, *arg_specs)
701 device_assignment=(device.id,) if device else None)
702 options.parameter_is_tupled_arguments = tuple_args
--> 703 compiled = backend_compile(backend, built, options)
704 if nreps == 1:
705 return partial(_execute_compiled, compiled, out_avals, result_handlers)
/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py in backend_compile(backend, built_c, options)
342 # we use a separate function call to ensure that XLA compilation appears
343 # separately in Python profiling results
--> 344 return backend.compile(built_c, compile_options=options)
345
346 def _execute_compiled_primitive(prim, compiled, result_handler, *args):
RuntimeError: Invalid argument: The rank of the operand and the padding configuration do not match: f32[127,127] vs dimensions { } dimensions { edge_padding_low: 1 } dimensions { }.: "><pre class="notranslate"><code class="notranslate">RuntimeError Traceback (most recent call last)
<ipython-input-16-31a363cce168> in <module>()
----> 1 print(vmap_solve(129))
16 frames
<ipython-input-9-fc01e1c69adf> in vmap_solve(N)
2 A = jnp.expand_dims(jnp.eye(N), 0)
3 B = jnp.ones(N)
----> 4 return vmap(jax.numpy.linalg.solve, in_axes=(0, None))(A, B)
/usr/local/lib/python3.6/dist-packages/jax/api.py in batched_fun(*args)
1231 lambda: flatten_axes("vmap out_axes", out_tree(),
1232 out_axes),
-> 1233 axis_name=axis_name)
1234 return tree_unflatten(out_tree(), out_flat)
1235
/usr/local/lib/python3.6/dist-packages/jax/interpreters/batching.py in batch(fun, in_vals, in_dims, out_dim_dests, axis_name)
34 # executes a batched version of `fun` following out_dim_dests
35 batched_fun = batch_fun(fun, in_dims, out_dim_dests, axis_name=axis_name)
---> 36 return batched_fun.call_wrapped(*in_vals)
37
38 @lu.transformation_with_aux
/usr/local/lib/python3.6/dist-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs)
154
155 try:
--> 156 ans = self.f(*args, **dict(self.params, **kwargs))
157 except:
158 # Some transformations yield from inside context managers, so we have to
/usr/local/lib/python3.6/dist-packages/jax/api.py in f_jitted(*args, **kwargs)
217 backend=backend,
218 name=flat_fun.__name__,
--> 219 donated_invars=donated_invars)
220 return tree_unflatten(out_tree(), out)
221
/usr/local/lib/python3.6/dist-packages/jax/core.py in bind(self, fun, *args, **params)
1172
1173 def bind(self, fun, *args, **params):
-> 1174 return call_bind(self, fun, *args, **params)
1175
1176 def process(self, trace, fun, tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/core.py in call_bind(primitive, fun, *args, **params)
1163 tracers = map(top_trace.full_raise, args)
1164 with maybe_new_sublevel(top_trace):
-> 1165 outs = primitive.process(top_trace, fun, tracers, params)
1166 return map(full_lower, apply_todos(env_trace_todo(), outs))
1167
/usr/local/lib/python3.6/dist-packages/jax/core.py in process(self, trace, fun, tracers, params)
1175
1176 def process(self, trace, fun, tracers, params):
-> 1177 return trace.process_call(self, fun, tracers, params)
1178
1179 def post_process(self, trace, out_tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/interpreters/batching.py in process_call(self, call_primitive, f, tracers, params)
169 else:
170 f, dims_out = batch_subtrace(f, self.main, dims)
--> 171 vals_out = call_primitive.bind(f, *vals, **params)
172 return [BatchTracer(self, v, d) for v, d in zip(vals_out, dims_out())]
173
/usr/local/lib/python3.6/dist-packages/jax/core.py in bind(self, fun, *args, **params)
1172
1173 def bind(self, fun, *args, **params):
-> 1174 return call_bind(self, fun, *args, **params)
1175
1176 def process(self, trace, fun, tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/core.py in call_bind(primitive, fun, *args, **params)
1163 tracers = map(top_trace.full_raise, args)
1164 with maybe_new_sublevel(top_trace):
-> 1165 outs = primitive.process(top_trace, fun, tracers, params)
1166 return map(full_lower, apply_todos(env_trace_todo(), outs))
1167
/usr/local/lib/python3.6/dist-packages/jax/core.py in process(self, trace, fun, tracers, params)
1175
1176 def process(self, trace, fun, tracers, params):
-> 1177 return trace.process_call(self, fun, tracers, params)
1178
1179 def post_process(self, trace, out_tracers, params):
/usr/local/lib/python3.6/dist-packages/jax/core.py in process_call(self, primitive, f, tracers, params)
574
575 def process_call(self, primitive, f, tracers, params):
--> 576 return primitive.impl(f, *tracers, **params)
577 process_map = process_call
578
/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py in _xla_call_impl(fun, device, backend, name, donated_invars, *args)
555 def _xla_call_impl(fun: lu.WrappedFun, *args, device, backend, name, donated_invars):
556 compiled_fun = _xla_callable(fun, device, backend, name, donated_invars,
--> 557 *unsafe_map(arg_spec, args))
558 try:
559 return compiled_fun(*args)
/usr/local/lib/python3.6/dist-packages/jax/linear_util.py in memoized_fun(fun, *args)
245 fun.populate_stores(stores)
246 else:
--> 247 ans = call(fun, *args)
248 cache[key] = (ans, fun.stores)
249
/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py in _xla_callable(fun, device, backend, name, donated_invars, *arg_specs)
701 device_assignment=(device.id,) if device else None)
702 options.parameter_is_tupled_arguments = tuple_args
--> 703 compiled = backend_compile(backend, built, options)
704 if nreps == 1:
705 return partial(_execute_compiled, compiled, out_avals, result_handlers)
/usr/local/lib/python3.6/dist-packages/jax/interpreters/xla.py in backend_compile(backend, built_c, options)
342 # we use a separate function call to ensure that XLA compilation appears
343 # separately in Python profiling results
--> 344 return backend.compile(built_c, compile_options=options)
345
346 def _execute_compiled_primitive(prim, compiled, result_handler, *args):
RuntimeError: Invalid argument: The rank of the operand and the padding configuration do not match: f32[127,127] vs dimensions { } dimensions { edge_padding_low: 1 } dimensions { }.:
</code></pre></div>
<p dir="auto">Any ideas on why this is happening and how it can be fixed? Thank you.</p> | 1 |
<p dir="auto">Since my question is lost in stackoverflow, I decided to post it here as a bug, as I think it is.</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/38342266/shadowmap-cant-detect-all-instances-on-three-instancedbuffergeometry" rel="nofollow">http://stackoverflow.com/questions/38342266/shadowmap-cant-detect-all-instances-on-three-instancedbuffergeometry</a></p>
<p dir="auto">Basically the idea is having one bufferGeometry duplicated and having an attribute array with the offsets of my objects (like they have in the above example).</p>
<p dir="auto">If I try to add shadows, I only get shadows on 1 object, which I assume is because we only have 1 geometry.</p>
<p dir="auto">Is there a way of adding shadows to all my objects?</p> | <h5 dir="auto">Description of the problem</h5>
<p dir="auto">It is possible for one object/group to have multiple materials, e.g. to have 12 faces of material A and next 12 faces of material B. Current implementation does not handle it properly.</p>
<p dir="auto">I changed OBJLoader.js, now it creates not one mesh per object, but one mesh per tuple (object name, group name, material name, material smoothness), named 'o:foo,g:bar,usemtl:baz,s:[01]'. This way there is still one material per mesh, but more than one mesh per object/group, albeit with somewhat convoluted names.</p>
<p dir="auto">I don't know how to make an attachment in this issue tracker (I'm new to github), so I share that externally and provide links:</p>
<p dir="auto"><a href="http://gnu.univ.gda.pl/~grzes/three.js/OBJLoader.js" rel="nofollow">http://gnu.univ.gda.pl/~grzes/three.js/OBJLoader.js</a><br>
<a href="http://gnu.univ.gda.pl/~grzes/three.js/OBJLoader.js.diff" rel="nofollow">http://gnu.univ.gda.pl/~grzes/three.js/OBJLoader.js.diff</a></p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> r75</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5> | 0 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/32163/kubernetes-pull-build-test-e2e-gce/57681/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/32163/kubernetes-pull-build-test-e2e-gce/57681/</a></p>
<p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl taint should remove all the taints with the same key off a node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1306
Expected error:
<exec.CodeExitError>: {
Err: {
s: "error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.216.32 --kubeconfig=/workspace/.kube/config taint nodes e2e-gce-agent-pr-50-0-master kubernetes.io/e2e-taint-key-d9a5a78b-751f-11e6-9eed-0242ac110002=testing-taint-value:NoSchedule] [] <nil> Error from server: client: etcd cluster is unavailable or misconfigured\n [] <nil> 0xc8208ce3a0 exit status 1 <nil> true [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28190 0xc820c281a8] [0xaec560 0xaec560] 0xc820bbdce0}:\nCommand stdout:\n\nstderr:\nError from server: client: etcd cluster is unavailable or misconfigured\n\nerror:\nexit status 1\n",
},
Code: 1,
}
error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.216.32 --kubeconfig=/workspace/.kube/config taint nodes e2e-gce-agent-pr-50-0-master kubernetes.io/e2e-taint-key-d9a5a78b-751f-11e6-9eed-0242ac110002=testing-taint-value:NoSchedule] [] <nil> Error from server: client: etcd cluster is unavailable or misconfigured
[] <nil> 0xc8208ce3a0 exit status 1 <nil> true [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28190 0xc820c281a8] [0xaec560 0xaec560] 0xc820bbdce0}:
Command stdout:
stderr:
Error from server: client: etcd cluster is unavailable or misconfigured
error:
exit status 1
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2156"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1306
Expected error:
<exec.CodeExitError>: {
Err: {
s: "error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.216.32 --kubeconfig=/workspace/.kube/config taint nodes e2e-gce-agent-pr-50-0-master kubernetes.io/e2e-taint-key-d9a5a78b-751f-11e6-9eed-0242ac110002=testing-taint-value:NoSchedule] [] <nil> Error from server: client: etcd cluster is unavailable or misconfigured\n [] <nil> 0xc8208ce3a0 exit status 1 <nil> true [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28190 0xc820c281a8] [0xaec560 0xaec560] 0xc820bbdce0}:\nCommand stdout:\n\nstderr:\nError from server: client: etcd cluster is unavailable or misconfigured\n\nerror:\nexit status 1\n",
},
Code: 1,
}
error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.216.32 --kubeconfig=/workspace/.kube/config taint nodes e2e-gce-agent-pr-50-0-master kubernetes.io/e2e-taint-key-d9a5a78b-751f-11e6-9eed-0242ac110002=testing-taint-value:NoSchedule] [] <nil> Error from server: client: etcd cluster is unavailable or misconfigured
[] <nil> 0xc8208ce3a0 exit status 1 <nil> true [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28170 0xc820c28198 0xc820c281b0] [0xc820c28190 0xc820c281a8] [0xaec560 0xaec560] 0xc820bbdce0}:
Command stdout:
stderr:
Error from server: client: etcd cluster is unavailable or misconfigured
error:
exit status 1
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:2156
</code></pre></div>
<p dir="auto">Happened on a presubmit run in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175368707" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32163" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/32163/hovercard" href="https://github.com/kubernetes/kubernetes/pull/32163">#32163</a>.</p>
<p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="172298701" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31066" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31066/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31066">#31066</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174735398" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31967" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31967/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31967">#31967</a></p> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/11756/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/11756/</a></p>
<p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl taint should update the taint on a node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1198
Expected error:
<*errors.errorString | 0xc820624710>: {
s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.155.182.223 --kubeconfig=/workspace/.kube/config taint nodes gke-jenkins-e2e-default-pool-8f17ec09-iatl kubernetes.io/e2e-taint-key-498bd6c9-50a6-11e6-891a-0242ac110002-] [] <nil> failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n [] <nil> 0xc82077efc0 exit status 1 <nil> true [0xc820796328 0xc820796340 0xc820796358] [0xc820796328 0xc820796340 0xc820796358] [0xc820796338 0xc820796350] [0xaaeb60 0xaaeb60] 0xc820c722a0}:\nCommand stdout:\n\nstderr:\nfailed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n\nerror:\nexit status 1\n",
}
Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.155.182.223 --kubeconfig=/workspace/.kube/config taint nodes gke-jenkins-e2e-default-pool-8f17ec09-iatl kubernetes.io/e2e-taint-key-498bd6c9-50a6-11e6-891a-0242ac110002-] [] <nil> failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
[] <nil> 0xc82077efc0 exit status 1 <nil> true [0xc820796328 0xc820796340 0xc820796358] [0xc820796328 0xc820796340 0xc820796358] [0xc820796338 0xc820796350] [0xaaeb60 0xaaeb60] 0xc820c722a0}:
Command stdout:
stderr:
failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
error:
exit status 1
not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1198
Expected error:
<*errors.errorString | 0xc820624710>: {
s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.155.182.223 --kubeconfig=/workspace/.kube/config taint nodes gke-jenkins-e2e-default-pool-8f17ec09-iatl kubernetes.io/e2e-taint-key-498bd6c9-50a6-11e6-891a-0242ac110002-] [] <nil> failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n [] <nil> 0xc82077efc0 exit status 1 <nil> true [0xc820796328 0xc820796340 0xc820796358] [0xc820796328 0xc820796340 0xc820796358] [0xc820796338 0xc820796350] [0xaaeb60 0xaaeb60] 0xc820c722a0}:\nCommand stdout:\n\nstderr:\nfailed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n\nerror:\nexit status 1\n",
}
Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.155.182.223 --kubeconfig=/workspace/.kube/config taint nodes gke-jenkins-e2e-default-pool-8f17ec09-iatl kubernetes.io/e2e-taint-key-498bd6c9-50a6-11e6-891a-0242ac110002-] [] <nil> failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
[] <nil> 0xc82077efc0 exit status 1 <nil> true [0xc820796328 0xc820796340 0xc820796358] [0xc820796328 0xc820796340 0xc820796358] [0xc820796338 0xc820796350] [0xaaeb60 0xaaeb60] 0xc820c722a0}:
Command stdout:
stderr:
failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
error:
exit status 1
not to have occurred
</code></pre></div>
<p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162029512" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27976" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27976/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27976">#27976</a></p> | 1 |
<h3 dir="auto">Description</h3>
<p dir="auto">Going through v1-alpha branch code I've noticed that in some places (like a few, but I'm sure this will grow with time) there are 'hardcoded' component names/identifiers, which in my opinion don't scale well. To improve that I suggest to move all component identifiers (values assigned as <code class="notranslate">muiName</code>) to a separate file as importable constants (eg. in <code class="notranslate">src/internal/identifiers.js</code> or <code class="notranslate">constants.js</code>).</p>
<p dir="auto">Alternative approach would be to export them directly from components, but I feel it's more handy to just</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { identifier1, identifier2 } from '../internal/identifiers';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">identifier1</span><span class="pl-kos">,</span> <span class="pl-s1">identifier2</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../internal/identifiers'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">rather than</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { identifier1 } from '../Component1';
import { identifier2 } from '../Component2/SubComponent';"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">identifier1</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../Component1'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">identifier2</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../Component2/SubComponent'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Also <code class="notranslate">muiName</code> itself could be stored there:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { MUI_NAME_PROP, MY_COMPONENT } from '../internal/identifiers';
// ...
MyComponent[MUI_NAME_PROP] = MY_COMPONENT;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-c1">MUI_NAME_PROP</span><span class="pl-kos">,</span> <span class="pl-c1">MY_COMPONENT</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../internal/identifiers'</span><span class="pl-kos">;</span>
<span class="pl-c">// ...</span>
<span class="pl-v">MyComponent</span><span class="pl-kos">[</span><span class="pl-c1">MUI_NAME_PROP</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">MY_COMPONENT</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Or event abstracted away to helpers:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { setMuiName, MY_COMPONENT } from '../internal/identifiers';
// sets static property on MyComponent
setMuiName(MyComponent, MY_COMPONENT);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">setMuiName</span><span class="pl-kos">,</span> <span class="pl-c1">MY_COMPONENT</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../internal/identifiers'</span><span class="pl-kos">;</span>
<span class="pl-c">// sets static property on MyComponent</span>
<span class="pl-en">setMuiName</span><span class="pl-kos">(</span><span class="pl-v">MyComponent</span><span class="pl-kos">,</span> <span class="pl-c1">MY_COMPONENT</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { isMuiComponent, OTHER_COMPONENT } from '../internal/identifiers';
// isMuiComponent could be something simple as:
const isMuiComponent = (component, type) =>
component && component.type && component.type.muiName === type;
if (isMuiComponent(component, OTHER_COMPONENT)) {
// do magic
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">isMuiComponent</span><span class="pl-kos">,</span> <span class="pl-c1">OTHER_COMPONENT</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../internal/identifiers'</span><span class="pl-kos">;</span>
<span class="pl-c">// isMuiComponent could be something simple as:</span>
<span class="pl-k">const</span> <span class="pl-en">isMuiComponent</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">component</span><span class="pl-kos">,</span> <span class="pl-s1">type</span><span class="pl-kos">)</span> <span class="pl-c1">=></span>
<span class="pl-s1">component</span> <span class="pl-c1">&&</span> <span class="pl-s1">component</span><span class="pl-kos">.</span><span class="pl-c1">type</span> <span class="pl-c1">&&</span> <span class="pl-s1">component</span><span class="pl-kos">.</span><span class="pl-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-s1">type</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isMuiComponent</span><span class="pl-kos">(</span><span class="pl-s1">component</span><span class="pl-kos">,</span> <span class="pl-c1">OTHER_COMPONENT</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// do magic</span>
<span class="pl-kos">}</span></pre></div>
<hr>
<p dir="auto">Same approach could/should be most likely used for default style sheet names (eg. <code class="notranslate">MuiCard</code>, <code class="notranslate">MuiListItem</code> etc.) as currently these keys are duplicated in component file (<code class="notranslate">createStyleSheet</code>) as well as in <code class="notranslate">src/styles/muiThemeProviderFactory.js</code>. I'd suggest something storing them in <code class="notranslate">src/internal</code> directory as <code class="notranslate">jssIdentifiers.js</code> or <code class="notranslate">styleSheetIdentifiers.js</code>, but to me it's not as important as clearing component logic (<code class="notranslate">muiName</code>s).</p>
<h3 dir="auto">References</h3>
<p dir="auto">Current code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// material-ui/src/List/ListItem.js
// line ~138
const hasAvatar = children.some(value => {
return value.type && value.type.muiName === 'ListItemAvatar';
});
// line ~168
if (
children.length &&
children[children.length - 1].type &&
children[children.length - 1].type.muiName === 'ListItemSecondaryAction'
) {"><pre class="notranslate"><span class="pl-c">// material-ui/src/List/ListItem.js</span>
<span class="pl-c">// line ~138</span>
<span class="pl-k">const</span> <span class="pl-s1">hasAvatar</span> <span class="pl-c1">=</span> <span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-en">some</span><span class="pl-kos">(</span><span class="pl-s1">value</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">value</span><span class="pl-kos">.</span><span class="pl-c1">type</span> <span class="pl-c1">&&</span> <span class="pl-s1">value</span><span class="pl-kos">.</span><span class="pl-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-s">'ListItemAvatar'</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">// line ~168</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span>
<span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">&&</span>
<span class="pl-s1">children</span><span class="pl-kos">[</span><span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</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-c1">type</span> <span class="pl-c1">&&</span>
<span class="pl-s1">children</span><span class="pl-kos">[</span><span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</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-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-s">'ListItemSecondaryAction'</span>
<span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos"></span></pre></div>
<p dir="auto">Suggestion:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { LIST_ITEM_AVATAR, LIST_ITEM_SECONDARY_ACTION } from '../internal/identifiers';
const hasAvatar = children.some(value => {
return value.type && value.type.muiName === LIST_ITEM_AVATAR;
});
if (
children.length &&
children[children.length - 1].type &&
children[children.length - 1].type.muiName === LIST_ITEM_SECONDARY_ACTION
) {
// or
const childrenLength = children.length;
if (childrenLength && isMuiComponent(children[childrenLength - 1], LIST_ITEM_SECONDARY_ACTION)) {"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-c1">LIST_ITEM_AVATAR</span><span class="pl-kos">,</span> <span class="pl-c1">LIST_ITEM_SECONDARY_ACTION</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../internal/identifiers'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">hasAvatar</span> <span class="pl-c1">=</span> <span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-en">some</span><span class="pl-kos">(</span><span class="pl-s1">value</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">value</span><span class="pl-kos">.</span><span class="pl-c1">type</span> <span class="pl-c1">&&</span> <span class="pl-s1">value</span><span class="pl-kos">.</span><span class="pl-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-c1">LIST_ITEM_AVATAR</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span>
<span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">&&</span>
<span class="pl-s1">children</span><span class="pl-kos">[</span><span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</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-c1">type</span> <span class="pl-c1">&&</span>
<span class="pl-s1">children</span><span class="pl-kos">[</span><span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</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-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-c1">LIST_ITEM_SECONDARY_ACTION</span>
<span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// or</span>
<span class="pl-k">const</span> <span class="pl-s1">childrenLength</span> <span class="pl-c1">=</span> <span class="pl-s1">children</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">childrenLength</span> <span class="pl-c1">&&</span> <span class="pl-en">isMuiComponent</span><span class="pl-kos">(</span><span class="pl-s1">children</span><span class="pl-kos">[</span><span class="pl-s1">childrenLength</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-c1">LIST_ITEM_SECONDARY_ACTION</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">--</p>
<p dir="auto">Current:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// src/IconButton/IconButton.js
if (child.type && child.type.muiName === 'Icon') {
return cloneElement(child, {
className: classNames(classes.icon, child.props.className),
});
}"><pre class="notranslate"><span class="pl-c">// src/IconButton/IconButton.js</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">type</span> <span class="pl-c1">&&</span> <span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-s">'Icon'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-en">cloneElement</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">className</span>: <span class="pl-en">classNames</span><span class="pl-kos">(</span><span class="pl-s1">classes</span><span class="pl-kos">.</span><span class="pl-c1">icon</span><span class="pl-kos">,</span> <span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">className</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">Suggestion:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (isMuiComponent(child, ICON)) {
return cloneElement(child, {
className: classNames(classes.icon, child.props.className),
});
}"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-en">isMuiComponent</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">,</span> <span class="pl-c1">ICON</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-en">cloneElement</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">className</span>: <span class="pl-en">classNames</span><span class="pl-kos">(</span><span class="pl-s1">classes</span><span class="pl-kos">.</span><span class="pl-c1">icon</span><span class="pl-kos">,</span> <span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">className</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">--</p>
<p dir="auto">Current:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// src/form/FormControl.js
Children.forEach(this.props.children, child => {
if (child && child.type && child.type.muiName === 'Input' && isDirty(child.props, true)) {
this.setState({ dirty: true });
}
});"><pre class="notranslate"><span class="pl-c">// src/form/FormControl.js</span>
<span class="pl-v">Children</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">children</span><span class="pl-kos">,</span> <span class="pl-s1">child</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-s1">child</span> <span class="pl-c1">&&</span> <span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">type</span> <span class="pl-c1">&&</span> <span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">type</span><span class="pl-kos">.</span><span class="pl-c1">muiName</span> <span class="pl-c1">===</span> <span class="pl-s">'Input'</span> <span class="pl-c1">&&</span> <span class="pl-en">isDirty</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setState</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">dirty</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Suggestion:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { isMuiComponent, INPUT } from '../internal/identifiers';
Children.forEach(this.props.children, child => {
if (isMuiComponent(child, INPUT) && isDirty(child.props, true)) {
this.setState({ dirty: true });
}
});"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">isMuiComponent</span><span class="pl-kos">,</span> <span class="pl-c1">INPUT</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../internal/identifiers'</span><span class="pl-kos">;</span>
<span class="pl-v">Children</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">children</span><span class="pl-kos">,</span> <span class="pl-s1">child</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-en">isMuiComponent</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">,</span> <span class="pl-c1">INPUT</span><span class="pl-kos">)</span> <span class="pl-c1">&&</span> <span class="pl-en">isDirty</span><span class="pl-kos">(</span><span class="pl-s1">child</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setState</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">dirty</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">--</p>
<p dir="auto">I'd love to submit a PR, but first I wanted to make sure this is something you guys see useful as well :)</p>
<p dir="auto">Thanks!</p> | <h3 dir="auto">Function values do not seem to be generated for style rules generated from <code class="notranslate">withStyles</code>. This makes it a bit annoying to have to choose-either-or or have a duplicate non-material-ui styleSheet for anything which requires a function.</h3>
<h3 dir="auto">Example: <a href="https://www.webpackbin.com/bins/-Kq_JaPyi7k3QAqPyTsN" rel="nofollow">https://www.webpackbin.com/bins/-Kq_JaPyi7k3QAqPyTsN</a></h3>
<p dir="auto">(In this example, component should not display as <code class="notranslate">isShown</code> is set to <code class="notranslate">false</code> which should trigger <code class="notranslate">display</code> to return <code class="notranslate">none</code>)</p>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 1.0.0-beta.3</li>
<li>React: 15.6.1</li>
<li>Browser: Chrome @ latest</li>
</ul> | 0 |
<p dir="auto">Running scipy.stats.kendalltau on attached data gives tau = 0.12017 and two-tailed p = 0.0666</p>
<p dir="auto">Running same test (kenall tau-b) in R (cor.test), SPSS (NONPAR CORR) and the Excel Real-Statistics addin gives same value of tau but p = 0.099 in all 3 packages.<br>
<a href="https://github.com/scipy/scipy/files/333596/fmmnonzero.txt">fmmnonzero.txt</a></p> | <p dir="auto">The null statistics for kendall's τ is <a href="https://en.wikipedia.org/wiki/Kendall_rank_correlation_coefficient#Significance_tests" rel="nofollow">very different</a> in the case of ties. Presently, the code computes τ and then applies the null statistics for the tieless case to the general case, leaving people <a href="http://stats.stackexchange.com/questions/71026/kendall-tau-b-correlation-coefficient-becomes-more-significant-with-many-additio" rel="nofollow">really puzzled</a>.</p>
<p dir="auto">I have created a <a href="https://github.com/scipy/scipy/pull/5754" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/5754/hovercard">pull request</a> that improves performance and fixes a few problems, putting again the code in line with that we developed at the LAW (which was used in 2009). In doing so, I set up things so that a p-value of NaN is returned in case of ties, as the present situation is most dangerous.</p>
<p dir="auto">I'm ready to help to modify the code so that it computes the pieces of information that the real null statistic needs, but I need a statistician to check the theoretical part. (IANS)</p> | 1 |
<p dir="auto">Upgrading 1.7.1 to 1.7.2 with RPM causes postun script failed.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ sudo rpm -Uvh elasticsearch-1.7.2.noarch.rpm
warning: elasticsearch-1.7.2.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID d88e42b4: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:elasticsearch-1.7.2-1 ################################# [ 50%]
Cleaning up / removing...
2:elasticsearch-1.7.1-1 ################################# [100%]
post remove script called with unknown argument `1'
warning: %postun(elasticsearch-1.7.1-1.noarch) scriptlet failed, exit status 1"><pre class="notranslate">$ sudo rpm -Uvh elasticsearch-1.7.2.noarch.rpm
warning: elasticsearch-1.7.2.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID d88e42b4: NOKEY
Preparing... <span class="pl-c"><span class="pl-c">#</span>################################ [100%]</span>
Updating / installing...
1:elasticsearch-1.7.2-1 <span class="pl-c"><span class="pl-c">#</span>################################ [ 50%]</span>
Cleaning up / removing...
2:elasticsearch-1.7.1-1 <span class="pl-c"><span class="pl-c">#</span>################################ [100%]</span>
post remove script called with unknown argument <span class="pl-s"><span class="pl-pds">`</span>1<span class="pl-s"><span class="pl-pds">'</span></span></span>
<span class="pl-s"><span class="pl-s">warning: %postun(elasticsearch-1.7.1-1.noarch) scriptlet failed, exit status 1</span></span></pre></div>
<p dir="auto">My environment is here.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: AmazonAMI
Description: Amazon Linux AMI release 2015.03
Release: 2015.03
Codename: n/a
$ rpm --version
RPM version 4.11.2"><pre class="notranslate">$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: AmazonAMI
Description: Amazon Linux AMI release 2015.03
Release: 2015.03
Codename: n/a
$ rpm --version
RPM version 4.11.2</pre></div> | <p dir="auto">From <a href="https://discuss.elastic.co/t/1-7-1-rpm-warns-post-remove-script-called-with-unknown-argument/26693" rel="nofollow">https://discuss.elastic.co/t/1-7-1-rpm-warns-post-remove-script-called-with-unknown-argument/26693</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ESVERSION=1.7.1
$ package=elasticsearch-$ESVERSION.noarch.rpm && wget https://download.elasticsearch.org/elasticsearch/elasticsearch/$package -O /tmp/$package && sudo rpm -Uvh /tmp/$package
--2015-08-02 20:27:24-- https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.7.1.noarch.rpm
Resolving download.elasticsearch.org... 174.129.211.252, 174.129.224.133, 23.21.179.119, ...
Connecting to download.elasticsearch.org|174.129.211.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27323419 (26M) [application/x-redhat-package-manager]
Saving to: “/tmp/elasticsearch-1.7.1.noarch.rpm”
100%[===================================================>] 27,323,419 8.56M/s in 3.0s
2015-08-02 20:27:27 (8.56 MB/s) - “/tmp/elasticsearch-1.7.1.noarch.rpm” saved [27323419/27323419]
warning: /tmp/elasticsearch-1.7.1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID d88e42b4: NOKEY
Preparing... ########################################### [100%]
1:elasticsearch ########################################### [100%]
post remove script called with unknown argument `1'
warning: %postun(elasticsearch-1.7.0-1.noarch) scriptlet failed, exit status 1"><pre class="notranslate"><code class="notranslate">$ ESVERSION=1.7.1
$ package=elasticsearch-$ESVERSION.noarch.rpm && wget https://download.elasticsearch.org/elasticsearch/elasticsearch/$package -O /tmp/$package && sudo rpm -Uvh /tmp/$package
--2015-08-02 20:27:24-- https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.7.1.noarch.rpm
Resolving download.elasticsearch.org... 174.129.211.252, 174.129.224.133, 23.21.179.119, ...
Connecting to download.elasticsearch.org|174.129.211.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27323419 (26M) [application/x-redhat-package-manager]
Saving to: “/tmp/elasticsearch-1.7.1.noarch.rpm”
100%[===================================================>] 27,323,419 8.56M/s in 3.0s
2015-08-02 20:27:27 (8.56 MB/s) - “/tmp/elasticsearch-1.7.1.noarch.rpm” saved [27323419/27323419]
warning: /tmp/elasticsearch-1.7.1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID d88e42b4: NOKEY
Preparing... ########################################### [100%]
1:elasticsearch ########################################### [100%]
post remove script called with unknown argument `1'
warning: %postun(elasticsearch-1.7.0-1.noarch) scriptlet failed, exit status 1
</code></pre></div>
<p dir="auto">Reported on Centos 6 and RHEL 6.6.</p> | 1 |
<h4 dir="auto">Code Sample</h4>
<p dir="auto">url = """<a href="https://en.wikipedia.org/wiki/List_of_winners_of_the_Boston_Marathon" rel="nofollow">https://en.wikipedia.org/wiki/List_of_winners_of_the_Boston_Marathon</a>"""<br>
tables = pd.read_html(url, header=0)<br>
print(tables[0].head())</p>
<h4 dir="auto">Problem description</h4>
<p dir="auto">The above code ''should' just extract the displayed text in the HTML table; what's in the dataframe should be what's displayed on screen. This isn't what happens. If the HTML contains a hyperlink with a title attribute, this is picked up and added to the dataframe, duplicating the data.</p>
<h4 dir="auto">Expected Output</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Year Athlete \
0 1897 John J. McDermott
1 1898 Ronald J. MacDonald
2 1899 Lawrence Brignolia
3 1900 John "Jack" Caffery
4 1901 John "Jack" Caffery
Country/State Time Notes
0 United States (NY) 2:55:10 NaN
1 Canada Canada 2:42:00 NaN
2 United States (MA) 2:54:38 NaN
3 Canada 2:39:44 NaN
4 Canada 2:29:23 2nd victory "><pre class="notranslate"><code class="notranslate"> Year Athlete \
0 1897 John J. McDermott
1 1898 Ronald J. MacDonald
2 1899 Lawrence Brignolia
3 1900 John "Jack" Caffery
4 1901 John "Jack" Caffery
Country/State Time Notes
0 United States (NY) 2:55:10 NaN
1 Canada Canada 2:42:00 NaN
2 United States (MA) 2:54:38 NaN
3 Canada 2:39:44 NaN
4 Canada 2:29:23 2nd victory
</code></pre></div>
<h4 dir="auto">Output</h4>
<p dir="auto">Here's the actual output, the duplication is in the Athlete and Country/State columns.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Year Athlete
0 1897 McDermott, John J.John J. McDermott
1 1898 MacDonald, Ronald J.Ronald J. MacDonald
2 1899 Brignolia, LawrenceLawrence Brignolia
3 1900 Caffery, JohnJohn "Jack" Caffery
4 1901 Caffery, JohnJohn "Jack" Caffery
Country/State Time Notes
0 United States United States (NY) 2:55:10 NaN
1 Canada Canada 2:42:00 NaN
2 United States United States (MA) 2:54:38 NaN
3 Canada Canada 2:39:44 NaN
4 Canada Canada 2:29:23 2nd victory "><pre class="notranslate"><code class="notranslate"> Year Athlete
0 1897 McDermott, John J.John J. McDermott
1 1898 MacDonald, Ronald J.Ronald J. MacDonald
2 1899 Brignolia, LawrenceLawrence Brignolia
3 1900 Caffery, JohnJohn "Jack" Caffery
4 1901 Caffery, JohnJohn "Jack" Caffery
Country/State Time Notes
0 United States United States (NY) 2:55:10 NaN
1 Canada Canada 2:42:00 NaN
2 United States United States (MA) 2:54:38 NaN
3 Canada Canada 2:39:44 NaN
4 Canada Canada 2:29:23 2nd victory
</code></pre></div> | <p dir="auto">It seems that the apply method of a group invokes the function passed as parameter once for each group, as expectes. However, the function is invoked twice for the first group. Enclose is a short code reproducing this behavior. Is it a normal behavior or am I doing something wrong here.</p>
<p dir="auto">I run the code with pandas 0.10.0 on. Windows 7, 32 bit version.</p>
<p dir="auto">The code reproducing this behavior:</p>
<p dir="auto">import pandas as pd</p>
<p dir="auto">tdf = pd.DataFrame( { 'cat' : [1,1,1,2,2,1,1,2], 'B' : range(8)})<br>
category = tdf['cat']<br>
pGroups = tdf.groupby(by=category)</p>
<p dir="auto">def getLen(df) :<br>
print 'len ',len(df)<br>
return len(df)</p>
<p dir="auto">plen = pGroups.apply(getLen)</p> | 0 |
<p dir="auto">This auto-formatted incorrectly</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[
'two spaces indent',
{} //object placed two spaces to the left, expected to have the same indentation as text
]"><pre class="notranslate"><span class="pl-kos">[</span>
<span class="pl-s">'two spaces indent'</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-c">//object placed two spaces to the left, expected to have the same indentation as text</span>
<span class="pl-kos">]</span></pre></div> | <p dir="auto">A gif probably explains it best:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/120506/5451371/78d8b932-8507-11e4-8434-23ae2691eb63.gif"><img src="https://cloud.githubusercontent.com/assets/120506/5451371/78d8b932-8507-11e4-8434-23ae2691eb63.gif" alt="outdent2" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">Firstly, I'd contend that the <code class="notranslate">])</code> shouldn't be automatically indented, but I can live with that.</p>
<p dir="auto">Main point: the <code class="notranslate">{whatever}</code> line automatically outdents as soon as I type the first <code class="notranslate">{</code> (presumably because it thinks it's opening a block rather than an object), and then continually tries to outdent whenever I type any more characters on the line (the re-indentation in the gif is me hitting <code class="notranslate">ctrl+]</code>)</p>
<p dir="auto">Been happening in <code class="notranslate">atom --safe</code> built off master for the last couple of days, presumably since the update to [email protected] in relation to <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/language-javascript/commit/e38f1cd9eddea7cb9994342ca9bceef2a4e3d7ff/hovercard" href="https://github.com/atom/language-javascript/commit/e38f1cd9eddea7cb9994342ca9bceef2a4e3d7ff"><tt>e38f1cd</tt></a></p> | 1 |
<h3 dir="auto"><g-emoji class="g-emoji" alias="computer" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png">💻</g-emoji></h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Would you like to work on a fix?</li>
</ul>
<h3 dir="auto">How are you using Babel?</h3>
<p dir="auto">@babel/cli</p>
<h3 dir="auto">Input code</h3>
<p dir="auto">Error occurring after installed latest <a href="https://www.npmjs.com/package/@babel/core/v/7.22.0" rel="nofollow">@babel/core</a></p>
<h3 dir="auto">Configuration file name</h3>
<p dir="auto">babel.config.js</p>
<h3 dir="auto">Configuration</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Current and expected behavior</h3>
<p dir="auto">Getting error</p>
<blockquote>
<p dir="auto">Cannot find module '@babel/plugin-proposal-private-property-in-object'</p>
</blockquote>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Babel version: latest (7.22.0)</li>
<li>Node: 16</li>
<li>yarn v1.22.19</li>
<li>Mac OS Venutura / Ubuntu 22.0.4</li>
</ul>
<h3 dir="auto">Possible solution</h3>
<p dir="auto">It's working fine after I installed <code class="notranslate">@babel/plugin-proposal-private-property-in-object</code> .</p>
<p dir="auto"><code class="notranslate">yarn add @babel/plugin-proposal-private-property-in-object --dev</code></p>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Seems the latest release 7.22.0 has an issue.<br>
It was working properly until few hours ago.</p> | <p dir="auto">Originally from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="57024826" data-permission-text="Title is private" data-url="https://github.com/babel/karma-babel-preprocessor/issues/5" data-hovercard-type="issue" data-hovercard-url="/babel/karma-babel-preprocessor/issues/5/hovercard" href="https://github.com/babel/karma-babel-preprocessor/issues/5">babel/karma-babel-preprocessor#5</a></p>
<p dir="auto">With to5Options.moduleIds: true module names are including the entire path. I tried setting the sourceRoot, but then the path was duplicated before the desired module portion.</p>
<p dir="auto">The only way I was able to get just the module portion was to add filenameRelative to the per file options and assign it a function to strip the initial path. I feel like I'm missing something simple over this being a bug. Thoughts?</p>
<p dir="auto">Not sure if this matters, but I am on windows.</p> | 0 |
<p dir="auto"><strong>Symfony version(s) affected</strong>: 3.4.22</p>
<p dir="auto"><strong>Description</strong></p>
<blockquote>
<p dir="auto">A new entity was found through the relationship 'XXX#hcspData' that was not configured to cascade persist operations for entity: HCSPData@0000000023d966fc0000000028e438d7. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/manytoone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/manytoone">@manytoone</a>(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'HCSPData#__toString()' to get a clue.</p>
</blockquote>
<p dir="auto"><strong>How to reproduce</strong><br>
HCSPData is fetched in service, this service is used in Subscriber pinned with Doctrine prePersist.<br>
It was like that since I remember.<br>
Updating Symfony version resulted in above error. Lowering version to .21 and everything works again.<br>
Doctrine package is the same, so I believe this is not Doctrine problem.</p>
<p dir="auto">For <strong>3.4.21</strong><br>
<code class="notranslate">$entityManager->contains($documentEntity) // true</code><br>
<code class="notranslate">EntityManager { #540 // where HCSPData is fetched</code><br>
<code class="notranslate">EntityManager { #540 // where XXX is flushed</code></p>
<p dir="auto">For <strong>3.4.22</strong><br>
<code class="notranslate">$entityManager->contains($documentEntity) // false</code><br>
<code class="notranslate">EntityManager { #540 // where HCSPData is fetched</code><br>
<code class="notranslate">EntityManager { #559 // where XXX is flushed</code></p>
<p dir="auto">What i found - <code class="notranslate">EntityManager</code> fetching <code class="notranslate">HCSPData</code> and <code class="notranslate">EntityManager</code> creating new entity in <strong>3.4.21</strong> is the same object, but in <strong>3.4.22</strong> they are not. You had to made change that is breaking DI object injecting. Both service & subscriber are fetching EM same way: <code class="notranslate">public function __construct(EntityManagerInterface $entityManager)</code></p>
<h3 dir="auto"><strong>After some digging I found this:</strong></h3>
<p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/symfony/symfony/commit/b3e17d2101530092f96ff9c1967ab2b5f556b90a/hovercard" href="https://github.com/symfony/symfony/commit/b3e17d2101530092f96ff9c1967ab2b5f556b90a"><tt>b3e17d2</tt></a><br>
Reverting changes from this commit done by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mmarynich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mmarynich">@mmarynich</a> makes everything work again.</p> | <p dir="auto"><strong>Symfony version(s) affected</strong>: 4.2.3</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Updating symfony/dependency-injection (v4.2.2 => v4.2.3)"><pre class="notranslate"><code class="notranslate">Updating symfony/dependency-injection (v4.2.2 => v4.2.3)
</code></pre></div>
<p dir="auto">Somehow there are now 2 entity manager instances in my application, causing all sort of WTFs :)</p>
<p dir="auto">See <a href="https://github.com/ro0NL/symfony-issue-30091">https://github.com/ro0NL/symfony-issue-30091</a></p>
<p dir="auto">Before:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DefaultController.php on line 13:
EntityAwareFactory {#278 ▼
...
-em: EntityManager {#233 …11}
}
DefaultController.php on line 13:
UserEmailRepository {#212 ▼
...
-em: EntityManager {#233 …11}
...
}"><pre class="notranslate"><code class="notranslate">DefaultController.php on line 13:
EntityAwareFactory {#278 ▼
...
-em: EntityManager {#233 …11}
}
DefaultController.php on line 13:
UserEmailRepository {#212 ▼
...
-em: EntityManager {#233 …11}
...
}
</code></pre></div>
<p dir="auto">Both entity managers are instance 233</p>
<p dir="auto">After</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DefaultController.php on line 13:
EntityAwareFactory {#278 ▼
...
-em: EntityManager {#233 …11}
}
DefaultController.php on line 13:
UserEmailRepository {#298 ▼
...
-em: EntityManager {#283 …11}
...
}"><pre class="notranslate"><code class="notranslate">DefaultController.php on line 13:
EntityAwareFactory {#278 ▼
...
-em: EntityManager {#233 …11}
}
DefaultController.php on line 13:
UserEmailRepository {#298 ▼
...
-em: EntityManager {#283 …11}
...
}
</code></pre></div>
<p dir="auto">Now the instances differ. The only differenence is sf/di 4.2.2 vs 4.2.3. Respectively the first and last commit.</p> | 1 |
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="138944354" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/12551" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/12551/hovercard" href="https://github.com/pandas-dev/pandas/pull/12551">#12551</a> and comment: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="137901618" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/12512" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/12512/hovercard?comment_id=56771668&comment_type=review_comment" href="https://github.com/pandas-dev/pandas/pull/12512#discussion_r56771668">#12512 (comment)</a></p>
<p dir="auto"><code class="notranslate">usecols=['a',1]</code> should raise</p> | <p dir="auto">Hi, guys! First of all, thanks for making this open source! =D Keep up the good work!</p>
<p dir="auto"><strong>SCRIPT</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
dfs = pd.read_html('https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States')
print(dfs[0])"><pre class="notranslate"><code class="notranslate">import pandas as pd
dfs = pd.read_html('https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States')
print(dfs[0])
</code></pre></div>
<p dir="auto">The output we found where there is any colspan is considering only the first column, and the other values are pulled back in relation to the colspan amount, making the values on the tail's row as "NaN"</p>
<p dir="auto"><strong>#### Expected Output</strong><br>
In this web page, there is a colspan in the "capital" and "largest city" columns when they are the same, I think that in a general way we would expect that the value would be duplicate on the following <colspan's amount> columns in the generated DataFrame</p>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.5.2.final.0<br>
python-bits: 64<br>
OS: Windows<br>
OS-release: 10<br>
machine: AMD64<br>
processor: Intel64 Family 6 Model 15 Stepping 13, GenuineIntel<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: None</p>
<p dir="auto">pandas: 0.18.1<br>
nose: None<br>
pip: 8.1.2<br>
setuptools: 27.2.0<br>
Cython: 0.24.1<br>
numpy: 1.11.1<br>
scipy: 0.18.0<br>
statsmodels: None<br>
xarray: None<br>
IPython: 5.1.0<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.5.3<br>
pytz: 2016.6.1<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
matplotlib: 1.5.1<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: None<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: 4.5.1<br>
html5lib: 0.999<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.8<br>
boto: None<br>
pandas_datareader: 0.2.1</p> | 0 |
<p dir="auto">This is meant as a meta-bug for me to collect references to places where users complained about fallout from Sound Generic Drop (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="56708388" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21972" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/21972/hovercard" href="https://github.com/rust-lang/rust/pull/21972">#21972</a>) and its precursors (namely <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="55493878" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21657" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/21657/hovercard" href="https://github.com/rust-lang/rust/pull/21657">#21657</a> in particular).</p>
<p dir="auto">It might be a places to pose ideas for ways to address complaints, but keeping in mind the distinction between language features versus tooling, I would prefer for the comments on this ticket to focus on things we can do without changing the language per se, and try to put language changes somewhere on the RFC repo. For example, ways to encode "this destructor for this type is pure" is an example of such a language feature.</p>
<p dir="auto">(I do not know where something like "borrow scopes should not always be lexical" (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="14199471" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/6393" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/6393/hovercard" href="https://github.com/rust-lang/rust/issues/6393">#6393</a>) falls in that categorization; that might be an example of something that would not require an RFC, but maybe it does at this point.)</p>
<hr>
<p dir="auto">Potential work items:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Make <code class="notranslate">Vec<T></code>, <code class="notranslate">Box<T></code>, <code class="notranslate">Rc<T></code>, etc, covariant with respect to <code class="notranslate">T</code>. Discussed on issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54459958" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21198" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/21198/hovercard" href="https://github.com/rust-lang/rust/issues/21198">#21198</a> (was not a strict requirement for landing new destructor semantics).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Track even finer grained scopes, e.g. destruction order of temporary rvalues in an expression. Issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="57686841" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/22323" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/22323/hovercard" href="https://github.com/rust-lang/rust/issues/22323">#22323</a>
<ul dir="auto">
<li>fixed by non-lexical lifetimes (NLL), so <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pnkfelix/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pnkfelix">@pnkfelix</a> is choosing to check off its box here.</li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Implement refined Drop check rule that respects the side-condition "where T is a trait that has at least one <del>method</del> item" <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="70877055" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/24805" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/24805/hovercard" href="https://github.com/rust-lang/rust/issues/24805">#24805</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> uses of terms "superregion" and "subregion" suboptimal <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="57285548" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/22171" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/22171/hovercard" href="https://github.com/rust-lang/rust/issues/22171">#22171</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> new scoping rules for safe dtors can yield spurious semi-colon or trailing unit expr <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54255470" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21114" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/21114/hovercard" href="https://github.com/rust-lang/rust/issues/21114">#21114</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Temporary lifetimes sometimes yield surprising errors <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="278286308" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/46413" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/46413/hovercard" href="https://github.com/rust-lang/rust/issues/46413">#46413</a>
<ul dir="auto">
<li>(Note that with non-lexical lifetimes (NLL) enabled, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="278286308" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/46413" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/46413/hovercard" href="https://github.com/rust-lang/rust/issues/46413">#46413</a> is effectively a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54255470" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21114" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/21114/hovercard" href="https://github.com/rust-lang/rust/issues/21114">#21114</a>.)</li>
</ul>
</li>
</ul>
<hr>
<p dir="auto">key terms: destruction scope, block suffix, unsafe_destructor</p> | <p dir="auto">I'm using <code class="notranslate">libcore</code> and <code class="notranslate">liballoc</code> to build a freestanding kernel, and it used to work perfectly on 1.0.0-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/2b01a37ec38db9301239f0c0abcf3c695055b0ff/hovercard" href="https://github.com/rust-lang/rust/commit/2b01a37ec38db9301239f0c0abcf3c695055b0ff"><tt>2b01a37</tt></a> 2015-02-21).</p>
<p dir="auto">But since I updated my Rust and my <code class="notranslate">rust</code> submodule (including any dependencies) to the latest 1.0.0-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/c89de2c56baeb61e7cc434924dcc8bedd32b26b8/hovercard" href="https://github.com/rust-lang/rust/commit/c89de2c56baeb61e7cc434924dcc8bedd32b26b8"><tt>c89de2c</tt></a> 2015-03-28), I get a whole slew of these errors when building <code class="notranslate">liballoc</code> or anything that depends on it:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Compiling alloc v0.0.1 (file:///home/virtlink/projects/alloctest/lib/liballoc)
src/lib.rs:1:1: 1:1 error: duplicate entry for `const_ptr` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
src/lib.rs:1:1: 1:1 error: duplicate entry for `mut_ptr` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
src/lib.rs:1:1: 1:1 error: duplicate entry for `i8` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
...
src/lib.rs:1:1: 1:1 error: duplicate entry for `non_zero` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
src/lib.rs:1:1: 1:1 error: duplicate entry for `debug_trait` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
error: aborting due to 58 previous errors
Could not compile `alloc`."><pre class="notranslate"><code class="notranslate"> Compiling alloc v0.0.1 (file:///home/virtlink/projects/alloctest/lib/liballoc)
src/lib.rs:1:1: 1:1 error: duplicate entry for `const_ptr` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
src/lib.rs:1:1: 1:1 error: duplicate entry for `mut_ptr` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
src/lib.rs:1:1: 1:1 error: duplicate entry for `i8` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
...
src/lib.rs:1:1: 1:1 error: duplicate entry for `non_zero` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
src/lib.rs:1:1: 1:1 error: duplicate entry for `debug_trait` [E0152]
src/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
^
error: aborting due to 58 previous errors
Could not compile `alloc`.
</code></pre></div>
<p dir="auto">I symlink <code class="notranslate">libcore</code> and <code class="notranslate">liballoc</code>, and add a <code class="notranslate">Cargo.toml</code> for each (see below). Here's a working reproduction of the issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cargo new alloctest
cd alloctest
mkdir -p lib/libcore
mkdir -p lib/liballoc
git submodule add https://github.com/rust-lang/rust.git lib/rust
cd lib/rust
git checkout c89de2c56baeb61e7cc434924dcc8bedd32b26b8
cd ../libcore
ln -s ../rust/src/libcore/ src
cat << EOF > Cargo.toml
[package]
name = "core"
version = "0.0.1"
authors = [ "[email protected]" ]
EOF
cd ../liballoc
ln -s ../rust/src/liballoc/ src
cat << EOF > Cargo.toml
[package]
name = "alloc"
version = "0.0.1"
authors = [ "[email protected]" ]
[features]
external_funcs = []
[dependencies.core]
path = "../libcore"
EOF
cargo build"><pre class="notranslate"><code class="notranslate">cargo new alloctest
cd alloctest
mkdir -p lib/libcore
mkdir -p lib/liballoc
git submodule add https://github.com/rust-lang/rust.git lib/rust
cd lib/rust
git checkout c89de2c56baeb61e7cc434924dcc8bedd32b26b8
cd ../libcore
ln -s ../rust/src/libcore/ src
cat << EOF > Cargo.toml
[package]
name = "core"
version = "0.0.1"
authors = [ "[email protected]" ]
EOF
cd ../liballoc
ln -s ../rust/src/liballoc/ src
cat << EOF > Cargo.toml
[package]
name = "alloc"
version = "0.0.1"
authors = [ "[email protected]" ]
[features]
external_funcs = []
[dependencies.core]
path = "../libcore"
EOF
cargo build
</code></pre></div> | 0 |
<p dir="auto">I've just noticed that a specific type-unstable broadcast fails on master, while it works fine on julia 1.5</p>
<p dir="auto">MWE:</p>
<p dir="auto">on julia 1.5</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> broadcast((args...) -> NamedTuple{(:a, :b)}(args), [sin, cos], [1, 2])
2-element Array{NamedTuple{(:a, :b),T} where T<:Tuple,1}:
(a = sin, b = 1)
(a = cos, b = 2)"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">broadcast</span>((args<span class="pl-k">...</span>) <span class="pl-k">-></span> <span class="pl-c1">NamedTuple</span><span class="pl-c1">{(:a, :b)}</span>(args), [sin, cos], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>])
<span class="pl-c1">2</span><span class="pl-k">-</span>element Array{NamedTuple{(<span class="pl-c1">:a</span>, <span class="pl-c1">:b</span>),T} <span class="pl-k">where</span> T<span class="pl-k"><:</span><span class="pl-c1">Tuple</span>,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
(a <span class="pl-k">=</span> sin, b <span class="pl-k">=</span> <span class="pl-c1">1</span>)
(a <span class="pl-k">=</span> cos, b <span class="pl-k">=</span> <span class="pl-c1">2</span>)</pre></div>
<p dir="auto">on nightly build</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> broadcast((args...) -> NamedTuple{(:a, :b)}(args), [sin, cos], [1, 2])
ERROR: TypeError: in typeassert, expected AbstractVector{var"#s825"} where var"#s825"<:(NamedTuple{(:a, :b), _A} where _A<:Tuple{Function, Int64}), got a value of type Vector{NamedTuple{(:a, :b), T} where T<:Tuple}
Stacktrace:
[1] copy
@ ./broadcast.jl:928 [inlined]
[2] materialize
@ ./broadcast.jl:881 [inlined]
[3] broadcast(::var"#1#2", ::Vector{Function}, ::Vector{Int64})
@ Base.Broadcast ./broadcast.jl:819
[4] top-level scope
@ REPL[1]:1"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">broadcast</span>((args<span class="pl-k">...</span>) <span class="pl-k">-></span> <span class="pl-c1">NamedTuple</span><span class="pl-c1">{(:a, :b)}</span>(args), [sin, cos], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>])
ERROR<span class="pl-k">:</span> TypeError<span class="pl-k">:</span> <span class="pl-k">in</span> typeassert, expected AbstractVector{<span class="pl-c1">var"#s825"</span>} <span class="pl-k">where</span> <span class="pl-c1">var"#s825"</span><span class="pl-k"><:</span><span class="pl-c1">(NamedTuple{(:a, :b)</span>, _A} <span class="pl-k">where</span> _A<span class="pl-k"><:</span><span class="pl-c1">Tuple{Function, Int64}</span>), got a value of type Vector{NamedTuple{(<span class="pl-c1">:a</span>, <span class="pl-c1">:b</span>), T} <span class="pl-k">where</span> T<span class="pl-k"><:</span><span class="pl-c1">Tuple</span>}
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] copy
@ <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">928</span> [inlined]
[<span class="pl-c1">2</span>] materialize
@ <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">881</span> [inlined]
[<span class="pl-c1">3</span>] <span class="pl-c1">broadcast</span>(<span class="pl-k">::</span><span class="pl-c1">var"#1#2"</span>, <span class="pl-k">::</span><span class="pl-c1">Vector{Function}</span>, <span class="pl-k">::</span><span class="pl-c1">Vector{Int64}</span>)
@ Base<span class="pl-k">.</span>Broadcast <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">819</span>
[<span class="pl-c1">4</span>] top<span class="pl-k">-</span>level scope
@ REPL[<span class="pl-c1">1</span>]<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div>
<p dir="auto">Here's my versioninfo</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 1.6.0-DEV.1493
Commit f3252bf505 (2020-11-14 16:56 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.0 (ORCJIT, skylake)"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">versioninfo</span>()
Julia Version <span class="pl-c1">1.6</span>.<span class="pl-c1">0</span><span class="pl-k">-</span>DEV.<span class="pl-c1">1493</span>
Commit f3252bf505 (<span class="pl-c1">2020</span><span class="pl-k">-</span><span class="pl-c1">11</span><span class="pl-k">-</span><span class="pl-c1">14</span> <span class="pl-c1">16</span><span class="pl-k">:</span><span class="pl-c1">56</span> UTC)
Platform Info<span class="pl-k">:</span>
OS<span class="pl-k">:</span> Linux (x86_64<span class="pl-k">-</span>pc<span class="pl-k">-</span>linux<span class="pl-k">-</span>gnu)
CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i7<span class="pl-k">-</span><span class="pl-c1">7700</span>HQ CPU @ <span class="pl-c1">2.80</span>GHz
WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span>
LIBM<span class="pl-k">:</span> libopenlibm
LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">11.0</span>.<span class="pl-c1">0</span> (ORCJIT, skylake)</pre></div>
<p dir="auto">(I've just redownloaded the nightly build, banner says 2 days old master.)</p> | <p dir="auto">Running the tests for AutomotiveSimulator errors on nightly (<a href="https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c3bb6df_vs_788b2c7/AutomotiveSimulator.1.6.0-DEV-a896693d33.log" rel="nofollow">https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c3bb6df_vs_788b2c7/AutomotiveSimulator.1.6.0-DEV-a896693d33.log</a>) due to a type assert error in broadcasting.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="feature extraction: Error During Test at /home/kc/PkgEval16/dev/AutomotiveSimulator/test/test_features.jl:119
Got exception outside of a @test
TypeError: in typeassert, expected AbstractVector{var"#s825"} where var"#s825"<:(AbstractVector{var"#s825"} where var"#s825"<:Union{Missing, Float64}), got a value of type Vector{Vector{T} where T}
Stacktrace:
[1] copy(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Tuple{Base.OneTo{Int64}}, AutomotiveSimulator.var"#25#26"{typeof(dist_to_front_neighbor), Roadway{Float64}, Vector{EntityScene{VehicleState, VehicleDef, Int64}}}, Tuple{Vector{Int64}}})
@ Base.Broadcast ./broadcast.jl:928
[2] materialize
@ ./broadcast.jl:881 [inlined]
[3] broadcast(f::AutomotiveSimulator.var"#25#26"{typeof(dist_to_front_neighbor), Roadway{Float64}, Vector{EntityScene{VehicleState, VehicleDef, Int64}}}, As::Vector{Int64})
@ Base.Broadcast ./broadcast.jl:819
[4] extract_feature(ft::SceneFeature, feature::Function, roadway::Roadway{Float64}, scenes::Vector{EntityScene{VehicleState, VehicleDef, Int64}}, ids::Vector{Int64})
@ AutomotiveSimulator ~/PkgEval16/dev/AutomotiveSimulator/src/feature-extraction/features.jl:96
...."><pre class="notranslate">feature extraction<span class="pl-k">:</span> Error During Test at <span class="pl-k">/</span>home<span class="pl-k">/</span>kc<span class="pl-k">/</span>PkgEval16<span class="pl-k">/</span>dev<span class="pl-k">/</span>AutomotiveSimulator<span class="pl-k">/</span>test<span class="pl-k">/</span>test_features<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">119</span>
Got exception outside of a <span class="pl-c1">@test</span>
TypeError<span class="pl-k">:</span> <span class="pl-k">in</span> typeassert, expected AbstractVector{<span class="pl-c1">var"#s825"</span>} <span class="pl-k">where</span> <span class="pl-c1">var"#s825"</span><span class="pl-k"><:</span><span class="pl-c1">(AbstractVector{var"#s825"} where var"#s825"<:Union{Missing, Float64})</span>, got a value of type Vector{Vector{T} <span class="pl-k">where</span> T}
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] <span class="pl-c1">copy</span>(bc<span class="pl-k">::</span><span class="pl-c1">Base.Broadcast.Broadcasted</span>{Base<span class="pl-k">.</span>Broadcast<span class="pl-k">.</span>DefaultArrayStyle{<span class="pl-c1">1</span>}, Tuple{Base<span class="pl-k">.</span>OneTo{Int64}}, AutomotiveSimulator<span class="pl-k">.</span><span class="pl-c1">var"#25#26"</span>{<span class="pl-c1">typeof</span>(dist_to_front_neighbor), Roadway{Float64}, Vector{EntityScene{VehicleState, VehicleDef, Int64}}}, Tuple{Vector{Int64}}})
@ Base<span class="pl-k">.</span>Broadcast <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">928</span>
[<span class="pl-c1">2</span>] materialize
@ <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">881</span> [inlined]
[<span class="pl-c1">3</span>] <span class="pl-c1">broadcast</span>(f<span class="pl-k">::</span><span class="pl-c1">AutomotiveSimulator.var"#25#26"</span>{<span class="pl-c1">typeof</span>(dist_to_front_neighbor), Roadway{Float64}, Vector{EntityScene{VehicleState, VehicleDef, Int64}}}, As<span class="pl-k">::</span><span class="pl-c1">Vector{Int64}</span>)
@ Base<span class="pl-k">.</span>Broadcast <span class="pl-k">./</span>broadcast<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">819</span>
[<span class="pl-c1">4</span>] <span class="pl-c1">extract_feature</span>(ft<span class="pl-k">::</span><span class="pl-c1">SceneFeature</span>, feature<span class="pl-k">::</span><span class="pl-c1">Function</span>, roadway<span class="pl-k">::</span><span class="pl-c1">Roadway{Float64}</span>, scenes<span class="pl-k">::</span><span class="pl-c1">Vector{EntityScene{VehicleState, VehicleDef, Int64}}</span>, ids<span class="pl-k">::</span><span class="pl-c1">Vector{Int64}</span>)
@ AutomotiveSimulator <span class="pl-k">~</span><span class="pl-k">/</span>PkgEval16<span class="pl-k">/</span>dev<span class="pl-k">/</span>AutomotiveSimulator<span class="pl-k">/</span>src<span class="pl-k">/</span>feature<span class="pl-k">-</span>extraction<span class="pl-k">/</span>features<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">96</span>
<span class="pl-k">....</span></pre></div>
<p dir="auto">This type assert comes from:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/JuliaLang/julia/blob/3dc54a23ac93109399357c68c9fc998815f25cdc/base/broadcast.jl#L924-L928">julia/base/broadcast.jl</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 924 to 928
in
<a data-pjax="true" class="commit-tease-sha" href="/JuliaLang/julia/commit/3dc54a23ac93109399357c68c9fc998815f25cdc">3dc54a2</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="L924" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="924"></td>
<td id="LC924" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c"><span class="pl-c">#</span> The typeassert gives inference a helping hand on the element type and dimensionality</span> </td>
</tr>
<tr class="border-0">
<td id="L925" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="925"></td>
<td id="LC925" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c"><span class="pl-c">#</span> (work-around for #28382)</span> </td>
</tr>
<tr class="border-0">
<td id="L926" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="926"></td>
<td id="LC926" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> ElType′ <span class="pl-k">=</span> ElType <span class="pl-k"><:</span> <span class="pl-c1">Type</span> <span class="pl-k">?</span> Type <span class="pl-k">:</span> ElType </td>
</tr>
<tr class="border-0">
<td id="L927" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="927"></td>
<td id="LC927" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> RT <span class="pl-k">=</span> dest <span class="pl-k">isa</span> AbstractArray <span class="pl-k">?</span> AbstractArray{<span class="pl-k"><:</span><span class="pl-c1">ElType′</span>, <span class="pl-c1">ndims</span>(dest)} <span class="pl-k">:</span> Any </td>
</tr>
<tr class="border-0">
<td id="L928" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="928"></td>
<td id="LC928" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">return</span> <span class="pl-c1">copyto_nonleaf!</span>(dest, bc′, iter, state, <span class="pl-c1">1</span>)<span class="pl-k">::</span><span class="pl-c1">RT</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">and was introduced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="393598175" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/30485" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/30485/hovercard" href="https://github.com/JuliaLang/julia/pull/30485">#30485</a>.</p>
<p dir="auto">Is the package doing something wrong or is this type assert a bit too strict?</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nalimilan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nalimilan">@nalimilan</a></p> | 1 |
<h2 dir="auto">Screenshot</h2>
<p dir="auto">[drag & drop image(s) here!]</p>
<h2 dir="auto">Description</h2>
<p dir="auto">When tried creating charts, the scroll option for Query section is missing. Due to which users are not able to access some of the functionality.</p>
<h2 dir="auto">Design input</h2>
<p dir="auto">Scrolling CSS is missing for </p><div dir="auto"><p dir="auto"></p></div> | <p dir="auto">auto ldap registration enabled, below error is first time a new user tried to login to superset. 2nd login worked</p>
<p dir="auto">Error adding new user to database. (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)<br>
(MySQLdb._exceptions.IntegrityError) (1062, "Duplicate entry 'secretusername' for key 'username'")<br>
[SQL: INSERT INTO ab_user (first_name, last_name, username, password, active, email, last_login, login_count, fail_login_count, created_on, changed_on, created_by_fk, changed_by_fk) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)]<br>
[parameters: ('f', 'l', 'secretusername', None, 1, '<a href="mailto:[email protected]">[email protected]</a>', None, None, None, datetime.datetime(2020, 5, 27, 9, 4, 7, 357169), datetime.datetime(2020, 5, 27, 9, 4, 7, 357177), None, None)]<br>
(Background on this error at: <a href="http://sqlalche.me/e/gkpj" rel="nofollow">http://sqlalche.me/e/gkpj</a>)<br>
Exception on /login/ [POST]<br>
Traceback (most recent call last):<br>
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app<br>
response = self.full_dispatch_request()<br>
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request<br>
rv = self.handle_user_exception(e)<br>
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception<br>
reraise(exc_type, exc_value, tb)<br>
File "/usr/local/lib64/python3.6/site-packages/flask/_compat.py", line 39, in reraise<br>
raise value<br>
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request<br>
rv = self.dispatch_request()<br>
File "/usr/local/lib64/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request<br>
return self.view_functions<a href="**req.view_args">rule.endpoint</a><br>
File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/security/views.py", line 515, in login<br>
form.username.data, form.password.data<br>
File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/security/manager.py", line 941, in auth_user_ldap<br>
self.update_user_auth_stat(user)<br>
File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/security/manager.py", line 735, in update_user_auth_stat<br>
if not user.login_count:<br>
AttributeError: 'bool' object has no attribute 'login_count'</p> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by Eliot (<a href="https://github.com/saltycrane">@saltycrane</a>)</strong></p>
<p dir="auto">Using mssql, I don't see the NOLOCK hint in the generated SQL of my <code class="notranslate">select</code> query when I specify a <code class="notranslate">schema</code> in my <code class="notranslate">Table</code>. (I do see the hint if I don't specify a schema.) Here is a test case:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# -*- encoding: utf-8
from sqlalchemy import *
from sqlalchemy.databases import mssql
from sqlalchemy.testing import fixtures, AssertsCompiledSQL
class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
__dialect__ = mssql.dialect()
def test_select_without_schema_with_nolock(self):
metadata = MetaData()
t = Table(
'sometable', metadata,
Column('somecolumn', Integer),
)
self.assert_compile(select([t]).with_hint(t, "WITH (NOLOCK)"),
'SELECT sometable.somecolumn '
'FROM sometable WITH (NOLOCK)')
def test_select_with_schema_with_nolock(self):
metadata = MetaData()
t = Table(
'sometable', metadata,
Column('somecolumn', Integer),
schema='dlr',
)
self.assert_compile(select([t]).with_hint(t, "WITH (NOLOCK)"),
'SELECT sometable_1.somecolumn '
'FROM dlr.sometable AS sometable_1 WITH (NOLOCK)')"><pre class="notranslate"><code class="notranslate"># -*- encoding: utf-8
from sqlalchemy import *
from sqlalchemy.databases import mssql
from sqlalchemy.testing import fixtures, AssertsCompiledSQL
class CompileTest(fixtures.TestBase, AssertsCompiledSQL):
__dialect__ = mssql.dialect()
def test_select_without_schema_with_nolock(self):
metadata = MetaData()
t = Table(
'sometable', metadata,
Column('somecolumn', Integer),
)
self.assert_compile(select([t]).with_hint(t, "WITH (NOLOCK)"),
'SELECT sometable.somecolumn '
'FROM sometable WITH (NOLOCK)')
def test_select_with_schema_with_nolock(self):
metadata = MetaData()
t = Table(
'sometable', metadata,
Column('somecolumn', Integer),
schema='dlr',
)
self.assert_compile(select([t]).with_hint(t, "WITH (NOLOCK)"),
'SELECT sometable_1.somecolumn '
'FROM dlr.sometable AS sometable_1 WITH (NOLOCK)')
</code></pre></div>
<p dir="auto">Here is the console output when I run it with sqlalchemy master branch (commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/525cc6fe0247a76201c173e535d8309333461afc/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/525cc6fe0247a76201c173e535d8309333461afc"><tt>525cc6f</tt></a>). The first tests passes but the second test fails.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ py.test test/test_mssql_schema_nolock.py
============================================================= test session starts ==============================================================
platform linux2 -- Python 2.7.8 -- py-1.4.27 -- pytest-2.7.1 -- /home/eliot/src/bb/sqlalchemy/venv/bin/python
rootdir: /home/eliot/src/bb/sqlalchemy, inifile: setup.cfg
collected 2 items
test/test_mssql_schema_nolock.py::CompileTest::test_select_with_schema_with_nolock FAILED
test/test_mssql_schema_nolock.py::CompileTest::test_select_without_schema_with_nolock PASSED
=================================================================== FAILURES ===================================================================
_______________________________________________ CompileTest.test_select_with_schema_with_nolock ________________________________________________
Traceback (most recent call last):
File "/home/eliot/src/bb/sqlalchemy/test/test_mssql_schema_nolock.py", line 28, in test_select_with_schema_with_nolock
'SELECT sometable_1.somecolumn '
File "/home/eliot/src/bb/sqlalchemy/test/../lib/sqlalchemy/testing/assertions.py", line 314, in assert_compile
eq_(cc, result, "%r != %r on dialect %r" % (cc, result, dialect))
File "/home/eliot/src/bb/sqlalchemy/test/../lib/sqlalchemy/testing/assertions.py", line 211, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: u'SELECT sometable_1.somecolumn FROM dlr.sometable AS sometable_1' != 'SELECT sometable_1.somecolumn FROM dlr.sometable AS sometable_1 WITH (NOLOCK)' on dialect <sqlalchemy.dialects.mssql.pyodbc.MSDialect_pyodbc object at 0x7f09c573b590>
------------------------------------------------------------- Captured stdout call -------------------------------------------------------------
SQL String:
SELECT sometable_1.somecolumn
FROM dlr.sometable AS sometable_1{}
=========================================================== short test summary info ============================================================
FAIL test/test_mssql_schema_nolock.py::CompileTest::()::test_select_with_schema_with_nolock
====================================================== 1 failed, 1 passed in 0.07 seconds ======================================================"><pre class="notranslate"><code class="notranslate">$ py.test test/test_mssql_schema_nolock.py
============================================================= test session starts ==============================================================
platform linux2 -- Python 2.7.8 -- py-1.4.27 -- pytest-2.7.1 -- /home/eliot/src/bb/sqlalchemy/venv/bin/python
rootdir: /home/eliot/src/bb/sqlalchemy, inifile: setup.cfg
collected 2 items
test/test_mssql_schema_nolock.py::CompileTest::test_select_with_schema_with_nolock FAILED
test/test_mssql_schema_nolock.py::CompileTest::test_select_without_schema_with_nolock PASSED
=================================================================== FAILURES ===================================================================
_______________________________________________ CompileTest.test_select_with_schema_with_nolock ________________________________________________
Traceback (most recent call last):
File "/home/eliot/src/bb/sqlalchemy/test/test_mssql_schema_nolock.py", line 28, in test_select_with_schema_with_nolock
'SELECT sometable_1.somecolumn '
File "/home/eliot/src/bb/sqlalchemy/test/../lib/sqlalchemy/testing/assertions.py", line 314, in assert_compile
eq_(cc, result, "%r != %r on dialect %r" % (cc, result, dialect))
File "/home/eliot/src/bb/sqlalchemy/test/../lib/sqlalchemy/testing/assertions.py", line 211, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: u'SELECT sometable_1.somecolumn FROM dlr.sometable AS sometable_1' != 'SELECT sometable_1.somecolumn FROM dlr.sometable AS sometable_1 WITH (NOLOCK)' on dialect <sqlalchemy.dialects.mssql.pyodbc.MSDialect_pyodbc object at 0x7f09c573b590>
------------------------------------------------------------- Captured stdout call -------------------------------------------------------------
SQL String:
SELECT sometable_1.somecolumn
FROM dlr.sometable AS sometable_1{}
=========================================================== short test summary info ============================================================
FAIL test/test_mssql_schema_nolock.py::CompileTest::()::test_select_with_schema_with_nolock
====================================================== 1 failed, 1 passed in 0.07 seconds ======================================================
</code></pre></div>
<p dir="auto">Is this a bug or is my usage incorrect?</p>
<h3 dir="auto">Real life usage</h3>
<p dir="auto">I don't think the following information is needed, but here are notes about my real life usage. I can provide further details if it is required.</p>
<ul dir="auto">
<li>
<p dir="auto">I am using the ORM and Flask-SQLAlchemy:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" class User(db.Model):
__tablename__ = 'User'
__table_args__ = (
{'schema': 'dlr'},
)
user_id = db.Column(
'UserId', db.BigInteger, nullable=False, primary_key=True,
autoincrement=False)
db.session.query(User).with_hint(User, 'WITH (NOLOCK)').order_by(User.user_id).all()"><pre class="notranslate"><code class="notranslate"> class User(db.Model):
__tablename__ = 'User'
__table_args__ = (
{'schema': 'dlr'},
)
user_id = db.Column(
'UserId', db.BigInteger, nullable=False, primary_key=True,
autoincrement=False)
db.session.query(User).with_hint(User, 'WITH (NOLOCK)').order_by(User.user_id).all()
</code></pre></div>
</li>
<li>
<p dir="auto">SQLAlchemy==1.0.4, Flask-SQLAlchemy==2.0, pyodbc==3.0.5</p>
</li>
<li>
<p dir="auto">My laptop: Ubuntu 14.10</p>
</li>
<li>
<p dir="auto">Database: SQL Server ?2008 I think?</p>
</li>
</ul> | <p dir="auto"><strong>Migrated issue, originally created by Andrey Zholos (<a href="https://github.com/zholos">@zholos</a>)</strong></p>
<p dir="auto">When updating a table with a specified schema name, some parts of the generated statement refer to the table with an alias and some parts don't.</p>
<p dir="auto">A subquery uses an alias that was not introduced (it could be introduced in an mssql "from" clause):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="UPDATE [schema].sometable SET val=
(SELECT [#other].newval FROM [#other] WHERE sometable_1.sym = [#other].sym)"><pre class="notranslate"><code class="notranslate">UPDATE [schema].sometable SET val=
(SELECT [#other].newval FROM [#other] WHERE sometable_1.sym = [#other].sym)
</code></pre></div>
<p dir="auto">An alias is introduced but the "where" clause doesn't use it:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="UPDATE [schema].sometable SET val=[#other].newval
FROM [schema].sometable AS sometable_1, [#other]
WHERE [schema].sometable.sym = [#other].sym"><pre class="notranslate"><code class="notranslate">UPDATE [schema].sometable SET val=[#other].newval
FROM [schema].sometable AS sometable_1, [#other]
WHERE [schema].sometable.sym = [#other].sym
</code></pre></div>
<p dir="auto">Both of these statements fail. Complete program attached.</p>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/3424/update.py">update.py</a> | <a href="../wiki/imported_issue_attachments/3424/update_self.py">update_self.py</a></p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto">I think scoring of cross_val_score (also GridSearchCV and so on) is not good especially with cv={# of samples} (i.e. LeaveOneOut). In evaluating R2 or MAE values, mean of y is calculated with respect to each CV model in cross_val_score, but calculation of mean should be performed on all y. The difference become conspicuous when we use Leave One Out. Then mean of y with respect to each model equals to just y since number of test sample is one. Consequently, R2 value become zero.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/50cf4302360705646ffa6fc5aced72c98e32de48c1d0fde7447b246e750297e5/68747470733a2f2f6c617465782e636f6465636f67732e636f6d2f6769662e6c617465783f525e325f7b43567d3d312d5c667261637b5c73756d5f7b697d5e7b4e7d28795f692d5c6861747b797d5f69295e327d7b5c73756d5f7b697d5e7b4e7d28795f692d5c6261727b797d295e327d"><img src="https://camo.githubusercontent.com/50cf4302360705646ffa6fc5aced72c98e32de48c1d0fde7447b246e750297e5/68747470733a2f2f6c617465782e636f6465636f67732e636f6d2f6769662e6c617465783f525e325f7b43567d3d312d5c667261637b5c73756d5f7b697d5e7b4e7d28795f692d5c6861747b797d5f69295e327d7b5c73756d5f7b697d5e7b4e7d28795f692d5c6261727b797d295e327d" data-canonical-src="https://latex.codecogs.com/gif.latex?R^2_{CV}=1-\frac{\sum_{i}^{N}(y_i-\hat{y}_i)^2}{\sum_{i}^{N}(y_i-\bar{y})^2}" style="max-width: 100%;"></a></p>
<h4 dir="auto">Example code to Reproduce</h4>
<p dir="auto">PLS regression with Boston data set</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn import datasets,cross_decomposition
from sklearn.model_selection import cross_val_score,cross_val_predict
from sklearn.metrics import r2_score
# Boston data set
boston = datasets.load_boston()
X,y = boston.data,boston.target
pls = cross_decomposition.PLSRegression(10)
r2cv_1 = cross_val_score(pls,X,y,scoring='r2',cv=X.shape[0]).mean()
r2cv_2 = r2_score(y,cross_val_predict(pls,X,y,cv=X.shape[0]))
print('r2cv(cross_val_score + mean) : {0:8.4f}\nr2cv(cross_val_predict + r2_score):{1:8.4f}'.format(r2cv_1,r2cv_2))"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span> <span class="pl-k">import</span> <span class="pl-s1">datasets</span>,<span class="pl-s1">cross_decomposition</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">model_selection</span> <span class="pl-k">import</span> <span class="pl-s1">cross_val_score</span>,<span class="pl-s1">cross_val_predict</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">metrics</span> <span class="pl-k">import</span> <span class="pl-s1">r2_score</span>
<span class="pl-c"># Boston data set</span>
<span class="pl-s1">boston</span> <span class="pl-c1">=</span> <span class="pl-s1">datasets</span>.<span class="pl-en">load_boston</span>()
<span class="pl-v">X</span>,<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">boston</span>.<span class="pl-s1">data</span>,<span class="pl-s1">boston</span>.<span class="pl-s1">target</span>
<span class="pl-s1">pls</span> <span class="pl-c1">=</span> <span class="pl-s1">cross_decomposition</span>.<span class="pl-v">PLSRegression</span>(<span class="pl-c1">10</span>)
<span class="pl-s1">r2cv_1</span> <span class="pl-c1">=</span> <span class="pl-en">cross_val_score</span>(<span class="pl-s1">pls</span>,<span class="pl-v">X</span>,<span class="pl-s1">y</span>,<span class="pl-s1">scoring</span><span class="pl-c1">=</span><span class="pl-s">'r2'</span>,<span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-v">X</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">0</span>]).<span class="pl-en">mean</span>()
<span class="pl-s1">r2cv_2</span> <span class="pl-c1">=</span> <span class="pl-en">r2_score</span>(<span class="pl-s1">y</span>,<span class="pl-en">cross_val_predict</span>(<span class="pl-s1">pls</span>,<span class="pl-v">X</span>,<span class="pl-s1">y</span>,<span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-v">X</span>.<span class="pl-s1">shape</span>[<span class="pl-c1">0</span>]))
<span class="pl-en">print</span>(<span class="pl-s">'r2cv(cross_val_score + mean) : {0:8.4f}<span class="pl-cce">\n</span>r2cv(cross_val_predict + r2_score):{1:8.4f}'</span>.<span class="pl-en">format</span>(<span class="pl-s1">r2cv_1</span>,<span class="pl-s1">r2cv_2</span>))</pre></div>
<h4 dir="auto">Results</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="r2cv(cross_val_score + mean) : 0.0000
r2cv(cross_val_predict + r2_score): 0.7190"><pre class="notranslate"><span class="pl-en">r2cv</span>(<span class="pl-s1">cross_val_score</span> <span class="pl-c1">+</span> <span class="pl-s1">mean</span>) : <span class="pl-c1">0.0000</span>
<span class="pl-en">r2cv</span>(<span class="pl-s1">cross_val_predict</span> <span class="pl-c1">+</span> <span class="pl-s1">r2_score</span>): <span class="pl-c1">0.7190</span></pre></div>
<p dir="auto">R2cv value is expected to be 0.7190 but returned value is zero with cross_val_score.</p>
<h4 dir="auto">Versions</h4>
<p dir="auto">Python 3.5.2 (default, Nov 23 2017, 16:37:01)<br>
[GCC 5.4.0 20160609]<br>
NumPy 1.14.5<br>
SciPy 1.1.0<br>
Scikit-Learn 0.19.1</p> | <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.datasets import make_regression
from sklearn.cross_validation import cross_val_score, LeaveOneOut
from sklearn.linear_model import Ridge
X, y, coef_ = make_regression(random_state=42, noise=1, n_samples=200, coef=True)
cross_val_score(Ridge(), X, y, cv=LeaveOneOut(len(X)))"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">datasets</span> <span class="pl-k">import</span> <span class="pl-s1">make_regression</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">cross_validation</span> <span class="pl-k">import</span> <span class="pl-s1">cross_val_score</span>, <span class="pl-v">LeaveOneOut</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">linear_model</span> <span class="pl-k">import</span> <span class="pl-v">Ridge</span>
<span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">coef_</span> <span class="pl-c1">=</span> <span class="pl-en">make_regression</span>(<span class="pl-s1">random_state</span><span class="pl-c1">=</span><span class="pl-c1">42</span>, <span class="pl-s1">noise</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">n_samples</span><span class="pl-c1">=</span><span class="pl-c1">200</span>, <span class="pl-s1">coef</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-en">cross_val_score</span>(<span class="pl-v">Ridge</span>(), <span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-v">LeaveOneOut</span>(<span class="pl-en">len</span>(<span class="pl-v">X</span>)))</pre></div>
<blockquote>
<p dir="auto">array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,<br>
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,<br>
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,<br>
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,<br>
0., 0., 0., 0., 0., 0., 0., 0.])</p>
</blockquote>
<p dir="auto">Maybe the single sample in the LOO is not interpreted correctly? :-/</p> | 1 |
<p dir="auto"><code class="notranslate">scipy.linalg.eigvalsh()</code> give a message</p>
<blockquote>
<p dir="auto">Intel MKL ERROR: Parameter 12 was incorrect on entry to ZHBRDB.</p>
</blockquote>
<p dir="auto">and return wrong eigenvalues. When the input matrix is a <strong>real Hermitian</strong> matrix or a <strong>complex Hermitian with dimension less than 200</strong>0, this function always give the right answer as <code class="notranslate">np.linalg.eigvalsh</code> does, but if the matrix is a <strong>complex matrix with dimension larger than 2000</strong>, this function always give the above message and wrong eigenvalues. The returned eigenvalues are all zeros but the last one.</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import scipy.linalg as la
import numpy as np
#row = col = 1999
row = col = 2000
shape = (row, col)
# A real matrix
#M = np.random.random(size=shape)
# A complex matrix
M = np.random.random(size=shape) + np.random.random(size=shape) * 1j
# Construct an Hermitian matrix
M += M.T.conj()
vals_numpy = np.linalg.eigvalsh(M)
vals_scipy = la.eigvalsh(M)
print(vals_scipy)
assert np.allclose(vals_numpy, vals_scipy)
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">linalg</span> <span class="pl-k">as</span> <span class="pl-s1">la</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-c">#row = col = 1999</span>
<span class="pl-s1">row</span> <span class="pl-c1">=</span> <span class="pl-s1">col</span> <span class="pl-c1">=</span> <span class="pl-c1">2000</span>
<span class="pl-s1">shape</span> <span class="pl-c1">=</span> (<span class="pl-s1">row</span>, <span class="pl-s1">col</span>)
<span class="pl-c"># A real matrix</span>
<span class="pl-c">#M = np.random.random(size=shape)</span>
<span class="pl-c"># A complex matrix</span>
<span class="pl-v">M</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>(<span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-s1">shape</span>) <span class="pl-c1">+</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>(<span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-s1">shape</span>) <span class="pl-c1">*</span> <span class="pl-c1">1j</span>
<span class="pl-c"># Construct an Hermitian matrix</span>
<span class="pl-v">M</span> <span class="pl-c1">+=</span> <span class="pl-v">M</span>.<span class="pl-v">T</span>.<span class="pl-en">conj</span>()
<span class="pl-s1">vals_numpy</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">linalg</span>.<span class="pl-en">eigvalsh</span>(<span class="pl-v">M</span>)
<span class="pl-s1">vals_scipy</span> <span class="pl-c1">=</span> <span class="pl-s1">la</span>.<span class="pl-en">eigvalsh</span>(<span class="pl-v">M</span>)
<span class="pl-en">print</span>(<span class="pl-s1">vals_scipy</span>)
<span class="pl-k">assert</span> <span class="pl-s1">np</span>.<span class="pl-en">allclose</span>(<span class="pl-s1">vals_numpy</span>, <span class="pl-s1">vals_scipy</span>)</pre></div>
<h3 dir="auto">Error message:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
Intel MKL ERROR: Parameter 12 was incorrect on entry to ZHBRDB.
[ 0. 0. 0. ... 0. 0. 48000.]
Traceback (most recent call last):
File ".\test.py", line 20, in <module>
assert np.allclose(vals_numpy, vals_scipy)
AssertionError"><pre class="notranslate"><span class="pl-v">Intel</span> <span class="pl-v">MKL</span> <span class="pl-v">ERROR</span>: <span class="pl-v">Parameter</span> <span class="pl-c1">12</span> <span class="pl-s1">was</span> <span class="pl-s1">incorrect</span> <span class="pl-s1">on</span> <span class="pl-s1">entry</span> <span class="pl-s1">to</span> <span class="pl-v">ZHBRDB</span>.
[ <span class="pl-c1">0.</span> <span class="pl-c1">0.</span> <span class="pl-c1">0.</span> ... <span class="pl-c1">0.</span> <span class="pl-c1">0.</span> <span class="pl-c1">48000.</span>]
<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
<span class="pl-v">File</span> <span class="pl-s">".<span class="pl-cce">\t</span>est.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">20</span>, <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>
<span class="pl-s1">assert</span> <span class="pl-s1">np</span>.<span class="pl-en">allclose</span>(<span class="pl-s1">vals_numpy</span>, <span class="pl-s1">vals_scipy</span>)
<span class="pl-v">AssertionError</span></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
scipy.__version__: '1.0.0'
numpy.__version: '1.14.2'
sys.version_info: sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0)
Python 3.6.4 :: Anaconda custom (64-bit)"><pre class="notranslate"><span class="pl-s1">scipy</span>.<span class="pl-s1">__version__</span>: <span class="pl-s">'1.0.0'</span>
<span class="pl-s1">numpy</span>.<span class="pl-s1">__version</span>: <span class="pl-s">'1.14.2'</span>
<span class="pl-s1">sys</span>.<span class="pl-s1">version_info</span>: <span class="pl-s1">sys</span>.<span class="pl-en">version_info</span>(<span class="pl-s1">major</span><span class="pl-c1">=</span><span class="pl-c1">3</span>, <span class="pl-s1">minor</span><span class="pl-c1">=</span><span class="pl-c1">6</span>, <span class="pl-s1">micro</span><span class="pl-c1">=</span><span class="pl-c1">4</span>, <span class="pl-s1">releaselevel</span><span class="pl-c1">=</span><span class="pl-s">'final'</span>, <span class="pl-s1">serial</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)
<span class="pl-v">Python</span> <span class="pl-c1">3.6</span><span class="pl-c1">.4</span> :: <span class="pl-v">Anaconda</span> <span class="pl-s1">custom</span> (<span class="pl-c1">64</span><span class="pl-c1">-</span><span class="pl-s1">bit</span>)</pre></div> | <p dir="auto"><code class="notranslate">scipy.linalg.eigvalsh()</code> throws ValueError() for large matrices. The bug appears for arbitrary matrices.</p>
<p dir="auto">However, it also shows up in trivial examples, such as a large identity matrix, and large diagonal matrices with random coefficients in [0,1].</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
import scipy.linalg as la
H=np.eye(6470)
#np.random.seed(0)
#H=np.diag(np.random.uniform(size=6470))
E=la.eigvalsh(H)"><pre class="notranslate"><code class="notranslate">import numpy as np
import scipy.linalg as la
H=np.eye(6470)
#np.random.seed(0)
#H=np.diag(np.random.uniform(size=6470))
E=la.eigvalsh(H)
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "example0.py", line 7, in <module>
E=la.eigvalsh(H)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 734, in eigvalsh
check_finite=check_finite)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 384, in eigh
iu=a1.shape[0], overwrite_a=overwrite_a)
ValueError: On entry to DSBRDB parameter number 12 had an illegal value"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "example0.py", line 7, in <module>
E=la.eigvalsh(H)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 734, in eigvalsh
check_finite=check_finite)
File "/Users/mbukov/anaconda3/lib/python3.6/site-packages/scipy/linalg/decomp.py", line 384, in eigh
iu=a1.shape[0], overwrite_a=overwrite_a)
ValueError: On entry to DSBRDB parameter number 12 had an illegal value
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0.19.1 1.13.0 sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">0.19.1 1.13.0 sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)
</code></pre></div> | 1 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.