text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When running <code class="notranslate">yarn dev</code> it should work.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">When running <code class="notranslate">yarn dev</code> it gives me <code class="notranslate">GET http://localhost:3000/_next/-/commons.js net::ERR_ABORTED</code></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>npm i -g create-<a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-app">next-app</a></li>
<li>create-<a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-app">next-app</a> --example using-preact using-preact-app</li>
<li>cd using-preact-app</li>
<li>yarn dev</li>
<li>open browser <a href="http://localhost:3000" rel="nofollow">http://localhost:3000</a></li>
<li>?? doesn't work</li>
</ol>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>next.js v5.0.0</td>
</tr>
<tr>
<td>node</td>
<td>v8.9.3</td>
</tr>
<tr>
<td>OS</td>
<td>macOS</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>you may see the video first: <a href="https://cl.ly/1Y0g0J43273y" rel="nofollow">https://cl.ly/1Y0g0J43273y</a></strong></p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">each page has a dynamic component.<br>
link to one of other pages, and the dynamic component load failed</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">example: <a href="https://github.com/comus/with-dynamic-import">https://github.com/comus/with-dynamic-import</a></p>
<ol dir="auto">
<li>rm -rf .next (clear build cache first)</li>
<li>yarn dev</li>
<li>go to localhost:3000/</li>
<li>click link "hello2"</li>
<li>error</li>
</ol>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">go to every page without error</p>
<h2 dir="auto">Screenshots</h2>
<p dir="auto"><a href="https://cl.ly/1Y0g0J43273y" rel="nofollow">https://cl.ly/1Y0g0J43273y</a></p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: mac</li>
<li>Browser (if applies) chrome</li>
<li>Version of Next.js: 6.0.3</li>
</ul>
<h2 dir="auto">Additional context</h2>
<p dir="auto">none</p> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Windows 10 Enterprise</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Version 10.0.17763.437
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): Main"><pre class="notranslate"><code class="notranslate">Windows build number: Version 10.0.17763.437
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): Main
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Install PowerToys<br>
Restart Computer<br>
Open it from show-hidden-icons section<br>
It doesn' t respond. Tabs on the left is not clickable. Elements in the general settings is not clickable also.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Elements in the general settings tab should be clickable.<br>
Tabs should be clickable.</p>
<h1 dir="auto">Solved</h1>
<p dir="auto">Close the PowerToys<br>
Close the computer<br>
Open it again<br>
It works.</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run "ver" at a command prompt] 1909 (18363.836)
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): settings"><pre class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt] 1909 (18363.836)
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): settings
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Launch Powertoys - right click to bring up settings</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">See the settings dialog</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The dialog area is blank. As it opens on the desktop, it briefly flashes the content but then becomes blank</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4107146/82509352-796df580-9abc-11ea-94c5-7ba2abd6550f.png"><img src="https://user-images.githubusercontent.com/4107146/82509352-796df580-9abc-11ea-94c5-7ba2abd6550f.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<h4 dir="auto">Challenge Name</h4>
<p dir="auto"><a href="https://www.freecodecamp.com/challenges/missing-letters" rel="nofollow">Missing Letters</a></p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">The String.charCodeAt() link does not direct users to <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt" rel="nofollow">actual link</a> as you can see from the provided screenshot on the right side.</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name, Version: Chrome Version 49.0.2623.112</li>
<li>Operating System: Windows 8.1</li>
<li>Mobile, Desktop, or Tablet: Desktop</li>
</ul>
<h4 dir="auto">Screenshot</h4>
<p dir="auto"><a href="http://imgur.com/xu2mmNq" rel="nofollow">http://imgur.com/xu2mmNq</a></p> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/missing-letters#?solution=%0Afunction%20fearNotLetter%28str%29%20%7B%0A%20%20a%3Dstr.split%28%22%22%29%3B%0A%20%20for%28var%20i%3Da%5B0%5D%29%0A%7D%0A%0AfearNotLetter%28%22abce%22%29%3B%0A" rel="nofollow">Missing letters</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">The link String.charCodeAt() has the href set to undefinded instead of <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt</a>.</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="[ ] bug report
[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
[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>
When rejecting access to a component in a path using Guards you currently have to redirect to another path otherwise you get a blank page. This is for rc.4 new router.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
It would be useful to be able to render a rejection page such as a 403 and not require a redirect or be able to provide a component for rejection.</p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://plnkr.co" rel="nofollow">https://plnkr.co</a> or similar (you can use this template as a starting point: <a href="http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5" rel="nofollow">http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5</a>).</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.4</li>
<li><strong>Browser:</strong> [all ]</li>
<li><strong>Language:</strong> [all]</li>
</ul> | <p dir="auto">This issue is related to the new-new router:</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
[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
[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>
There is not currently any way to navigate through an application while skipping the browser history.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
In the router-deprecated there was a second parameter on the <code class="notranslate">navigateByUrl</code> method that allowed us to <code class="notranslate">skipLocationChange</code>. It would be nice if the <code class="notranslate">navigate</code> method allowed this too.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
I have a specific use case where we have a 'loader' component that does a service call and essentially decides where to route you. I would like to be able to navigate to this loader component without including it in the back button history so that the browser doesn't get stuck in an infinite loop of going back to the loader only to get redirected.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.3</li>
<li><strong>Router version:</strong> alpha.7</li>
<li><strong>Browser:</strong> [all]</li>
<li><strong>Language:</strong> [all]</li>
</ul> | 1 |
<p dir="auto">Dear Neo4j team,<br>
I have a issue when i'm trying to use NOT IN expressions</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="This is my use case:
- The first query, i get nodes that have relationship with cypher
start cypher=node(4)
match cypher-[:KNOWS]-friends
return friends
Expect result: node 2 and node 5
Actual result: node 2 and node 5. This query run pretty good.
- The second query, i inherit the first query but i want to exclude node 5
start cypher=node(4)
match cypher-[:KNOWS]-friends
where NOT (ID(friends) IN [5])
return friends
Expect result: node 2
Actual result: "Error: java.lang.RuntimeException: java.lang.RuntimeException"
Please try above use cases on http://tinyurl.com/bn35krt
Thanks!
Gia"><pre class="notranslate"><code class="notranslate">This is my use case:
- The first query, i get nodes that have relationship with cypher
start cypher=node(4)
match cypher-[:KNOWS]-friends
return friends
Expect result: node 2 and node 5
Actual result: node 2 and node 5. This query run pretty good.
- The second query, i inherit the first query but i want to exclude node 5
start cypher=node(4)
match cypher-[:KNOWS]-friends
where NOT (ID(friends) IN [5])
return friends
Expect result: node 2
Actual result: "Error: java.lang.RuntimeException: java.lang.RuntimeException"
Please try above use cases on http://tinyurl.com/bn35krt
Thanks!
Gia
</code></pre></div> | <ul dir="auto">
<li>Neo4j version: 3.0.7</li>
<li>Operating system: MacOS 10.12</li>
<li>API/Driver: Terminal</li>
</ul>
<p dir="auto">Following the tutorial for using the bulk CSV importer with multiple files, I issued the following command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$NB/neo4j-import --into test.db --nodes "header.csv, patents.csv" --delimiter "|" --skip-duplicate-nodes"><pre class="notranslate"><code class="notranslate">$NB/neo4j-import --into test.db --nodes "header.csv, patents.csv" --delimiter "|" --skip-duplicate-nodes
</code></pre></div>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Import of the records in patents.csv.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Zero records being imported. Looking at the feedback generated by Neo4J, it was clear (in retrospect) that only the header.csv file was ingested, but no hint of why.</p>
<p dir="auto">Through the wonderful StackOverflow community, I learned that the problem was the space after the comma in "header.csv, patents.csv". Removing that space made everything work fine.</p>
<p dir="auto">As a naive user, this seems to perhaps be overly strict parsing behavior, especially since the list of files is enclosed within quotes. Possible enhancements include:</p>
<ul dir="auto">
<li>Allowing less strict parsing, so that my original command would run. Or, if that were not possible</li>
<li>Noting the requirement to have no spaces in the file list as part of the tutorial and other documentation (just as the need to enclose the list in quotes is currently noted) &/or</li>
<li>Generating a more informative error message.</li>
</ul>
<p dir="auto">Wonderful program. Thanks for considering.</p> | 0 |
<p dir="auto">Every time I login to the site a popup shows up covering half the screen and I'm not able to work on any challenges or go into my profile because the popup won't go away. I try clicking on the "x" to close the box and it won't go away. Please help.</p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/use-css-selectors-to-style-elements" rel="nofollow">Use CSS Selectors to Style Elements</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<h2 style="color: red">CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">h2</span> <span class="pl-c1">style</span>="<span class="pl-s">color: red</span>"<span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span></pre></div> | <p dir="auto">Hi,<br>
I just can't use the website with Safari as of the release of the new design.<br>
At any given time there is a blank panel on the right site of the webpage, the only links I can click on are map and chat, they both pop out a new panel that overlaps the blank one, but if I close the panel it does not dismiss the blank one. <a href="https://imgur.com/Fwk4yjU" rel="nofollow">Screenshot for clarification</a></p>
<p dir="auto">Website works fine on Chrome or Firefox on my computer, so I guess its just an safari Issue?</p> | 1 |
<p dir="auto">Using Windows and 0.211.0</p>
<p dir="auto">I have a second monitor, if I position my "Atom" monitor to the right and higher than other monitor and use FILE or right click options, the right click menu doesnt appear.</p>
<p dir="auto">If I position my monitors at the same height, when I right click, hit FILE, the right click menu appears on the second monitor.</p>
<p dir="auto">While the "Atom" monitor is to the right and higher than the other monitor, Atom attempts to display the right click menu in a space that doesnt exist, meaning I cannot see it.</p>
<p dir="auto">How to fix this, make it so that any right clicking or pressing of the FILE button doesnt extend outside of the Atom window.<br>
What is weird si that if you put Atom in window mode and right click/hit FILE, the menu appears inside the Atom window. Just when in maximise window mode, right click/FILE will go off screen</p> | <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/174857/4079329/127d686a-2ed4-11e4-99ee-c09ad0ef8d9a.png"><img src="https://cloud.githubusercontent.com/assets/174857/4079329/127d686a-2ed4-11e4-99ee-c09ad0ef8d9a.png" alt="menu atom" style="max-width: 100%;"></a></p>
<p dir="auto">I have a 3 monitor setup, when atom is maximized on any monitor but the left most one the file menu opens up one monitor to the left.</p>
<p dir="auto">Windows 7<br>
Atom vs 0.124.0</p> | 1 |
<p dir="auto">Make sure backward compatibility exists.</p> | 1 |
|
<ul dir="auto">
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code>: 2.0.8</li>
<li>Operating System (Platform and Version): MacOS 10.13.6</li>
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code> on last known working Electron version (if applicable):</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
JSX files should have syntax highlighting like with JS files.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
JSX files in the sources tab show as plain white text, the error is shown in the terminal: Uncaught (in promise) Error: Could not instantiate: CmModes.DefaultCodeMirrorMimeMode</p>
<p dir="auto"><strong>To Reproduce</strong><br>
Simply open a JSX file in your sources.</p>
<p dir="auto"><strong>Additional Information</strong><br>
On a normal Chrome browser, JSX files have syntax highlighting working.</p> | <h3 dir="auto">Preflight Checklist</h3>
<p dir="auto">I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.<br>
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.<br>
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.</p>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">11.2.1,12.0.0</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 7</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">ia32</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">don't know</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">run correctly</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">When open window. this bug appread frequently</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception thrown during bootstrapping
Error installing extension 'extensions::SafeBuiltins'.
[15296:0329/160109.446:FATAL:v8_initializer.cc(96)]"><pre class="notranslate"><code class="notranslate">Exception thrown during bootstrapping
Error installing extension 'extensions::SafeBuiltins'.
[15296:0329/160109.446:FATAL:v8_initializer.cc(96)]
</code></pre></div> | 0 |
<p dir="auto">Firstly, I installed Xcode command line developer tools. Then, I installed numpy via pip3. When I try to run python code, I give an error. In previous version (macOS Mojave) everything was okay.</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 numpy as np"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span></pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto">Python(3853,0x112ed8e00) malloc: can't allocate region<br>
:*** mach_vm_map(size=18446744072247156736, flags: 100) failed (error code=3)<br>
Python(3853,0x112ed8e00) malloc: *** set a breakpoint in malloc_error_break to debug<br>
init_dgelsd failed init<br>
Traceback (most recent call last):<br>
File "", line 1, in <br>
File "/Users/martin/Library/Python/3.8/lib/python/site-packages/numpy/<strong>init</strong>.py", line 286, in <br>
raise RuntimeError(msg)<br>
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.<br>
RankWarning: Polyfit may be poorly conditioned</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/74611856/99424571-22799980-2902-11eb-8bfc-0b43eaf1cc88.png"><img width="1312" alt="Snímka obrazovky 2020-11-17 o 18 24 15" src="https://user-images.githubusercontent.com/74611856/99424571-22799980-2902-11eb-8bfc-0b43eaf1cc88.png" style="max-width: 100%;"></a></p>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">Numpy: 1.19.4<br>
Python: 3.8.2</p> | <h3 dir="auto">Reproducing code example:</h3>
<p dir="auto">Install Pandas with PIP after a clean install of macOS Big Sur and Python3.9 via Homebrew.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pip install pandas
pip3 install pandas
pip3 install pandas --no-build-isolation --no-cache-dir
sudo pip3 install pandas --no-cache-dir"><pre class="notranslate"><span class="pl-s1">pip</span> <span class="pl-s1">install</span> <span class="pl-s1">pandas</span>
<span class="pl-s1">pip3</span> <span class="pl-s1">install</span> <span class="pl-s1">pandas</span>
<span class="pl-s1">pip3</span> <span class="pl-s1">install</span> <span class="pl-s1">pandas</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">no</span><span class="pl-c1">-</span><span class="pl-s1">build</span><span class="pl-c1">-</span><span class="pl-s1">isolation</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">no</span><span class="pl-c1">-</span><span class="pl-s1">cache</span><span class="pl-c1">-</span><span class="pl-s1">dir</span>
<span class="pl-s1">sudo</span> <span class="pl-s1">pip3</span> <span class="pl-s1">install</span> <span class="pl-s1">pandas</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">no</span><span class="pl-c1">-</span><span class="pl-s1">cache</span><span class="pl-c1">-</span><span class="pl-s1">dir</span></pre></div>
<p dir="auto">These are the only packages actually installed:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Package Version
---------- -------
pip 20.2.4
setuptools 50.3.2
wheel 0.35.1"><pre class="notranslate"><code class="notranslate">Package Version
---------- -------
pip 20.2.4
setuptools 50.3.2
wheel 0.35.1
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/tmpzr3sthd6
cwd: /private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-install-pvlaq6iq/pandas
Complete output (23 lines):
init_dgelsd failed init
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 149, in get_requires_for_build_wheel
return self._get_build_requires(
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 130, in _get_build_requires
self.run_setup()
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 488, in <module>
import numpy as np
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module>
raise RuntimeError(msg)
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/[email protected]/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/tmpzr3sthd6 Check the logs for full command output."><pre class="notranslate"><code class="notranslate"> Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/tmpzr3sthd6
cwd: /private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-install-pvlaq6iq/pandas
Complete output (23 lines):
init_dgelsd failed init
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 149, in get_requires_for_build_wheel
return self._get_build_requires(
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 130, in _get_build_requires
self.run_setup()
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 488, in <module>
import numpy as np
File "/private/var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/pip-build-env-ly4c8n5_/overlay/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module>
raise RuntimeError(msg)
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/[email protected]/bin/python3.9 /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/zv/0q58rjv549bd4qjdqlrwlvl40000gn/T/tmpzr3sthd6 Check the logs for full command output.
</code></pre></div>
<h3 dir="auto">NumPy/Python version information:</h3>
<p dir="auto">I have also installed NumPy first (numpy 1.19.4) still getting the same error.<br>
I have opened the following issues and in both of them they said that it's a Numpy error: <a href="https://github.com/pandas-dev/pandas/issues/37880" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/37880/hovercard">Pandas#37880</a> and <a href="https://github.com/pypa/pip/issues/9138" data-hovercard-type="issue" data-hovercard-url="/pypa/pip/issues/9138/hovercard">Pip#9138</a></p> | 1 |
<p dir="auto">Could we get the version number in the <em>deb</em> file that is posted on the github downloads page. It's pretty straight forward for me to grab the next version every time its released but when I need to quickly rollback my folder has a bunch of <code class="notranslate">atom-amd64(N).deb</code> files.</p>
<p dir="auto">Super minor and I'll no longer care once we get an offical PPA going but for the time being it'd be awesome.</p> | <p dir="auto">Can we get the version appended to the rpm, deb and dmg packages as they are built.</p>
<p dir="auto">I can't speak to dmg for mac, but it is considered standard practice to include the version and release as part of the filename in rpm and deb packages, especially since atom doesn't update itself and there are no YUM repos (yet).</p> | 1 |
<p dir="auto">The cat picture links are not rendering in either Firefox or Safari even if I specify the URL in my address bar.</p>
<p dir="auto">From my current lesson: challenges/use-the-bootstrap-grid-to-put-elements-side-by-side</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a>
<img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Three kittens running towards the camera. ">
"><pre class="notranslate"><code class="notranslate"> <a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "></a>
<img src="https://bit.ly/fcc-running-cats" class="img-responsive" alt="Three kittens running towards the camera. ">
</code></pre></div> | <h4 dir="auto">Challenge Name</h4>
<p dir="auto">Steamroller</p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">do not know why it does not let me through this challenge .</p>
<h4 dir="auto">Browser Information</h4>
<p dir="auto">every result is right .</p>
<ul dir="auto">
<li>Browser Name, Version: chrome .</li>
<li>Operating System: mac os</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 steamrollArray(arr) {
// I'm a steamroller, baby
for(var i=0;i<arr.length;i++){
if(!Array.isArray(arr[i])){
retArr.push(arr[i]);
}else{
retArr.concat(steamrollArray(arr[i]));
}
}
return retArr;
}
var retArr = [];
steamrollArray([1, [2], [3, [[4]]]]);
"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">steamrollArray</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// I'm a steamroller, baby</span>
<span class="pl-k">for</span><span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1"><</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span><span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">isArray</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-s1">retArr</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-k">else</span><span class="pl-kos">{</span>
<span class="pl-s1">retArr</span><span class="pl-kos">.</span><span class="pl-en">concat</span><span class="pl-kos">(</span><span class="pl-en">steamrollArray</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">[</span><span class="pl-s1">i</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">return</span> <span class="pl-s1">retArr</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">var</span> <span class="pl-s1">retArr</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-en">steamrollArray</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-c1">4</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>
<h4 dir="auto">Screenshot</h4> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature/Enhnacement</h2>
<p dir="auto">During RPC initialization, each participating process initializes a singleton <code class="notranslate">DistAutogradContainer</code>. During shutdown, we cleanup items such as the RRef context and RPC agent, but do not reset this singleton dist autograd container. This prevents RPC from being reinitialized (i.e. a group of processes cannot call <code class="notranslate">rpc.shutdown() ; dist.barrier() ; rpc.init_rpc(...)</code>. It will fail with the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/test/distributed/rpc/faulty_agent/rpc_spawn_faulty#binary,link-tree
/torch/distributed/rpc/__init__.py", line 85, in init_rpc
> dist_autograd._init(rank)
> RuntimeError: Container is already initialized! Cannot initialize it twice!"><pre class="notranslate"><code class="notranslate">/test/distributed/rpc/faulty_agent/rpc_spawn_faulty#binary,link-tree
/torch/distributed/rpc/__init__.py", line 85, in init_rpc
> dist_autograd._init(rank)
> RuntimeError: Container is already initialized! Cannot initialize it twice!
</code></pre></div>
<h2 dir="auto">Motivation</h2>
<p dir="auto">I was looking into seeing if we could reuse spawned subprocesses across our RPC tests, which would decrease the amount of time it takes to run the RPC test suite; however, this would require processes to be able to re-init RPC, which is blocked by this error. Also, I was writing a set of similar tests in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="619349996" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/38590" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/38590/hovercard" href="https://github.com/pytorch/pytorch/pull/38590">#38590</a>, and wanted to use this pattern to reduce code duplication, but couldn't (the tests need to use different initializations of RPC since they test the RRef deletion behavior triggered by the shutdown sequence).</p>
<h2 dir="auto">Pitch</h2>
<p dir="auto">I don't know if we necessarily need to destroy the container, maybe we could just de-initialize it, and then re-init if RPC is being started back up again.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjlilley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjlilley">@jjlilley</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/osalpekar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/osalpekar">@osalpekar</a></p> | <ul dir="auto">
<li>
<p dir="auto">OS: Ubuntu 16.04</p>
</li>
<li>
<p dir="auto">PyTorch version: source code@master</p>
</li>
<li>
<p dir="auto">How you installed PyTorch (conda, pip, source): source</p>
</li>
<li>
<p dir="auto">Python version: Python3.6@conda</p>
</li>
<li>
<p dir="auto">CUDA/cuDNN version: 9.0</p>
</li>
<li>
<p dir="auto">GPU models and configuration: 4x1080Ti</p>
</li>
<li>
<p dir="auto">GCC version (if compiling from source): gcc5.4</p>
</li>
<li>
<p dir="auto">A script to reproduce the bug. Please try to provide as minimal of a test case as possible.<br>
dataloader(..., numworkers=2)<br>
then iterate over dataset</p>
</li>
<li>
<p dir="auto">Error messages and/or stack traces of the bug<br>
Files already downloaded and verified<br>
Files already downloaded and verified<br>
ERROR: Unexpected segmentation fault encountered in worker.<br>
ERROR: Unexpected segmentation fault encountered in worker.<br>
Traceback (most recent call last):<br>
File "./main.py", line 445, in <br>
main()<br>
File "./main.py", line 426, in main<br>
train_TR(dataloader, dataloader_test, net, loss_f, opt.lr, opt.radius, opt.max_inner, opt.epoch)<br>
File "./main.py", line 214, in train_TR<br>
for x, y in data_iter:<br>
File "/home/luinx/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 275, in <strong>next</strong><br>
idx, batch = self._get_batch()<br>
File "/home/luinx/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 254, in _get_batch<br>
return self.data_queue.get()<br>
File "/home/luinx/miniconda3/lib/python3.6/multiprocessing/queues.py", line 335, in get<br>
res = self._reader.recv_bytes()<br>
File "/home/luinx/miniconda3/lib/python3.6/multiprocessing/connection.py", line 216, in recv_bytes<br>
buf = self._recv_bytes(maxlength)<br>
File "/home/luinx/miniconda3/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes<br>
buf = self._recv(4)<br>
File "/home/luinx/miniconda3/lib/python3.6/multiprocessing/connection.py", line 379, in _recv<br>
chunk = read(handle, remaining)<br>
File "/home/luinx/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 175, in handler<br>
_error_if_any_worker_fails()<br>
RuntimeError: DataLoader worker (pid 21010) is killed by signal: Segmentation fault.</p>
</li>
<li>
<p dir="auto">Context around what you are trying to do<br>
Nothing special, just loading data. When I set numworkers=0, then it works fine. I guess it is triggered by interprocess communication.</p>
</li>
</ul> | 0 |
<p dir="auto">Is there no possibility to display a done button (textInputAction: TextInputAction.done) for a number input (keyboardType: TextInputType.number)?</p> | <p dir="auto">TextInputType.number puts up a phone number style keyboard with no DONE button. Changing to TextInputType.text has a DONE button. iOS 10.3.3. How can I get a numeric keyboard on iOS?</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Create a text field as follows:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" TextEditingController controller = new TextEditingController(text: "");
Widget content = new TextField(
autocorrect: false,
autofocus: true,
controller: controller,
keyboardType: TextInputType.number,
maxLines: 1,
onSubmitted: (String value) { Navigator.pop(_context, "ok"); },
);"><pre class="notranslate"> <span class="pl-c1">TextEditingController</span> controller <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>(text<span class="pl-k">:</span> <span class="pl-s">""</span>);
<span class="pl-c1">Widget</span> content <span class="pl-k">=</span> <span class="pl-k">new</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> controller,
keyboardType<span class="pl-k">:</span> <span class="pl-c1">TextInputType</span>.number,
maxLines<span class="pl-k">:</span> <span class="pl-c1">1</span>,
onSubmitted<span class="pl-k">:</span> (<span class="pl-c1">String</span> value) { <span class="pl-c1">Navigator</span>.<span class="pl-en">pop</span>(_context, <span class="pl-s">"ok"</span>); },
);</pre></div>
<p dir="auto">(The text field is in a dialog which is why the onSubmitted does a Navigator.pop)</p>
<p dir="auto">When keyboard appears it has 0-9, '.' an delete but no Done button. There is no way to 'submit' the number entered into the text field. Our app will do a lot of numeric entry so a numeric keypad is essential. Thanks for any help on this!</p>
<h2 dir="auto">Logs</h2>
<p dir="auto">No errors.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
• Flutter at /Users/bartwaggoner/flutter
• Framework revision 701d534ba9 (10 days ago), 2017-09-12 14:01:51 -0700
• Engine revision 31d03de019
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
• Android SDK at /Users/bartwaggoner/Library/Android/sdk
• Platform android-26, build-tools 26.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.0, Build version 9A235
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.2.4)
• Flutter plugin version 17.0
• Dart plugin version 172.4155.35
[✓] Connected devices
• Barton's iPhone • 4ee038ab9c5211958a5828379a5c6f5033c7b3d9 • ios • iOS 10.3.3"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
• Flutter at /Users/bartwaggoner/flutter
• Framework revision 701d534ba9 (10 days ago), 2017-09-12 14:01:51 -0700
• Engine revision 31d03de019
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
• Android SDK at /Users/bartwaggoner/Library/Android/sdk
• Platform android-26, build-tools 26.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.0, Build version 9A235
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.2.4)
• Flutter plugin version 17.0
• Dart plugin version 172.4155.35
[✓] Connected devices
• Barton's iPhone • 4ee038ab9c5211958a5828379a5c6f5033c7b3d9 • ios • iOS 10.3.3
</code></pre></div> | 1 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.0.0</li>
<li>Operating System / Platform => Ubuntu 18.4</li>
<li>Compiler => gcc 7.2</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I'm having problems trying to load a model in pb or pb&pbtxt using readNetFromTensorflow.<br>
The model is a pretrained resnext network trained and exported using tflearn with code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="net = tflearn.input_data(shape=[None, 49, 49, 3], img_prep, img_aug)
net = tflearn.conv_2d(net, 16, 3, regularizer='L2', weight_decay=0.0001)
...
net = tflearn.fully_connected(net, 11, activation='softmax')
model = tflearn.DNN(net)
model.load("checkpoints/meta-data/model_resnext-96000")
init_op = tf.initialize_all_variables()
sess = tf.Session()
sess.run(init_op)
tf.train.write_graph(sess.graph_def, "/tmp/my-model", 'graph.pbtxt', as_text=True)
tf.train.write_graph(sess.graph, "/tmp/my-model", 'graph.pb', as_text=False)"><pre class="notranslate"><code class="notranslate">net = tflearn.input_data(shape=[None, 49, 49, 3], img_prep, img_aug)
net = tflearn.conv_2d(net, 16, 3, regularizer='L2', weight_decay=0.0001)
...
net = tflearn.fully_connected(net, 11, activation='softmax')
model = tflearn.DNN(net)
model.load("checkpoints/meta-data/model_resnext-96000")
init_op = tf.initialize_all_variables()
sess = tf.Session()
sess.run(init_op)
tf.train.write_graph(sess.graph_def, "/tmp/my-model", 'graph.pbtxt', as_text=True)
tf.train.write_graph(sess.graph, "/tmp/my-model", 'graph.pb', as_text=False)
</code></pre></div>
<p dir="auto">The model works perfectly fine using tflearn api (model.predict()).<br>
After that I attempted to freeze the graph and optimize it for inference:</p>
<p dir="auto">1.Freezing the graph</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python -m tensorflow.python.tools.freeze_graph --input_binary --input_graph graph.pb --output_graph frozen_graph.pb --input_checkpoint ~/datasets/TrainedNetworksTfLearn/Expression/model-resnext-no-train-ops --output_node_names FullyConnected/Softmax"><pre class="notranslate"><code class="notranslate">python -m tensorflow.python.tools.freeze_graph --input_binary --input_graph graph.pb --output_graph frozen_graph.pb --input_checkpoint ~/datasets/TrainedNetworksTfLearn/Expression/model-resnext-no-train-ops --output_node_names FullyConnected/Softmax
</code></pre></div>
<p dir="auto">2 Optimizing the graph for inference with two different ways<br>
a).using tensorflow.python.tools.optimize_for_inference:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python -m tensorflow.python.tools.optimize_for_inference --input frozen_graph_with_freeze_graph_tool.pb --output frozen_interference_graph_opt.pb --frozen_graph True --input_names InputData/X --output_names FullyConnected/Softmax"><pre class="notranslate"><code class="notranslate">python -m tensorflow.python.tools.optimize_for_inference --input frozen_graph_with_freeze_graph_tool.pb --output frozen_interference_graph_opt.pb --frozen_graph True --input_names InputData/X --output_names FullyConnected/Softmax
</code></pre></div>
<p dir="auto">b). using snippet provided by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dkurt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dkurt">@dkurt</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
from tensorflow.tools.graph_transforms import TransformGraph
from tensorflow.python.tools import optimize_for_inference_lib
graph = 'graph.pb'
with tf.gfile.FastGFile(graph, "rb") as f:
graph_def = tf.GraphDef()
graph_def.ParseFromString(f.read())
tf.summary.FileWriter('logs', graph_def)
inp_node = 'InputData/X'
out_node = 'FullyConnected/Softmax'
graph_def = optimize_for_inference_lib.optimize_for_inference(graph_def, [inp_node], [out_node],
tf.float32.as_datatype_enum)
graph_def = TransformGraph(graph_def, [inp_node], [out_node], ["sort_by_execution_order"])
tf.train.write_graph(graph_def, "/tmp/my-model", 'graph_opt.pbtxt', as_text=True)
tf.train.write_graph(graph_def, "/tmp/my-model", 'graph_opt.pb', as_text=False)"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
from tensorflow.tools.graph_transforms import TransformGraph
from tensorflow.python.tools import optimize_for_inference_lib
graph = 'graph.pb'
with tf.gfile.FastGFile(graph, "rb") as f:
graph_def = tf.GraphDef()
graph_def.ParseFromString(f.read())
tf.summary.FileWriter('logs', graph_def)
inp_node = 'InputData/X'
out_node = 'FullyConnected/Softmax'
graph_def = optimize_for_inference_lib.optimize_for_inference(graph_def, [inp_node], [out_node],
tf.float32.as_datatype_enum)
graph_def = TransformGraph(graph_def, [inp_node], [out_node], ["sort_by_execution_order"])
tf.train.write_graph(graph_def, "/tmp/my-model", 'graph_opt.pbtxt', as_text=True)
tf.train.write_graph(graph_def, "/tmp/my-model", 'graph_opt.pb', as_text=False)
</code></pre></div>
<p dir="auto">This completes successfully:</p>
<blockquote>
<p dir="auto">WARNING:tensorflow:From optimize_graph.py:6: FastGFile.<strong>init</strong> (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Use tf.gfile.GFile.<br>
WARNING:tensorflow:Passing a <code class="notranslate">GraphDef</code> to the SummaryWriter is deprecated. Pass a <code class="notranslate">Graph</code> object instead, such as <code class="notranslate">sess.graph</code>.<br>
WARNING:tensorflow:From //.local/lib/python3.6/site-packages/tensorflow/python/tools/strip_unused_lib.py:86: extract_sub_graph (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Use tf.compat.v1.graph_util.extract_sub_graph<br>
WARNING:tensorflow:From //.local/lib/python3.6/site-packages/tensorflow/python/tools/optimize_for_inference_lib.py:113: remove_training_nodes (from tensorflow.python.framework.graph_util_impl) is deprecated and will be removed in a future version.<br>
Instructions for updating:<br>
Use tf.compat.v1.graph_util.remove_training_nodes<br>
2019-03-15 17:32:23.963903: I tensorflow/tools/graph_transforms/transform_graph.cc:317] Applying sort_by_execution_order</p>
</blockquote>
<p dir="auto">After these steps i get the following errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this->net = cv::dnn::readNetFromTensorflow("graph_opt.pb", "graph_opt.pbtxt");"><pre class="notranslate"><code class="notranslate">this->net = cv::dnn::readNetFromTensorflow("graph_opt.pb", "graph_opt.pbtxt");
</code></pre></div>
<blockquote>
<p dir="auto">tf_importer.cpp:616: error: (-215:Assertion failed) const_layers.insert(std::make_pair(name, li)).second in function 'addConstNodes'</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this->net = cv::dnn::readNetFromTensorflow("graph_opt.pb");"><pre class="notranslate"><code class="notranslate">this->net = cv::dnn::readNetFromTensorflow("graph_opt.pb");
</code></pre></div>
<blockquote>
<p dir="auto">tf_graph_simplifier.cpp:773: error: (-2:Unspecified error) Tensor's data type is not supported in function 'getTensorContent'</p>
</blockquote>
<h5 dir="auto">Steps to reproduce</h5> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4</li>
<li>Operating System / Platform => Mac OS X ( Related to JS version of Open CV)</li>
<li>JS has been built using branch 3.4</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Was trying to use orb.detect() function in JS but it throws errors:</p>
<p dir="auto"><code class="notranslate">Cannot call Feature2D.detect due to unbound types: NSt3__26vectorIN2cv8KeyPointENS_9allocatorIS2_EEEE↵ at UnboundTypeError</code></p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">Use the steps as mentioned in the tutorial to include JS file in your code<br>
and then when opencv has been loaded into Browser memory run this code</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log(cv);
let imgMat = cv.imread(imgElement);
let orb = new cv.ORB();
let kp = orb.detect(imgMat,"");
console.log("kp",kp);
// let result = orb.compute(imgMat,kp);
// console.log("result",result);
mat.delete();"><pre class="notranslate"><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">cv</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">imgMat</span> <span class="pl-c1">=</span> <span class="pl-s1">cv</span><span class="pl-kos">.</span><span class="pl-en">imread</span><span class="pl-kos">(</span><span class="pl-s1">imgElement</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">orb</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">cv</span><span class="pl-kos">.</span><span class="pl-c1">ORB</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">kp</span> <span class="pl-c1">=</span> <span class="pl-s1">orb</span><span class="pl-kos">.</span><span class="pl-en">detect</span><span class="pl-kos">(</span><span class="pl-s1">imgMat</span><span class="pl-kos">,</span><span class="pl-s">""</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">"kp"</span><span class="pl-kos">,</span><span class="pl-s1">kp</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// let result = orb.compute(imgMat,kp);</span>
<span class="pl-c">// console.log("result",result);</span>
<span class="pl-s1">mat</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Given clean loglog data, loglog subplots with shared axes work correctly. Given arbitrary loglog data, axis labels are removed incompletely.</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 numpy as np
import matplotlib.pyplot as plt
x_pass = np.logspace(1, 2, 3)
y1_pass = x_pass
y2_pass = 10*x_pass
x_fail = np.array([56., 140., 420.])
y1_fail = x_fail
y2_fail = 10*x_fail
f, ax = plt.subplots(2, sharex=True)
ax[0].loglog(x_pass, y1_pass, 'o')
ax[1].loglog(x_pass, y2_pass, 'o')
f, ax = plt.subplots(2, sharex=True)
ax[0].loglog(x_fail, y1_fail, 'o')
ax[1].loglog(x_fail, y2_fail, 'o')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">x_pass</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">logspace</span>(<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>)
<span class="pl-s1">y1_pass</span> <span class="pl-c1">=</span> <span class="pl-s1">x_pass</span>
<span class="pl-s1">y2_pass</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-c1">*</span><span class="pl-s1">x_pass</span>
<span class="pl-s1">x_fail</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">56.</span>, <span class="pl-c1">140.</span>, <span class="pl-c1">420.</span>])
<span class="pl-s1">y1_fail</span> <span class="pl-c1">=</span> <span class="pl-s1">x_fail</span>
<span class="pl-s1">y2_fail</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-c1">*</span><span class="pl-s1">x_fail</span>
<span class="pl-s1">f</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">2</span>, <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">ax</span>[<span class="pl-c1">0</span>].<span class="pl-en">loglog</span>(<span class="pl-s1">x_pass</span>, <span class="pl-s1">y1_pass</span>, <span class="pl-s">'o'</span>)
<span class="pl-s1">ax</span>[<span class="pl-c1">1</span>].<span class="pl-en">loglog</span>(<span class="pl-s1">x_pass</span>, <span class="pl-s1">y2_pass</span>, <span class="pl-s">'o'</span>)
<span class="pl-s1">f</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">2</span>, <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">ax</span>[<span class="pl-c1">0</span>].<span class="pl-en">loglog</span>(<span class="pl-s1">x_fail</span>, <span class="pl-s1">y1_fail</span>, <span class="pl-s">'o'</span>)
<span class="pl-s1">ax</span>[<span class="pl-c1">1</span>].<span class="pl-en">loglog</span>(<span class="pl-s1">x_fail</span>, <span class="pl-s1">y2_fail</span>, <span class="pl-s">'o'</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/1451881/28999306-2ee9096a-7a07-11e7-9810-34351941f4c3.png"><img src="https://user-images.githubusercontent.com/1451881/28999306-2ee9096a-7a07-11e7-9810-34351941f4c3.png" alt="correct" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1451881/28999305-29581068-7a07-11e7-886f-0fe51700eb0b.png"><img src="https://user-images.githubusercontent.com/1451881/28999305-29581068-7a07-11e7-886f-0fe51700eb0b.png" alt="incorrect" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">The upper subplot in the second figure should hide all its x axis labels, similar to the upper subplot in the first figure.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating System: MacOS 10.12.6</li>
<li>Matplotlib Version: 2.0.2</li>
<li>Python Version: 3.6.1 (Python 5.3.0)</li>
<li>Other Libraries: numpy 1.12.1</li>
</ul>
<p dir="auto">Installed from Anaconda3-4.4.0-MacOSX-x86_64.pkg</p> | <h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">If multiple subplots are created using the <code class="notranslate">subplots</code> function with <code class="notranslate">sharex=True</code> or <code class="notranslate">sharey=True</code>, only the outer axes should have tick labels. However, when having logarithmic axes, only this is only true for major tick labels.</p>
<p dir="auto">The bug also appears when using <code class="notranslate">AxesGrid</code> instead of <code class="notranslate">subplots</code>.</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="fig, ax = plt.subplots(2, 2, sharex=True, sharey=True, squeeze=False)
for a in ax.flatten():
a.plot([10, 20, 30], [10, 20, 30])
a.set_yscale("log")
a.set_xscale("log")"><pre class="notranslate"><span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">2</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">squeeze</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-k">for</span> <span class="pl-s1">a</span> <span class="pl-c1">in</span> <span class="pl-s1">ax</span>.<span class="pl-en">flatten</span>():
<span class="pl-s1">a</span>.<span class="pl-en">plot</span>([<span class="pl-c1">10</span>, <span class="pl-c1">20</span>, <span class="pl-c1">30</span>], [<span class="pl-c1">10</span>, <span class="pl-c1">20</span>, <span class="pl-c1">30</span>])
<span class="pl-s1">a</span>.<span class="pl-en">set_yscale</span>(<span class="pl-s">"log"</span>)
<span class="pl-s1">a</span>.<span class="pl-en">set_xscale</span>(<span class="pl-s">"log"</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/13418822/28286239-cfd7da7e-6b37-11e7-9d6f-3c9187f69fda.png"><img src="https://user-images.githubusercontent.com/13418822/28286239-cfd7da7e-6b37-11e7-9d6f-3c9187f69fda.png" alt="log_shared_axes" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">No x (including minor) tick labels for the upper axes, no y tick labels for the right axes.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating System: Linux</li>
<li>Matplotlib Version: 2.0.2 (anaconda package)</li>
<li>Python Version: 3.6</li>
</ul> | 1 |
<p dir="auto">As the title says, this seems somehow broken.</p>
<p dir="auto">ProfileType:<br>
$builder->add('emails', 'collection', array(<br>
'type' => new EmailType(),<br>
'allow_add' => true,<br>
'by_reference' => false)<br>
);</p>
<p dir="auto">EmailType:<br>
$builder->add('address', 'text')<br>
->add('type', 'text');</p>
<p dir="auto">Calling form_widget(form) it only renders one input field and fills it with the return of the __toString() method of the email class. Shouldn't it render all fields defined in the EmailType class?</p> | <p dir="auto">see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4103933" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3923" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/3923/hovercard" href="https://github.com/symfony/symfony/pull/3923#r702358">#3923 (comment)</a></p> | 1 |
<p dir="auto">This issue relates to <a href="http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html" rel="nofollow">http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html</a></p>
<p dir="auto">If you choose to render your templates using namespaced paths</p>
<div class="highlight highlight-text-html-twig notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{% extends "@AcmeDemo/layout.html.twig" %}"><pre class="notranslate">{% <span class="pl-k">extends</span> <span class="pl-s"><span class="pl-pds">"</span>@AcmeDemo/layout.html.twig<span class="pl-pds">"</span></span> %}</pre></div>
<p dir="auto">It means that if you create a new bundle that AcmeDemo is the parent of, it does not prepend the child bundle paths.</p>
<p dir="auto">Eg, say I create AppDemoBundle which has a parent of AcmeDemoBundle it should check for the templates in @AppDemoBundle/layout.html.twig before it checks for @AcmeDemo/layout.html.twig</p> | <p dir="auto">By looking at the <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php#L75">code</a>, I am under the impression that the Bundle inheritance is not supported by the current code.</p> | 1 |
<p dir="auto">Hello everyone!<br>
How I can doing dynamic host in axios?</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" const host = location.hostname;
// axios.defaults.baseURL = 'http://hastore.local';
axios.defaults.baseURL = host;
axios.defaults.port = 8080;
axios.get('api/categories')
.then((res) => {
this.categories = res.data;
console.log(res);
})
.catch((err) => {
console.warn('error during http call', err);
});"><pre class="notranslate"><code class="notranslate"> const host = location.hostname;
// axios.defaults.baseURL = 'http://hastore.local';
axios.defaults.baseURL = host;
axios.defaults.port = 8080;
axios.get('api/categories')
.then((res) => {
this.categories = res.data;
console.log(res);
})
.catch((err) => {
console.warn('error during http call', err);
});
</code></pre></div>
<p dir="auto">String <code class="notranslate">axios.defaults.baseURL = 'http://hastore.local';</code> does not fit, because on prodaction don't be work.</p>
<p dir="auto">String <code class="notranslate"> const host = location.hostname;</code> also not a solution, because I get incorrect port and dublicate host.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6662917/35751304-05751ace-0869-11e8-9202-f66fdae5f0e5.png"><img src="https://user-images.githubusercontent.com/6662917/35751304-05751ace-0869-11e8-9202-f66fdae5f0e5.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The goal is to get the right host depending on the environment.<br>
I read a lot of articles about this, but I did not find a solution.<br>
Thanks for help!</p>
<ul dir="auto">
<li>axios version: <em>e.g.: v0.16.2</em></li>
<li>Environment: <em>e.g.: node v8.9.4, chrome 64.0.3282.119, Ubuntu 16.04</em></li>
</ul> | <h4 dir="auto">Summary</h4>
<p dir="auto">try</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let url = '/dsk',
let data = {
dsk: ['a1', 'a2']
}
let config = {
baseURL: 'http://8.8.8.8',
data
}
axios.post(url, data, {config}).then(resp => { console.log(resp.config.data) })"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-s">'/dsk'</span><span class="pl-kos">,</span>
<span class="pl-s1">let</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">dsk</span>: <span class="pl-kos">[</span><span class="pl-s">'a1'</span><span class="pl-kos">,</span> <span class="pl-s">'a2'</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-k">let</span> <span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">baseURL</span>: <span class="pl-s">'http://8.8.8.8'</span><span class="pl-kos">,</span>
data
<span class="pl-kos">}</span>
<span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">post</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">,</span> <span class="pl-s1">data</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>config<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">resp</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">resp</span><span class="pl-kos">.</span><span class="pl-c1">config</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">get <code class="notranslate">resp.config.data</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{"baseURL": "http://8.8.8.8", "url": "/dsk", "data": {"0": "a1", "1": "a2"}}"><pre class="notranslate"><code class="notranslate">{"baseURL": "http://8.8.8.8", "url": "/dsk", "data": {"0": "a1", "1": "a2"}}
</code></pre></div>
<p dir="auto">this config data is not expect.</p>
<h4 dir="auto">Context</h4>
<ul dir="auto">
<li>axios version: v0.18.0</li>
<li>Environment: node v10.4.1</li>
</ul> | 0 |
<p dir="auto">Hi,<br>
I'm trying to spin up the container with Deno, the build works fine but when I run the docker file I get this error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="➜ docker run -it deno-app
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"><pre class="notranslate">➜ docker run -it deno-app
deno: error <span class="pl-k">while</span> loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory</pre></div>
<p dir="auto">Information:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="➜ deno --version
deno 1.8.2 (release, x86_64-apple-darwin)
v8 9.0.257.3
typescript 4.2.2"><pre class="notranslate">➜ deno --version
deno 1.8.2 (release, x86_64-apple-darwin)
v8 9.0.257.3
typescript 4.2.2</pre></div>
<p dir="auto">Dockerfile</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="FROM alpine
RUN apk update && apk add curl
RUN curl -fsSL https://deno.land/x/install/install.sh | sh && mv /root/.deno/bin/deno /bin/deno
ENTRYPOINT ["deno"]
CMD ["run", "--allow-net", "https://deno.land/std/examples/welcome.ts"]"><pre class="notranslate">FROM alpine
RUN apk update <span class="pl-k">&&</span> apk add curl
RUN curl -fsSL https://deno.land/x/install/install.sh <span class="pl-k">|</span> sh <span class="pl-k">&&</span> mv /root/.deno/bin/deno /bin/deno
ENTRYPOINT [<span class="pl-s"><span class="pl-pds">"</span>deno<span class="pl-pds">"</span></span>]
CMD [<span class="pl-s"><span class="pl-pds">"</span>run<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>--allow-net<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>https://deno.land/std/examples/welcome.ts<span class="pl-pds">"</span></span>]</pre></div> | <p dir="auto">Running deno executable on alpine (frolvlad/alpine-glibc since glibc is required) fails since 1.8.0:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# running deno
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"><pre class="notranslate"><code class="notranslate"># running deno
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
</code></pre></div>
<p dir="auto">if I install libstdc++ via <code class="notranslate">apk add libstdc++</code> I see (when running deno) a warning repeated 5 times:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using latest version (0.89.0) for http://deno.land/std/examples/welcome.ts
Download https://deno.land/[email protected]/examples/welcome.ts
Check https://deno.land/std/examples/welcome.ts
Welcome to Deno!"><pre class="notranslate"><code class="notranslate">deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using latest version (0.89.0) for http://deno.land/std/examples/welcome.ts
Download https://deno.land/[email protected]/examples/welcome.ts
Check https://deno.land/std/examples/welcome.ts
Welcome to Deno!
</code></pre></div>
<p dir="auto">This is a regression since previously <code class="notranslate">libstdc++</code> was not required to be dynamically linked. As well as the warning being somewhat loud/unnecessary (?).</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lucacasonato/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lucacasonato">@lucacasonato</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/caspervonb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/caspervonb">@caspervonb</a></p>
<p dir="auto"><a href="https://github.com/hayd/deno-docker/runs/2024710911?check_suite_focus=true">https://github.com/hayd/deno-docker/runs/2024710911?check_suite_focus=true</a></p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=benrowlands" rel="nofollow">Ben Rowlands</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3313?redirect=false" rel="nofollow">SPR-3313</a></strong> and commented</p>
<p dir="auto">Constructor injection is desirable for imutability but the Spring config is very much tied to implementation (ordering of args).</p>
<p dir="auto">We could solve this problem using a <code class="notranslate">@Property</code>("..") annotation to decorate a constructor with the names of the ctor paramaters? (could locate param names from CGLIB but only if debug symbols stored in class).</p>
<p dir="auto">For example:</p>
<p dir="auto">public class Person<br>
{<br>
public Person( <code class="notranslate">@Property</code>("age") int age, <code class="notranslate">@Property</code>("name") String name )<br>
{<br>
...<br>
}<br>
}</p>
<p dir="auto">Then the config could look same as the if we had used setter injection.</p>
<p dir="auto"><bean class="Person"><br>
<property name="age" value=".."/><br>
<property name="name" value=".."/><br>
</bean></p>
<p dir="auto">This could be achieved using a BeanFactoryPostProcessor to visit every bean definition and move properties from the setter map to the constructor map respecting the order the annotations are definied in?</p>
<p dir="auto">Alternativly we could add an attribute to constructor-arg</p>
<p dir="auto"><bean class="Person"><br>
<constructor-arg name="age" value=".."/><br>
<constructor-arg name="name" value=".."/><br>
</bean></p>
<hr>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398064973" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6580" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6580/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6580">#6580</a> Attach tooling metadata to constructor arg definitions (<em><strong>"depends on"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398066609" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6769" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6769/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6769">#6769</a> Attach Source Metadata to Constructor Args</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/53333c3ed06e465a55592a0f351ffab40110e5b3/hovercard" href="https://github.com/spring-projects/spring-framework/commit/53333c3ed06e465a55592a0f351ffab40110e5b3"><tt>53333c3</tt></a></p>
<p dir="auto">1 votes, 7 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=robh" rel="nofollow">Rob Harrop</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2077?redirect=false" rel="nofollow">SPR-2077</a></strong> and commented</p>
<hr>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398076627" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7998" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7998/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7998">#7998</a> Add <code class="notranslate">@annotation</code> to name constructor arguments allowing names to be placed in config</li>
</ul> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">NA</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook 2.5.0 (devel 91e9aaca28) last updated 2017/10/18 17:12:24 (GMT +100)
config file =
configured module search path = [u'/Users/lynchg/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /Users/lynchg/git/github.com/ansible/ansible/lib/ansible
executable location = /Users/lynchg/git/github.com/ansible/ansible/bin/ansible-playbook
python version = 2.7.13 (default, Dec 18 2016, 07:03:34) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]"><pre class="notranslate"><code class="notranslate">ansible-playbook 2.5.0 (devel 91e9aaca28) last updated 2017/10/18 17:12:24 (GMT +100)
config file =
configured module search path = [u'/Users/lynchg/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /Users/lynchg/git/github.com/ansible/ansible/lib/ansible
executable location = /Users/lynchg/git/github.com/ansible/ansible/bin/ansible-playbook
python version = 2.7.13 (default, Dec 18 2016, 07:03:34) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">NA</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">NA</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">It appears that ansible falls back to its 'default' <code class="notranslate">shell</code> module when a module or action plugin can't be found. Which can lead to a very confusing error message.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">write a custom module and action plugin that generates custom facts</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# library/eos_custom_facts.py
# emtpy file"><pre class="notranslate"><span class="pl-c"># library/eos_custom_facts.py</span>
<span class="pl-c"># emtpy file</span></pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# plugins/action/eos_custom_facts.py
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import re
import netaddr
from ansible.errors import AnsibleError
from ansible.plugins.action import ActionBase
class ActionModule(ActionBase):
def run(self, tmp=None, task_vars=None):
''' handler for eos_custom_facts operations '''
if task_vars is None:
task_vars = dict()
result = super(ActionModule, self).run(tmp, task_vars)
results = {}
result['ansible_facts'] = results
return result"><pre class="notranslate"><span class="pl-c"># plugins/action/eos_custom_facts.py</span>
<span class="pl-k">from</span> __future__ <span class="pl-k">import</span> (<span class="pl-s1">absolute_import</span>, <span class="pl-s1">division</span>, <span class="pl-s1">print_function</span>)
<span class="pl-s1">__metaclass__</span> <span class="pl-c1">=</span> <span class="pl-s1">type</span>
<span class="pl-k">import</span> <span class="pl-s1">re</span>
<span class="pl-k">import</span> <span class="pl-s1">netaddr</span>
<span class="pl-k">from</span> <span class="pl-s1">ansible</span>.<span class="pl-s1">errors</span> <span class="pl-k">import</span> <span class="pl-v">AnsibleError</span>
<span class="pl-k">from</span> <span class="pl-s1">ansible</span>.<span class="pl-s1">plugins</span>.<span class="pl-s1">action</span> <span class="pl-k">import</span> <span class="pl-v">ActionBase</span>
<span class="pl-k">class</span> <span class="pl-v">ActionModule</span>(<span class="pl-v">ActionBase</span>):
<span class="pl-k">def</span> <span class="pl-en">run</span>(<span class="pl-s1">self</span>, <span class="pl-s1">tmp</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">task_vars</span><span class="pl-c1">=</span><span class="pl-c1">None</span>):
<span class="pl-s">''' handler for eos_custom_facts operations '''</span>
<span class="pl-k">if</span> <span class="pl-s1">task_vars</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>:
<span class="pl-s1">task_vars</span> <span class="pl-c1">=</span> <span class="pl-en">dict</span>()
<span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">super</span>(<span class="pl-v">ActionModule</span>, <span class="pl-s1">self</span>).<span class="pl-en">run</span>(<span class="pl-s1">tmp</span>, <span class="pl-s1">task_vars</span>)
<span class="pl-s1">results</span> <span class="pl-c1">=</span> {}
<span class="pl-s1">result</span>[<span class="pl-s">'ansible_facts'</span>] <span class="pl-c1">=</span> <span class="pl-s1">results</span>
<span class="pl-k">return</span> <span class="pl-s1">result</span></pre></div>
<p dir="auto">forget to add the action plugin path</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible all -i hosts -m eos_custom_facts"><pre class="notranslate"><code class="notranslate">ansible all -i hosts -m eos_custom_facts
</code></pre></div>
<p dir="auto">or mistype the module name</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible all -i hosts -m eos_custom_fact"><pre class="notranslate"><code class="notranslate">ansible all -i hosts -m eos_custom_fact
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">An error stating the module/plugin couldn't be found</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SWITCHNAME | FAILED! => {
"changed": false,
"msg": "unable to open shell. Please see: https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell"
}"><pre class="notranslate"><code class="notranslate">SWITCHNAME | FAILED! => {
"changed": false,
"msg": "unable to open shell. Please see: https://docs.ansible.com/ansible/network_debug_troubleshooting.html#unable-to-open-shell"
}
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">modules/windows/win_firewall_rule</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.1.0
config file = /Users/cg/Repo/ansible-windows-examples/ansible.cfg
configured module search path = ['/Users/cg/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /Users/cg/anaconda3/lib/python3.6/site-packages/ansible
executable location = /Users/cg/anaconda3/bin/ansible
python version = 3.6.3 |Anaconda, Inc.| (default, Oct 6 2017, 12:04:38) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]"><pre class="notranslate"><code class="notranslate">ansible 2.4.1.0
config file = /Users/cg/Repo/ansible-windows-examples/ansible.cfg
configured module search path = ['/Users/cg/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /Users/cg/anaconda3/lib/python3.6/site-packages/ansible
executable location = /Users/cg/anaconda3/bin/ansible
python version = 3.6.3 |Anaconda, Inc.| (default, Oct 6 2017, 12:04:38) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DEFAULT_HOST_LIST(/Users/cg/Repo/ansible-windows-examples/ansible.cfg) = ['/Users/cg/Repo/ansible-windows-examples/inventory.yml']
HOST_KEY_CHECKING(/Users/cg/Repo/ansible-windows-examples/ansible.cfg) = False"><pre class="notranslate"><code class="notranslate">DEFAULT_HOST_LIST(/Users/cg/Repo/ansible-windows-examples/ansible.cfg) = ['/Users/cg/Repo/ansible-windows-examples/inventory.yml']
HOST_KEY_CHECKING(/Users/cg/Repo/ansible-windows-examples/ansible.cfg) = False
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Control system: MacOS 10.12.6<br>
Target system: Windows 2012 Server R2 server guest deployed on Virtualbox 5.1</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">The win_firewall module accepts a Name parameter that is used to check for and create Windows Firewall rules with the same DisplayName rather than Name property of the Get-NetFirewallRule PowerShell command.<br>
This creates the inability to distinguish and select a firewall rule with a different Name but same DisplayName.</p>
<p dir="auto">For examples, the built-in firewall rules with the DisplayName "Remote Desktop - User Mode (TCP-In)" have two distinct Name properties:</p>
<ul dir="auto">
<li>RemoteDesktop-UserMode-In-TCP</li>
<li>RemoteDesktop-UserMode-In-UDP</li>
</ul>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">The properties can be verified with this example by running the following on the PowerShell command line.<br>
Also, when the Name property returned from PowerShell is used as the Name property of the module a new firewall rule is created with the same DisplayName.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Get-NetFirewallRule -DisplayName "Remote Desktop - User Mode*""><pre class="notranslate"><code class="notranslate">Get-NetFirewallRule -DisplayName "Remote Desktop - User Mode*"
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">The ability to select a firewall rule based on either Name or DisplayName<br>
The module Name property is mapped to the <code class="notranslate">Get-NetFirewallRule -Name</code> and a new DisplayName is added and mapped to the <code class="notranslate">Get-NetFirewallRule -DisplayName</code> property.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The module name field is mapped to the Get-NetFirewallRule -DisplayName "><pre class="notranslate"><code class="notranslate">The module name field is mapped to the Get-NetFirewallRule -DisplayName
</code></pre></div> | 0 |
<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">this is to reopen <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184271493" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/12410" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/12410/hovercard" href="https://github.com/angular/angular/issues/12410">#12410</a>.</p>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">With the following routes:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[{
path: 'root',
canActivateChild: [RootGuard],
children: [{
path: 'branch',
canActivateChild: [BranchGuard],
children: [{
path: 'leaf', component: LeafCmp
}]
}]
}]"><pre class="notranslate"><span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-c1">path</span>: <span class="pl-s">'root'</span><span class="pl-kos">,</span>
<span class="pl-c1">canActivateChild</span>: <span class="pl-kos">[</span><span class="pl-v">RootGuard</span><span class="pl-kos">]</span><span class="pl-kos">,</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">'branch'</span><span class="pl-kos">,</span>
<span class="pl-c1">canActivateChild</span>: <span class="pl-kos">[</span><span class="pl-v">BranchGuard</span><span class="pl-kos">]</span><span class="pl-kos">,</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">'leaf'</span><span class="pl-kos">,</span> <span class="pl-c1">component</span>: <span class="pl-v">LeafCmp</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">when navigating to <code class="notranslate">/root/branch/leaf</code>, RootGuard will run <strong>twice</strong>.<br>
With more levels of nested routes, it's repeating more times. Generally, canActivateChild will run repeatedly for each level of children.</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">canActivateChild guard should only run once for a navigation.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto"><a href="http://plnkr.co/edit/1Qs4vFxKOGAedNYagFwq?p=preview" rel="nofollow">http://plnkr.co/edit/1Qs4vFxKOGAedNYagFwq?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">This is a bug with canActivateChild, and after walking through all test suites related, no found of cases to test this.</p>
<p dir="auto">Update: for example, if firing XHR request in the canActivateChild guard, the requests may be repeated, that's apparently a perf issue.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.x/4.x</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">all</p>
<ul dir="auto">
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
all</li>
<li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br>
6.9.x</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
[x] feature request"><pre class="notranslate"><code class="notranslate">[x] bug report
[x] feature request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
When using the new forms with rc2 binding a template reference variable to <code class="notranslate">ngModel</code> doesn't work as described in the <a href="https://docs.google.com/document/u/1/d/1RIezQqE4aEhBRmArIAS1mRIZtWFf6JxN_7B4meyWK0Y/pub" rel="nofollow">new form proposal</a>. The error I'm getting is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="EXCEPTION: Error: Uncaught (in promise): Template parse errors:
There is no directive with "exportAs" set to "ngModel" (" type="text" class="form-control"
formControlName="email" [(ngModel)]="admin.email" [ERROR ->]#email="ngModel">
<div *ngIf="loginForm.hasError('required', 'email') && email.touched" c"): LoginComponent@12:66
There is no directive with "exportAs" set to "ngModel" ("assword" class="form-control"
formControlName="password" [(ngModel)]="admin.password" [ERROR ->]#password="ngModel">
<div *ngIf="loginForm.hasError('required', 'password') && password.t"): LoginComponent@19:70"><pre class="notranslate"><code class="notranslate">EXCEPTION: Error: Uncaught (in promise): Template parse errors:
There is no directive with "exportAs" set to "ngModel" (" type="text" class="form-control"
formControlName="email" [(ngModel)]="admin.email" [ERROR ->]#email="ngModel">
<div *ngIf="loginForm.hasError('required', 'email') && email.touched" c"): LoginComponent@12:66
There is no directive with "exportAs" set to "ngModel" ("assword" class="form-control"
formControlName="password" [(ngModel)]="admin.password" [ERROR ->]#password="ngModel">
<div *ngIf="loginForm.hasError('required', 'password') && password.t"): LoginComponent@19:70
</code></pre></div>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
It should be possible to bind a template reference variable to <code class="notranslate">ngModel</code> to check if a field is valid, touched, pristine, etc. Like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<input [(ngModel)]="person.name.first" #first="ngModel">
<input [(ngModel)]="person.name.last">
{{ first.valid }} // true"><pre class="notranslate"><code class="notranslate"><input [(ngModel)]="person.name.first" #first="ngModel">
<input [(ngModel)]="person.name.last">
{{ first.valid }} // true
</code></pre></div>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
Trying to bind ngModel to a template reference variable.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
To show custom error messages, like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<input type="text" class="form-control"
formControlName="email" [(ngModel)]="admin.email" name="email" #email="ngModel">
<div *ngIf="loginForm.hasError('required', 'email') && email.touched" class="alert alert-danger">Email is required</div>
<div *ngIf="loginForm.hasError('pattern', 'email') && email.touched" class="alert alert-danger">Not a valid email address</div>"><pre class="notranslate"><code class="notranslate"><input type="text" class="form-control"
formControlName="email" [(ngModel)]="admin.email" name="email" #email="ngModel">
<div *ngIf="loginForm.hasError('required', 'email') && email.touched" class="alert alert-danger">Email is required</div>
<div *ngIf="loginForm.hasError('pattern', 'email') && email.touched" class="alert alert-danger">Not a valid email address</div>
</code></pre></div>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.2</li>
<li><strong>Browser:</strong> [all]</li>
<li><strong>Language:</strong> [TypeScript 1.8.10 | ES5]</li>
</ul> | 0 |
<p dir="auto">Testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="153045492" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/6099" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/6099/hovercard" href="https://github.com/microsoft/vscode/issues/6099">#6099</a></p>
<p dir="auto">When installing an extension with <code class="notranslate">code-alpha --install-extension</code> I need to pass the id that includes publisher and name.<br>
It's not easy to find that id out. Especially the publisher part is not mentioned on the marketplace page itself: <a href="https://marketplace.visualstudio.com/items?itemName=donjayamanne.python" rel="nofollow">https://marketplace.visualstudio.com/items?itemName=donjayamanne.python</a><br>
It is in the URL of that page though.</p>
<p dir="auto">It would be good if it where as easy as described here<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6461412/15506189/fd130920-21c6-11e6-8c12-6a2785110bd7.png"><img src="https://cloud.githubusercontent.com/assets/6461412/15506189/fd130920-21c6-11e6-8c12-6a2785110bd7.png" alt="image" style="max-width: 100%;"></a></p> | <p dir="auto">When I create a new file, it does not recognize the jsconfig settings (ES6 for example). I need to go to jsconfig, make a change, dismake that change and then it the new file will be ok.</p> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Microsoft Windows [Version 10.0.18363.900]<br>
PowerToys 0.19.2</p>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open PowerToys settings window by double-clicking icon in notification area</li>
<li>Resize the window</li>
<li>Close the window</li>
<li>Open PowerToys settings window again</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Expected custom window size to be maintained on subsequent launch</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Window size is set to a size other than what I've personally set, perhaps a hard-coded default?</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto">N/A</p> | <h1 dir="auto">Environment</h1>
<p dir="auto">Microsoft Windows [Version 10.0.19041.264]</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):"><pre class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Click powertoys in notification tray, window is on set size that cannot be adjusted, meaning everytime you click on the icon , the window reverts to default size and location</p>
<h1 dir="auto">Expected behavior</h1>
<h1 dir="auto">Actual behavior</h1>
<h1 dir="auto">Screenshots</h1> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by Alessandro Pelliciari (<a href="https://github.com/apelliciari">@apelliciari</a>)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SQLAlchemy==1.1.9
SQLAlchemy-Utils==0.32.16"><pre class="notranslate"><code class="notranslate">SQLAlchemy==1.1.9
SQLAlchemy-Utils==0.32.16
</code></pre></div>
<p dir="auto">Working on sqlite, with a query like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SELECT
DATE(creation_date, -strftime('%d', data) || ' days', '+1 day') AS __timestamp
FROM table_xyz"><pre class="notranslate"><code class="notranslate">SELECT
DATE(creation_date, -strftime('%d', data) || ' days', '+1 day') AS __timestamp
FROM table_xyz
</code></pre></div>
<p dir="auto">SQLAlchemy when compiling escapes percent sign inside <code class="notranslate">strtfime</code>, making the query wrong and meaningless:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SELECT
DATE(creation_date, -strftime('%%d', data) || ' days', '+1 day') AS __timestamp
FROM table_xyz"><pre class="notranslate"><code class="notranslate">SELECT
DATE(creation_date, -strftime('%%d', data) || ' days', '+1 day') AS __timestamp
FROM table_xyz
</code></pre></div>
<p dir="auto">notice the double percent inside <code class="notranslate">strftime</code> function.</p>
<p dir="auto">I think the problem is in the <code class="notranslate">sqlite</code> dialect: it doesn't cover this case, but I don't know very well SQLAlchemy so i don't know where to look to patch it.</p>
<p dir="auto">I don't have an easy reproducible case because this issue came up using Superset (<a href="https://github.com/apache/incubator-superset/">https://github.com/apache/incubator-superset/</a>), who's using SQLAlchemy to do the interrogation on the database, so not knowing SQLAlchemy well I can't isolate the case.</p>
<p dir="auto">Relevant Superset code doing the query:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def get_query_str(self, query_obj):
engine = self.database.get_sqla_engine()
qry = self.get_sqla_query(**query_obj)
sql = str(
qry.compile(
engine,
compile_kwargs={"literal_binds": True}
)
)
logging.info(sql)
sql = sqlparse.format(sql, reindent=True)
return sql
"><pre class="notranslate"><code class="notranslate"> def get_query_str(self, query_obj):
engine = self.database.get_sqla_engine()
qry = self.get_sqla_query(**query_obj)
sql = str(
qry.compile(
engine,
compile_kwargs={"literal_binds": True}
)
)
logging.info(sql)
sql = sqlparse.format(sql, reindent=True)
return sql
</code></pre></div>
<p dir="auto">In my case, engine is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!
(Pdb++) pp engine.__dict__
{'_echo': None,
'dialect': <sqlalchemy.dialects.sqlite.pysqlite.SQLiteDialect_pysqlite object at 0x7f6f62e74290>,
'engine': Engine(sqlite:////home/superset/consuntivo.db),
'logger': <logging.Logger object at 0x7f6f6ad7c350>,
'pool': <sqlalchemy.pool.NullPool object at 0x7f6f62e74350>,
'url': sqlite:////home/superset/consuntivo.db}"><pre class="notranslate"><code class="notranslate">#!
(Pdb++) pp engine.__dict__
{'_echo': None,
'dialect': <sqlalchemy.dialects.sqlite.pysqlite.SQLiteDialect_pysqlite object at 0x7f6f62e74290>,
'engine': Engine(sqlite:////home/superset/consuntivo.db),
'logger': <logging.Logger object at 0x7f6f6ad7c350>,
'pool': <sqlalchemy.pool.NullPool object at 0x7f6f62e74350>,
'url': sqlite:////home/superset/consuntivo.db}
</code></pre></div>
<p dir="auto">qry is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!
<sqlalchemy.sql.selectable.Select at 0x7f83d83b9950; Select object>"><pre class="notranslate"><code class="notranslate">#!
<sqlalchemy.sql.selectable.Select at 0x7f83d83b9950; Select object>
</code></pre></div>
<p dir="auto">and raw columns in qry object are ok:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!
(Pdb++) pp qry._raw_columns[0].__dict__
{'_allow_label_resolve': True,
'_element': <sqlalchemy.sql.elements.ColumnClause at 0x7f83d85d7ad0; DATE(data, -strftime('%d', data) || ' days', '+1 day')>,
'_key_label': u'__timestamp',
'_label': u'__timestamp',
'_proxies': [<sqlalchemy.sql.elements.ColumnClause at 0x7f83d85d7ad0; DATE(data, -strftime('%d', data) || ' days', '+1 day')>],
'_resolve_label': u'__timestamp',
'_type': DateTime(),
'comparator': <sqlalchemy.sql.sqltypes.Comparator object at 0x7f83d84e50a0>,
'element': <sqlalchemy.sql.elements.ColumnClause at 0x7f83d85d7ad0; DATE(data, -strftime('%d', data) || ' days', '+1 day')>,
'key': u'__timestamp',
'name': u'__timestamp',
'type': DateTime()}"><pre class="notranslate"><code class="notranslate">#!
(Pdb++) pp qry._raw_columns[0].__dict__
{'_allow_label_resolve': True,
'_element': <sqlalchemy.sql.elements.ColumnClause at 0x7f83d85d7ad0; DATE(data, -strftime('%d', data) || ' days', '+1 day')>,
'_key_label': u'__timestamp',
'_label': u'__timestamp',
'_proxies': [<sqlalchemy.sql.elements.ColumnClause at 0x7f83d85d7ad0; DATE(data, -strftime('%d', data) || ' days', '+1 day')>],
'_resolve_label': u'__timestamp',
'_type': DateTime(),
'comparator': <sqlalchemy.sql.sqltypes.Comparator object at 0x7f83d84e50a0>,
'element': <sqlalchemy.sql.elements.ColumnClause at 0x7f83d85d7ad0; DATE(data, -strftime('%d', data) || ' days', '+1 day')>,
'key': u'__timestamp',
'name': u'__timestamp',
'type': DateTime()}
</code></pre></div> | <p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">Currently, literal_column() doubles up percent signs as the base compiler.py level, which is inconsistent with the behavior of text() and column(), which both do it at the per-dialect level. But also, at the per-dialect level, the mysqldb and psycopg2 compilers hardcode this behavior in two separate places for text(), column(), and the modulus operator.</p>
<p dir="auto">doubling of percents should be done based on paramstyle alone and can be done by default in the base compiler. literal_column() should not unconditionaly double percents as this is legacy behavior.</p> | 1 |
<p dir="auto"><strong>Apache Airflow version</strong>: 2.0.0</p>
<p dir="auto"><strong>Environment</strong>: Docker image <code class="notranslate">apache/airflow:2.0.0-python3.8</code> on Win10 with WSL</p>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">I built a custom provider with a number of custom connections.</p>
<p dir="auto">This works:</p>
<ul dir="auto">
<li>The connections are properly registered</li>
<li>The UI does not show hidden fields as per <code class="notranslate">get_ui_field_behaviour</code></li>
<li>The UI correctly relabels fields as per <code class="notranslate">get_ui_field_behaviour</code></li>
<li>The UI correctly shows added widgets as per <code class="notranslate">get_connection_form_widgets</code> (well, mostly)</li>
</ul>
<p dir="auto">What does not work:</p>
<ul dir="auto">
<li>The UI does not save values entered for additional widgets</li>
</ul>
<p dir="auto">I used the <a href="https://github.com/apache/airflow/blob/master/airflow/providers/jdbc/hooks/jdbc.py">JDBC example</a> to string myself along by copying it and pasting it as a hook into my custom provider package. (I did not install the JDBC provider package, unless it is installed in the image I use - but if I don't add it in my own provider package, I don't have the connection type in the UI, so I assume it is not). Curiously, The JDBC hook works just fine. I then created the following file:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""""
You find two child classes of DbApiHook in here. One is the exact copy of the JDBC
provider hook, minus some irrelevant logic (I only care about the UI stuff here).
The other is the exact same thing, except I added an "x" behind every occurance
of "jdbc" in strings and names.
"""
from typing import Any, Dict, Optional
from airflow.hooks.dbapi import DbApiHook
class JdbcXHook(DbApiHook):
"""
Copy of JdbcHook below. Added an "x" at various places, including the class name.
"""
conn_name_attr = 'jdbcx_conn_id' # added x
default_conn_name = 'jdbcx_default' # added x
conn_type = 'jdbcx' # added x
hook_name = 'JDBCx Connection' # added x
supports_autocommit = True
@staticmethod
def get_connection_form_widgets() -> Dict[str, Any]:
"""Returns connection widgets to add to connection form"""
from flask_appbuilder.fieldwidgets import BS3TextFieldWidget
from flask_babel import lazy_gettext
from wtforms import StringField
# added an x in the keys
return {
"extra__jdbcx__drv_path": StringField(lazy_gettext('Driver Path'), widget=BS3TextFieldWidget()),
"extra__jdbcx__drv_clsname": StringField(
lazy_gettext('Driver Class'), widget=BS3TextFieldWidget()
),
}
@staticmethod
def get_ui_field_behaviour() -> Dict:
"""Returns custom field behaviour"""
return {
"hidden_fields": ['port', 'schema', 'extra'],
"relabeling": {'host': 'Connection URL'},
}
class JdbcHook(DbApiHook):
"""
General hook for jdbc db access.
JDBC URL, username and password will be taken from the predefined connection.
Note that the whole JDBC URL must be specified in the "host" field in the DB.
Raises an airflow error if the given connection id doesn't exist.
"""
conn_name_attr = 'jdbc_conn_id'
default_conn_name = 'jdbc_default'
conn_type = 'jdbc'
hook_name = 'JDBC Connection plain'
supports_autocommit = True
@staticmethod
def get_connection_form_widgets() -> Dict[str, Any]:
"""Returns connection widgets to add to connection form"""
from flask_appbuilder.fieldwidgets import BS3TextFieldWidget
from flask_babel import lazy_gettext
from wtforms import StringField
return {
"extra__jdbc__drv_path": StringField(lazy_gettext('Driver Path'), widget=BS3TextFieldWidget()),
"extra__jdbc__drv_clsname": StringField(
lazy_gettext('Driver Class'), widget=BS3TextFieldWidget()
),
}
@staticmethod
def get_ui_field_behaviour() -> Dict:
"""Returns custom field behaviour"""
return {
"hidden_fields": ['port', 'schema', 'extra'],
"relabeling": {'host': 'Connection URL'},
}"><pre class="notranslate"><span class="pl-s">"""</span>
<span class="pl-s">You find two child classes of DbApiHook in here. One is the exact copy of the JDBC</span>
<span class="pl-s">provider hook, minus some irrelevant logic (I only care about the UI stuff here).</span>
<span class="pl-s">The other is the exact same thing, except I added an "x" behind every occurance</span>
<span class="pl-s">of "jdbc" in strings and names.</span>
<span class="pl-s">"""</span>
<span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">Any</span>, <span class="pl-v">Dict</span>, <span class="pl-v">Optional</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">hooks</span>.<span class="pl-s1">dbapi</span> <span class="pl-k">import</span> <span class="pl-v">DbApiHook</span>
<span class="pl-k">class</span> <span class="pl-v">JdbcXHook</span>(<span class="pl-v">DbApiHook</span>):
<span class="pl-s">"""</span>
<span class="pl-s"> Copy of JdbcHook below. Added an "x" at various places, including the class name.</span>
<span class="pl-s"> """</span>
<span class="pl-s1">conn_name_attr</span> <span class="pl-c1">=</span> <span class="pl-s">'jdbcx_conn_id'</span> <span class="pl-c"># added x</span>
<span class="pl-s1">default_conn_name</span> <span class="pl-c1">=</span> <span class="pl-s">'jdbcx_default'</span> <span class="pl-c"># added x</span>
<span class="pl-s1">conn_type</span> <span class="pl-c1">=</span> <span class="pl-s">'jdbcx'</span> <span class="pl-c"># added x</span>
<span class="pl-s1">hook_name</span> <span class="pl-c1">=</span> <span class="pl-s">'JDBCx Connection'</span> <span class="pl-c"># added x</span>
<span class="pl-s1">supports_autocommit</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>
<span class="pl-en">@<span class="pl-s1">staticmethod</span></span>
<span class="pl-k">def</span> <span class="pl-en">get_connection_form_widgets</span>() <span class="pl-c1">-></span> <span class="pl-v">Dict</span>[<span class="pl-s1">str</span>, <span class="pl-v">Any</span>]:
<span class="pl-s">"""Returns connection widgets to add to connection form"""</span>
<span class="pl-k">from</span> <span class="pl-s1">flask_appbuilder</span>.<span class="pl-s1">fieldwidgets</span> <span class="pl-k">import</span> <span class="pl-v">BS3TextFieldWidget</span>
<span class="pl-k">from</span> <span class="pl-s1">flask_babel</span> <span class="pl-k">import</span> <span class="pl-s1">lazy_gettext</span>
<span class="pl-k">from</span> <span class="pl-s1">wtforms</span> <span class="pl-k">import</span> <span class="pl-v">StringField</span>
<span class="pl-c"># added an x in the keys</span>
<span class="pl-k">return</span> {
<span class="pl-s">"extra__jdbcx__drv_path"</span>: <span class="pl-v">StringField</span>(<span class="pl-en">lazy_gettext</span>(<span class="pl-s">'Driver Path'</span>), <span class="pl-s1">widget</span><span class="pl-c1">=</span><span class="pl-v">BS3TextFieldWidget</span>()),
<span class="pl-s">"extra__jdbcx__drv_clsname"</span>: <span class="pl-v">StringField</span>(
<span class="pl-en">lazy_gettext</span>(<span class="pl-s">'Driver Class'</span>), <span class="pl-s1">widget</span><span class="pl-c1">=</span><span class="pl-v">BS3TextFieldWidget</span>()
),
}
<span class="pl-en">@<span class="pl-s1">staticmethod</span></span>
<span class="pl-k">def</span> <span class="pl-en">get_ui_field_behaviour</span>() <span class="pl-c1">-></span> <span class="pl-v">Dict</span>:
<span class="pl-s">"""Returns custom field behaviour"""</span>
<span class="pl-k">return</span> {
<span class="pl-s">"hidden_fields"</span>: [<span class="pl-s">'port'</span>, <span class="pl-s">'schema'</span>, <span class="pl-s">'extra'</span>],
<span class="pl-s">"relabeling"</span>: {<span class="pl-s">'host'</span>: <span class="pl-s">'Connection URL'</span>},
}
<span class="pl-k">class</span> <span class="pl-v">JdbcHook</span>(<span class="pl-v">DbApiHook</span>):
<span class="pl-s">"""</span>
<span class="pl-s"> General hook for jdbc db access.</span>
<span class="pl-s"> JDBC URL, username and password will be taken from the predefined connection.</span>
<span class="pl-s"> Note that the whole JDBC URL must be specified in the "host" field in the DB.</span>
<span class="pl-s"> Raises an airflow error if the given connection id doesn't exist.</span>
<span class="pl-s"> """</span>
<span class="pl-s1">conn_name_attr</span> <span class="pl-c1">=</span> <span class="pl-s">'jdbc_conn_id'</span>
<span class="pl-s1">default_conn_name</span> <span class="pl-c1">=</span> <span class="pl-s">'jdbc_default'</span>
<span class="pl-s1">conn_type</span> <span class="pl-c1">=</span> <span class="pl-s">'jdbc'</span>
<span class="pl-s1">hook_name</span> <span class="pl-c1">=</span> <span class="pl-s">'JDBC Connection plain'</span>
<span class="pl-s1">supports_autocommit</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>
<span class="pl-en">@<span class="pl-s1">staticmethod</span></span>
<span class="pl-k">def</span> <span class="pl-en">get_connection_form_widgets</span>() <span class="pl-c1">-></span> <span class="pl-v">Dict</span>[<span class="pl-s1">str</span>, <span class="pl-v">Any</span>]:
<span class="pl-s">"""Returns connection widgets to add to connection form"""</span>
<span class="pl-k">from</span> <span class="pl-s1">flask_appbuilder</span>.<span class="pl-s1">fieldwidgets</span> <span class="pl-k">import</span> <span class="pl-v">BS3TextFieldWidget</span>
<span class="pl-k">from</span> <span class="pl-s1">flask_babel</span> <span class="pl-k">import</span> <span class="pl-s1">lazy_gettext</span>
<span class="pl-k">from</span> <span class="pl-s1">wtforms</span> <span class="pl-k">import</span> <span class="pl-v">StringField</span>
<span class="pl-k">return</span> {
<span class="pl-s">"extra__jdbc__drv_path"</span>: <span class="pl-v">StringField</span>(<span class="pl-en">lazy_gettext</span>(<span class="pl-s">'Driver Path'</span>), <span class="pl-s1">widget</span><span class="pl-c1">=</span><span class="pl-v">BS3TextFieldWidget</span>()),
<span class="pl-s">"extra__jdbc__drv_clsname"</span>: <span class="pl-v">StringField</span>(
<span class="pl-en">lazy_gettext</span>(<span class="pl-s">'Driver Class'</span>), <span class="pl-s1">widget</span><span class="pl-c1">=</span><span class="pl-v">BS3TextFieldWidget</span>()
),
}
<span class="pl-en">@<span class="pl-s1">staticmethod</span></span>
<span class="pl-k">def</span> <span class="pl-en">get_ui_field_behaviour</span>() <span class="pl-c1">-></span> <span class="pl-v">Dict</span>:
<span class="pl-s">"""Returns custom field behaviour"""</span>
<span class="pl-k">return</span> {
<span class="pl-s">"hidden_fields"</span>: [<span class="pl-s">'port'</span>, <span class="pl-s">'schema'</span>, <span class="pl-s">'extra'</span>],
<span class="pl-s">"relabeling"</span>: {<span class="pl-s">'host'</span>: <span class="pl-s">'Connection URL'</span>},
}</pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">After doing the above, I expected</p>
<ul dir="auto">
<li>Seeing both in the add connection UI</li>
<li>Being able to use both the same way</li>
</ul>
<p dir="auto"><strong>What actually happenes</strong>:</p>
<ul dir="auto">
<li>I <em>do</em> see both in the UI (Screenshot 1)</li>
<li>For some reason, the "normal" hook has BOTH extra fields - not just his own two? (Screenshot 2)</li>
<li>If I add the connection as in Screenshot 2, they are saved in the four fields (his own two + the two for the "x" hook) properly as shown in Screenshot 3</li>
<li>If I seek to edit the connection again, they are also they - all four fields - with the correct values in the UI</li>
<li>If I add the connection for the "x" type as in Screenshot 4, it ostensibly saves it - with two fields as defined in the code</li>
<li>You can see in screenshot 5, that the extra is saved as an empty string?!</li>
<li>When trying to edit the connection in the UI, you also see that there is no data saved for two extra widgets?!</li>
<li>I added a few more screenshots of airflow providers CLI command results (note that the package <code class="notranslate">ewah</code> has a number of other custom hooks, and the issue above occurs for <em>all</em> of them)</li>
</ul>
<p dir="auto"><em>Screenshot 1:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104121824-9acc6c00-5341-11eb-821c-4bff40a0e7c7.png"><img src="https://user-images.githubusercontent.com/46958547/104121824-9acc6c00-5341-11eb-821c-4bff40a0e7c7.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 2:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104121854-c94a4700-5341-11eb-8d3c-80b6380730d9.png"><img src="https://user-images.githubusercontent.com/46958547/104121854-c94a4700-5341-11eb-8d3c-80b6380730d9.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 3:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104121912-247c3980-5342-11eb-8030-11c7348309f3.png"><img src="https://user-images.githubusercontent.com/46958547/104121912-247c3980-5342-11eb-8030-11c7348309f3.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 4:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104121944-5e4d4000-5342-11eb-83b7-870711ccd367.png"><img src="https://user-images.githubusercontent.com/46958547/104121944-5e4d4000-5342-11eb-83b7-870711ccd367.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 5:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104121971-82a91c80-5342-11eb-83b8-fee9386c0c4f.png"><img src="https://user-images.githubusercontent.com/46958547/104121971-82a91c80-5342-11eb-83b8-fee9386c0c4f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 6 - airflow providers behaviours:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104122073-1c70c980-5343-11eb-88f6-6130e5de9e92.png"><img src="https://user-images.githubusercontent.com/46958547/104122073-1c70c980-5343-11eb-88f6-6130e5de9e92.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 7 - airflow providers get:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104122092-41fdd300-5343-11eb-9bda-f6849812ba56.png"><img src="https://user-images.githubusercontent.com/46958547/104122092-41fdd300-5343-11eb-9bda-f6849812ba56.png" alt="image" style="max-width: 100%;"></a><br>
(Note: This error occurs with pre-installed providers as well)</p>
<p dir="auto"><em>Screenshot 8 - airflow providers hooks:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104122109-65288280-5343-11eb-8322-dda73fef6649.png"><img src="https://user-images.githubusercontent.com/46958547/104122109-65288280-5343-11eb-8322-dda73fef6649.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 9 - aorflow providers list:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104122191-c94b4680-5343-11eb-80cf-7f510d4b6e9a.png"><img src="https://user-images.githubusercontent.com/46958547/104122191-c94b4680-5343-11eb-80cf-7f510d4b6e9a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Screenshot 10 - airflow providers widgets:</em><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/46958547/104122142-930dc700-5343-11eb-96be-dec43d87a59d.png"><img src="https://user-images.githubusercontent.com/46958547/104122142-930dc700-5343-11eb-96be-dec43d87a59d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<ul dir="auto">
<li>create a custom provider package</li>
<li>add the code snippet pasted above somewhere</li>
<li>add the two classes to the <code class="notranslate">hook-class-names</code> list in the provider info</li>
<li>install the provider package</li>
<li>do what I described above</li>
</ul> | <h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.1.3 (latest released)</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Debian GNU/Linux 10 (buster)</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow-providers-amazon==2.1.0<br>
apache-airflow-providers-celery==2.0.0<br>
apache-airflow-providers-cncf-kubernetes==2.0.2<br>
apache-airflow-providers-docker==2.1.0<br>
apache-airflow-providers-elasticsearch==2.0.2<br>
apache-airflow-providers-ftp==2.0.0<br>
apache-airflow-providers-google==5.0.0<br>
apache-airflow-providers-grpc==2.0.0<br>
apache-airflow-providers-hashicorp==2.0.0<br>
apache-airflow-providers-http==2.0.0<br>
apache-airflow-providers-imap==2.0.0<br>
apache-airflow-providers-microsoft-azure==3.1.0<br>
apache-airflow-providers-mysql==2.1.0<br>
apache-airflow-providers-postgres==2.0.0<br>
apache-airflow-providers-redis==2.0.0<br>
apache-airflow-providers-sendgrid==2.0.0<br>
apache-airflow-providers-sftp==2.1.0<br>
apache-airflow-providers-slack==4.0.0<br>
apache-airflow-providers-sqlite==2.0.0<br>
apache-airflow-providers-ssh==2.1.0</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Other Docker-based deployment</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">Base docker image- apache/airflow:2.1.3-python3.7</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">Last Runs for the DAGs on the listing page are not loading because the <code class="notranslate">/last_dagruns</code> endpoint is returning 500 error.</p>
<h3 dir="auto">What you expected to happen</h3>
<p dir="auto">The Last Run for the DAGs should show the latest execution date of each DAG</p>
<h3 dir="auto">How to reproduce</h3>
<ol dir="auto">
<li>Open the DAG listing page</li>
<li>Look at the <code class="notranslate">Last Run</code> column, which would continuously show the loader for each DAG</li>
<li>If you open the Network, you would observe a 500 error for <code class="notranslate">/last_dagruns</code> endpoint</li>
</ol>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | 0 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">When certain applications are on the taskbar, right-clicking their icons shows additional special menu options (ex: VS Code provides options to open recently opened files, workspaces, etc., calculator has a <em>tasks</em> section, to open the calculator in standard, programming, etc. modes, Outlook has a menu to create new tasks, emails, etc.). It would be convenient to include similar functionality for Terminal, so that a user could open a new Terminal window that is not the configured default.</p>
<p dir="auto">For example, if a user's default is Ubuntu 18.04, and the user needs to open a Powershell window, then the user could simply right-click the taskbar icon, and the menu would allow opening Terminal directly to either Powershell or any of the other terminal options. This interaction would prevent a user from having to open with a fresh Ubuntu terminal, then open a Powershell window (by either navigating to the menu or using keyboard shortcuts), and closing the unwanted Ubuntu terminal.</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Add menu contributions to the normal default right-click taskbar menu, which allows a user to open Terminal directly into any one of the configured terminal options.</p> | <p dir="auto">The Task Bar context menu</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/189862/57370160-70cea980-715d-11e9-9c0b-718bb68e4ca9.png"><img src="https://user-images.githubusercontent.com/189862/57370160-70cea980-715d-11e9-9c0b-718bb68e4ca9.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">should show the items from the configured profiles that populate the new shell menu</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/189862/57370126-5e547000-715d-11e9-99d6-d3249c9c2d68.png"><img src="https://user-images.githubusercontent.com/189862/57370126-5e547000-715d-11e9-99d6-d3249c9c2d68.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: only import tensorflow</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: windows 10</li>
<li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>: no</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: pip</li>
<li><strong>TensorFlow version (use command below)</strong>:</li>
<li><strong>Python version</strong>: 3.7.3</li>
<li><strong>Bazel version (if compiling from source)</strong>:</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>:</li>
<li><strong>CUDA/cuDNN version</strong>: cuda 10.1, cudnn v.7.5</li>
<li><strong>GPU model and memory</strong>: gtx 1070</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)""><pre class="notranslate">python -c <span class="pl-s"><span class="pl-pds">"</span>import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)<span class="pl-pds">"</span></span></pre></div>
<h2 dir="auto">and this is the error</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\imp.py", line 242, in load_module<br>
return load_dynamic(name, filename, file)<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\imp.py", line 342, in load_dynamic<br>
return _load(spec)<br>
ImportError: DLL load failed: The specified module could not be found.</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\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow_<em>init</em>_.py", line 24, in <br>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python_<em>init</em>_.py", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper<br>
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\imp.py", line 242, in load_module<br>
return load_dynamic(name, filename, file)<br>
File "C:\Users\kevol\Anaconda3\envs\tensorflow\lib\imp.py", line 342, in load_dynamic<br>
return _load(spec)<br>
ImportError: DLL load failed: The specified module could not be found.</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> | <h3 dir="auto">System information</h3>
<ul dir="auto">
<li>
<p dir="auto"><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br>
Don't have code yet</p>
</li>
<li>
<p dir="auto">**OS Platform and Distribution<br>
Linux Ubuntu 16.04</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br>
git clone latest revision (TensorFlow 1.1)</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow version (use command below)</strong>:</p>
</li>
<li>
<p dir="auto"><strong>Bazel version (if compiling from source)</strong>:<br>
Build label: 0.4.5<br>
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar<br>
Build time: Thu Mar 16 12:19:38 2017 (1489666778)<br>
Build timestamp: 1489666778<br>
Build timestamp as int: 1489666778</p>
</li>
<li>
<p dir="auto"><strong>CUDA/cuDNN version</strong>:<br>
None</p>
</li>
<li>
<p dir="auto"><strong>GPU model and memory</strong>:<br>
None</p>
</li>
<li>
<p dir="auto"><strong>Exact command to reproduce</strong>:<br>
I don't understand what the above sentence refers to?</p>
</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">Bazel failed to build/compile tensor flow with mkl support<br>
I added these compiler flags during the configure phase and they caused the compilation error:</p>
<p dir="auto">-DEIGEN_USE_MKL_ALL -DMKL_ILP64</p>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">Configure phase:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
drormeirovich@drormeirovich-xps-13-9360:~/projects/tensorflow$ sudo ./configure
Please specify the location of python. [Default is /usr/bin/python]:
Found possible Python library paths:
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/dist-packages]
Using python library path: /usr/local/lib/python2.7/dist-packages
Do you wish to build TensorFlow with MKL support? [y/N] y
MKL support will be enabled for TensorFlow
Do you wish to download MKL LIB from the web? [Y/n] n
Please specify the location where MKL is installed. [Default is /opt/intel/mklml]: /opt/intel/mkl
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: -O3 -DNDEBUG -fPIC -DEIGEN_USE_MKL_ALL -DMKL_ILP64 -fopenmp -m64 -v -I/opt/intel/mkl/include
Do you wish to use jemalloc as the malloc implementation? [Y/n]
jemalloc enabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N]
No Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]
No XLA support will be enabled for TensorFlow
Do you wish to build TensorFlow with VERBS support? [y/N]
No VERBS support will be enabled for TensorFlow
Do you wish to build TensorFlow with OpenCL support? [y/N]
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N]
No CUDA support will be enabled for TensorFlow
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
Configuration finished
"><pre class="notranslate"><code class="notranslate">
drormeirovich@drormeirovich-xps-13-9360:~/projects/tensorflow$ sudo ./configure
Please specify the location of python. [Default is /usr/bin/python]:
Found possible Python library paths:
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/dist-packages]
Using python library path: /usr/local/lib/python2.7/dist-packages
Do you wish to build TensorFlow with MKL support? [y/N] y
MKL support will be enabled for TensorFlow
Do you wish to download MKL LIB from the web? [Y/n] n
Please specify the location where MKL is installed. [Default is /opt/intel/mklml]: /opt/intel/mkl
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: -O3 -DNDEBUG -fPIC -DEIGEN_USE_MKL_ALL -DMKL_ILP64 -fopenmp -m64 -v -I/opt/intel/mkl/include
Do you wish to use jemalloc as the malloc implementation? [Y/n]
jemalloc enabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N]
No Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]
No XLA support will be enabled for TensorFlow
Do you wish to build TensorFlow with VERBS support? [y/N]
No VERBS support will be enabled for TensorFlow
Do you wish to build TensorFlow with OpenCL support? [y/N]
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N]
No CUDA support will be enabled for TensorFlow
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
Configuration finished
</code></pre></div>
<p dir="auto">Build command...</p>
<p dir="auto"><code class="notranslate">sudo bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package </code><br>
Error output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /home/drormeirovich/projects/tensorflow/tensorflow/core/kernels/BUILD:998:1: C++ compilation of rule '//tensorflow/core/kernels:gather_functor' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 64 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.2.0-3ubuntu11~16.04' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.2.0 20160901 (Ubuntu 6.2.0-3ubuntu11~16.04)
COLLECT_GCC_OPTIONS='-U' '_FORTIFY_SOURCE' '-fstack-protector' '-Wall' '-B' '/usr/bin' '-B' '/usr/bin' '-Wunused-but-set-parameter' '-Wno-free-nonheap-object' '-fno-omit-frame-pointer' '-g0' '-O2' '-D' '_FORTIFY_SOURCE=1' '-D' 'NDEBUG' '-ffunction-sections' '-fdata-sections' '-O3' '-D' 'NDEBUG' '-D' 'EIGEN_USE_MKL_ALL' '-D' 'MKL_ILP64' '-v' '-I' '/opt/intel/mkl/include' '-std=c++11' '-O3' '-D' 'NDEBUG' '-D' 'EIGEN_USE_MKL_ALL' '-D' 'MKL_ILP64' '-fopenmp' '-m64' '-v' '-I' '/opt/intel/mkl/include' '-MD' '-MF' 'bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.d' '-frandom-seed=bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o' '-fPIC' '-D' 'EIGEN_MPL2_ONLY' '-iquote' '.' '-iquote' 'bazel-out/local-opt/genfiles' '-iquote' 'external/bazel_tools' '-iquote' 'bazel-out/local-opt/genfiles/external/bazel_tools' '-iquote' 'external/eigen_archive' '-iquote' 'bazel-out/local-opt/genfiles/external/eigen_archive' '-iquote' 'external/local_config_sycl' '-iquote' 'bazel-out/local-opt/genfiles/external/local_config_sycl' '-isystem' 'external/bazel_tools/tools/cpp/gcc3' '-isystem' 'external/eigen_archive' '-isystem' 'bazel-out/local-opt/genfiles/external/eigen_archive' '-D' 'EIGEN_AVOID_STL_ARRAY' '-I' 'external/gemmlowp' '-Wno-sign-compare' '-fno-exceptions' '-msse3' '-pthread' '-fno-canonical-system-headers' '-Wno-builtin-macro-redefined' '-D' '__DATE__="redacted"' '-D' '__TIMESTAMP__="redacted"' '-D' '__TIME__="redacted"' '-c' '-o' 'bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o' '-mtune=generic' '-march=x86-64' '-pthread'
/usr/lib/gcc/x86_64-linux-gnu/6/cc1plus -quiet -v -v -I /opt/intel/mkl/include -I /opt/intel/mkl/include -I external/gemmlowp -imultiarch x86_64-linux-gnu -MD bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.d -MF bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.d -MQ bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o -D_GNU_SOURCE -D_REENTRANT -U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=1 -D NDEBUG -D NDEBUG -D EIGEN_USE_MKL_ALL -D MKL_ILP64 -D NDEBUG -D EIGEN_USE_MKL_ALL -D MKL_ILP64 -D EIGEN_MPL2_ONLY -D EIGEN_AVOID_STL_ARRAY -D __DATE__="redacted" -D __TIMESTAMP__="redacted" -D __TIME__="redacted" -iquote . -iquote bazel-out/local-opt/genfiles -iquote external/bazel_tools -iquote bazel-out/local-opt/genfiles/external/bazel_tools -iquote external/eigen_archive -iquote bazel-out/local-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local-opt/genfiles/external/local_config_sycl -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/eigen_archive -isystem bazel-out/local-opt/genfiles/external/eigen_archive tensorflow/core/kernels/gather_functor.cc -quiet -dumpbase gather_functor.cc -m64 -msse3 -mtune=generic -march=x86-64 -auxbase-strip bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o -g0 -O2 -O3 -O3 -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -Wno-sign-compare -Wno-builtin-macro-redefined -std=c++11 -version -fstack-protector -fno-omit-frame-pointer -ffunction-sections -fdata-sections -fopenmp -frandom-seed=bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o -fPIC -fno-exceptions -fno-canonical-system-headers -Wformat-security -o /tmp/ccloY0qb.s
GNU C++11 (Ubuntu 6.2.0-3ubuntu11~16.04) version 6.2.0 20160901 (x86_64-linux-gnu)
compiled by GNU C version 6.2.0 20160901, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "external/bazel_tools/tools/cpp/gcc3"
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/eigen_archive"
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/6"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/6/../../../../x86_64-linux-gnu/include"
ignoring duplicate directory "/opt/intel/mkl/include"
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/bazel_tools"
ignoring duplicate directory "external/eigen_archive"
as it is a non-system directory that duplicates a system directory
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/eigen_archive"
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/local_config_sycl"
#include "..." search starts here:
.
bazel-out/local-opt/genfiles
external/bazel_tools
external/local_config_sycl
#include <...> search starts here:
/opt/intel/mkl/include
external/gemmlowp
external/eigen_archive
/usr/include/c++/6
/usr/include/x86_64-linux-gnu/c++/6
/usr/include/c++/6/backward
/usr/lib/gcc/x86_64-linux-gnu/6/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++11 (Ubuntu 6.2.0-3ubuntu11~16.04) version 6.2.0 20160901 (x86_64-linux-gnu)
compiled by GNU C version 6.2.0 20160901, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 23988a38771f71e4676d56931fe884f7
In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:522:0,
from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,
from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from ./tensorflow/core/kernels/gather_functor.h:19,
from tensorflow/core/kernels/gather_functor.cc:52:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h: In static member function 'static void Eigen::internal::general_matrix_matrix_product<Index, double, LhsStorageOrder, ConjugateLhs, double, RhsStorageOrder, ConjugateRhs, 0>::run(Index, Index, Index, const double*, Index, const double*, Index, double*, Index, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<Index>*)':
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h:106:1: error: cannot convert 'Eigen::BlasIndex* {aka long long int*}' to 'const int*' for argument '3' to 'int dgemm_(const char*, const char*, const int*, const int*, const int*, const double*, const double*, const int*, const double*, const int*, const double*, double*, const int*)'
GEMM_SPECIALIZATION(double, d, double, d)
^
"><pre class="notranslate"><code class="notranslate">ERROR: /home/drormeirovich/projects/tensorflow/tensorflow/core/kernels/BUILD:998:1: C++ compilation of rule '//tensorflow/core/kernels:gather_functor' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 64 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.2.0-3ubuntu11~16.04' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.2.0 20160901 (Ubuntu 6.2.0-3ubuntu11~16.04)
COLLECT_GCC_OPTIONS='-U' '_FORTIFY_SOURCE' '-fstack-protector' '-Wall' '-B' '/usr/bin' '-B' '/usr/bin' '-Wunused-but-set-parameter' '-Wno-free-nonheap-object' '-fno-omit-frame-pointer' '-g0' '-O2' '-D' '_FORTIFY_SOURCE=1' '-D' 'NDEBUG' '-ffunction-sections' '-fdata-sections' '-O3' '-D' 'NDEBUG' '-D' 'EIGEN_USE_MKL_ALL' '-D' 'MKL_ILP64' '-v' '-I' '/opt/intel/mkl/include' '-std=c++11' '-O3' '-D' 'NDEBUG' '-D' 'EIGEN_USE_MKL_ALL' '-D' 'MKL_ILP64' '-fopenmp' '-m64' '-v' '-I' '/opt/intel/mkl/include' '-MD' '-MF' 'bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.d' '-frandom-seed=bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o' '-fPIC' '-D' 'EIGEN_MPL2_ONLY' '-iquote' '.' '-iquote' 'bazel-out/local-opt/genfiles' '-iquote' 'external/bazel_tools' '-iquote' 'bazel-out/local-opt/genfiles/external/bazel_tools' '-iquote' 'external/eigen_archive' '-iquote' 'bazel-out/local-opt/genfiles/external/eigen_archive' '-iquote' 'external/local_config_sycl' '-iquote' 'bazel-out/local-opt/genfiles/external/local_config_sycl' '-isystem' 'external/bazel_tools/tools/cpp/gcc3' '-isystem' 'external/eigen_archive' '-isystem' 'bazel-out/local-opt/genfiles/external/eigen_archive' '-D' 'EIGEN_AVOID_STL_ARRAY' '-I' 'external/gemmlowp' '-Wno-sign-compare' '-fno-exceptions' '-msse3' '-pthread' '-fno-canonical-system-headers' '-Wno-builtin-macro-redefined' '-D' '__DATE__="redacted"' '-D' '__TIMESTAMP__="redacted"' '-D' '__TIME__="redacted"' '-c' '-o' 'bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o' '-mtune=generic' '-march=x86-64' '-pthread'
/usr/lib/gcc/x86_64-linux-gnu/6/cc1plus -quiet -v -v -I /opt/intel/mkl/include -I /opt/intel/mkl/include -I external/gemmlowp -imultiarch x86_64-linux-gnu -MD bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.d -MF bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.d -MQ bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o -D_GNU_SOURCE -D_REENTRANT -U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=1 -D NDEBUG -D NDEBUG -D EIGEN_USE_MKL_ALL -D MKL_ILP64 -D NDEBUG -D EIGEN_USE_MKL_ALL -D MKL_ILP64 -D EIGEN_MPL2_ONLY -D EIGEN_AVOID_STL_ARRAY -D __DATE__="redacted" -D __TIMESTAMP__="redacted" -D __TIME__="redacted" -iquote . -iquote bazel-out/local-opt/genfiles -iquote external/bazel_tools -iquote bazel-out/local-opt/genfiles/external/bazel_tools -iquote external/eigen_archive -iquote bazel-out/local-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local-opt/genfiles/external/local_config_sycl -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/eigen_archive -isystem bazel-out/local-opt/genfiles/external/eigen_archive tensorflow/core/kernels/gather_functor.cc -quiet -dumpbase gather_functor.cc -m64 -msse3 -mtune=generic -march=x86-64 -auxbase-strip bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o -g0 -O2 -O3 -O3 -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -Wno-sign-compare -Wno-builtin-macro-redefined -std=c++11 -version -fstack-protector -fno-omit-frame-pointer -ffunction-sections -fdata-sections -fopenmp -frandom-seed=bazel-out/local-opt/bin/tensorflow/core/kernels/_objs/gather_functor/tensorflow/core/kernels/gather_functor.pic.o -fPIC -fno-exceptions -fno-canonical-system-headers -Wformat-security -o /tmp/ccloY0qb.s
GNU C++11 (Ubuntu 6.2.0-3ubuntu11~16.04) version 6.2.0 20160901 (x86_64-linux-gnu)
compiled by GNU C version 6.2.0 20160901, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "external/bazel_tools/tools/cpp/gcc3"
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/eigen_archive"
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/6"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/6/../../../../x86_64-linux-gnu/include"
ignoring duplicate directory "/opt/intel/mkl/include"
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/bazel_tools"
ignoring duplicate directory "external/eigen_archive"
as it is a non-system directory that duplicates a system directory
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/eigen_archive"
ignoring nonexistent directory "bazel-out/local-opt/genfiles/external/local_config_sycl"
#include "..." search starts here:
.
bazel-out/local-opt/genfiles
external/bazel_tools
external/local_config_sycl
#include <...> search starts here:
/opt/intel/mkl/include
external/gemmlowp
external/eigen_archive
/usr/include/c++/6
/usr/include/x86_64-linux-gnu/c++/6
/usr/include/c++/6/backward
/usr/lib/gcc/x86_64-linux-gnu/6/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++11 (Ubuntu 6.2.0-3ubuntu11~16.04) version 6.2.0 20160901 (x86_64-linux-gnu)
compiled by GNU C version 6.2.0 20160901, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 23988a38771f71e4676d56931fe884f7
In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:522:0,
from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,
from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from ./tensorflow/core/kernels/gather_functor.h:19,
from tensorflow/core/kernels/gather_functor.cc:52:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h: In static member function 'static void Eigen::internal::general_matrix_matrix_product<Index, double, LhsStorageOrder, ConjugateLhs, double, RhsStorageOrder, ConjugateRhs, 0>::run(Index, Index, Index, const double*, Index, const double*, Index, double*, Index, double, Eigen::internal::level3_blocking<double, double>&, Eigen::internal::GemmParallelInfo<Index>*)':
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h:106:1: error: cannot convert 'Eigen::BlasIndex* {aka long long int*}' to 'const int*' for argument '3' to 'int dgemm_(const char*, const char*, const int*, const int*, const int*, const double*, const double*, const int*, const double*, const int*, const double*, double*, const int*)'
GEMM_SPECIALIZATION(double, d, double, d)
^
</code></pre></div> | 0 |
<p dir="auto">I don't know if this would come under feature request or a bug or if this is just expected and things should be handled differently in shouldComponentUpdate.</p>
<p dir="auto">Current behaviour : If A is a component which renders B and passes C as children to B. Now if A re-renders for some state change of which no part is passed to B or C so basically nothing changes in the subtree of B. B still always re-renders.</p>
<p dir="auto"><a href="https://jsfiddle.net/7utuxyfp/1/" rel="nofollow">https://jsfiddle.net/7utuxyfp/1/</a></p>
<p dir="auto">this is the fiddle to reproduce this issue. Click on C to make state change in A and B re-renders.</p>
<p dir="auto">Here the effect is not much but in some cases children is passed some level deep and can cause un-necessary re-renders.</p>
<p dir="auto">this is in React-16 and previous versions.</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/46660619/react-children-rendering-procedure" rel="nofollow">https://stackoverflow.com/questions/46660619/react-children-rendering-procedure</a></p>
<p dir="auto">this is a question where some of the observations are posted feel free to answer there only if this is expected or should be handled in a different way. :)</p> | <p dir="auto">React's shouldComponentUpdate based performance improvements work great for improving the performance of medium-weight components with large numbers of instances. They even work well with event handlers, as you can ignore event handler changes and instead pass a locally bound method that'll access <code class="notranslate">this.props.on*</code> on demand. However this all fails apart you start passing react elements to pure components.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="'use strict';
import React, {Component, PropTypes} from 'react';
import ReactDOM from 'react-dom';
import shallowEqual from 'recompose/shallowEqual';
// shallowEqualExcluding: Fictional function that works like shallowEqual, but ignores changes to a list of props passed as the third argument
class Button extends Component {
static propTypes = {
icon: PropTypes.node.isRequired,
onClick: PropTypes.func
};
onClick = (e) => {
this.props.onClick(e);
};
shouldComponentUpdate(nextProps) {
// @note Doesn't actually work
return shallowEqualExcluding(this.props, nextProps, ['onClick']);
}
render() {
const {icon} = this.props;
return (
<button onClick={this.onClick}>
{icon}
{/*React.cloneElement(icon, {ref: (icon) => this.iconRef = icon})*/}
</button>
);
}
}
class Icon extends Component {
static propTypes = {
name: PropTypes.string.isRequired,
color: PropTypes.string
};
shouldComponentUpdate(nextProps) {
return shallowEqual(this.props, nextProps);
}
render() {
const {name, color} = this.props;
return getSvgIcon(name, color);
}
}
const nilClick = () => {};
ReactDOM.render(<Button onClick={() => alert('Clicked!')} icon={<Icon name='done'} />, document.querySelector('#container'));
ReactDOM.render(<Button onClick={nilClick} icon={<Icon name='done'} />, document.querySelector('#container')); // 2nd invovation
ReactDOM.render(<Button onClick={nilClick} icon={<Icon name='cancel'} />, document.querySelector('#container')); // 3rd invovation"><pre class="notranslate"><span class="pl-s">'use strict'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">React</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-v">Component</span><span class="pl-kos">,</span> <span class="pl-v">PropTypes</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">ReactDOM</span> <span class="pl-k">from</span> <span class="pl-s">'react-dom'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">shallowEqual</span> <span class="pl-k">from</span> <span class="pl-s">'recompose/shallowEqual'</span><span class="pl-kos">;</span>
<span class="pl-c">// shallowEqualExcluding: Fictional function that works like shallowEqual, but ignores changes to a list of props passed as the third argument</span>
<span class="pl-k">class</span> <span class="pl-v">Button</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-k">static</span> <span class="pl-c1">propTypes</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">icon</span>: <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">node</span><span class="pl-kos">.</span><span class="pl-c1">isRequired</span><span class="pl-kos">,</span>
<span class="pl-c1">onClick</span>: <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">func</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-c1">onClick</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-en">onClick</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">shouldComponentUpdate</span><span class="pl-kos">(</span><span class="pl-s1">nextProps</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// <span class="pl-k">@note</span> Doesn't actually work</span>
<span class="pl-k">return</span> <span class="pl-en">shallowEqualExcluding</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-s1">nextProps</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'onClick'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span>icon<span class="pl-kos">}</span> <span class="pl-c1">=</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-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">onClick</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">icon</span><span class="pl-kos">}</span>
<span class="pl-kos">{</span><span class="pl-c">/*React.cloneElement(icon, {ref: (icon) => this.iconRef = icon})*/</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</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-k">class</span> <span class="pl-v">Icon</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-k">static</span> <span class="pl-c1">propTypes</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">name</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-c1">isRequired</span><span class="pl-kos">,</span>
<span class="pl-c1">color</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-kos">;</span>
<span class="pl-en">shouldComponentUpdate</span><span class="pl-kos">(</span><span class="pl-s1">nextProps</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-en">shallowEqual</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-s1">nextProps</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span>name<span class="pl-kos">,</span> color<span class="pl-kos">}</span> <span class="pl-c1">=</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-k">return</span> <span class="pl-en">getSvgIcon</span><span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">,</span> <span class="pl-s1">color</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-k">const</span> <span class="pl-en">nilClick</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-c1">render</span><span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-v">Button</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s">'Clicked!'</span><span class="pl-kos">)</span><span class="pl-kos">}</span> <span class="pl-s1">icon</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1"><</span><span class="pl-ent">Icon</span> <span class="pl-c1">name</span><span class="pl-c1">=</span><span class="pl-s">'done'</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'#container'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-c1">render</span><span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-v">Button</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-en">nilClick</span><span class="pl-kos">}</span> <span class="pl-s1">icon</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1"><</span><span class="pl-ent">Icon</span> <span class="pl-c1">name</span><span class="pl-c1">=</span><span class="pl-s">'done'</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'#container'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 2nd invovation</span>
<span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-c1">render</span><span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-v">Button</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-en">nilClick</span><span class="pl-kos">}</span> <span class="pl-s1">icon</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1"><</span><span class="pl-ent">Icon</span> <span class="pl-c1">name</span><span class="pl-c1">=</span><span class="pl-s">'cancel'</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">,</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">'#container'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 3rd invovation</span></pre></div>
<p dir="auto">Given this sample; A <code class="notranslate"><Button /></code> component that expects an icon to be passed as an <code class="notranslate">icon</code> prop and a simple <code class="notranslate"><Icon /></code>. Both are pure components and Button is also coded to not re-render when<code class="notranslate">onClick</code> is changed. Pretend that Button actually has a heavy <code class="notranslate">render()</code> but its props and state don't change frequently.</p>
<p dir="auto">On the second invocation, Icon should not require any prop change or render and Button should have its <code class="notranslate">onClick</code> prop changed but not require a render.<br>
On the third invocation, Icon should require a render while Button itself does not need to render except for the change to Icon.</p>
<p dir="auto">However in practice Button will always re-render, including during the second invocation when nothing changes.</p>
<p dir="auto">This is because <code class="notranslate"><Icon /></code> will always result in a new instance and will never be the same.</p>
<p dir="auto">Normally you could work around this within the component itself, without telling users they have to store <code class="notranslate"><Icon /></code> in a variable until they think they need to change its props; for functions you could pass a function that will use <code class="notranslate">this.props.*</code> itself and for objects you can do a deep comparison if you know the structure of the object. But for react elements, even though <code class="notranslate">shouldComponentUpdate</code> allows React to know if the current component has a render dependency on a sub-component, you do not have access to this information so Button cannot tell if Icon requires a render.</p>
<p dir="auto">In practice this can turn out to be a problem when you're writing some libraries rather than an application. Notably <a href="http://www.material-ui.com/" rel="nofollow">Material UI</a> suffers from this problem in production. <code class="notranslate">EnhancedSwitch</code>'s <code class="notranslate">render()</code> is not light; <code class="notranslate">EnhancedSwitch</code> is used by <code class="notranslate">RadioButton</code> and <code class="notranslate">Checkbox</code>; both use a <code class="notranslate">checkedIcon</code> and <code class="notranslate">uncheckedIcon</code> React element prop; you can reasonably have 100 checkboxes on one page; even if they were pure, they cannot identify whether an icon requires an update; as a result, a render of the component containing the checkboxes to check a single checkbox will result in the <code class="notranslate">render()</code> of all 100 <code class="notranslate">EnhancedSwitch</code> instances.</p>
<p dir="auto">I can think of a few ideas on what type of API could be added to React to solve this issue.</p>
<h2 dir="auto">shouldComponentUpdate helper</h2>
<p dir="auto">The most obvious API would be a top-level React function that given the instance context, old ReactElement, and new ReactElement would return the result of a Component's <code class="notranslate">shouldComponentUpdate</code>. Then heavy parent components can use that to implement a <code class="notranslate">shouldComponentUpdate</code> that is aware of render dependencies in its children.<br>
(As a bonus, theoretically you could temporarily remember this while you're walking the current tree; then instead of calling <code class="notranslate">shouldComponentUpdate</code> multiple times for every (potentially nested) component the result is simply that <code class="notranslate">shouldComponentUpdate</code> calls are raised up to the highest level where a component is render-dependent on them)</p>
<p dir="auto"><code class="notranslate">React.shouldComponentUpdate(this, this.props.icon, nextProps.icon)</code></p>
<p dir="auto">However I expect the problem we have with this is that <code class="notranslate">shouldComponentUpdate</code> is also responsible for state dependent updates and <code class="notranslate">this</code> is supposed to be a rendered instance, not a ReactElement instance. While you know <code class="notranslate">context</code> from passing the current instance, you do not have a reference to the state from either of the props.</p>
<h2 dir="auto">ref based shouldComponentUpdate helper</h2>
<p dir="auto">The second most obvious API would be a <code class="notranslate">shouldComponentUpdate</code> helper that instead uses a ref.</p>
<p dir="auto"><code class="notranslate">React.shouldComponentUpdate(this.iconRef, nextProps.icon)</code></p>
<p dir="auto">The downside to this is that to get a ref for a component you didn't create, you inevitably have to use <code class="notranslate">React.cloneElement</code>.</p>
<h2 dir="auto">render passthrough</h2>
<p dir="auto">The next idea I had was a render passthrough. A way during the render process for a component to say "I do not need a render()/update, but these children of mine may" which would tell React to skip render() and then run <code class="notranslate">shouldComponentUpdate</code> on the instances deeper in the tree.</p>
<p dir="auto">However those components only know if they need updates if you pass them the new props; so a passthrough won't work. We'd instead need a way to tell react that it should not run <code class="notranslate">render()</code> but do pass on an update to a specific component instance</p>
<p dir="auto"><code class="notranslate">this.renderRef(this.iconRef, nextProps.icon);</code></p>
<p dir="auto">The advantage of this over using <code class="notranslate">shouldComponentUpdate</code> is that instead of only allowing medium components wrapping light components to only <code class="notranslate">render()</code> when a child requires it; we also allow heavy components to never <code class="notranslate">render()</code> unless they themselves require it, while still allowing them to permit their light children to update.</p>
<h1 dir="auto">partial renders</h1>
<p dir="auto">That <code class="notranslate">shouldComponentUpdate</code> based <code class="notranslate">renderRef</code> only applying updates to a component child feels somewhat awkward and forced though. So a more robust idea might be a partial render lifecycle that optionally runs when <code class="notranslate">shouldComponentUpdate => false</code> and can call for the render of a sub-tree that belongs to the current component.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class HeavyComponent extends Component {
shouldComponentUpdate(nextProps) {
// Ignore icon and children
return nextProps.text !== this.props.text;
}
render() {
const {text, icon, children} = this.props;
text = doSomethingAbsurdlyCpuIntensiveAndHardToFactorOutOfThisComponent(text);
return (
<div>
<h2>
{React.cloneElement(icon, {ref: (icon) => this.iconRef = icon})}
{text}
</h2>
<Wrapper ref='subtree'>
{children}
</Wrapper>
);
}
componentSkippedRender(nextProps/*, nextState*/) {
this.subRender(this.iconRef, React.cloneElement(icon, {ref: (icon) => this.iconRef = icon}));
this.subRender(
this.refs.subtree,
<Wrapper ref='subtree'>
{children}
</Wrapper>
);
}
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">HeavyComponent</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-en">shouldComponentUpdate</span><span class="pl-kos">(</span><span class="pl-s1">nextProps</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// Ignore icon and children</span>
<span class="pl-k">return</span> <span class="pl-s1">nextProps</span><span class="pl-kos">.</span><span class="pl-c1">text</span> <span class="pl-c1">!==</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">text</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span>text<span class="pl-kos">,</span> icon<span class="pl-kos">,</span> children<span class="pl-kos">}</span> <span class="pl-c1">=</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-s1">text</span> <span class="pl-c1">=</span> <span class="pl-en">doSomethingAbsurdlyCpuIntensiveAndHardToFactorOutOfThisComponent</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">h2</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">cloneElement</span><span class="pl-kos">(</span><span class="pl-s1">icon</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-en">ref</span>: <span class="pl-kos">(</span><span class="pl-s1">icon</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">iconRef</span> <span class="pl-c1">=</span> <span class="pl-s1">icon</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">}</span>
<span class="pl-kos">{</span><span class="pl-s1">text</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h2</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">Wrapper</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-s">'subtree'</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">children</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Wrapper</span><span class="pl-c1">></span>
);
<span class="pl-kos">}</span>
<span class="pl-s1">componentSkippedRender</span><span class="pl-kos">(</span><span class="pl-s1">nextProps</span><span class="pl-c">/*, nextState*/</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">subRender</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">iconRef</span><span class="pl-kos">,</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">cloneElement</span><span class="pl-kos">(</span><span class="pl-s1">icon</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-en">ref</span>: <span class="pl-kos">(</span><span class="pl-s1">icon</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">iconRef</span> <span class="pl-c1">=</span> <span class="pl-s1">icon</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">subRender</span><span class="pl-kos">(</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">refs</span><span class="pl-kos">.</span><span class="pl-c1">subtree</span><span class="pl-kos">,</span>
<span class="pl-c1"><</span><span class="pl-ent">Wrapper</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-s">'subtree'</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">children</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Wrapper</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></pre></div>
<p dir="auto">Though <code class="notranslate">this.subRender</code> probably has potential for conflicts, so I expect the most react-line way to name that would be something like <code class="notranslate">React.renderSubtreeIntoComponent(parentComponent, nextElement, component)</code> which would be invoked using <code class="notranslate">React.renderSubtreeIntoComponent(this, /* subtree */, this.refs.subtree);</code>.</p>
<p dir="auto">The <code class="notranslate"><Wrapper></code> I used would be a really light component that probably would just render its children. It's there because <code class="notranslate">React.renderSubtreeIntoComponent</code> should probably not accept dom refs; this should be part of React lifecycle/walker, not part of client side browser only react-dom like <code class="notranslate">ReactDOM.unstable_renderSubtreeIntoContainer</code>.</p> | 1 |
<p dir="auto">I'm implementing a custom <a href="https://github.com/druid-io/druid/blob/master/processing/src/main/java/io/druid/query/aggregation/BufferAggregator.java">BufferAggregator</a>. The doc in the code level is pretty good! I just have extra questions that, as a dev user, could ask:</p>
<ul dir="auto">
<li>
<p dir="auto"><del>What does <a href="https://github.com/druid-io/druid/blob/master/processing/src/main/java/io/druid/query/aggregation/BufferAggregator.java#L54">buf</a> actually hold? Are they bytes of metrics or bytes of aggregators?</del></p>
</li>
<li>
<p dir="auto">When we say <a href="https://github.com/druid-io/druid/blob/master/processing/src/main/java/io/druid/query/aggregation/BufferAggregator.java#L45">"Implementations must not change the position, limit or mark of the given buffer"</a>, do we always want to use <code class="notranslate">buf.duplicate();</code> or <code class="notranslate">buf.slice()</code> as the first statement in implementation? Why does the position of the given buffer could possibly be non-zero? Is it because the same byteBuffer has been used in initialization of other kinds of aggregators? If so, when did the init happen?</p>
</li>
<li>
<p dir="auto">What's the difference between <code class="notranslate">Aggregator</code> and <code class="notranslate">BuffereAggregator</code>? Is <code class="notranslate">Aggregator</code> post agg and <code class="notranslate">BufferAggregator</code> non-post agg?</p>
</li>
</ul> | <h3 dir="auto">Affected Version</h3>
<p dir="auto">Druid Built From Source as of Fri Jun 5, 2020</p>
<h3 dir="auto">Description</h3>
<p dir="auto">We are trying to create new druid ingestion specs to pull from s3 directly via index_parallel rather than hadoop. The outputs simply don't seem to be partitioned though.</p>
<p dir="auto">To make it easy to reproduce, here is a simple config that shows the issue:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"spec": {
"type": "index_parallel",
"ioConfig": {
"type": "index_parallel",
"inputSource": {
"type": "http",
"uris": [
"https://druid.apache.org/data/wikipedia.json.gz",
"https://druid.apache.org/data/wikipedia.json.gz"
]
},
"inputFormat": {
"type": "json"
}
},
"tuningConfig": {
"type": "index_parallel",
"partitionsSpec": {
"type": "single_dim",
"partitionDimension": "channel",
"maxRowsPerSegment": 2000
},
"forceGuaranteedRollup": true,
"maxNumConcurrentSubTasks": 4
},
"dataSchema": {
"dataSource": "wikipedia-test-partitioned-2",
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "DAY",
"queryGranularity": "HOUR",
"rollup": true,
"intervals": [
"2000-01-01/2030-01-01"
]
},
"timestampSpec": {
"column": "timestamp",
"format": "iso"
},
"dimensionsSpec": {
"dimensions": [
"channel",
"cityName",
"comment",
"countryIsoCode",
"countryName",
"diffUrl",
"flags",
"isAnonymous",
"isMinor",
"isNew",
"isRobot",
"isUnpatrolled",
"metroCode",
"namespace",
"page",
"regionIsoCode",
"regionName",
"user"
]
},
"metricsSpec": [
{
"name": "count",
"type": "count"
},
{
"name": "sum_added",
"type": "longSum",
"fieldName": "added"
},
{
"name": "sum_commentLength",
"type": "longSum",
"fieldName": "commentLength"
},
{
"name": "sum_deleted",
"type": "longSum",
"fieldName": "deleted"
},
{
"name": "sum_delta",
"type": "longSum",
"fieldName": "delta"
},
{
"name": "sum_deltaBucket",
"type": "longSum",
"fieldName": "deltaBucket"
}
]
}
},
"type": "index_parallel"
}"><pre class="notranslate"><code class="notranslate">{
"spec": {
"type": "index_parallel",
"ioConfig": {
"type": "index_parallel",
"inputSource": {
"type": "http",
"uris": [
"https://druid.apache.org/data/wikipedia.json.gz",
"https://druid.apache.org/data/wikipedia.json.gz"
]
},
"inputFormat": {
"type": "json"
}
},
"tuningConfig": {
"type": "index_parallel",
"partitionsSpec": {
"type": "single_dim",
"partitionDimension": "channel",
"maxRowsPerSegment": 2000
},
"forceGuaranteedRollup": true,
"maxNumConcurrentSubTasks": 4
},
"dataSchema": {
"dataSource": "wikipedia-test-partitioned-2",
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "DAY",
"queryGranularity": "HOUR",
"rollup": true,
"intervals": [
"2000-01-01/2030-01-01"
]
},
"timestampSpec": {
"column": "timestamp",
"format": "iso"
},
"dimensionsSpec": {
"dimensions": [
"channel",
"cityName",
"comment",
"countryIsoCode",
"countryName",
"diffUrl",
"flags",
"isAnonymous",
"isMinor",
"isNew",
"isRobot",
"isUnpatrolled",
"metroCode",
"namespace",
"page",
"regionIsoCode",
"regionName",
"user"
]
},
"metricsSpec": [
{
"name": "count",
"type": "count"
},
{
"name": "sum_added",
"type": "longSum",
"fieldName": "added"
},
{
"name": "sum_commentLength",
"type": "longSum",
"fieldName": "commentLength"
},
{
"name": "sum_deleted",
"type": "longSum",
"fieldName": "deleted"
},
{
"name": "sum_delta",
"type": "longSum",
"fieldName": "delta"
},
{
"name": "sum_deltaBucket",
"type": "longSum",
"fieldName": "deltaBucket"
}
]
}
},
"type": "index_parallel"
}
</code></pre></div>
<p dir="auto">Since maxRowsPerSegment is 2,000 and there are 24,000 rows in the dateset, I was expecting many partitions.</p>
<p dir="auto">I made sure to set two files so that it could be parallelized, since I saw some comments about needing to set maxNumConcurrentSubTasks and figured this might also apply to needing multiple input files.</p>
<p dir="auto">Of course the data that I have is much larger, coming out to a few GB, but I'm seeing the exact same issue.</p>
<p dir="auto">I have tried both setting targetRowsPerSegment and maxRowsPerSegment, and neither work.</p> | 0 |
<p dir="auto">In the 1.9 branch (including whats in the centos 6 repo) in the Runner class, it appears ansible is trying to duplicate the fileno for a new stdin, however, this introduces a file descriptor leak since the dup is never closed.</p>
<p dir="auto">Additionally, self._new_stdin is not used anywhere else in this class.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" self._new_stdin = new_stdin
if not new_stdin and fileno is not None:
try:
self._new_stdin = os.fdopen(os.dup(fileno))
except OSError, e:
# couldn't dupe stdin, most likely because it's
# not a valid file descriptor, so we just rely on
# using the one that was passed in
pass"><pre class="notranslate"><code class="notranslate"> self._new_stdin = new_stdin
if not new_stdin and fileno is not None:
try:
self._new_stdin = os.fdopen(os.dup(fileno))
except OSError, e:
# couldn't dupe stdin, most likely because it's
# not a valid file descriptor, so we just rely on
# using the one that was passed in
pass
</code></pre></div>
<p dir="auto">In stable-1.9/lib/ansible/runner/<strong>init</strong>.py#L582</p>
<p dir="auto">This file descriptor leaks one fd for each.</p>
<p dir="auto">It appears in the master branch as well, only its is being used by the TaskExecutor. However, since its not being closed, it will be a file descriptor leak there as well.</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version
ansible 2.2.0 (devel 3b3ab605f6) last updated 2016/06/13 13:46:21 (GMT -500)
lib/ansible/modules/core: (detached HEAD d6f01d0b4f) last updated 2016/06/13 10:41:06 (GMT -500)
lib/ansible/modules/extras: (detached HEAD 43760b2c4a) last updated 2016/06/13 10:41:06 (GMT -500)
config file = /Users/tanner/projects/ansible.git/playbooks.git/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">$ ansible --version
ansible 2.2.0 (devel 3b3ab605f6) last updated 2016/06/13 13:46:21 (GMT -500)
lib/ansible/modules/core: (detached HEAD d6f01d0b4f) last updated 2016/06/13 10:41:06 (GMT -500)
lib/ansible/modules/extras: (detached HEAD 43760b2c4a) last updated 2016/06/13 10:41:06 (GMT -500)
config file = /Users/tanner/projects/ansible.git/playbooks.git/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">ANSIBLE_KEEP_REMOTE_FILES=1</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Management host OX 10.11.5<br>
Managed host Windows 7</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Results from task show the log is always "", even when a package is uninstalled</p>
<p dir="auto">changed: [win7-90day] => {"changed": true, "invocation": {"module_name": "win_msi"}, "log": ""}</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} = Microsoft Silverlight</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: remove packages (win_msi)
win_msi: >
path="{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}"
wait="True"
state="absent""><pre class="notranslate"><code class="notranslate">- name: remove packages (win_msi)
win_msi: >
path="{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}"
wait="True"
state="absent"
</code></pre></div>
<p dir="auto">With Microsoft Silverlight installed</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook -i customers/testing-servers --ask-vault-pass windows-workstations.yml
<snip>
changed: [win7-90day] => {"changed": true, "invocation": {"module_name": "win_msi"}, "log": ""}
PLAY RECAP *********************************************************************
win7-90day : ok=2 changed=1 unreachable=0 failed=0"><pre class="notranslate"><code class="notranslate">$ ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook -i customers/testing-servers --ask-vault-pass windows-workstations.yml
<snip>
changed: [win7-90day] => {"changed": true, "invocation": {"module_name": "win_msi"}, "log": ""}
PLAY RECAP *********************************************************************
win7-90day : ok=2 changed=1 unreachable=0 failed=0
</code></pre></div>
<p dir="auto">Microsoft Silverlight is uninstalled.<br>
Reinstall Microsoft Silverlight<br>
RDP into win7-90day</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> cd C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-XXXX
> win_msi.ps1
<snip>
{"changed":true,"log":"MSI (s) (3C:44) [16:21:00:682]: Final Patch Application Order:\r\nMSI (s) (3C:44) [16:21:00:682]
: {0107D3B1-6348-41E9-89D3-0CC803B3B483} - \r\n=== Logging started: 6/13/2016 16:21:00 ===\r\nAction start 16:21:00:"><pre class="notranslate"><code class="notranslate">> cd C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-XXXX
> win_msi.ps1
<snip>
{"changed":true,"log":"MSI (s) (3C:44) [16:21:00:682]: Final Patch Application Order:\r\nMSI (s) (3C:44) [16:21:00:682]
: {0107D3B1-6348-41E9-89D3-0CC803B3B483} - \r\n=== Logging started: 6/13/2016 16:21:00 ===\r\nAction start 16:21:00:
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Microsoft Silverlight would be uninstalled and the results log would contain the logfile info like when I run the win_msi.ps1 from the powershell command line</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Empty log in the results</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="changed: [win7-90day] => {"changed": true, "invocation": {"module_name": "win_msi"}, "log": ""}"><pre class="notranslate"><code class="notranslate">changed: [win7-90day] => {"changed": true, "invocation": {"module_name": "win_msi"}, "log": ""}
</code></pre></div> | 0 |
<p dir="auto">Plugins can fail in ways that aren't the fault of the code being compiled. This could be an internal error in the plugin (which is still different from an ICE in Rust itself), or something like failure to load an external configuration file.</p>
<p dir="auto">Ideally, plugins would call the usual methods like <code class="notranslate">bug</code>, <code class="notranslate">err</code>, <code class="notranslate">span_bug</code>, etc., and the resulting messages would include the name of the plugin crate. Unfortunately we can't do this by setting session state about which plugin is running, because they can call back into <code class="notranslate">librustc</code> and errors there shouldn't be reported as plugin errors. We could introduce <code class="notranslate">plugin_bug</code>, <code class="notranslate">plugin_err</code>, <code class="notranslate">plugin_span_bug</code>, etc, but this API duplication is ugly, and you have to remember to use different methods when writing plugins.</p>
<p dir="auto">The nicer (though harder-to-implement) solution is to have these functions walk the stack and then look at which shared object their caller was defined in. In glibc this can be done with <code class="notranslate">backtrace()</code> and <code class="notranslate">dladdr()</code>, but I don't know how hard it is on other platforms.</p>
<p dir="auto">Whatever we do, we should also make these error methods accessible from the <code class="notranslate">Registry</code>, for use handling errors that occur during plugin initialization.</p> | <p dir="auto">The AST formatting functions have a lot of duplication. Abstract out patterns<br>
like fmt_sequence and fmt_bracketed.</p> | 0 |
<p dir="auto">Some machines don't have SSE4.1 CPU instructions, resulting in this error:<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="203910016" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/7138" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/7138/hovercard" href="https://github.com/tensorflow/tensorflow/issues/7138">#7138</a></p>
<p dir="auto">Instead of forcing users to manually compile their version of tensorflow you should offer a compiled binary (on pip) with SSE4.1 instructions disabled.</p> | <p dir="auto">As announced in release notes, TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load with any of the following errors:</p>
<ul dir="auto">
<li><code class="notranslate">ImportError: DLL load failed:</code></li>
<li>A crash with return code 132</li>
</ul>
<p dir="auto">Our recommendation is to build TF from sources on these systems.</p>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: ubuntu/windows/macos</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6 and up</li>
<li><strong>Python version</strong>: 2.7, 3.3, 3.4, 3.5, 3.6 and any newer</li>
<li><strong>Bazel version (if compiling from source)</strong>: n/a</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li>
<li><strong>CUDA/cuDNN version</strong>: any</li>
<li><strong>GPU model and memory</strong>: any</li>
<li><strong>Exact command to reproduce</strong>: python -c "import tensorflow as tf"</li>
</ul> | 1 |
<p dir="auto">From the point of view of the Flex implementation, there's children with fixed sizes, and children that are flexible and whose sizes need to be established.</p>
<p dir="auto">But from the point of view of Flex users, the definitions don't make sense. The "fixed" children are the ones that can have any size they want, and the "flexible" children are the ones that get given a fixed size.</p>
<p dir="auto">I've had multiple people say sentences along the lines of "oh, I have to use Flexible so that they get a fixed size" to me while I've been helping them.</p> | <p dir="auto">We've received feedback from new users that our Flex implementation is kinda-but-not-really the Flexbox they know and love from the web. This can cause a bit of friction as they learn how our Flex is and is not Flexbox.</p>
<p dir="auto">We can consider renaming Flex to help avoid users drawing parallels and miss-set expectations. One idea was the rename to Linear.</p>
<p dir="auto">Presumably this would be a breaking change and if we do this, we can email our users, etc.</p> | 1 |
<p dir="auto"><strong>Describe the bug</strong><br>
If both the relationship and query define <code class="notranslate">order_by</code>, subsequent executions of the same query lead to addition of duplicate order clauses to the query. This also manifests itself as a memory leak.</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sqlalchemy import Column, ForeignKey, Integer, create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import backref, relationship, sessionmaker
engine = create_engine('postgresql://test@localhost/db', echo=True)
Base = declarative_base()
Session = sessionmaker(engine)
class Parent(Base):
__tablename__ = 'parent'
id = Column(Integer, primary_key=True)
class Child(Base):
__tablename__ = 'child'
id = Column(Integer, primary_key=True)
parent_id = Column(Integer, ForeignKey(Parent.id))
parent = relationship(
Parent, backref=backref('children', lazy='dynamic', order_by=id)
)
Base.metadata.create_all(engine)
with Session() as session:
parent = Parent(id=1)
session.add(parent)
parent.children.order_by(Child.id.asc()).all() # ORDER BY child.id, child.id ASC
parent.children.order_by(Child.id.asc()).all() # ORDER BY child.id, child.id ASC, child.id ASC
parent.children.order_by(Child.id.asc()).all() # ORDER BY child.id, child.id ASC, child.id ASC, child.id ASC"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-v">Column</span>, <span class="pl-v">ForeignKey</span>, <span class="pl-v">Integer</span>, <span class="pl-s1">create_engine</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">declarative</span> <span class="pl-k">import</span> <span class="pl-s1">declarative_base</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-s1">backref</span>, <span class="pl-s1">relationship</span>, <span class="pl-s1">sessionmaker</span>
<span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-s">'postgresql://test@localhost/db'</span>, <span class="pl-s1">echo</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-en">declarative_base</span>()
<span class="pl-v">Session</span> <span class="pl-c1">=</span> <span class="pl-en">sessionmaker</span>(<span class="pl-s1">engine</span>)
<span class="pl-k">class</span> <span class="pl-v">Parent</span>(<span class="pl-v">Base</span>):
<span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">'parent'</span>
<span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-k">class</span> <span class="pl-v">Child</span>(<span class="pl-v">Base</span>):
<span class="pl-s1">__tablename__</span> <span class="pl-c1">=</span> <span class="pl-s">'child'</span>
<span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">parent_id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">Integer</span>, <span class="pl-v">ForeignKey</span>(<span class="pl-v">Parent</span>.<span class="pl-s1">id</span>))
<span class="pl-s1">parent</span> <span class="pl-c1">=</span> <span class="pl-en">relationship</span>(
<span class="pl-v">Parent</span>, <span class="pl-s1">backref</span><span class="pl-c1">=</span><span class="pl-en">backref</span>(<span class="pl-s">'children'</span>, <span class="pl-s1">lazy</span><span class="pl-c1">=</span><span class="pl-s">'dynamic'</span>, <span class="pl-s1">order_by</span><span class="pl-c1">=</span><span class="pl-s1">id</span>)
)
<span class="pl-v">Base</span>.<span class="pl-s1">metadata</span>.<span class="pl-en">create_all</span>(<span class="pl-s1">engine</span>)
<span class="pl-k">with</span> <span class="pl-v">Session</span>() <span class="pl-k">as</span> <span class="pl-s1">session</span>:
<span class="pl-s1">parent</span> <span class="pl-c1">=</span> <span class="pl-v">Parent</span>(<span class="pl-s1">id</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-s1">session</span>.<span class="pl-en">add</span>(<span class="pl-s1">parent</span>)
<span class="pl-s1">parent</span>.<span class="pl-s1">children</span>.<span class="pl-en">order_by</span>(<span class="pl-v">Child</span>.<span class="pl-s1">id</span>.<span class="pl-en">asc</span>()).<span class="pl-en">all</span>() <span class="pl-c"># ORDER BY child.id, child.id ASC</span>
<span class="pl-s1">parent</span>.<span class="pl-s1">children</span>.<span class="pl-en">order_by</span>(<span class="pl-v">Child</span>.<span class="pl-s1">id</span>.<span class="pl-en">asc</span>()).<span class="pl-en">all</span>() <span class="pl-c"># ORDER BY child.id, child.id ASC, child.id ASC</span>
<span class="pl-s1">parent</span>.<span class="pl-s1">children</span>.<span class="pl-en">order_by</span>(<span class="pl-v">Child</span>.<span class="pl-s1">id</span>.<span class="pl-en">asc</span>()).<span class="pl-en">all</span>() <span class="pl-c"># ORDER BY child.id, child.id ASC, child.id ASC, child.id ASC</span></pre></div>
<p dir="auto">I'd have expected the last 3 lines to generate identical queries, but each subsequent line adds an additional clause to the <code class="notranslate">ORDER BY</code>.</p>
<p dir="auto"><strong>Error</strong><br>
No error, but a memory leak.</p>
<p dir="auto"><strong>Versions.</strong></p>
<ul dir="auto">
<li>OS: MacOS 11.4</li>
<li>Python: 3.6.13</li>
<li>SQLAlchemy: 1.4.15</li>
<li>Database: PostgreSQL</li>
<li>DBAPI: psycopg2</li>
</ul> | <p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">(original reporter: rbu) We had quite a hard time figuring out the JOIN order as generated by a query(A).join(B) statement. All examples in the documentation have A as left and B as right side. Apparently though, when giving an explicit criterion as query(A).join(B.a), B will be the left side even when adding a select_from.</p>
<p dir="auto">Details:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# surprising
>>> print DBSession.query(User.id).outerjoin(Track.user)
SELECT user.id AS user_id
FROM track LEFT OUTER JOIN user ON user.id = track.user_id
# bug?
>>> print DBSession.query(User.id).select_from(User).outerjoin(Track.user)
SELECT user.iduser AS user_id
FROM track LEFT OUTER JOIN user ON user.id = track.user_id
# expected
>>> print DBSession.query(User.id).outerjoin(User.tracks)
SELECT user.iduser AS user_id
FROM user LEFT OUTER JOIN track ON user.id = track.user_id"><pre class="notranslate"><code class="notranslate"># surprising
>>> print DBSession.query(User.id).outerjoin(Track.user)
SELECT user.id AS user_id
FROM track LEFT OUTER JOIN user ON user.id = track.user_id
# bug?
>>> print DBSession.query(User.id).select_from(User).outerjoin(Track.user)
SELECT user.iduser AS user_id
FROM track LEFT OUTER JOIN user ON user.id = track.user_id
# expected
>>> print DBSession.query(User.id).outerjoin(User.tracks)
SELECT user.iduser AS user_id
FROM user LEFT OUTER JOIN track ON user.id = track.user_id
</code></pre></div>
<p dir="auto">This magic ordering based on the explicit criterion given should be covered in the documentation, but we did not find such note.</p> | 0 |
<p dir="auto">With this code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="require('babel/polyfill');
function* g() {
yield 1;
}"><pre class="notranslate"><code class="notranslate">require('babel/polyfill');
function* g() {
yield 1;
}
</code></pre></div>
<p dir="auto">Babel gives:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="'use strict';
var marked0$0 = [g].map(regeneratorRuntime.mark);
require('babel/polyfill');
function g() {
return regeneratorRuntime.wrap(function g$(context$1$0) {
while (1) switch (context$1$0.prev = context$1$0.next) {
case 0:
context$1$0.next = 2;
return 1;
case 2:
case 'end':
return context$1$0.stop();
}
}, marked0$0[0], this);
}"><pre class="notranslate"><code class="notranslate">'use strict';
var marked0$0 = [g].map(regeneratorRuntime.mark);
require('babel/polyfill');
function g() {
return regeneratorRuntime.wrap(function g$(context$1$0) {
while (1) switch (context$1$0.prev = context$1$0.next) {
case 0:
context$1$0.next = 2;
return 1;
case 2:
case 'end':
return context$1$0.stop();
}
}, marked0$0[0], this);
}
</code></pre></div>
<p dir="auto">where <code class="notranslate">var marked0$0 = [g].map(regeneratorRuntime.mark);</code> appears before <code class="notranslate">require('babel/polyfill');</code>. That makes an error: <code class="notranslate">regeneratorRuntime undefined</code>.</p> | <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="require("babel/polyfill");
function *hello () {};"><pre class="notranslate"><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"babel/polyfill"</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-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-kos">;</span></pre></div>
<p dir="auto">After babelification:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""use strict";
var hello = regeneratorRuntime.mark(function hello() {
return regeneratorRuntime.wrap(function hello$(context$1$0) {
while (1) switch (context$1$0.prev = context$1$0.next) {
case 0:
case "end":
return context$1$0.stop();
}
}, hello, this);
});
require("babel/polyfill");
;"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">hello</span> <span class="pl-c1">=</span> <span class="pl-s1">regeneratorRuntime</span><span class="pl-kos">.</span><span class="pl-en">mark</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-s1">hello</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">regeneratorRuntime</span><span class="pl-kos">.</span><span class="pl-en">wrap</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-en">hello$</span><span class="pl-kos">(</span><span class="pl-s1">context$1$0</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-k">switch</span> <span class="pl-kos">(</span><span class="pl-s1">context$1$0</span><span class="pl-kos">.</span><span class="pl-c1">prev</span> <span class="pl-c1">=</span> <span class="pl-s1">context$1$0</span><span class="pl-kos">.</span><span class="pl-c1">next</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">case</span> <span class="pl-c1">0</span>:
<span class="pl-k">case</span> <span class="pl-s">"end"</span>:
<span class="pl-k">return</span> <span class="pl-s1">context$1$0</span><span class="pl-kos">.</span><span class="pl-en">stop</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">hello</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-en">require</span><span class="pl-kos">(</span><span class="pl-s">"babel/polyfill"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">;</span></pre></div>
<p dir="auto">This would result in <code class="notranslate">ReferenceError: regeneratorRuntime is not defined</code> was found when discussion this issue with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zeusdeux/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zeusdeux">@zeusdeux</a></p> | 1 |
<p dir="auto">This is a tracking issue for the unstable <code class="notranslate">str_parse_error</code> and <code class="notranslate">utf8_error</code> features in the standard library. Some various small error types popped up once <code class="notranslate">FromStr</code> had an associated error type and haven't been considered too closely for stabilization.</p>
<p dir="auto">Some thoughts are:</p>
<ul dir="auto">
<li>Are the names of these types appropriate?</li>
<li>Are we covered in terms of future extensibility?</li>
<li>Are the relevant portions of the error exposed well?</li>
</ul> | <p dir="auto">I'm in the finishing touches of adding a <code class="notranslate">container::MutableSeq</code>, and I'm realizing it's a bit inconsistent that <code class="notranslate">vec</code> has methods like <code class="notranslate">push()</code> whereas <code class="notranslate">DList</code> has <code class="notranslate">push_back()</code>. I personally feel that we should rename the vec methods to make it explicit where exactly we are pushing/popping the values. I suggest that we make these following renames:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".push() => .push_back()
.pop() => .pop_back()
.unshift() => .push_front()
.shift() => .pop_front()"><pre class="notranslate"><code class="notranslate">.push() => .push_back()
.pop() => .pop_back()
.unshift() => .push_front()
.shift() => .pop_front()
</code></pre></div>
<p dir="auto">We could also use <code class="notranslate">append()</code> and <code class="notranslate">prepend()</code> for <code class="notranslate">push()</code> and <code class="notranslate">pop()</code>, but I don't like that as much. Or we could rename the DList methods, but I'm also not in favor of that. What does everyone else think?</p> | 0 |
<p dir="auto">When trying to compile the following code snippet from the project rust-efl:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="impl<'r, T> Iterator for EinaList<'r, T> {
fn next(&mut self) -> Option<&'r T> {
let v = list_data_get(self._eo);
*self = match list_next(self._eo) {
None => EinaList { _eo: ptr::null_mut() },
Some(l) => EinaList { _eo: l }
};
return v
}
}"><pre class="notranslate"><span class="pl-k">impl</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">r</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-smi">Iterator</span> <span class="pl-k">for</span> <span class="pl-smi">EinaList</span><span class="pl-kos"><</span><span class="pl-c1">'</span><span class="pl-ent">r</span><span class="pl-kos">,</span> <span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">Option</span><span class="pl-kos"><</span><span class="pl-c1">&</span><span class="pl-c1">'</span><span class="pl-ent">r</span> <span class="pl-smi">T</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> v = <span class="pl-en">list_data_get</span><span class="pl-kos">(</span><span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">_eo</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c1">*</span><span class="pl-smi">self</span> = <span class="pl-k">match</span> <span class="pl-en">list_next</span><span class="pl-kos">(</span><span class="pl-smi">self</span><span class="pl-kos">.</span><span class="pl-c1">_eo</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-v">None</span> => <span class="pl-smi">EinaList</span> <span class="pl-kos">{</span> <span class="pl-c1">_eo</span><span class="pl-kos">:</span> ptr<span class="pl-kos">::</span><span class="pl-en">null_mut</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">Some</span><span class="pl-kos">(</span>l<span class="pl-kos">)</span> => <span class="pl-smi">EinaList</span> <span class="pl-kos">{</span> <span class="pl-c1">_eo</span><span class="pl-kos">:</span> l <span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> v
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The compiler throws the following error (backtrace included):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="src/eio.rs:27:3: 27:18 warning: `deriving` is deprecated; use `derive`
src/eio.rs:27 #[deriving(Show)]
^~~~~~~~~~~~~~~
src/eet.rs:69:3: 69:33 warning: `deriving` is deprecated; use `derive`
src/eet.rs:69 #[deriving(Show, FromPrimitive)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/eina.rs:196:1: 207:2 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 2766 }:eina::EinaList<'r, T>.Iterator, substs=Substs[types=[[_];[];[]], regions=[['_#0r];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Sized))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=<eina::EinaList<'r, T> as TraitRef(eina::EinaList<'r, T>, core::iter::Iterator)>::Item,depth=0)`
src/eina.rs:196 impl<'r, T> Iterator for EinaList<'r, T> {
src/eina.rs:197
src/eina.rs:198 fn next(&mut self) -> Option<&'r T> {
src/eina.rs:199 let v = list_data_get(self._eo);
src/eina.rs:200 *self = match list_next(self._eo) {
src/eina.rs:201 None => EinaList { _eo: ptr::null_mut() },
...
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123
stack backtrace:
1: 0x40233e30 - sys::backtrace::write::hd07b456e2fb2edc64it
2: 0x40258680 - failure::on_fail::hc26c935da551c95azvz
3: 0x401c0c10 - rt::unwind::begin_unwind_inner::he25945c8d3f9a8c2eaz
4: 0x43c32c60 - rt::unwind::begin_unwind::h5827585231859819369
5: 0x43c32bd0 - diagnostic::SpanHandler::span_bug::h9f9dede6a55a96f0DFF
6: 0x4133ad30 - middle::traits::project::project_type::h2397f2bdf09c070052P
7: 0x41337e20 - middle::traits::project::opt_normalize_projection_type::h9840021934a72d668UP
8: 0x41326640 - middle::traits::project::normalize_projection_type::h784de1d4a68f87bfJTP
9: 0x413391c0 - middle::traits::project::AssociatedTypeNormalizer<'a, 'b, 'tcx>.TypeFolder<'tcx>::fold_ty::h93dc24df4c299e53kSP
10: 0x4078b870 - middle::ty_fold::Rc<T>.TypeFoldable<'tcx>::fold_with::h14798399643135356730
11: 0x4078c460 - middle::ty_fold::VecPerParamSpace<T>.TypeFoldable<'tcx>::fold_with::h9678217035264924423
12: 0x407a85c0 - check::FnCtxt<'a, 'tcx>::instantiate_bounds::h965cba437f15b636Oll
13: 0x407c1050 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::check_impl::closure.29994
14: 0x407bd180 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::with_fcx::h551410613b5bc2f0Gfi
15: 0x407c3d40 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h42e9f9bd2e45c68esoi
16: 0x407c58c0 - visit::walk_mod::h8273770565610179432
17: 0x407c3d40 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h42e9f9bd2e45c68esoi
18: 0x409cad20 - check_crate::unboxed_closure.40159
19: 0x409c5560 - check_crate::h1a6ec5dffa2bd3a7jsx
20: 0x40060dc0 - driver::phase_3_run_analysis_passes::hdf5c0700c25562beTva
21: 0x4004ee90 - driver::compile_input::hc6337ba6b18bc0dewba
22: 0x40121170 - thunk::F.Invoke<A, R>::invoke::h8973449830402138319
23: 0x4011ff80 - rt::unwind::try::try_fn::h4951350354602804749
24: 0x402c8ba0 - rust_try_inner
25: 0x402c8b70 - rust_try
26: 0x401202c0 - thunk::F.Invoke<A, R>::invoke::h9098173034894979218
27: 0x402455d0 - sys::thread::thread_start::h92aa6f5030fe4b1ca9v
28: 0x443d1ea0 - start_thread
29: 0x4063c472 - clone
30: 0x0 - <unknown>
make: *** [libefl.rlib] Error 101"><pre class="notranslate"><code class="notranslate">src/eio.rs:27:3: 27:18 warning: `deriving` is deprecated; use `derive`
src/eio.rs:27 #[deriving(Show)]
^~~~~~~~~~~~~~~
src/eet.rs:69:3: 69:33 warning: `deriving` is deprecated; use `derive`
src/eet.rs:69 #[deriving(Show, FromPrimitive)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/eina.rs:196:1: 207:2 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 2766 }:eina::EinaList<'r, T>.Iterator, substs=Substs[types=[[_];[];[]], regions=[['_#0r];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Sized))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=<eina::EinaList<'r, T> as TraitRef(eina::EinaList<'r, T>, core::iter::Iterator)>::Item,depth=0)`
src/eina.rs:196 impl<'r, T> Iterator for EinaList<'r, T> {
src/eina.rs:197
src/eina.rs:198 fn next(&mut self) -> Option<&'r T> {
src/eina.rs:199 let v = list_data_get(self._eo);
src/eina.rs:200 *self = match list_next(self._eo) {
src/eina.rs:201 None => EinaList { _eo: ptr::null_mut() },
...
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123
stack backtrace:
1: 0x40233e30 - sys::backtrace::write::hd07b456e2fb2edc64it
2: 0x40258680 - failure::on_fail::hc26c935da551c95azvz
3: 0x401c0c10 - rt::unwind::begin_unwind_inner::he25945c8d3f9a8c2eaz
4: 0x43c32c60 - rt::unwind::begin_unwind::h5827585231859819369
5: 0x43c32bd0 - diagnostic::SpanHandler::span_bug::h9f9dede6a55a96f0DFF
6: 0x4133ad30 - middle::traits::project::project_type::h2397f2bdf09c070052P
7: 0x41337e20 - middle::traits::project::opt_normalize_projection_type::h9840021934a72d668UP
8: 0x41326640 - middle::traits::project::normalize_projection_type::h784de1d4a68f87bfJTP
9: 0x413391c0 - middle::traits::project::AssociatedTypeNormalizer<'a, 'b, 'tcx>.TypeFolder<'tcx>::fold_ty::h93dc24df4c299e53kSP
10: 0x4078b870 - middle::ty_fold::Rc<T>.TypeFoldable<'tcx>::fold_with::h14798399643135356730
11: 0x4078c460 - middle::ty_fold::VecPerParamSpace<T>.TypeFoldable<'tcx>::fold_with::h9678217035264924423
12: 0x407a85c0 - check::FnCtxt<'a, 'tcx>::instantiate_bounds::h965cba437f15b636Oll
13: 0x407c1050 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::check_impl::closure.29994
14: 0x407bd180 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::with_fcx::h551410613b5bc2f0Gfi
15: 0x407c3d40 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h42e9f9bd2e45c68esoi
16: 0x407c58c0 - visit::walk_mod::h8273770565610179432
17: 0x407c3d40 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h42e9f9bd2e45c68esoi
18: 0x409cad20 - check_crate::unboxed_closure.40159
19: 0x409c5560 - check_crate::h1a6ec5dffa2bd3a7jsx
20: 0x40060dc0 - driver::phase_3_run_analysis_passes::hdf5c0700c25562beTva
21: 0x4004ee90 - driver::compile_input::hc6337ba6b18bc0dewba
22: 0x40121170 - thunk::F.Invoke<A, R>::invoke::h8973449830402138319
23: 0x4011ff80 - rt::unwind::try::try_fn::h4951350354602804749
24: 0x402c8ba0 - rust_try_inner
25: 0x402c8b70 - rust_try
26: 0x401202c0 - thunk::F.Invoke<A, R>::invoke::h9098173034894979218
27: 0x402455d0 - sys::thread::thread_start::h92aa6f5030fe4b1ca9v
28: 0x443d1ea0 - start_thread
29: 0x4063c472 - clone
30: 0x0 - <unknown>
make: *** [libefl.rlib] Error 101
</code></pre></div>
<p dir="auto">rustc version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 0.13.0-nightly (c6c786671 2015-01-04 00:50:59 +0000)
binary: rustc
commit-hash: c6c786671d692d7b13c2e5c68a53001327b4b125
commit-date: 2015-01-04 00:50:59 +0000
host: i686-unknown-linux-gnu
release: 0.13.0-nightly"><pre class="notranslate"><code class="notranslate">rustc 0.13.0-nightly (c6c786671 2015-01-04 00:50:59 +0000)
binary: rustc
commit-hash: c6c786671d692d7b13c2e5c68a53001327b4b125
commit-date: 2015-01-04 00:50:59 +0000
host: i686-unknown-linux-gnu
release: 0.13.0-nightly
</code></pre></div> | <p dir="auto">When trying to use this feature in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53342892" data-permission-text="Title is private" data-url="https://github.com/japaric-archived/complex.rs/issues/9" data-hovercard-type="pull_request" data-hovercard-url="/japaric-archived/complex.rs/pull/9/hovercard" href="https://github.com/japaric-archived/complex.rs/pull/9">japaric-archived/complex.rs#9</a>, the following happened:</p>
<div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" Compiling complex v0.0.0 (file:///home/phil/Dev/rust/_foreign_projects/complex.rs)
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:149:1: 156:2 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 1681 }:Complex<T>.Neg, substs=Substs[types=[[_];[];[]], regions=[[];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Sized))),depth=1), Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::ops::Neg))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=<Complex<T> as TraitRef(Complex<T>, core::ops::Neg)>::Output,depth=0)`
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:149 impl<T> Neg for Complex<T> where T: Neg {
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:150 fn neg(self) -> Complex<T> {
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:151 Complex {
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:152 re: -self.re,
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:153 im: -self.im,
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:154 }
...
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123
stack backtrace:
1: 0x7f6d403552d0 - sys::backtrace::write::h8532e701ef86014f4it
2: 0x7f6d4037ab00 - failure::on_fail::h7532e1f79d134d5dzvz
3: 0x7f6d402e01c0 - rt::unwind::begin_unwind_inner::h97b151606151d62deaz
4: 0x7f6d3b1b4c60 - rt::unwind::begin_unwind::h15809447133099964284
5: 0x7f6d3b1b4bf0 - diagnostic::SpanHandler::span_bug::he8142ababcc30c39DFF
6: 0x7f6d3e6b3e70 - middle::traits::project::project_type::h947eece142ef049d52P
7: 0x7f6d3e6b0fd0 - middle::traits::project::opt_normalize_projection_type::hb3defb9cc9365d1e8UP
8: 0x7f6d3e69eba0 - middle::traits::project::normalize_projection_type::hdc293893275ee559JTP
9: 0x7f6d3e6b2470 - middle::traits::project::AssociatedTypeNormalizer<'a, 'b, 'tcx>.TypeFolder<'tcx>::fold_ty::h801cbd2cdff2eff1kSP
10: 0x7f6d3f96f2e0 - middle::ty_fold::Rc<T>.TypeFoldable<'tcx>::fold_with::h6325524173844043840
11: 0x7f6d3f96fe90 - middle::ty_fold::VecPerParamSpace<T>.TypeFoldable<'tcx>::fold_with::h13884369302522804796
12: 0x7f6d3f98b280 - check::FnCtxt<'a, 'tcx>::instantiate_bounds::hed550a9659b70335Oll
13: 0x7f6d3f9a3fc0 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::check_impl::closure.29997
14: 0x7f6d3f9a0430 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::with_fcx::hb1283961ed8977b7Gfi
15: 0x7f6d3f9a6d70 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h001ababd87597e37soi
16: 0x7f6d3fb93fe0 - check_crate::unboxed_closure.40162
17: 0x7f6d3fb8ec30 - check_crate::h19fb6dea5733566ajsx
18: 0x7f6d408a6640 - driver::phase_3_run_analysis_passes::h46b1604d9f9f5633Tva
19: 0x7f6d40894ae0 - driver::compile_input::h68b8602933aad8d7wba
20: 0x7f6d4095feb0 - thunk::F.Invoke<A, R>::invoke::h18029802347644288836
21: 0x7f6d4095ec60 - rt::unwind::try::try_fn::h6518866316425934196
22: 0x7f6d403e1400 - rust_try_inner
23: 0x7f6d403e13f0 - rust_try
24: 0x7f6d4095efb0 - thunk::F.Invoke<A, R>::invoke::h15513809553472565307
25: 0x7f6d40366e40 - sys::thread::thread_start::h5ea7ba97235331d5a9v
26: 0x7f6d3a9d9250 - start_thread
27: 0x7f6d3ff97219 - clone
28: 0x0 - <unknown>
Could not compile `complex`.
To learn more, run the command again with --verbose."><pre class="notranslate"> Compiling complex v0.0.0 (file:///home/phil/Dev/rust/_foreign_projects/complex.rs)
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:149:1: 156:2 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 1681 }:Complex<T>.Neg, substs=Substs[types=[[_];[];[]], regions=[[];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::kinds::Sized))),depth=1), Obligation(predicate=Binder(TraitPredicate(TraitRef(T, core::ops::Neg))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=<Complex<T> as TraitRef(Complex<T>, core::ops::Neg)>::Output,depth=0)`
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:149 impl<T> Neg for Complex<T> where T: Neg {
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:150 fn neg(self) -> Complex<T> {
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:151 Complex {
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:152 re: -self.re,
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:153 im: -self.im,
/home/phil/Dev/rust/_foreign_projects/complex.rs/src/lib.rs:154 }
<span class="pl-c1">...</span>
<span class="pl-en">note</span>: <span class="pl-s">the compiler unexpectedly panicked. this is a bug.</span>
<span class="pl-en">note</span>: <span class="pl-s">we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html</span>
<span class="pl-en">note</span>: <span class="pl-s">run with `RUST_BACKTRACE=1` for a backtrace</span>
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123
stack backtrace:
1: 0x7f6d403552d0 - sys::backtrace::write::h8532e701ef86014f4it
2: 0x7f6d4037ab00 - failure::on_fail::h7532e1f79d134d5dzvz
3: 0x7f6d402e01c0 - rt::unwind::begin_unwind_inner::h97b151606151d62deaz
4: 0x7f6d3b1b4c60 - rt::unwind::begin_unwind::h15809447133099964284
5: 0x7f6d3b1b4bf0 - diagnostic::SpanHandler::span_bug::he8142ababcc30c39DFF
6: 0x7f6d3e6b3e70 - middle::traits::project::project_type::h947eece142ef049d52P
7: 0x7f6d3e6b0fd0 - middle::traits::project::opt_normalize_projection_type::hb3defb9cc9365d1e8UP
8: 0x7f6d3e69eba0 - middle::traits::project::normalize_projection_type::hdc293893275ee559JTP
9: 0x7f6d3e6b2470 - middle::traits::project::AssociatedTypeNormalizer<'a, 'b, 'tcx>.TypeFolder<'tcx>::fold_ty::h801cbd2cdff2eff1kSP
10: 0x7f6d3f96f2e0 - middle::ty_fold::Rc<T>.TypeFoldable<'tcx>::fold_with::h6325524173844043840
11: 0x7f6d3f96fe90 - middle::ty_fold::VecPerParamSpace<T>.TypeFoldable<'tcx>::fold_with::h13884369302522804796
12: 0x7f6d3f98b280 - check::FnCtxt<'a, 'tcx>::instantiate_bounds::hed550a9659b70335Oll
13: 0x7f6d3f9a3fc0 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::check_impl::closure.29997
14: 0x7f6d3f9a0430 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::with_fcx::hb1283961ed8977b7Gfi
15: 0x7f6d3f9a6d70 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h001ababd87597e37soi
16: 0x7f6d3fb93fe0 - check_crate::unboxed_closure.40162
17: 0x7f6d3fb8ec30 - check_crate::h19fb6dea5733566ajsx
18: 0x7f6d408a6640 - driver::phase_3_run_analysis_passes::h46b1604d9f9f5633Tva
19: 0x7f6d40894ae0 - driver::compile_input::h68b8602933aad8d7wba
20: 0x7f6d4095feb0 - thunk::F.Invoke<A, R>::invoke::h18029802347644288836
21: 0x7f6d4095ec60 - rt::unwind::try::try_fn::h6518866316425934196
22: 0x7f6d403e1400 - rust_try_inner
23: 0x7f6d403e13f0 - rust_try
24: 0x7f6d4095efb0 - thunk::F.Invoke<A, R>::invoke::h15513809553472565307
25: 0x7f6d40366e40 - sys::thread::thread_start::h5ea7ba97235331d5a9v
26: 0x7f6d3a9d9250 - start_thread
27: 0x7f6d3ff97219 - clone
28: 0x0 - <unknown>
Could not compile `complex`.
To learn more, run the command again with --verbose.</pre></div> | 1 |
<p dir="auto">Using this regular expressions to test json breaks syntax highlighting for the last regex on the line and if it's part of an if statement it breaks syntax highlighting for the rest of the file.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/^[\],:{}\s]*$/.test( text.replace( /\\["\\\/bfnrtu]/g, '@' ).replace( /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']' ).replace( /(?:^|:|,)(?:\s*\[)+/g , ''))"><pre class="notranslate"><span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">^</span><span class="pl-kos">[</span><span class="pl-cce">\]</span>,:{}<span class="pl-cce">\s</span><span class="pl-kos">]</span><span class="pl-c1">*</span><span class="pl-cce">$</span><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">text</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\\</span><span class="pl-kos">[</span>"<span class="pl-cce">\\</span><span class="pl-cce">\/</span>bfnrtu<span class="pl-kos">]</span><span class="pl-c1">/</span>g</span><span class="pl-kos">,</span> <span class="pl-s">'@'</span> <span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span>"<span class="pl-kos">[</span>^"<span class="pl-cce">\\</span><span class="pl-cce">\n</span><span class="pl-cce">\r</span><span class="pl-kos">]</span><span class="pl-c1">*</span>"<span class="pl-c1">|</span>true<span class="pl-c1">|</span>false<span class="pl-c1">|</span>null<span class="pl-c1">|</span>-?<span class="pl-cce">\d</span><span class="pl-c1">+</span><span class="pl-kos">(?:</span><span class="pl-cce">\.</span><span class="pl-cce">\d</span><span class="pl-c1">*</span><span class="pl-kos">)</span>?<span class="pl-kos">(?:</span><span class="pl-kos">[</span>eE<span class="pl-kos">]</span><span class="pl-kos">[</span>+<span class="pl-cce">\-</span><span class="pl-kos">]</span>?<span class="pl-cce">\d</span><span class="pl-c1">+</span><span class="pl-kos">)</span>?<span class="pl-c1">/</span>g</span><span class="pl-kos">,</span> <span class="pl-s">']'</span> <span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">(?:</span><span class="pl-cce">^</span><span class="pl-c1">|</span>:<span class="pl-c1">|</span>,<span class="pl-kos">)</span><span class="pl-kos">(?:</span><span class="pl-cce">\s</span><span class="pl-c1">*</span><span class="pl-cce">\[</span><span class="pl-kos">)</span><span class="pl-c1">+</span><span class="pl-c1">/</span>g</span> <span class="pl-kos">,</span> <span class="pl-s">''</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="if ( /^[\],:{}\s]*$/.test( text.replace( /\\["\\\/bfnrtu]/g, '@' ).replace( /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']' ).replace( /(?:^|:|,)(?:\s*\[)+/g , ''))){
// do sth
}else{
// do someotherthing
}"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">^</span><span class="pl-kos">[</span><span class="pl-cce">\]</span>,:{}<span class="pl-cce">\s</span><span class="pl-kos">]</span><span class="pl-c1">*</span><span class="pl-cce">$</span><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">text</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\\</span><span class="pl-kos">[</span>"<span class="pl-cce">\\</span><span class="pl-cce">\/</span>bfnrtu<span class="pl-kos">]</span><span class="pl-c1">/</span>g</span><span class="pl-kos">,</span> <span class="pl-s">'@'</span> <span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span>"<span class="pl-kos">[</span>^"<span class="pl-cce">\\</span><span class="pl-cce">\n</span><span class="pl-cce">\r</span><span class="pl-kos">]</span><span class="pl-c1">*</span>"<span class="pl-c1">|</span>true<span class="pl-c1">|</span>false<span class="pl-c1">|</span>null<span class="pl-c1">|</span>-?<span class="pl-cce">\d</span><span class="pl-c1">+</span><span class="pl-kos">(?:</span><span class="pl-cce">\.</span><span class="pl-cce">\d</span><span class="pl-c1">*</span><span class="pl-kos">)</span>?<span class="pl-kos">(?:</span><span class="pl-kos">[</span>eE<span class="pl-kos">]</span><span class="pl-kos">[</span>+<span class="pl-cce">\-</span><span class="pl-kos">]</span>?<span class="pl-cce">\d</span><span class="pl-c1">+</span><span class="pl-kos">)</span>?<span class="pl-c1">/</span>g</span><span class="pl-kos">,</span> <span class="pl-s">']'</span> <span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">(?:</span><span class="pl-cce">^</span><span class="pl-c1">|</span>:<span class="pl-c1">|</span>,<span class="pl-kos">)</span><span class="pl-kos">(?:</span><span class="pl-cce">\s</span><span class="pl-c1">*</span><span class="pl-cce">\[</span><span class="pl-kos">)</span><span class="pl-c1">+</span><span class="pl-c1">/</span>g</span> <span class="pl-kos">,</span> <span class="pl-s">''</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-c">// do sth</span>
<span class="pl-kos">}</span><span class="pl-k">else</span><span class="pl-kos">{</span>
<span class="pl-c">// do someotherthing</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">This seems to be some edge case since trying to simplify the regexes to narrow down the problem failed because the problem just disappeared when removing any substantial part from any regex.</p>
<p dir="auto">By the way, I also tested it in safe mode with the standard dark syntax highlighting, it happens there as well.</p>
<p dir="auto">Atom 0.112.0<br>
Arch Linux</p> | <p dir="auto">I opened a Python file with the following line (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20976125" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/963" data-hovercard-type="pull_request" data-hovercard-url="/atom/atom/pull/963/hovercard" href="https://github.com/atom/atom/pull/963">#963</a>):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" PrintAndLog(u"SSID: " + RememberedNetwork["SSIDString"].decode("utf-8") + u" - BSSID: " + RememberedNetwork["CachedScanRecord"]["BSSID"] + u" - RSSI: " + str(RememberedNetwork["CachedScanRecord"]["RSSI"]) + u" - Last connected: " + str(RememberedNetwork["LastConnected"]) + u" - Security type: " + RememberedNetwork["SecurityType"] + u" - Geolocation: " + Geolocation, "INFO")"><pre class="notranslate"> <span class="pl-v">PrintAndLog</span>(<span class="pl-s">u"SSID: "</span> <span class="pl-c1">+</span> <span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"SSIDString"</span>].<span class="pl-en">decode</span>(<span class="pl-s">"utf-8"</span>) <span class="pl-c1">+</span> <span class="pl-s">u" - BSSID: "</span> <span class="pl-c1">+</span> <span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"CachedScanRecord"</span>][<span class="pl-s">"BSSID"</span>] <span class="pl-c1">+</span> <span class="pl-s">u" - RSSI: "</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"CachedScanRecord"</span>][<span class="pl-s">"RSSI"</span>]) <span class="pl-c1">+</span> <span class="pl-s">u" - Last connected: "</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"LastConnected"</span>]) <span class="pl-c1">+</span> <span class="pl-s">u" - Security type: "</span> <span class="pl-c1">+</span> <span class="pl-v">RememberedNetwork</span>[<span class="pl-s">"SecurityType"</span>] <span class="pl-c1">+</span> <span class="pl-s">u" - Geolocation: "</span> <span class="pl-c1">+</span> <span class="pl-v">Geolocation</span>, <span class="pl-s">"INFO"</span>)</pre></div>
<p dir="auto">Which led to the following bug:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/e06069206d526a16adf21e84cd179f1185d3fb5e0f05fea4d4b4a08a978092f4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f34343737342f323331333737382f37366262346262612d613330642d313165332d396136342d3831663666393163323563342e706e67"><img src="https://camo.githubusercontent.com/e06069206d526a16adf21e84cd179f1185d3fb5e0f05fea4d4b4a08a978092f4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f34343737342f323331333737382f37366262346262612d613330642d313165332d396136342d3831663666393163323563342e706e67" alt="screen shot 2014-03-03 at 2 52 40 pm" data-canonical-src="https://f.cloud.github.com/assets/44774/2313778/76bb4bba-a30d-11e3-9a64-81f6f91c25c4.png" style="max-width: 100%;"></a></p>
<p dir="auto">You can find this as the main file in <a href="https://github.com/jipegit/OSXAuditor/blob/master/osxauditor.py"><code class="notranslate">osxauditor.py</code></a>.</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kmudrick" rel="nofollow">Kevin Mudrick</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9670?redirect=false" rel="nofollow">SPR-9670</a></strong> and commented</p>
<p dir="auto">We are seeing a pretty substantial performance hit with the creation of large quantities of prototype-scoped beans in the 3.1.x branch versus 3.0.x (and 2.5.6)</p>
<p dir="auto">In our example, we have call context.getBean() with a bean consisting of 2 levels of nested bean referenced, in a pretty large loop.</p>
<p dir="auto">3.0.7: 40604ms<br>
3.1.2: 685150ms</p>
<p dir="auto">The only difference between these runs is the version of the spring dependencies.</p>
<p dir="auto">After profiling using YourKit, I found the hotspots in 3.1.x to be in the following places:</p>
<p dir="auto">org.springframework.beans.TypeConverterDelegate: This seems to be the bigger problem.<br>
The changes introduced in 3.1 (specifically, in commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/6f146737f475828b6d765784017773378c2c4922/hovercard" href="https://github.com/spring-projects/spring-framework/commit/6f146737f475828b6d765784017773378c2c4922"><tt>6f14673</tt></a>) to findDefaultEditor() end up (expensively) initializing an editor registry every time this is called. Since we get here each time we apply a property on every bean creation, this really adds up. Previously, the commented-out code ended up shortcutting this. I found that replacing the commented out code (the part that relied on the now-removed PropertyTypeDescriptor/PropertyDescriptor with static use of PropertyEditorManager.findEditor(), cuts down on the slowness considerably, at the expense of relying on java.beans - which a few commit comments seem to indicate is something to be avoided for better platform compatibility.</p>
<p dir="auto">org.springframework.core.convert.Property: This also seems to be a problem.<br>
The overhead of the annotation parsing via reflection is already noted in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398118763" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13981" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13981/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13981">#13981</a> - but that issue doesn't seem to mention this example. My profiling is showing that this is being constructed for every property found on every bean being created. With lots of prototype beans - this comes to light pretty quickly. Perhaps if ReflectionUtils used a similar caching strategy to apache commons-beanutils PropertyUtilsBean for annotations, this performance hit could be mitigated.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.2</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398118763" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13981" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13981/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13981">#13981</a> org.springframework.core.convert.Property class performs expensive operations in its constructor (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398106550" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12081" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12081/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12081">#12081</a> Concurrent prototype creation causes NullPointerException</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113052" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13109" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13109/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13109">#13109</a> TypeConverterDelegate contains commented out code</li>
</ul>
<p dir="auto">0 votes, 6 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=gredler2" rel="nofollow">Daniel Gredler</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9601?redirect=false" rel="nofollow">SPR-9601</a></strong> and commented</p>
<p dir="auto">As a result of the changes [1] made to RequestMappingHandlerMapping.isHandler(Class) to make it detect both Controller and RequestMapping annotations (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398118925" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14010" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14010/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14010">#14010</a>), one of our HttpRequestHandler implementations that was working in 3.1.1 no longer works in 3.1.2:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@RequestMapping("/console")
@Transactional
public class ConsoleHandler implements HttpRequestHandler, ApplicationContextAware {
...
@RequestMapping(method = RequestMethod.GET)
public void handleRequest(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
...
}
...
}"><pre class="notranslate"><code class="notranslate">@RequestMapping("/console")
@Transactional
public class ConsoleHandler implements HttpRequestHandler, ApplicationContextAware {
...
@RequestMapping(method = RequestMethod.GET)
public void handleRequest(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
...
}
...
}
</code></pre></div>
<p dir="auto">In 3.1.1, this handler was mapped by the DefaultAnnotationHandlerMapping, which was able to forward HTTP requests to this handler. However, because of the above change, in 3.1.2 this handler is mapped by the RequestMappingHandlerMapping, which throws the following exception when it tries to actually handle an HTTP request:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.IllegalArgumentException: object is not an instance of declaring class
HandlerMethod details:
Controller [$Proxy109]
Method [public void com.dpgm.connect.framework.server.remoting.ConsoleHandler.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws javax.servlet.ServletException,java.io.IOException]
Resolved arguments:
[0] [type=org.eclipse.jetty.server.Request] [value=(GET /misc/console)@10144214 org.eclipse.jetty.server.Request@9ac9d6]
[1] [type=org.eclipse.jetty.server.Response] [value=HTTP/1.1 200
]
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:217)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:558)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:488)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:973)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:417)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:907)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:442)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
... 34 more"><pre class="notranslate"><code class="notranslate">java.lang.IllegalArgumentException: object is not an instance of declaring class
HandlerMethod details:
Controller [$Proxy109]
Method [public void com.dpgm.connect.framework.server.remoting.ConsoleHandler.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws javax.servlet.ServletException,java.io.IOException]
Resolved arguments:
[0] [type=org.eclipse.jetty.server.Request] [value=(GET /misc/console)@10144214 org.eclipse.jetty.server.Request@9ac9d6]
[1] [type=org.eclipse.jetty.server.Response] [value=HTTP/1.1 200
]
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:217)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:558)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:488)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:973)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:417)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:907)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:442)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
... 34 more
</code></pre></div>
<p dir="auto">I'm attaching the debug logs of the server startup + one HTTP request, one log file using Spring 3.1.1 and one log file using Spring 3.1.2. I've massaged the logs a little bit (removed most timestamps, normalized the hashcodes in the toStrings) so that it's easier to see the differences if you diff the files.</p>
<p dir="auto">[1] <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/2fa0e63e5ab84ac964c55a28000104d3855c886c/hovercard" href="https://github.com/spring-projects/spring-framework/commit/2fa0e63e5ab84ac964c55a28000104d3855c886c"><tt>2fa0e63</tt></a></p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.2</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/20110/console-out-3.1.1.txt" rel="nofollow">console-out-3.1.1.txt</a> (<em>675.28 kB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/20109/console-out-3.1.2.txt" rel="nofollow">console-out-3.1.2.txt</a> (<em>687.57 kB</em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/7c6a1a1bf0db6b428344ec6797a9152c5f4f6d30/hovercard" href="https://github.com/spring-projects/spring-framework/commit/7c6a1a1bf0db6b428344ec6797a9152c5f4f6d30"><tt>7c6a1a1</tt></a></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</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3.10</td>
</tr>
</tbody>
</table>
<p dir="auto">After upgrading from 3.2 to 3.3. Files collection is now just empty in controller when updating entity without selecting new files. So it just removes the file entities. It used to work before 3.3 now it fails.<br>
Maybe I missed something and it's planned changes in form file type behavior?</p>
<p dir="auto">Here is a demo which shows the issue <a href="https://github.com/skornev/vichbundle-sandbox-not-cp-symfony3.3">https://github.com/skornev/vichbundle-sandbox-not-cp-symfony3.3</a></p>
<p dir="auto">This issue was raised here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="266887250" data-permission-text="Title is private" data-url="https://github.com/dustin10/VichUploaderBundle/issues/776" data-hovercard-type="issue" data-hovercard-url="/dustin10/VichUploaderBundle/issues/776/hovercard" href="https://github.com/dustin10/VichUploaderBundle/issues/776">dustin10/VichUploaderBundle#776</a>.</p> | <table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>possibly</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.3.10</td>
</tr>
</tbody>
</table>
<p dir="auto">Hello,<br>
The change introduced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="257636495" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/24198" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/24198/hovercard" href="https://github.com/symfony/symfony/pull/24198">#24198</a> broke our file upload bundle. Our flow looks like this:</p>
<ol dir="auto">
<li>We use a form to create an entity with a file, using a form field which is not actually persisted. From it, we create a copy of the upload locally and only the file path is persisted to the database.</li>
<li>On post load event, we recreate the file object from the file path in the database and then put it in the non-persisted entity field.</li>
<li>When editing the entity through a form, we do not initially pass the file to the field, but instead do it if none was sent. This prevents the current value being treated as a new one and overwriting itself in the process (current file being deleted and being replaced with the same file, with a suffixed name).</li>
</ol>
<p dir="auto">The problem we face now is that the form fields are being completely removed from the request and we have no hook for our functionality. Is there a possibility to revert this change? From what I can tell, it does not actually fix anything, but provides an easier way to deal with empty uploads.</p> | 1 |
<ul dir="auto">
<li>Electron version: v1.3.2</li>
<li>Operating system: win10</li>
</ul>
<p dir="auto">hello dear:<br>
I use the "depends.exe" tool to view the electron, I did not find the dependent msvcp140.dll. I update electron to the latest. Also found no msvcp140.dll,But my electron application can run normally, I don't know what's the reason.<br>
I opened this link and found electron dependent msvcp140.dll。<br>
<a href="https://github.com/electron/electron/pull/5538/files">https://github.com/electron/electron/pull/5538/files</a><br>
I want to make it clear.</p>
<p dir="auto">thanks very much</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21256636/18775820/2c814516-8197-11e6-8e3d-3c19d38da2ce.png"><img src="https://cloud.githubusercontent.com/assets/21256636/18775820/2c814516-8197-11e6-8e3d-3c19d38da2ce.png" alt="v1 3 2" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21256636/18775821/2c85aa98-8197-11e6-90f6-25635b7e56cc.png"><img src="https://cloud.githubusercontent.com/assets/21256636/18775821/2c85aa98-8197-11e6-90f6-25635b7e56cc.png" alt="v1 3 2-01" style="max-width: 100%;"></a></p> | <ul dir="auto">
<li>Electron version: v1.3.2</li>
<li>Operating system: win10</li>
</ul>
<p dir="auto">hello dear:<br>
I use the "depends.exe" tool to view the v1.0.2 version of the electron, electron will rely on MSVCR120.dll, MSVCP120.dll. In the electron1.3.2 version does not rely on MSVCR120.dll, MSVCP120.dll. I don't know why, I guess it's a static link. I want to make it clear。<br>
thanks very much</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21256636/18772269/1c5833da-8178-11e6-8715-8d3aff0ae5b8.png"><img src="https://cloud.githubusercontent.com/assets/21256636/18772269/1c5833da-8178-11e6-8715-8d3aff0ae5b8.png" alt="v1 0 2-01" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21256636/18772270/1c597bbe-8178-11e6-9791-9edfb649ea2c.png"><img src="https://cloud.githubusercontent.com/assets/21256636/18772270/1c597bbe-8178-11e6-9791-9edfb649ea2c.png" alt="v1 0 2-02" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21256636/18772271/1c5dc2e6-8178-11e6-8393-1843da977997.png"><img src="https://cloud.githubusercontent.com/assets/21256636/18772271/1c5dc2e6-8178-11e6-8393-1843da977997.png" alt="v1 3 2" style="max-width: 100%;"></a></p> | 1 |
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><a href="https://codesandbox.io/s/7jox7jylj6" rel="nofollow">https://codesandbox.io/s/7jox7jylj6</a></p>
<ul dir="auto">
<li>select a value</li>
<li>click it again, to unselect it</li>
<li>then the option doesn't lose the selected background until the select menu is closed and reopened</li>
</ul>
<p dir="auto">So we can't know if we have unselect it</p>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">It should toggle selection on a item after each click</p>
<p dir="auto">This happens with <code class="notranslate">multiple</code> option at least</p>
<p dir="auto"><strong>edit</strong>: actually the font-weight is slightly changing (400 / 500), but I believe this background should be cleared is the pointer leaves hover, I guess there's an <code class="notranslate">:active</code> rule that still make it with this background</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Unselected items stay visually selected</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.24</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>chrome, firefox</td>
</tr>
</tbody>
</table> | <h3 dir="auto">Problem description</h3>
<p dir="auto">After initial open of menu, first item remains highlighted even after hovering off.</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto"><code class="notranslate">next</code> branch, menus demo <a href="http://localhost:3000/#/component-demos/menus" rel="nofollow">http://localhost:3000/#/component-demos/menus</a></p>
<ol dir="auto">
<li>click to open</li>
<li>hover to a lower item</li>
</ol>
<h3 dir="auto">Versions</h3>
<p dir="auto"><code class="notranslate">next</code> branch <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mui/material-ui/commit/a38068f90c28ee240f0622d40a87f6d888dd74e2/hovercard" href="https://github.com/mui/material-ui/commit/a38068f90c28ee240f0622d40a87f6d888dd74e2"><tt>a38068f</tt></a></p>
<ul dir="auto">
<li>Browser: Mac Chrome 52.0.2743.116</li>
<li>Browser: Mac Firefox 48.0.2</li>
<li>Browser: Mac Safari 9.1.2</li>
</ul>
<h3 dir="auto">Images</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/136564/18555732/8166e41a-7b2e-11e6-8354-9b6cb6b9a55f.png"><img src="https://cloud.githubusercontent.com/assets/136564/18555732/8166e41a-7b2e-11e6-8354-9b6cb6b9a55f.png" alt="fullscreen_9_15_16__10_21_am" style="max-width: 100%;"></a></p> | 1 |
<h3 dir="auto">Input Code</h3>
<p dir="auto"><a href="https://github.com/sotream/babylon_test">Demo repo</a></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Core
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { actions } from '../../actions/navigation';
const mapStateToProps = ({ navigation }) => ({ // eslint-disable-line arrow-body-style
menuStatus: navigation.get('menuStatus')
});
const mapDispatchToProps = (dispatch) => ({ // eslint-disable-line arrow-body-style
actions: bindActionCreators({ ...actions }, dispatch)
});
@connect(mapStateToProps, mapDispatchToProps)
export default class Home extends Component {
render () {
return (
<section>
<h1>Home container!</h1>
</section>
);
}
}"><pre class="notranslate"><span class="pl-c">// Core</span>
<span class="pl-k">import</span> <span class="pl-v">React</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-v">Component</span><span class="pl-kos">,</span> <span class="pl-v">PropTypes</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">connect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-redux'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">bindActionCreators</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'redux'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">actions</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../../actions/navigation'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-en">mapStateToProps</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> navigation <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c">// eslint-disable-line arrow-body-style</span>
<span class="pl-c1">menuStatus</span>: <span class="pl-s1">navigation</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'menuStatus'</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-en">mapDispatchToProps</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">dispatch</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c">// eslint-disable-line arrow-body-style</span>
<span class="pl-c1">actions</span>: <span class="pl-en">bindActionCreators</span><span class="pl-kos">(</span><span class="pl-kos">{</span> ...<span class="pl-s1">actions</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">dispatch</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
@<span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-en">mapStateToProps</span><span class="pl-kos">,</span> <span class="pl-en">mapDispatchToProps</span><span class="pl-kos">)</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Home</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-en">render</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">section</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">h1</span><span class="pl-c1">></span>Home container!<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h1</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">section</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></pre></div>
<h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3>
<p dir="auto">All config files are in demo repository.</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Decorator should be top of default export</p>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">Decorator placed after after default export</p>
<h3 dir="auto">Possible Solution</h3>
<p dir="auto">?</p>
<h3 dir="auto">Context</h3>
<p dir="auto">I'm trying to parse js file with babylon. Make some modifications with babel-traverse (for example add a new import declaration) and generate js file back.</p>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babel</td>
<td>6.23.1</td>
</tr>
<tr>
<td>node</td>
<td>7.5.0</td>
</tr>
<tr>
<td>npm</td>
<td>4.1.2</td>
</tr>
<tr>
<td>Operating System</td>
<td>Ubuntu 16.04</td>
</tr>
</tbody>
</table> | <h3 dir="auto">Input Code</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Decorator()
export class MyClass {}"><pre class="notranslate">@<span class="pl-v">Decorator</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-v">MyClass</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Babel Configuration (.bablerc, package.json, cli command)</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"plugins": [
"syntax-decorators"
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"plugins"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"syntax-decorators"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Expected Behavior</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Decorator()
export class MyClass {}"><pre class="notranslate">@<span class="pl-v">Decorator</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-v">MyClass</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Current Behavior</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export @Decorator()
class MyClass {}"><pre class="notranslate"><span class="pl-k">export</span> @<span class="pl-v">Decorator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-k">class</span> <span class="pl-v">MyClass</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<h3 dir="auto">Possible Solution</h3>
<p dir="auto">What I'm currently doing to circumvent this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export let MyClass = @Decorator()
class MyClass {}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">let</span> <span class="pl-v">MyClass</span> <span class="pl-c1">=</span> @<span class="pl-v">Decorator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-k">class</span> <span class="pl-v">MyClass</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">¯\_(ツ)_/¯</p>
<h3 dir="auto">Context</h3>
<p dir="auto">I've got a project where I'm trying to parse ES6 code with Flow types, and just take the types out. This minimal case reproduces the same issue, though.</p>
<h3 dir="auto">Your Environment</h3>
<table role="table">
<thead>
<tr>
<th>software</th>
<th>version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Babel</td>
<td>[email protected]</td>
</tr>
<tr>
<td>node</td>
<td>6.5.0</td>
</tr>
<tr>
<td>npm</td>
<td>3.10.3</td>
</tr>
<tr>
<td>Operating System</td>
<td>Win 10 x64</td>
</tr>
</tbody>
</table> | 1 |
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> bug report => search github for a similar issue or PR before submitting</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> feature request</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> support request => Please do not submit support request here, instead see <a href="https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question">https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question</a></li>
</ul>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Almost all methods of <code class="notranslate">AbstractControl</code> aren't being shown on <a href="https://angular.io/docs/ts/latest/api/forms/index/AbstractControl-class.html" rel="nofollow">https://angular.io/docs/ts/latest/api/forms/index/AbstractControl-class.html</a></p>
<p dir="auto">Full list:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
setValidators(newValidator: ValidatorFn|ValidatorFn[]): void
setAsyncValidators(newValidator: AsyncValidatorFn|AsyncValidatorFn[]): void
clearValidators(): void
clearAsyncValidators(): void
markAsTouched({onlySelf}: {onlySelf?: boolean} = {}): void
markAsUntouched({onlySelf}: {onlySelf?: boolean} = {}): void
markAsDirty({onlySelf}: {onlySelf?: boolean} = {}): void
markAsPristine({onlySelf}: {onlySelf?: boolean} = {}): void
markAsPending({onlySelf}: {onlySelf?: boolean} = {}): void
disable({onlySelf, emitEvent}: {onlySelf?: boolean, emitEvent?: boolean} = {}): void
enable({onlySelf, emitEvent}: {onlySelf?: boolean, emitEvent?: boolean} = {}): void
setParent(parent: FormGroup|FormArray): void
updateValueAndValidity({onlySelf, emitEvent}: {onlySelf?: boolean, emitEvent?: boolean} = {}):
void
setErrors(errors: ValidationErrors|null, {emitEvent}: {emitEvent?: boolean} = {}): void
get(path: Array<string|number>|string): AbstractControl
getError(errorCode: string, path: string[] = null): any
hasError(errorCode: string, path: string[] = null): boolean
get root(): AbstractControl"><pre class="notranslate"><code class="notranslate">
setValidators(newValidator: ValidatorFn|ValidatorFn[]): void
setAsyncValidators(newValidator: AsyncValidatorFn|AsyncValidatorFn[]): void
clearValidators(): void
clearAsyncValidators(): void
markAsTouched({onlySelf}: {onlySelf?: boolean} = {}): void
markAsUntouched({onlySelf}: {onlySelf?: boolean} = {}): void
markAsDirty({onlySelf}: {onlySelf?: boolean} = {}): void
markAsPristine({onlySelf}: {onlySelf?: boolean} = {}): void
markAsPending({onlySelf}: {onlySelf?: boolean} = {}): void
disable({onlySelf, emitEvent}: {onlySelf?: boolean, emitEvent?: boolean} = {}): void
enable({onlySelf, emitEvent}: {onlySelf?: boolean, emitEvent?: boolean} = {}): void
setParent(parent: FormGroup|FormArray): void
updateValueAndValidity({onlySelf, emitEvent}: {onlySelf?: boolean, emitEvent?: boolean} = {}):
void
setErrors(errors: ValidationErrors|null, {emitEvent}: {emitEvent?: boolean} = {}): void
get(path: Array<string|number>|string): AbstractControl
getError(errorCode: string, path: string[] = null): any
hasError(errorCode: string, path: string[] = null): boolean
get root(): AbstractControl
</code></pre></div>
<p dir="auto"><strong>Expected behavior</strong></p>
<h2 dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></h2>
<h2 dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></h2>
<h2 dir="auto"><strong>Please tell us about your environment:</strong></h2>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 4.0.X</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>
All</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
All</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</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 => 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></p>
<p dir="auto">The Angular 2 Component Testing in RC 6 works accurately using Jasmine and Karma. It produces desired results by executing all tests in the 'spec.ts' file (for Component and Service). But when the application is migrated to Angular 2 final release. The Browser testing fails when the test.html is viewed in the browser (IE/Chrome/Firefox) with the following error</p>
<p dir="auto">TypeError: Cannot read property 'spies' of undefined<br>
at currentSpies (<a href="http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:803:53" rel="nofollow">http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:803:53</a>)<br>
at SpyRegistry.clearSpies (<a href="http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2123:19" rel="nofollow">http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2123:19</a>)<br>
at clearResourcesForRunnable (<a href="http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:615:21" rel="nofollow">http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:615:21</a>)<br>
at <a href="http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:777:9" rel="nofollow">http://localhost:8000/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:777:9</a><br>
at ZoneDelegate.invokeTask (<a href="http://localhost:8000/node_modules/zone.js/dist/zone.js:236:37" rel="nofollow">http://localhost:8000/node_modules/zone.js/dist/zone.js:236:37</a>)<br>
at Zone.runTask (<a href="http://localhost:8000/node_modules/zone.js/dist/zone.js:136:47" rel="nofollow">http://localhost:8000/node_modules/zone.js/dist/zone.js:136:47</a>)<br>
at drainMicroTaskQueue (<a href="http://localhost:8000/node_modules/zone.js/dist/zone.js:368:35" rel="nofollow">http://localhost:8000/node_modules/zone.js/dist/zone.js:368:35</a>)<br>
at ZoneTask.invoke (<a href="http://localhost:8000/node_modules/zone.js/dist/zone.js:308:25" rel="nofollow">http://localhost:8000/node_modules/zone.js/dist/zone.js:308:25</a>)</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">The expected accurate behavior is that the browser should show all test either passed or failed (as per the test data).</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<p dir="auto">Create an application using Visual Studio Code<br>
Install necessary dependencies using npm install. The package.json is as following</p>
<p dir="auto">"dependencies": {<br>
"@angular/common": "2.0.0",<br>
"@angular/compiler": "2.0.0",<br>
"@angular/core": "2.0.0",<br>
"@angular/forms": "2.0.0",<br>
"@angular/http": "2.0.0",<br>
"@angular/platform-browser": "2.0.0",<br>
"@angular/platform-browser-dynamic": "2.0.0",<br>
"@angular/router": "3.0.1",<br>
"reflect-metadata": "0.1.8",<br>
"core-js": "2.4.1",<br>
"rxjs": "5.0.0-beta.12",<br>
"systemjs": "0.19.39",<br>
"zone.js": "0.6.25",</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""bootstrap": "3.3.7",
"jquery": "3.1.1",
"express": "4.14.0",
"ws": "1.1.1""><pre class="notranslate"><code class="notranslate">"bootstrap": "3.3.7",
"jquery": "3.1.1",
"express": "4.14.0",
"ws": "1.1.1"
</code></pre></div>
<p dir="auto">},<br>
"devDependencies": {<br>
"@types/es6-shim": "0.31.32",<br>
"@types/express": "4.0.33",<br>
"@types/jasmine": "2.2.34",<br>
"@types/ws": "0.0.33",</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""jasmine-core": "2.5.2",
"karma": "1.3.0",
"karma-chrome-launcher": "2.0.0",
"karma-firefox-launcher": "1.0.0",
"karma-jasmine": "1.0.2",
"nodemon": "1.10.2",
"typescript": "2.0.3""><pre class="notranslate"><code class="notranslate">"jasmine-core": "2.5.2",
"karma": "1.3.0",
"karma-chrome-launcher": "2.0.0",
"karma-firefox-launcher": "1.0.0",
"karma-jasmine": "1.0.2",
"nodemon": "1.10.2",
"typescript": "2.0.3"
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">The Component</p>
<p dir="auto">import {Component, ViewEncapsulation} from '@angular/core';</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/component/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/component">@component</a>({<br>
selector: 'my-application',<br>
templateUrl: 'app/application.html'<br>
})<br>
export default class AppComponent {}</p>
<p dir="auto">The Test spec is app.spec.ts</p>
<p dir="auto">import AppComponent from './app';</p>
<p dir="auto">describe('AppComponent', () => {<br>
it('is true', () => {<br>
let app = new AppComponent();<br>
expect(app instanceof AppComponent).toEqual(true);<br>
});<br>
});</p>
<p dir="auto">References in test.html are as follows</p>
<script src="node_modules/typescript/lib/typescript.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
<script src="node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
<script src="node_modules/jasmine-core/lib/jasmine-core/boot.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/zone.js/dist/proxy.js"></script>
<script src="node_modules/zone.js/dist/sync-test.js"></script>
<script src="node_modules/zone.js/dist/jasmine-patch.js"></script>
<script src="node_modules/zone.js/dist/async-test.js"></script>
<script src="node_modules/zone.js/dist/fake-async-test.js"></script>
<script src="node_modules/zone.js/dist/long-stack-trace-zone.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="systemjs.config.js"></script>
<script>
var test_modules = [
'app/app.spec',
];
Promise.all([
System.import('@angular/core/testing'),
System.import('@angular/platform-browser-dynamic/testing')
])
.then(function (modules) {
var cp= modules[0];
cp.TestBed.initTestEnvironment(
browser.BrowserDynamicTestingModule,
browser.platformBrowserDynamicTesting());
// Load all the spec files.
return Promise.all(test_modules.map(function (module) {
return System.import(module);
}));
})
.then(window.onload)
.catch(console.error.bind(console));
</script>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<p dir="auto">OS : Windows 10 Professional<br>
IDE: Visual Studio Code<br>
Node Package Manager<br>
Express HTTP Server (Even tested on Koa)</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X</p>
<p dir="auto">Angular 2.0 Final Release</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 ]</p>
<p dir="auto">Chrome, IE, Firefox</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
TypeScript Language is used</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p>
</li>
</ul> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=yozh" rel="nofollow">Stepan Koltsov</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8528?redirect=false" rel="nofollow">SPR-8528</a></strong> and commented</p>
<p dir="auto">Spring javaconf by default allows to override bean definitions. This could cause hard to find bean name collisions made by mistake in large projects.</p>
<p dir="auto">To avoid this problem Spring provides GenericApplicationContext.setAllowBeanDefinitionOverriding(false). This helps to resolve name collision problems, but it makes impossible (or very hard) reuse of context configuration with minor adjustments (reuse 100 beans, redefine one or two).</p>
<p dir="auto">I propose <code class="notranslate">@Bean</code>(override=true) parameter.</p>
<p dir="auto">With <code class="notranslate">@Bean</code>(override=true) new bean is only registered if there already exists a bean with same name. Previous bean definition is removed during this bean registration.</p>
<p dir="auto">It is an error if <code class="notranslate">@Bean</code>(override=true) overrides nothing.</p>
<p dir="auto">allowBeanDefinitionOverriding value is ignored when <code class="notranslate">@Bean</code>(override=true)</p>
<p dir="auto"><code class="notranslate">@Bean</code>(override=true) works for context similarly to how <code class="notranslate">@Override</code> works for classes and interfaces.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 M2</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="398110303" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12637" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12637/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12637">#12637</a> Support profile exclusivity and/or bean definition finality (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=keesun" rel="nofollow">Keesun Baik</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3405?redirect=false" rel="nofollow">SPR-3405</a></strong> and commented</p>
<p dir="auto">Chapter 8<br>
8.3.5.1's <code class="notranslate">@ExpectedException</code></p>
<p dir="auto">and if <<an an>> instance of the exception is thrown during the test method execution then the test is considered to have passed (likewise if <<an an>> instance of the exception is not thrown during the test method execution then the test is considered to have failed.</p>
<p dir="auto">there are two "an"s</p>
<p dir="auto">Chapter 9<br>
9.6.1.1. Specifying transaction settings's example code has an double quater at the end.</p>
<p dir="auto"><bean id="sharedTransactionTemplate"<br>
class="org.springframework.transaction.support.TransactionTemplate><br>
<property name="isolationLevelName" value="ISOLATION_READ_UNCOMMITTED"/><br>
<property name="timeout" value="30"/><br>
</bean>"</p>
<p dir="auto">Fially, instances of the TransactionTemplate class are threadsafe, in that instaces do not maintain any conversational state.</p>
<p dir="auto">Here also has an misspell "in that instaces do" => "in that instances do"</p>
<p dir="auto">Chapter 12<br>
12.2.4. Implementing Spring-based DAOs without callbacks's Example Code has some wrong code.</p>
<p dir="auto">public class ProductDaoImpl extends HibernateDaoSupport implements ProductDao {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public Collection loadProductsByCategory(String category)
throws DataAccessException, MyException {
Session session = getSession(getSessionFactory(), false);
try {
List result = session.find(
"from test.Product product where product.category=?",
category, Hibernate.STRING);
if (result == null) {
throw new MyException("invalid search result");
}
return result;
}
catch (HibernateException ex) {
throw convertHibernateAccessException(ex);
}
}"><pre class="notranslate"><code class="notranslate">public Collection loadProductsByCategory(String category)
throws DataAccessException, MyException {
Session session = getSession(getSessionFactory(), false);
try {
List result = session.find(
"from test.Product product where product.category=?",
category, Hibernate.STRING);
if (result == null) {
throw new MyException("invalid search result");
}
return result;
}
catch (HibernateException ex) {
throw convertHibernateAccessException(ex);
}
}
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">HibernateDaoSupport doesn't have "getSession(SessionFactory sessionFactory, boolean allowCreate)" method.<br>
And org.hibernate.Session doesn't have "find" method. and org.hibernate.classic.Session class was deprecated so fix the code like following code please.</p>
<p dir="auto">Session session = getSession(false);<br>
try {<br>
List result = session.createQuery("from test.Product product where product.category=?").setString(0, category).list();<br>
if (result == null) {<br>
throw new MyException("invalid search result");<br>
}<br>
return result;<br>
}</p>
<p dir="auto">Sorry for my ugly English. :)</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.4</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398077829" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8138" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8138/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8138">#8138</a> 12.2.4 Hibernate documentation calls an unknown method (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | 0 |
<p dir="auto">Compressing our debug info might offer a significant, cheap file size win.</p>
<p dir="auto">Things to do:</p>
<ul dir="auto">
<li>Figure out which targets to compress debug info for by default.</li>
<li>Provide a linker flag to control compression on/off.</li>
<li>Teach the linker to compress debug info.</li>
<li>Teach the Go packages how to read compressed debug info.</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ianlancetaylor/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ianlancetaylor">@ianlancetaylor</a> commented off-list:</p>
<blockquote>
<p dir="auto">Compressed debug info is supported by gdb and the GNU binutils.<br>
Yes, we should do it in our toolchain for relevant targets.</p>
</blockquote>
<p dir="auto">Related: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="95777010" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/11773" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/11773/hovercard" href="https://github.com/golang/go/issues/11773">#11773</a></p> | <p dir="auto">by <strong>jeff.allen</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. here is a program that makes a call to a predicate:
package main
func eq(a,b string) bool {
return len(a) == len(b)
}
func main() {
a := ""
b := ""
if eq(a,b) {
println("ok")
}
}
Inlining the predicate results in assembly with duplicate initialization of temporaries
on the stack and jumps forward and back.
Is this really correct behavior? It seems suspiciously ugly.
What is the expected output?
This is the assembly from manually inlining the code (i.e. replacing a call to eq(a,b)
with the expression len(a)==len(b))
--- prog list "main" ---
0010 (streq.go:7) TEXT main+0(SB),$16-0
0011 (streq.go:8) LEAQ go.string.""+0(SB),BX
0012 (streq.go:8) MOVQ (BX),BP
0013 (streq.go:8) MOVQ 8(BX),CX
0014 (streq.go:9) MOVQ (BX),BP
0015 (streq.go:9) MOVQ 8(BX),AX
0016 (streq.go:10) CMPQ CX,AX
0017 (streq.go:10) JNE ,26
0018 (streq.go:11) LEAQ go.string."ok"+0(SB),BX
0019 (streq.go:11) LEAQ (SP),BP
0020 (streq.go:11) MOVQ BP,DI
0021 (streq.go:11) MOVQ BX,SI
0022 (streq.go:11) MOVSQ ,
0023 (streq.go:11) MOVSQ ,
0024 (streq.go:11) CALL ,runtime.printstring+0(SB)
0025 (streq.go:11) CALL ,runtime.printnl+0(SB)
0026 (streq.go:13) RET ,
What do you see instead?
This is the assembly from 6g with inlining. Note the useless MOVB $0,.anon2, which after
two jumps (!), is overwritten by MOV AX,.anon2, then compared to $0.
--- prog list "main" ---
0010 (streq.go:7) TEXT main+0(SB),$24-0
0011 (streq.go:8) LEAQ go.string.""+0(SB),BX
0012 (streq.go:8) MOVQ (BX),SI
0013 (streq.go:8) MOVQ 8(BX),DX
0014 (streq.go:9) MOVQ (BX),CX
0015 (streq.go:9) MOVQ 8(BX),BP
0016 (streq.go:10) MOVB $0,.anon2+-1(SP)
0017 (streq.go:10) JMP ,20
0018 (streq.go:10) MOVQ $1,AX
0019 (streq.go:10) JMP ,23
0020 (streq.go:10) CMPQ DX,BP
0021 (streq.go:10) JEQ ,18
0022 (streq.go:10) MOVQ $0,AX
0023 (streq.go:10) MOVB AX,.anon2+-1(SP)
0024 (streq.go:10) MOVBQZX .anon2+-1(SP),BX
0025 (streq.go:10) CMPB BX,$0
0026 (streq.go:10) JEQ ,35
0027 (streq.go:11) LEAQ go.string."ok"+0(SB),BX
0028 (streq.go:11) LEAQ (SP),BP
0029 (streq.go:11) MOVQ BP,DI
0030 (streq.go:11) MOVQ BX,SI
0031 (streq.go:11) MOVSQ ,
0032 (streq.go:11) MOVSQ ,
0033 (streq.go:11) CALL ,runtime.printstring+0(SB)
0034 (streq.go:11) CALL ,runtime.printnl+0(SB)
0035 (streq.go:13) RET ,
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux
Which version are you using? (run 'go version')
14893:591fc8a0131a</pre> | 0 |
<p dir="auto">pkg/client/record failed, but afaict didn't give useful output</p>
<p dir="auto"><a href="http://pr-test.k8s.io/23285/kubernetes-pull-test-unit-integration/19655/" rel="nofollow">http://pr-test.k8s.io/23285/kubernetes-pull-test-unit-integration/19655/</a></p>
<p dir="auto">ok k8s.io/kubernetes/pkg/client/leaderelection 1.110s<br>
FAIL k8s.io/kubernetes/pkg/client/record 2.569s<br>
ok k8s.io/kubernetes/pkg/client/restclient 1.282s</p> | <p dir="auto">WARNING: DATA RACE<br>
Write by goroutine 32:<br>
testing.(_common).log()<br>
/usr/local/go/src/testing/testing.go:353 +0x1e6<br>
testing.(_common).Logf()<br>
/usr/local/go/src/testing/testing.go:366 +0x82<br>
testing.(_common).Logf-fm()<br>
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event_test.go:351 +0x5f<br>
k8s.io/kubernetes/pkg/client/record.(_eventBroadcasterImpl).StartLogging.func1()<br>
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:216 +0x2a7<br>
k8s.io/kubernetes/pkg/client/record.(*eventBroadcasterImpl).StartEventWatcher.func1()<br>
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:237 +0x14e</p>
<p dir="auto">Previous read by main goroutine:<br>
runtime.convT2E()<br>
/usr/local/go/src/runtime/iface.go:128 +0x0<br>
testing.(_T).report()<br>
/usr/local/go/src/testing/testing.go:538 +0xa18<br>
testing.RunTests()<br>
/usr/local/go/src/testing/testing.go:591 +0xbdf<br>
testing.(_M).Run()<br>
/usr/local/go/src/testing/testing.go:515 +0x11d<br>
main.main()<br>
k8s.io/kubernetes/pkg/client/record/_test/_testmain.go:70 +0x210</p>
<p dir="auto">Goroutine 32 (running) created at:<br>
k8s.io/kubernetes/pkg/client/record.(_eventBroadcasterImpl).StartEventWatcher()<br>
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:239 +0x8f<br>
k8s.io/kubernetes/pkg/client/record.(_eventBroadcasterImpl).StartLogging()<br>
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event.go:217 +0xa5<br>
k8s.io/kubernetes/pkg/client/record.TestEventf()<br>
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/client/record/event_test.go:351 +0x3034<br>
testing.tRunner()<br>
/usr/local/go/src/testing/testing.go:473 +0xdc</p>
<p dir="auto"><a href="https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/23527/kubernetes-pull-test-unit-integration/19502/build-log.txt" rel="nofollow">https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/23527/kubernetes-pull-test-unit-integration/19502/build-log.txt</a></p> | 1 |
<p dir="auto">Handling installation and updating will probably be a job for Shimmer and a COM API to let us interact with it from Atom</p> | 1 |
|
<p dir="auto"><strong>Apache Airflow version</strong>: 2.0.2</p>
<p dir="auto"><strong>Kubernetes version</strong>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.17-gke.1901", GitCommit:"b5bc948aea9982cd8b1e89df8d50e30ffabdd368", GitTreeState:"clean", BuildDate:"2021-05-27T19:56:12Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.17-gke.1901", GitCommit:"b5bc948aea9982cd8b1e89df8d50e30ffabdd368", GitTreeState:"clean", BuildDate:"2021-05-27T19:56:12Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>: Kubernetes setup where the schedule component ran its own pod.</p>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Scheduler memory crept up for no apparent reason given a deployment with two simple DAGs.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5952735/124017862-111a6480-d99c-11eb-8f0d-b92ca55bffd1.png"><img src="https://user-images.githubusercontent.com/5952735/124017862-111a6480-d99c-11eb-8f0d-b92ca55bffd1.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">I expect the scheduler memory usage to not build up over time and should remain relatively flat throughout the scheduler process lifetime.</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<p dir="auto">Start a scheduler process in a pod and watch the memory usage over time.</p>
<p dir="auto">These are the scheduler configurations</p>
<ul dir="auto">
<li>1 CPU and 3.75 GB memory</li>
<li>CeleryExecutor</li>
<li>2 parsing processes</li>
<li>2 simple DAGs</li>
</ul> | <p dir="auto">Hey <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a> - following your request of observing the self-hosted behavior.</p>
<p dir="auto">I believe the current scale-in settings are slightly too aggressive - especially when the traffic is low (weekends).</p>
<p dir="auto">I pushed a number of builds here (and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/turbaszek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/turbaszek">@turbaszek</a> as well):</p>
<p dir="auto"><a href="https://github.com/apache/airflow/actions/workflows/build-images-workflow-run.yml">https://github.com/apache/airflow/actions/workflows/build-images-workflow-run.yml</a></p>
<p dir="auto">And quite a number a lot of them failed without logs indicating the scale-in event happened. some of them with 'git' failed, some of them with explicitly <code class="notranslate">lost communication</code></p>
<p dir="auto">Some examples here:</p>
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/actions/runs/651685483">https://github.com/apache/airflow/actions/runs/651685483</a></li>
<li><a href="https://github.com/apache/airflow/actions/runs/651569791">https://github.com/apache/airflow/actions/runs/651569791</a></li>
<li><a href="https://github.com/apache/airflow/actions/runs/651571502">https://github.com/apache/airflow/actions/runs/651571502</a></li>
<li><a href="https://github.com/apache/airflow/actions/runs/651550722">https://github.com/apache/airflow/actions/runs/651550722</a></li>
<li><a href="https://github.com/apache/airflow/actions/runs/651642721">https://github.com/apache/airflow/actions/runs/651642721</a></li>
<li><a href="https://github.com/apache/airflow/actions/runs/651688017">https://github.com/apache/airflow/actions/runs/651688017</a></li>
</ul>
<p dir="auto">(maybe some of those were cancelled as duplicates - but at most 1 or 2)</p>
<p dir="auto">At the same time a number of those jobs succeeded, so I think the scale-in events are the ones to blame.</p>
<p dir="auto">The previous setting was much more stable (but more costly as well) - however I think I will merge the <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="818258641" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/14531" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/14531/hovercard" href="https://github.com/apache/airflow/pull/14531">#14531</a> which should sigificantly decrease the time needed from the runners so hopefully we will be able to tune up the scale-in settings so that they are more stable.</p> | 0 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-serial/2194/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-serial/2194/</a></p>
<p dir="auto">Failed: [k8s.io] DaemonRestart [Disruptive] Kubelet should not restart containers across restart {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/framework/framework.go:134
Sep 3 14:40:48.396: Couldn't delete ns: "e2e-tests-daemonrestart-hzwrs": namespace e2e-tests-daemonrestart-hzwrs was not deleted with limit: timed out waiting for the condition, namespace is empty but is not yet removed (&errors.errorString{s:"namespace e2e-tests-daemonrestart-hzwrs was not deleted with limit: timed out waiting for the condition, namespace is empty but is not yet removed"})
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
Sep 3 14:40:48.396: Couldn't delete ns: "e2e-tests-daemonrestart-hzwrs": namespace e2e-tests-daemonrestart-hzwrs was not deleted with limit: timed out waiting for the condition, namespace is empty but is not yet removed (&errors.errorString{s:"namespace e2e-tests-daemonrestart-hzwrs was not deleted with limit: timed out waiting for the condition, namespace is empty but is not yet removed"})
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338
</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="160550846" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27502" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27502/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27502">#27502</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164645380" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28722" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28722/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28722">#28722</a></p> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-serial/1670/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce-serial/1670/</a></p>
<p dir="auto">Failed: [k8s.io] DaemonRestart [Disruptive] Kubelet should not restart containers across restart {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/framework/framework.go:133
Jul 8 17:10:18.307: Couldn't delete ns "e2e-tests-daemonrestart-p29h1": namespace e2e-tests-daemonrestart-p29h1 was not deleted within limit: timed out waiting for the condition, pods remaining: []"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:133
Jul 8 17:10:18.307: Couldn't delete ns "e2e-tests-daemonrestart-p29h1": namespace e2e-tests-daemonrestart-p29h1 was not deleted within limit: timed out waiting for the condition, pods remaining: []
</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="160550846" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27502" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27502/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27502">#27502</a></p> | 1 |
<p dir="auto">The flutter doctor should check to make sure the user has recent enough versions of Android Studio, Xcode, etc.</p>
<p dir="auto">While installing Flutter, I ran into a problem where I used the Google Managed Software Center to install Android Studio and Xcode, and it installed very old versions that caused errors.</p> | <p dir="auto">Hello,</p>
<p dir="auto">We have 3 different schemes in iOS named <code class="notranslate">Runner</code>, <code class="notranslate">Dev</code>, <code class="notranslate">Beta</code> and we have 4 build configurations named <code class="notranslate">Debug</code>, <code class="notranslate">Debug-Dev</code>, <code class="notranslate">Release</code>, and <code class="notranslate">Release-Beta</code>. We are using different bundle identifiers for different build configurations. For example:<br>
<code class="notranslate">Debug</code> -> <code class="notranslate">com.AwesomeProject.myproject.debug</code><br>
<code class="notranslate">Debug-Dev</code> -> <code class="notranslate">com.AwesomeProject.myproject.debug</code><br>
<code class="notranslate">Release</code> -> <code class="notranslate">com.AwesomeProject.myproject</code><br>
<code class="notranslate">Release-Beta</code> -> <code class="notranslate">com.AwesomeProject.myproject.beta</code></p>
<p dir="auto">Whenever I try to run the app with <code class="notranslate">Dev</code> scheme, it installs the <code class="notranslate">Debug</code> configuration in simulator but tries to launch <code class="notranslate">Release</code> configuration. Therefore, app is installed in simulator but it fails to launch the app. Because of this, I'm not able to debug the application which I cannot run, for example from IntelliJ. From Xcode, it runs properly with every configuration and scheme as I expected. But I cannot debug Dart code in this case.</p>
<p dir="auto">As you can see in the logs below, it installs the app (<code class="notranslate">com.AwesomeProject.myproject.debug</code>) with following command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/bin/xcrun simctl install 74A6F1AA-E9A7-4349-91D7-388345997787 /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/iphonesimulator/Runner.app"><pre class="notranslate"><code class="notranslate">/usr/bin/xcrun simctl install 74A6F1AA-E9A7-4349-91D7-388345997787 /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/iphonesimulator/Runner.app
</code></pre></div>
<p dir="auto">But it tries to launch (<code class="notranslate">com.AwesomeProject.myproject</code>) with following command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/bin/xcrun simctl launch 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject --enable-dart-profiling --flutter-assets-dir=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/flutter_assets --dart-main=/Users/candost/Documents/AwesomeProject/Repositories/myproject/lib/main.dart --packages=/Users/candost/Documents/AwesomeProject/Repositories/myproject/.packages --enable-checked-mode --observatory-port=8101"><pre class="notranslate"><code class="notranslate">/usr/bin/xcrun simctl launch 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject --enable-dart-profiling --flutter-assets-dir=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/flutter_assets --dart-main=/Users/candost/Documents/AwesomeProject/Repositories/myproject/lib/main.dart --packages=/Users/candost/Documents/AwesomeProject/Repositories/myproject/.packages --enable-checked-mode --observatory-port=8101
</code></pre></div>
<p dir="auto">So, trying to launch with different bundle identifier fails. After some time, I get following error in the console:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[+127470 ms] com.AwesomeProject.myproject: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "com.AwesomeProject.myproject" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.AwesomeProject.myproject" is unknown to FrontBoard").
[ ] Exit code 1 from: /usr/bin/xcrun simctl launch 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject --enable-dart-profiling --flutter-assets-dir=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/flutter_assets --dart-main=/Users/candost/Documents/AwesomeProject/Repositories/myproject/lib/main.dart --packages=/Users/candost/Documents/AwesomeProject/Repositories/myproject/.packages --enable-checked-mode --observatory-port=8101:
com.AwesomeProject.myproject: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "com.AwesomeProject.myproject" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.AwesomeProject.myproject" is unknown to FrontBoard").
[ ] Error launching application on iPhone 7.
"><pre class="notranslate"><code class="notranslate">[+127470 ms] com.AwesomeProject.myproject: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "com.AwesomeProject.myproject" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.AwesomeProject.myproject" is unknown to FrontBoard").
[ ] Exit code 1 from: /usr/bin/xcrun simctl launch 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject --enable-dart-profiling --flutter-assets-dir=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/flutter_assets --dart-main=/Users/candost/Documents/AwesomeProject/Repositories/myproject/lib/main.dart --packages=/Users/candost/Documents/AwesomeProject/Repositories/myproject/.packages --enable-checked-mode --observatory-port=8101:
com.AwesomeProject.myproject: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "com.AwesomeProject.myproject" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "com.AwesomeProject.myproject" is unknown to FrontBoard").
[ ] Error launching application on iPhone 7.
</code></pre></div>
<h2 dir="auto">Logs</h2>
<blockquote>
<p dir="auto">Run your application with <code class="notranslate">flutter run</code> and attach all the log output.</p>
</blockquote>
<p dir="auto">Output from <code class="notranslate">flutter run --debug --flavor Dev --verbose -d 74A6F1AA-E9A7-4349-91D7-388345997787</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +21 ms] [/Users/candost/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] [/Users/candost/Documents/flutter/] git rev-parse --abbrev-ref HEAD
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ ] [/Users/candost/Documents/flutter/] git ls-remote --get-url origin
[ +6 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [email protected]:flutter/flutter
[ ] [/Users/candost/Documents/flutter/] git log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 6f5bcb97a43e45b302b6b8d9eb5ef9d54f09515e
[ ] [/Users/candost/Documents/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 7 days ago
[ ] [/Users/candost/Documents/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +8 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.2.1-0-g6f5bcb97a
[ +146 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +66 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 3.0
[ +94 ms] /Users/candost/Library/Android/sdk/platform-tools/adb devices -l
[ +13 ms] Exit code 0 from: /Users/candost/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86
[ +9 ms] idevice_id -h
[ +150 ms] which ideviceinstaller
[ +5 ms] Exit code 0 from: which ideviceinstaller
[ ] /usr/local/bin/ideviceinstaller
[ ] which iproxy
[ +3 ms] Exit code 0 from: which iproxy
[ ] /usr/local/bin/iproxy
[ +143 ms] which ideviceinstaller
[ +4 ms] Exit code 0 from: which ideviceinstaller
[ ] /usr/local/bin/ideviceinstaller
[ ] which iproxy
[ +3 ms] Exit code 0 from: which iproxy
[ ] /usr/local/bin/iproxy
[ +126 ms] /usr/bin/xcrun simctl list --json devices
[ +223 ms] Found plugin device_info at /Users/candost/.pub-cache/hosted/pub.dartlang.org/device_info-0.1.2/
[ +38 ms] Found plugin share at /Users/candost/.pub-cache/hosted/pub.dartlang.org/share-0.4.0/
[ ] Found plugin shared_preferences at /Users/candost/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.0/
[ +11 ms] Found plugin url_launcher at /Users/candost/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.0/
[ +750 ms] Launching lib/main.dart on iPhone 7 in debug mode...
[ +1 ms] /usr/bin/defaults read /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info CFBundleIdentifier
[ +60 ms] Exit code 0 from: /usr/bin/defaults read /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info CFBundleIdentifier
[ ] $(PRODUCT_BUNDLE_IDENTIFIER)
[ ] [ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj -target Runner -showBuildSettings
[+1265 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj -target Runner -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = candost
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
APP_NAME = AwesomeProject Awesome
ARCHS = arm64
ARCHS_STANDARD = armv7 arm64
ARCHS_STANDARD_32_64_BIT = armv7 arm64
ARCHS_STANDARD_32_BIT = armv7
ARCHS_STANDARD_64_BIT = arm64
ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
BUILD_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
BUILD_STYLE =
BUILD_TYPE = RELEASE
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
CACHE_ROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CCHROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements
CODE_SIGN_IDENTITY = iPhone Distribution
CODE_SIGN_STYLE = Manual
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Release
CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
CONFIGURATION_TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator11.2
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = arm64
CURRENT_PROJECT_VERSION = 3
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2
DERIVED_FILES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_INSTALL_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DEVELOPMENT_TEAM = Z5HYUE65Z7
DEVICE_DEVELOPER_DIR = /Developer
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
EFFECTIVE_PLATFORM_NAME = -iphoneos
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBEDDED_PROFILE_NAME = embedded.mobileprovision
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_NS_ASSERTIONS = NO
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = NO
ENTITLEMENTS_ALLOWED = YES
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_FRAMEWORK_DIR = /Users/candost/Documents/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/candost/Documents/flutter
FLUTTER_TARGET = lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 COCOAPODS=1 COCOAPODS=1 COCOAPODS=1 COCOAPODS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_THUMB_SUPPORT = YES
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/**
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/candost
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = candost
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 10.3
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_arm64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 17D102
MAC_OS_X_VERSION_ACTUAL = 101303
MAC_OS_X_VERSION_MAJOR = 101300
MAC_OS_X_VERSION_MINOR = 1303
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/Runner.app
MODULE_CACHE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/ModuleCache
MTL_ENABLE_DEBUG_INFO = NO
NATIVE_ARCH = armv7
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJECT_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
OBJROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
ONLY_ACTIVE_ARCH = NO
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_LDFLAGS = -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher" -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher"
OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" "-D" "COCOAPODS" "-D" "COCOAPODS"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/candost/.rvm/gems/ruby-2.3.1/bin:/Users/candost/.rvm/gems/ruby-2.3.1@global/bin:/Users/candost/.rvm/rubies/ruby-2.3.1/bin:/Users/candost/.nvm/versions/node/v6.11.2/bin:/usr/local/bin/wl:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/candost/Documents/flutter/bin:/Users/candost/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/candost/.rvm/bin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
PLATFORM_DISPLAY_NAME = iOS
PLATFORM_NAME = iphoneos
PLATFORM_PREFERRED_ARCH = arm64
PLATFORM_PRODUCT_BUILD_VERSION = 15C107
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
PODS_PODFILE_DIR_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/.
PODS_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.AwesomeProject.myproject
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/DerivedSources
PROJECT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
PROJECT_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build
PROJECT_TEMP_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
PROVISIONING_PROFILE = 04d25b6a-e4ed-4f7d-b172-b110ee6ca901
PROVISIONING_PROFILE_REQUIRED = YES
PROVISIONING_PROFILE_SPECIFIER = match AppStore com.AwesomeProject.myproject
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
RESOURCE_RULES_REQUIRED = YES
REZ_COLLECTOR_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
SDK_DIR_iphoneos11_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
SDK_NAME = iphoneos11.2
SDK_NAMES = iphoneos11.2
SDK_PRODUCT_BUILD_VERSION = 15C107
SDK_VERSION = 11.2
SDK_VERSION_ACTUAL = 110200
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 200
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/SharedPrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
SRCROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = YES
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS = RELEASE
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -Owholemodule
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = Default
SWIFT_VERSION = 4.0
SYMROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 502
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = candost
USER_APPS_DIR = /Users/candost/Applications
USER_LIBRARY_DIR = /Users/candost/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = YES
VALID_ARCHS = arm64 armv7 armv7s
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = candost
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-3"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_INSTALL_PATH = /Applications/Xcode.app/Contents/Developer/../../..
XCODE_PRODUCT_BUILD_VERSION = 9C40b
XCODE_VERSION_ACTUAL = 0920
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0920
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = arm64
variant = normal
[ +11 ms] Building Runner.app for 74A6F1AA-E9A7-4349-91D7-388345997787.
[ +7 ms] script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "74A6F1AA-E9A7-4349-91D7-388345997787"
[ +45 ms] [DEVICE LOG] Filtering the log data using "processImagePath CONTAINS "74A6F1AA-E9A7-4349-91D7-388345997787""
[ +4 ms] [DEVICE LOG] Timestamp (process)[PID]
[ +245 ms] Building build/app.flx
[ ] which zip
[ +9 ms] Encoding zip file to build/app.flx
[ +35 ms] [build/flutter_assets/] zip -q /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/app.flx.tmp assets/translations/de.json assets/translations/en.json assets/translations/es.json assets/translations/fr.json assets/translations/it.json assets/translations/ja.json assets/translations/nl.json assets/fonts/brandon_regular.otf assets/fonts/brandon_light.otf packages/cupertino_icons/assets/CupertinoIcons.ttf fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE
[ +41 ms] [build/flutter_assets/] zip -q -0 /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/app.flx.tmp assets/images/AwesomeProject_logo.png assets/images/AwesomeProject_logo_white.png assets/images/ic_back.png assets/images/ic_diff_down.png assets/images/ic_diff_up.png assets/images/ic_diff_zero.png assets/images/ic_logout.png assets/images/ic_send.png assets/images/ic_interest.png assets/images/ic_referrals.png assets/images/ic_visitors.png assets/images/feedback_alright.png assets/images/feedback_awesome.png assets/images/feedback_hate.png assets/images/rocket_smoke.png assets/images/login_rocket.png assets/images/splash_rocket.png assets/images/rocket_waiting.png assets/images/rocket_starting.png assets/images/ascending.png assets/images/descending.png assets/images/equal.png assets/images/rocket_broken.png assets/images/feedback_tip.png assets/images/share_tip.png assets/images/tip_button.png assets/images/tip_button_new.png assets/images/google_analytics.png
[ +20 ms] Built build/app.flx.
[ +1 ms] /usr/bin/xcrun simctl get_app_container 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject
[ ] /usr/bin/killall Runner
[ +295 ms] python -c import six
[ +47 ms] [ios/] /usr/bin/xcodebuild -list
[ +937 ms] Exit code 0 from: /usr/bin/xcodebuild -list
[ ] Information about project "Runner":
Targets:
Runner
Build Configurations:
Debug-Dev
Debug
Release
Release-Beta
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
Runner
Dev
Beta
[ +1 ms] Trying to resolve native pub services.
[ +1 ms] Looking for YAML at 'pubspec.yaml'
[ +1 ms] No services specified in the manifest
[ ] Found 0 service definition(s).
[ ] Copying service frameworks to '/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Frameworks'.
[ ] Creating service definitions manifest at 'ios/ServiceDefinitions.json'
[ +5 ms] pod --version
[ +856 ms] pod --version
[ +770 ms] 1.4.0
Running Xcode clean...
[ +3 ms] [ios/] /usr/bin/env xcrun xcodebuild clean -configuration Debug-Dev
[+1280 ms] === CLEAN TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug-Dev ===
Check dependencies
Create product structure
/bin/mkdir -p /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app
Clean.Remove clean /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app.dSYM
builtin-rm -rf /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app.dSYM
Clean.Remove clean /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Debug-Dev-iphoneos/Runner.build
builtin-rm -rf /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Debug-Dev-iphoneos/Runner.build
Clean.Remove clean /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app
builtin-rm -rf /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app
** CLEAN SUCCEEDED **
Starting Xcode build...
[ +1 ms] [ios/] /usr/bin/env xcrun xcodebuild build -configuration Debug-Dev ONLY_ACTIVE_ARCH=YES -quiet -workspace Runner.xcworkspace -scheme Dev BUILD_DIR=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios -sdk iphonesimulator -arch x86_64
[+21088 ms] === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug-Dev ===
/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/OAuthSwift/Sources/String+OAuthSwift.swift:49:29: warning: 'characters' is deprecated: Please use String or Substring directly
string = String(characters.dropFirst(1))
^
/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/OAuthSwift/Sources/Utils.swift:13:33: warning: 'characters' is deprecated: Please use String or Substring directly
let length = UInt32(letters.characters.count)
^
/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/OAuthSwift/Sources/Utils.swift:19:30: warning: 'characters' is deprecated: Please use String or Substring directly
let letter = letters.characters[idx]
^
[ +13 ms] Xcode build done
[ ] [ios/] /usr/bin/env xcrun xcodebuild build -configuration Debug-Dev ONLY_ACTIVE_ARCH=YES -quiet -workspace Runner.xcworkspace -scheme Dev BUILD_DIR=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[+1350 ms] Exit code 0 from: /usr/bin/env xcrun xcodebuild build -configuration Debug-Dev ONLY_ACTIVE_ARCH=YES -quiet -workspace Runner.xcworkspace -scheme Dev BUILD_DIR=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = YES
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = candost
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
APP_NAME = AwesomeProject Awesome Debug
ARCHS = x86_64
ARCHS_STANDARD = i386 x86_64
ARCHS_STANDARD_32_64_BIT = i386 x86_64
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = i386 x86_64
ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
BUILD_ROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Products
BUILD_STYLE =
BUILD_TYPE = DEBUG
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
CACHE_ROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CCHROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements
CODE_SIGN_IDENTITY = -
CODE_SIGN_STYLE = Manual
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug-Dev
CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
CONFIGURATION_TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos
CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
CORRESPONDING_DEVICE_SDK_NAME = iphoneos11.2
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = x86_64
CURRENT_PROJECT_VERSION = 3
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min=
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2
DERIVED_FILES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_INSTALL_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DEVELOPMENT_TEAM = Z5HYUE65Z7
DEVICE_DEVELOPER_DIR = /Developer
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
EFFECTIVE_PLATFORM_NAME = -iphonesimulator
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_FRAMEWORK_DIR = /Users/candost/Documents/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/candost/Documents/flutter
FLUTTER_TARGET = lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OBJC_LEGACY_DISPATCH = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/**
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/candost
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = candost
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 10.3
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_x86_64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 17D102
MAC_OS_X_VERSION_ACTUAL = 101303
MAC_OS_X_VERSION_MAJOR = 101300
MAC_OS_X_VERSION_MINOR = 1303
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/Runner.app
MODULE_CACHE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/ModuleCache
MTL_ENABLE_DEBUG_INFO = YES
NATIVE_ARCH = i386
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJC_ABI_VERSION = 2
OBJECT_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects-normal
OBJROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_LDFLAGS = -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher" -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher"
OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" "-D" "COCOAPODS" "-D" "COCOAPODS"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/candost/.rvm/gems/ruby-2.3.1/bin:/Users/candost/.rvm/gems/ruby-2.3.1@global/bin:/Users/candost/.rvm/rubies/ruby-2.3.1/bin:/Users/candost/.nvm/versions/node/v6.11.2/bin:/usr/local/bin/wl:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/candost/Documents/flutter/bin:/Users/candost/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/candost/.rvm/bin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
PLATFORM_DISPLAY_NAME = iOS Simulator
PLATFORM_NAME = iphonesimulator
PLATFORM_PREFERRED_ARCH = x86_64
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
PODS_PODFILE_DIR_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/.
PODS_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.AwesomeProject.myproject.debug
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/DerivedSources
PROJECT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
PROJECT_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build
PROJECT_TEMP_ROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex
PROVISIONING_PROFILE = 6886e457-fea0-4c4b-a795-5c1c2151d68f
PROVISIONING_PROFILE_SPECIFIER = match Development com.AwesomeProject.myproject.debug
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
SDK_DIR_iphonesimulator11_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
SDK_NAME = iphonesimulator11.2
SDK_NAMES = iphonesimulator11.2
SDK_PRODUCT_BUILD_VERSION = 15C107
SDK_VERSION = 11.2
SDK_VERSION_ACTUAL = 110200
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 200
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
SRCROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -Onone
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = Default
SWIFT_VERSION = 4.0
SYMROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_FILES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_ROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 502
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = candost
USER_APPS_DIR = /Users/candost/Applications
USER_LIBRARY_DIR = /Users/candost/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = NO
VALID_ARCHS = i386 x86_64
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = candost
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-3"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_INSTALL_PATH = /Applications/Xcode.app/Contents/Developer/../../..
XCODE_PRODUCT_BUILD_VERSION = 9C40b
XCODE_VERSION_ACTUAL = 0920
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0920
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = x86_64
variant = normal
[ +254 ms] /usr/bin/xcrun simctl install 74A6F1AA-E9A7-4349-91D7-388345997787 /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/iphonesimulator/Runner.app
[ +735 ms] /usr/bin/xcrun simctl launch 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject --enable-dart-profiling --flutter-assets-dir=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/flutter_assets --dart-main=/Users/candost/Documents/AwesomeProject/Repositories/myproject/lib/main.dart --packages=/Users/candost/Documents/AwesomeProject/Repositories/myproject/.packages --enable-checked-mode --observatory-port=8101
"><pre class="notranslate"><code class="notranslate">[ +21 ms] [/Users/candost/Documents/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] [/Users/candost/Documents/flutter/] git rev-parse --abbrev-ref HEAD
[ +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ ] [/Users/candost/Documents/flutter/] git ls-remote --get-url origin
[ +6 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [email protected]:flutter/flutter
[ ] [/Users/candost/Documents/flutter/] git log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 6f5bcb97a43e45b302b6b8d9eb5ef9d54f09515e
[ ] [/Users/candost/Documents/flutter/] git log -n 1 --pretty=format:%ar
[ +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 7 days ago
[ ] [/Users/candost/Documents/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +8 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.2.1-0-g6f5bcb97a
[ +146 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +66 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 3.0
[ +94 ms] /Users/candost/Library/Android/sdk/platform-tools/adb devices -l
[ +13 ms] Exit code 0 from: /Users/candost/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86
[ +9 ms] idevice_id -h
[ +150 ms] which ideviceinstaller
[ +5 ms] Exit code 0 from: which ideviceinstaller
[ ] /usr/local/bin/ideviceinstaller
[ ] which iproxy
[ +3 ms] Exit code 0 from: which iproxy
[ ] /usr/local/bin/iproxy
[ +143 ms] which ideviceinstaller
[ +4 ms] Exit code 0 from: which ideviceinstaller
[ ] /usr/local/bin/ideviceinstaller
[ ] which iproxy
[ +3 ms] Exit code 0 from: which iproxy
[ ] /usr/local/bin/iproxy
[ +126 ms] /usr/bin/xcrun simctl list --json devices
[ +223 ms] Found plugin device_info at /Users/candost/.pub-cache/hosted/pub.dartlang.org/device_info-0.1.2/
[ +38 ms] Found plugin share at /Users/candost/.pub-cache/hosted/pub.dartlang.org/share-0.4.0/
[ ] Found plugin shared_preferences at /Users/candost/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.0/
[ +11 ms] Found plugin url_launcher at /Users/candost/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.0/
[ +750 ms] Launching lib/main.dart on iPhone 7 in debug mode...
[ +1 ms] /usr/bin/defaults read /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info CFBundleIdentifier
[ +60 ms] Exit code 0 from: /usr/bin/defaults read /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info CFBundleIdentifier
[ ] $(PRODUCT_BUNDLE_IDENTIFIER)
[ ] [ios/Runner.xcodeproj/] /usr/bin/xcodebuild -project /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj -target Runner -showBuildSettings
[+1265 ms] Exit code 0 from: /usr/bin/xcodebuild -project /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj -target Runner -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = NO
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = candost
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
APP_NAME = AwesomeProject Awesome
ARCHS = arm64
ARCHS_STANDARD = armv7 arm64
ARCHS_STANDARD_32_64_BIT = armv7 arm64
ARCHS_STANDARD_32_BIT = armv7
ARCHS_STANDARD_64_BIT = arm64
ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
BUILD_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
BUILD_STYLE =
BUILD_TYPE = RELEASE
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
CACHE_ROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CCHROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements
CODE_SIGN_IDENTITY = iPhone Distribution
CODE_SIGN_STYLE = Manual
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Release
CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
CONFIGURATION_TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator11.2
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = arm64
CURRENT_PROJECT_VERSION = 3
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2
DERIVED_FILES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_INSTALL_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DEVELOPMENT_TEAM = Z5HYUE65Z7
DEVICE_DEVELOPER_DIR = /Developer
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
EFFECTIVE_PLATFORM_NAME = -iphoneos
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBEDDED_PROFILE_NAME = embedded.mobileprovision
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_NS_ASSERTIONS = NO
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = NO
ENTITLEMENTS_ALLOWED = YES
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_FRAMEWORK_DIR = /Users/candost/Documents/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/candost/Documents/flutter
FLUTTER_TARGET = lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 COCOAPODS=1 COCOAPODS=1 COCOAPODS=1 COCOAPODS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_THUMB_SUPPORT = YES
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/**
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/candost
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = candost
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 10.3
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_arm64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 17D102
MAC_OS_X_VERSION_ACTUAL = 101303
MAC_OS_X_VERSION_MAJOR = 101300
MAC_OS_X_VERSION_MINOR = 1303
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/Runner.app
MODULE_CACHE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/ModuleCache
MTL_ENABLE_DEBUG_INFO = NO
NATIVE_ARCH = armv7
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJECT_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/Objects-normal
OBJROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
ONLY_ACTIVE_ARCH = NO
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_LDFLAGS = -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher" -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher"
OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" "-D" "COCOAPODS" "-D" "COCOAPODS"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/candost/.rvm/gems/ruby-2.3.1/bin:/Users/candost/.rvm/gems/ruby-2.3.1@global/bin:/Users/candost/.rvm/rubies/ruby-2.3.1/bin:/Users/candost/.nvm/versions/node/v6.11.2/bin:/usr/local/bin/wl:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/candost/Documents/flutter/bin:/Users/candost/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/candost/.rvm/bin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
PLATFORM_DISPLAY_NAME = iOS
PLATFORM_NAME = iphoneos
PLATFORM_PREFERRED_ARCH = arm64
PLATFORM_PRODUCT_BUILD_VERSION = 15C107
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
PODS_PODFILE_DIR_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/.
PODS_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.AwesomeProject.myproject
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/DerivedSources
PROJECT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
PROJECT_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build
PROJECT_TEMP_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
PROVISIONING_PROFILE = 04d25b6a-e4ed-4f7d-b172-b110ee6ca901
PROVISIONING_PROFILE_REQUIRED = YES
PROVISIONING_PROFILE_SPECIFIER = match AppStore com.AwesomeProject.myproject
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
RESOURCE_RULES_REQUIRED = YES
REZ_COLLECTOR_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
SDK_DIR_iphoneos11_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
SDK_NAME = iphoneos11.2
SDK_NAMES = iphoneos11.2
SDK_PRODUCT_BUILD_VERSION = 15C107
SDK_VERSION = 11.2
SDK_VERSION_ACTUAL = 110200
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 200
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/SharedPrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
SRCROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = YES
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS = RELEASE
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -Owholemodule
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = Default
SWIFT_VERSION = 4.0
SYMROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Release-iphoneos
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILES_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Release-iphoneos/Runner.build
TEMP_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 502
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = candost
USER_APPS_DIR = /Users/candost/Applications
USER_LIBRARY_DIR = /Users/candost/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = YES
VALID_ARCHS = arm64 armv7 armv7s
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = candost
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-3"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_INSTALL_PATH = /Applications/Xcode.app/Contents/Developer/../../..
XCODE_PRODUCT_BUILD_VERSION = 9C40b
XCODE_VERSION_ACTUAL = 0920
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0920
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = arm64
variant = normal
[ +11 ms] Building Runner.app for 74A6F1AA-E9A7-4349-91D7-388345997787.
[ +7 ms] script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "74A6F1AA-E9A7-4349-91D7-388345997787"
[ +45 ms] [DEVICE LOG] Filtering the log data using "processImagePath CONTAINS "74A6F1AA-E9A7-4349-91D7-388345997787""
[ +4 ms] [DEVICE LOG] Timestamp (process)[PID]
[ +245 ms] Building build/app.flx
[ ] which zip
[ +9 ms] Encoding zip file to build/app.flx
[ +35 ms] [build/flutter_assets/] zip -q /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/app.flx.tmp assets/translations/de.json assets/translations/en.json assets/translations/es.json assets/translations/fr.json assets/translations/it.json assets/translations/ja.json assets/translations/nl.json assets/fonts/brandon_regular.otf assets/fonts/brandon_light.otf packages/cupertino_icons/assets/CupertinoIcons.ttf fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE
[ +41 ms] [build/flutter_assets/] zip -q -0 /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/app.flx.tmp assets/images/AwesomeProject_logo.png assets/images/AwesomeProject_logo_white.png assets/images/ic_back.png assets/images/ic_diff_down.png assets/images/ic_diff_up.png assets/images/ic_diff_zero.png assets/images/ic_logout.png assets/images/ic_send.png assets/images/ic_interest.png assets/images/ic_referrals.png assets/images/ic_visitors.png assets/images/feedback_alright.png assets/images/feedback_awesome.png assets/images/feedback_hate.png assets/images/rocket_smoke.png assets/images/login_rocket.png assets/images/splash_rocket.png assets/images/rocket_waiting.png assets/images/rocket_starting.png assets/images/ascending.png assets/images/descending.png assets/images/equal.png assets/images/rocket_broken.png assets/images/feedback_tip.png assets/images/share_tip.png assets/images/tip_button.png assets/images/tip_button_new.png assets/images/google_analytics.png
[ +20 ms] Built build/app.flx.
[ +1 ms] /usr/bin/xcrun simctl get_app_container 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject
[ ] /usr/bin/killall Runner
[ +295 ms] python -c import six
[ +47 ms] [ios/] /usr/bin/xcodebuild -list
[ +937 ms] Exit code 0 from: /usr/bin/xcodebuild -list
[ ] Information about project "Runner":
Targets:
Runner
Build Configurations:
Debug-Dev
Debug
Release
Release-Beta
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
Runner
Dev
Beta
[ +1 ms] Trying to resolve native pub services.
[ +1 ms] Looking for YAML at 'pubspec.yaml'
[ +1 ms] No services specified in the manifest
[ ] Found 0 service definition(s).
[ ] Copying service frameworks to '/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Frameworks'.
[ ] Creating service definitions manifest at 'ios/ServiceDefinitions.json'
[ +5 ms] pod --version
[ +856 ms] pod --version
[ +770 ms] 1.4.0
Running Xcode clean...
[ +3 ms] [ios/] /usr/bin/env xcrun xcodebuild clean -configuration Debug-Dev
[+1280 ms] === CLEAN TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug-Dev ===
Check dependencies
Create product structure
/bin/mkdir -p /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app
Clean.Remove clean /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app.dSYM
builtin-rm -rf /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app.dSYM
Clean.Remove clean /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Debug-Dev-iphoneos/Runner.build
builtin-rm -rf /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Runner.build/Debug-Dev-iphoneos/Runner.build
Clean.Remove clean /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app
builtin-rm -rf /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphoneos/Runner.app
** CLEAN SUCCEEDED **
Starting Xcode build...
[ +1 ms] [ios/] /usr/bin/env xcrun xcodebuild build -configuration Debug-Dev ONLY_ACTIVE_ARCH=YES -quiet -workspace Runner.xcworkspace -scheme Dev BUILD_DIR=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios -sdk iphonesimulator -arch x86_64
[+21088 ms] === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug-Dev ===
/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/OAuthSwift/Sources/String+OAuthSwift.swift:49:29: warning: 'characters' is deprecated: Please use String or Substring directly
string = String(characters.dropFirst(1))
^
/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/OAuthSwift/Sources/Utils.swift:13:33: warning: 'characters' is deprecated: Please use String or Substring directly
let length = UInt32(letters.characters.count)
^
/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/OAuthSwift/Sources/Utils.swift:19:30: warning: 'characters' is deprecated: Please use String or Substring directly
let letter = letters.characters[idx]
^
[ +13 ms] Xcode build done
[ ] [ios/] /usr/bin/env xcrun xcodebuild build -configuration Debug-Dev ONLY_ACTIVE_ARCH=YES -quiet -workspace Runner.xcworkspace -scheme Dev BUILD_DIR=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[+1350 ms] Exit code 0 from: /usr/bin/env xcrun xcodebuild build -configuration Debug-Dev ONLY_ACTIVE_ARCH=YES -quiet -workspace Runner.xcworkspace -scheme Dev BUILD_DIR=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios -sdk iphonesimulator -arch x86_64 -showBuildSettings
[ ] Build settings for action build and target Runner:
ACTION = build
AD_HOC_CODE_SIGNING_ALLOWED = YES
ALTERNATE_GROUP = staff
ALTERNATE_MODE = u+w,go-w,a+rX
ALTERNATE_OWNER = candost
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
ALWAYS_SEARCH_USER_PATHS = NO
ALWAYS_USE_SEPARATE_HEADERMAPS = NO
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
APPLE_INTERNAL_DIR = /AppleInternal
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
APPLICATION_EXTENSION_API_ONLY = NO
APPLY_RULES_IN_COPY_FILES = NO
APP_NAME = AwesomeProject Awesome Debug
ARCHS = x86_64
ARCHS_STANDARD = i386 x86_64
ARCHS_STANDARD_32_64_BIT = i386 x86_64
ARCHS_STANDARD_32_BIT = i386
ARCHS_STANDARD_64_BIT = x86_64
ARCHS_STANDARD_INCLUDING_64_BIT = i386 x86_64
ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator
BITCODE_GENERATION_MODE = marker
BUILD_ACTIVE_RESOURCES_ONLY = NO
BUILD_COMPONENTS = headers build
BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
BUILD_ROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Products
BUILD_STYLE =
BUILD_TYPE = DEBUG
BUILD_VARIANTS = normal
BUILT_PRODUCTS_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
CACHE_ROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CCHROOT = /var/folders/hq/0wx1r4416wgccg_n_j5plr5w0000gp/C/com.apple.DeveloperTools/9.2-9C40b/Xcode
CHMOD = /bin/chmod
CHOWN = /usr/sbin/chown
CLANG_ANALYZER_NONNULL = YES
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_ENABLE_OBJC_ARC = YES
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_COMMA = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
CLANG_WARN_STRICT_PROTOTYPES = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
CLASS_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/JavaClasses
CLEAN_PRECOMPS = YES
CLONE_HEADERS = NO
CODESIGNING_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/Runner.app
CODE_SIGNING_ALLOWED = YES
CODE_SIGNING_REQUIRED = YES
CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements
CODE_SIGN_IDENTITY = -
CODE_SIGN_STYLE = Manual
COLOR_DIAGNOSTICS = NO
COMBINE_HIDPI_IMAGES = NO
COMPILER_INDEX_STORE_ENABLE = Default
COMPOSITE_SDK_DIRS = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/CompositeSDKs
COMPRESS_PNG_FILES = YES
CONFIGURATION = Debug-Dev
CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
CONFIGURATION_TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator
CONTENTS_FOLDER_PATH = Runner.app
COPYING_PRESERVES_HFS_DATA = NO
COPY_HEADERS_RUN_UNIFDEF = NO
COPY_PHASE_STRIP = NO
COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos
CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
CORRESPONDING_DEVICE_SDK_NAME = iphoneos11.2
CP = /bin/cp
CREATE_INFOPLIST_SECTION_IN_BINARY = NO
CURRENT_ARCH = x86_64
CURRENT_PROJECT_VERSION = 3
CURRENT_VARIANT = normal
DEAD_CODE_STRIPPING = YES
DEBUGGING_SYMBOLS = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
DEFINES_MODULE = NO
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min
DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min=
DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2
DERIVED_FILES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/DerivedSources
DERIVED_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/DerivedSources
DERIVED_SOURCES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/DerivedSources
DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks
DEVELOPER_INSTALL_DIR = /Applications/Xcode.app/Contents/Developer
DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library
DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools
DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
DEVELOPMENT_LANGUAGE = English
DEVELOPMENT_TEAM = Z5HYUE65Z7
DEVICE_DEVELOPER_DIR = /Developer
DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation
DO_HEADER_SCANNING_IN_JAM = NO
DSTROOT = /tmp/Runner.dst
DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
DWARF_DSYM_FILE_NAME = Runner.app.dSYM
DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
DWARF_DSYM_FOLDER_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
EFFECTIVE_PLATFORM_NAME = -iphonesimulator
EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
ENABLE_BITCODE = NO
ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
ENABLE_HEADER_DEPENDENCIES = YES
ENABLE_ON_DEMAND_RESOURCES = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
ENTITLEMENTS_REQUIRED = YES
EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
EXECUTABLES_FOLDER_PATH = Runner.app/Executables
EXECUTABLE_FOLDER_PATH = Runner.app
EXECUTABLE_NAME = Runner
EXECUTABLE_PATH = Runner.app/Runner
EXPANDED_CODE_SIGN_IDENTITY =
EXPANDED_CODE_SIGN_IDENTITY_NAME =
EXPANDED_PROVISIONING_PROFILE =
FILE_LIST = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects/LinkFileList
FIXED_FILES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/FixedFiles
FLUTTER_APPLICATION_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject
FLUTTER_BUILD_DIR = build
FLUTTER_BUILD_MODE = debug
FLUTTER_FRAMEWORK_DIR = /Users/candost/Documents/flutter/bin/cache/artifacts/engine/ios
FLUTTER_ROOT = /Users/candost/Documents/flutter
FLUTTER_TARGET = lib/main.dart
FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
FRAMEWORK_FLAG_PREFIX = -framework
FRAMEWORK_SEARCH_PATHS = "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Crashlytics/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Fabric/iOS" "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios" /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
FRAMEWORK_VERSION = A
FULL_PRODUCT_NAME = Runner.app
GCC3_VERSION = 3.3
GCC_C_LANGUAGE_STANDARD = gnu99
GCC_DYNAMIC_NO_PIC = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_OBJC_LEGACY_DISPATCH = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 COCOAPODS=1
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_VERSION = com.apple.compilers.llvm.clang.1_0
GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
GENERATE_MASTER_OBJECT_FILE = NO
GENERATE_PKGINFO_FILE = YES
GENERATE_PROFILING_CODE = NO
GENERATE_TEXT_BASED_STUBS = NO
GID = 20
GROUP = staff
HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
HEADERMAP_USES_VFS = NO
HEADER_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/**
HIDE_BITCODE_SYMBOLS = YES
HOME = /Users/candost
ICONV = /usr/bin/iconv
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
INFOPLIST_FILE = Runner/Info.plist
INFOPLIST_OUTPUT_FORMAT = binary
INFOPLIST_PATH = Runner.app/Info.plist
INFOPLIST_PREPROCESS = NO
INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
INLINE_PRIVATE_FRAMEWORKS = NO
INSTALLHDRS_COPY_PHASE = NO
INSTALLHDRS_SCRIPT_PHASE = NO
INSTALL_DIR = /tmp/Runner.dst/Applications
INSTALL_GROUP = staff
INSTALL_MODE_FLAG = u+w,go-w,a+rX
INSTALL_OWNER = candost
INSTALL_PATH = /Applications
INSTALL_ROOT = /tmp/Runner.dst
IPHONEOS_DEPLOYMENT_TARGET = 10.3
JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
JAVA_ARCHIVE_CLASSES = YES
JAVA_ARCHIVE_TYPE = JAR
JAVA_COMPILER = /usr/bin/javac
JAVA_FOLDER_PATH = Runner.app/Java
JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
JAVA_JAR_FLAGS = cv
JAVA_SOURCE_SUBDIR = .
JAVA_USE_DEPENDENCIES = YES
JAVA_ZIP_FLAGS = -urg
JIKES_DEFAULT_FLAGS = +E +OLDCSO
KEEP_PRIVATE_EXTERNS = NO
LD_DEPENDENCY_INFO_FILE = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat
LD_GENERATE_MAP_FILE = NO
LD_MAP_FILE_PATH = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt
LD_NO_PIE = NO
LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks
LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
LEX = lex
LIBRARY_FLAG_NOSPACE = YES
LIBRARY_FLAG_PREFIX = -l
LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
LIBRARY_SEARCH_PATHS = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Flutter
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINK_FILE_LIST_normal_x86_64 =
LINK_WITH_STANDARD_LIBRARIES = YES
LOCALIZABLE_CONTENT_DIR =
LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
LOCAL_APPS_DIR = /Applications
LOCAL_DEVELOPER_DIR = /Library/Developer
LOCAL_LIBRARY_DIR = /Library
LOCROOT =
LOCSYMROOT =
MACH_O_TYPE = mh_execute
MAC_OS_X_PRODUCT_BUILD_VERSION = 17D102
MAC_OS_X_VERSION_ACTUAL = 101303
MAC_OS_X_VERSION_MAJOR = 101300
MAC_OS_X_VERSION_MINOR = 1303
METAL_LIBRARY_FILE_BASE = default
METAL_LIBRARY_OUTPUT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/Runner.app
MODULE_CACHE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/ModuleCache
MTL_ENABLE_DEBUG_INFO = YES
NATIVE_ARCH = i386
NATIVE_ARCH_32_BIT = i386
NATIVE_ARCH_64_BIT = x86_64
NATIVE_ARCH_ACTUAL = x86_64
NO_COMMON = YES
OBJC_ABI_VERSION = 2
OBJECT_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects
OBJECT_FILE_DIR_normal = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/Objects-normal
OBJROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex
ONLY_ACTIVE_ARCH = YES
OS = MACOS
OSAC = /usr/bin/osacompile
OTHER_CFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_CPLUSPLUSFLAGS = -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/KeychainAccess/KeychainAccess.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/OAuthSwift/OAuthSwift.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/device_info/device_info.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/share/share.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/shared_preferences/shared_preferences.framework/Headers" -iquote "/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/url_launcher/url_launcher.framework/Headers" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Crashlytics" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Fabric" -isystem "/Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods/Headers/Public/Flutter"
OTHER_LDFLAGS = -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher" -ObjC -l"c++" -l"z" -framework "Crashlytics" -framework "Fabric" -framework "Flutter" -framework "KeychainAccess" -framework "OAuthSwift" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "device_info" -framework "share" -framework "shared_preferences" -framework "url_launcher"
OTHER_SWIFT_FLAGS = "-D" "COCOAPODS" "-D" "COCOAPODS" "-D" "COCOAPODS"
PACKAGE_TYPE = com.apple.package-type.wrapper.application
PASCAL_STRINGS = YES
PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/Users/candost/.rvm/gems/ruby-2.3.1/bin:/Users/candost/.rvm/gems/ruby-2.3.1@global/bin:/Users/candost/.rvm/rubies/ruby-2.3.1/bin:/Users/candost/.nvm/versions/node/v6.11.2/bin:/usr/local/bin/wl:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/candost/Documents/flutter/bin:/Users/candost/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/candost/.rvm/bin
PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms
PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
PFE_FILE_C_DIALECTS = objective-c
PKGINFO_FILE_PATH = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/PkgInfo
PKGINFO_PATH = Runner.app/PkgInfo
PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
PLATFORM_DISPLAY_NAME = iOS Simulator
PLATFORM_NAME = iphonesimulator
PLATFORM_PREFERRED_ARCH = x86_64
PLIST_FILE_OUTPUT_FORMAT = binary
PLUGINS_FOLDER_PATH = Runner.app/PlugIns
PODS_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios
PODS_CONFIGURATION_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
PODS_PODFILE_DIR_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/.
PODS_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Pods
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
PRECOMP_DESTINATION_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/PrefixHeaders
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
PRODUCT_BUNDLE_IDENTIFIER = com.AwesomeProject.myproject.debug
PRODUCT_MODULE_NAME = Runner
PRODUCT_NAME = Runner
PRODUCT_SETTINGS_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner/Info.plist
PRODUCT_TYPE = com.apple.product-type.application
PROFILING_CODE = NO
PROJECT = Runner
PROJECT_DERIVED_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/DerivedSources
PROJECT_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
PROJECT_FILE_PATH = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios/Runner.xcodeproj
PROJECT_NAME = Runner
PROJECT_TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build
PROJECT_TEMP_ROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex
PROVISIONING_PROFILE = 6886e457-fea0-4c4b-a795-5c1c2151d68f
PROVISIONING_PROFILE_SPECIFIER = match Development com.AwesomeProject.myproject.debug
PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
REMOVE_CVS_FROM_RESOURCES = YES
REMOVE_GIT_FROM_RESOURCES = YES
REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
REMOVE_HG_FROM_RESOURCES = YES
REMOVE_SVN_FROM_RESOURCES = YES
REZ_COLLECTOR_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/ResourceManagerResources
REZ_OBJECTS_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build/ResourceManagerResources/Objects
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
SCRIPTS_FOLDER_PATH = Runner.app/Scripts
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
SDK_DIR_iphonesimulator11_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
SDK_NAME = iphonesimulator11.2
SDK_NAMES = iphonesimulator11.2
SDK_PRODUCT_BUILD_VERSION = 15C107
SDK_VERSION = 11.2
SDK_VERSION_ACTUAL = 110200
SDK_VERSION_MAJOR = 110000
SDK_VERSION_MINOR = 200
SED = /usr/bin/sed
SEPARATE_STRIP = NO
SEPARATE_SYMBOL_EDIT = NO
SET_DIR_MODE_OWNER_GROUP = YES
SET_FILE_MODE_OWNER_GROUP = NO
SHALLOW_BUNDLE = YES
SHARED_DERIVED_FILE_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator/DerivedSources
SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
SHARED_PRECOMPS_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/PrecompiledHeaders
SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
SKIP_INSTALL = NO
SOURCE_ROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
SRCROOT = /Users/candost/Documents/AwesomeProject/Repositories/myproject/ios
STRINGS_FILE_OUTPUT_ENCODING = binary
STRIP_BITCODE_FROM_COPIED_FILES = NO
STRIP_INSTALLED_PRODUCT = YES
STRIP_STYLE = all
STRIP_SWIFT_SYMBOLS = YES
SUPPORTED_DEVICE_FAMILIES = 1,2
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
SUPPORTS_TEXT_BASED_API = NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
SWIFT_OPTIMIZATION_LEVEL = -Onone
SWIFT_PLATFORM_TARGET_PREFIX = ios
SWIFT_SWIFT3_OBJC_INFERENCE = Default
SWIFT_VERSION = 4.0
SYMROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Products
SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
SYSTEM_APPS_DIR = /Applications
SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
SYSTEM_DEMOS_DIR = /Applications/Extras
SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications
SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin
SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples
SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library
SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools
SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools
SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools
SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes
SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools
SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr
SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities
SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
SYSTEM_LIBRARY_DIR = /System/Library
TAPI_VERIFY_MODE = ErrorsOnly
TARGETED_DEVICE_FAMILY = 1
TARGETNAME = Runner
TARGET_BUILD_DIR = /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/Debug-Dev-iphonesimulator
TARGET_NAME = Runner
TARGET_TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_FILES_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_FILE_DIR = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex/Runner.build/Debug-Dev-iphonesimulator/Runner.build
TEMP_ROOT = /Users/candost/Library/Developer/Xcode/DerivedData/Runner-fnxqkhogdmdopfanqaxkdjhszkvu/Build/Intermediates.noindex
TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
UID = 502
UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app
UNSTRIPPED_PRODUCT = NO
USER = candost
USER_APPS_DIR = /Users/candost/Applications
USER_LIBRARY_DIR = /Users/candost/Library
USE_DYNAMIC_NO_PIC = YES
USE_HEADERMAP = YES
USE_HEADER_SYMLINKS = NO
VALIDATE_PRODUCT = NO
VALID_ARCHS = i386 x86_64
VERBOSE_PBXCP = NO
VERSIONING_SYSTEM = apple-generic
VERSIONPLIST_PATH = Runner.app/version.plist
VERSION_INFO_BUILDER = candost
VERSION_INFO_FILE = Runner_vers.c
VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-3"
WRAPPER_EXTENSION = app
WRAPPER_NAME = Runner.app
WRAPPER_SUFFIX = .app
WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode
XCODE_INSTALL_PATH = /Applications/Xcode.app/Contents/Developer/../../..
XCODE_PRODUCT_BUILD_VERSION = 9C40b
XCODE_VERSION_ACTUAL = 0920
XCODE_VERSION_MAJOR = 0900
XCODE_VERSION_MINOR = 0920
XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
YACC = yacc
arch = x86_64
variant = normal
[ +254 ms] /usr/bin/xcrun simctl install 74A6F1AA-E9A7-4349-91D7-388345997787 /Users/candost/Documents/AwesomeProject/Repositories/myproject/build/ios/iphonesimulator/Runner.app
[ +735 ms] /usr/bin/xcrun simctl launch 74A6F1AA-E9A7-4349-91D7-388345997787 com.AwesomeProject.myproject --enable-dart-profiling --flutter-assets-dir=/Users/candost/Documents/AwesomeProject/Repositories/myproject/build/flutter_assets --dart-main=/Users/candost/Documents/AwesomeProject/Repositories/myproject/lib/main.dart --packages=/Users/candost/Documents/AwesomeProject/Repositories/myproject/.packages --enable-checked-mode --observatory-port=8101
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<blockquote>
<p dir="auto">Paste the output of running <code class="notranslate">flutter doctor -v</code> here.</p>
</blockquote>
<p dir="auto">Output of <code class="notranslate">flutter doctor -v</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="✓] Flutter (Channel dev, v0.2.1, on Mac OS X 10.13.3 17D102, locale en-DE)
• Flutter version 0.2.1 at /Users/candost/Documents/flutter
• Framework revision 6f5bcb97a4 (7 days ago), 2018-03-08 15:01:37 -0800
• Engine revision 24cf8ebd86
• Dart version 2.0.0-dev.33.0.flutter-b5b8080b2c
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/candost/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[✓] Connected devices (5 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• iPhone SE • 4403FD21-2A46-47A0-B351-2C42A1E701DC • ios • iOS 11.1 (simulator)
• iPhone 7 • 74A6F1AA-E9A7-4349-91D7-388345997787 • ios • iOS 11.2 (simulator)
• iPhone X • 3C6B93F7-967D-4764-AF64-F4EE82C3DDAC • ios • iOS 11.2 (simulator)
• iPhone SE • 36F902D7-4D24-41AB-8587-D1974F0FD8DF • ios • iOS 10.3 (simulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">✓] Flutter (Channel dev, v0.2.1, on Mac OS X 10.13.3 17D102, locale en-DE)
• Flutter version 0.2.1 at /Users/candost/Documents/flutter
• Framework revision 6f5bcb97a4 (7 days ago), 2018-03-08 15:01:37 -0800
• Engine revision 24cf8ebd86
• Dart version 2.0.0-dev.33.0.flutter-b5b8080b2c
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/candost/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[✓] Connected devices (5 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• iPhone SE • 4403FD21-2A46-47A0-B351-2C42A1E701DC • ios • iOS 11.1 (simulator)
• iPhone 7 • 74A6F1AA-E9A7-4349-91D7-388345997787 • ios • iOS 11.2 (simulator)
• iPhone X • 3C6B93F7-967D-4764-AF64-F4EE82C3DDAC • ios • iOS 11.2 (simulator)
• iPhone SE • 36F902D7-4D24-41AB-8587-D1974F0FD8DF • ios • iOS 10.3 (simulator)
• No issues found!
</code></pre></div> | 0 |
<p dir="auto">Conda is a great package distribution system, especially for those with binary dependencies. It'd be good to have some ourselves.</p> | <p dir="auto">Putting this here and tagging myself <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericmjl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericmjl">@ericmjl</a> so that I can remember this exists.</p>
<p dir="auto">To get <code class="notranslate">jax</code> into the hands of data scientists and machine learning researchers, <code class="notranslate">conda</code> installation would be very useful. I will take a stab at this on conda-forge, and record my progress here.</p> | 1 |
<p dir="auto">If we add "pull-right" in navbar-nav class ul tag for right align links.<br>
Then when we expand and collapse navbar menu once then it does not get open again on clicking the navbar-toggle in mobile device.</p>
<p dir="auto">here is the bootply example:</p>
<p dir="auto"><a href="http://bootply.com/70846#" rel="nofollow">http://bootply.com/70846#</a></p>
<ol dir="auto">
<li>but if we don't keep pull right in navbar-nav it works fine.</li>
<li>if we have 2 navbar-nav class ul tag one with pull-right (2nd ul tag) and other without it (1st ul tag) then it works again. Here is bootply version of that too:</li>
</ol>
<p dir="auto"><a href="http://bootply.com/70855#" rel="nofollow">http://bootply.com/70855#</a></p>
<p dir="auto">Browser: Firefox 22.0</p>
<p dir="auto">Update-1 : In Chrome, it does collapse and expand as many times as we want but it collapse abruptly ( without animation)</p> | <p dir="auto"><code class="notranslate">$('body').on(....)</code> does not work with something like <a href="https://github.com/rails/turbolinks">https://github.com/rails/turbolinks</a>. If you change it to <code class="notranslate">$(document).on(...)</code> it does work. Document is the top most element where events bubble up to.</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>flutter upgrade 0.2 to 0.3</li>
<li>flutter doctor in my project folder</li>
<li>got things like below:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading package sky_engine...(cached)
Downloading common tools... 7.0s
Downloading windows-x64 tools... 9.9s
Downloading android-arm-profile/windows-x64 tools...
Could not authenticate download server. You may be experiencing a man-in-the-middle attack,
your network may be compromised, or you may have malware installed on your computer.
URL: https://storage.flutter-io.cn/flutter_infra/flutter/06afdfe54ebef9168a90ca00a6721c2d36e6aafa/android-arm-profile/windows-x64.zip"><pre class="notranslate"><code class="notranslate">Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading package sky_engine...(cached)
Downloading common tools... 7.0s
Downloading windows-x64 tools... 9.9s
Downloading android-arm-profile/windows-x64 tools...
Could not authenticate download server. You may be experiencing a man-in-the-middle attack,
your network may be compromised, or you may have malware installed on your computer.
URL: https://storage.flutter-io.cn/flutter_infra/flutter/06afdfe54ebef9168a90ca00a6721c2d36e6aafa/android-arm-profile/windows-x64.zip
</code></pre></div>
<p dir="auto">Each time I run flutter doctor, I got different logs. After several times, I got one log like below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading package sky_engine...(cached)
Downloading common tools...(cached)
Downloading windows-x64 tools...(cached)
Downloading android-arm-profile/windows-x64 tools...(cached)
Downloading android-arm-release/windows-x64 tools...(cached)
Downloading android-arm64-profile/windows-x64 tools...(cached)
Downloading android-arm64-release/windows-x64 tools...(cached)
Downloading android-x86 tools... 116.9s
Downloading android-x64 tools... 42.0s
Downloading android-arm tools... 45.0s
Downloading android-arm-profile tools...
Could not authenticate download server. You may be experiencing a man-in-the-middle attack,
your network may be compromised, or you may have malware installed on your computer.
URL: https://storage.flutter-io.cn/flutter_infra/flutter/06afdfe54ebef9168a90ca00a6721c2d36e6aafa/android-arm-profile/artifacts.zip"><pre class="notranslate"><code class="notranslate">Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading package sky_engine...(cached)
Downloading common tools...(cached)
Downloading windows-x64 tools...(cached)
Downloading android-arm-profile/windows-x64 tools...(cached)
Downloading android-arm-release/windows-x64 tools...(cached)
Downloading android-arm64-profile/windows-x64 tools...(cached)
Downloading android-arm64-release/windows-x64 tools...(cached)
Downloading android-x86 tools... 116.9s
Downloading android-x64 tools... 42.0s
Downloading android-arm tools... 45.0s
Downloading android-arm-profile tools...
Could not authenticate download server. You may be experiencing a man-in-the-middle attack,
your network may be compromised, or you may have malware installed on your computer.
URL: https://storage.flutter-io.cn/flutter_infra/flutter/06afdfe54ebef9168a90ca00a6721c2d36e6aafa/android-arm-profile/artifacts.zip
</code></pre></div>
<p dir="auto">After many many times, it become a normal flutter doctor:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.81], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] Connected devices (1 available)
• No issues found!"><pre class="notranslate"><code class="notranslate">Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.81], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] Connected devices (1 available)
• No issues found!
</code></pre></div>
<p dir="auto">I'm from China, and add the environment variable like wiki article said.</p> | <p dir="auto">Working on issues with the Firestore plugin, specifically <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="274407399" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/13043" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/13043/hovercard" href="https://github.com/flutter/flutter/issues/13043">#13043</a>, and the need to have support for additional types that are specific to the Firestore plugin, led to the creation of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="286970545" data-permission-text="Title is private" data-url="https://github.com/flutter/plugins/issues/343" data-hovercard-type="pull_request" data-hovercard-url="/flutter/plugins/pull/343/hovercard" href="https://github.com/flutter/plugins/pull/343">flutter/plugins#343</a> .</p>
<p dir="auto">This solution works, but introduces code duplication and additional maintenance needs.</p>
<p dir="auto">A more permanently correct solution would be to allow for StandardMessageCodec to be extended somehow. The particulars of how to do so are why I opened this for discussion.</p> | 0 |
<p dir="auto">my directory structure has the pages folder inside a src root and the static folder is on the same level as the src folder,how do i configure webpack so as i can be able to access the files inside the assets folder from the src/pages/index.js</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Current Behavior</h2>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">1.create src folder<br>
2.move pages into src<br>
3.try accessing static/xyz.png from src/pages/index.js</p>
<h2 dir="auto">Context</h2>
<p dir="auto">directory structuring tryin to move all dynamic code into src</p>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td></td>
</tr>
<tr>
<td>node</td>
<td></td>
</tr>
<tr>
<td>OS</td>
<td></td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">I am trying to use nextjs with express by loading the nextjs app as an express router. I am mostly following the express example in the example folder but when the server starts up, I can only access the index page. All the other pages aren't loaded into the build folder. Not sure why that's happening as everything works perfectly if I load the next app directly rather than loading it as an express router.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected & Current Behavior</h2>
<p dir="auto">I expected all the pages to load normally but that's not happening as only the index page loads</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">The project can be access <a href="https://github.com/walleXD/nextpack-simple/tree/refactor/next_express-router">here</a>. It's very similar to the express example in the nextjs repo other than splitting out the rendering into an express router file, which is what I am trying to accomplish</p>
<p dir="auto"><em>index.js</em>(main project entry)</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import express from 'express'
import next from 'next'
import { apiRouter, nextRouter, app } from './server/router'
const start = async () => {
const server = express()
await app.prepare()
server.use('/api', apiRouter)
server.use('*', nextRouter)
server.listen(3000, (err) => {
if (err) throw err
console.log('> Ready on http://localhost:3000')
})
}
start()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">express</span> <span class="pl-k">from</span> <span class="pl-s">'express'</span>
<span class="pl-k">import</span> <span class="pl-s1">next</span> <span class="pl-k">from</span> <span class="pl-s">'next'</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">apiRouter</span><span class="pl-kos">,</span> <span class="pl-s1">nextRouter</span><span class="pl-kos">,</span> <span class="pl-s1">app</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./server/router'</span>
<span class="pl-k">const</span> <span class="pl-en">start</span> <span class="pl-c1">=</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">server</span> <span class="pl-c1">=</span> <span class="pl-en">express</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-k">await</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">prepare</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-s">'/api'</span><span class="pl-kos">,</span> <span class="pl-s1">apiRouter</span><span class="pl-kos">)</span>
<span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">,</span> <span class="pl-s1">nextRouter</span><span class="pl-kos">)</span>
<span class="pl-s1">server</span><span class="pl-kos">.</span><span class="pl-en">listen</span><span class="pl-kos">(</span><span class="pl-c1">3000</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</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">err</span><span class="pl-kos">)</span> <span class="pl-k">throw</span> <span class="pl-s1">err</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">'> Ready on http://localhost:3000'</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-en">start</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div>
<p dir="auto"><em>nextRouter.js</em></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import express from 'express'
import next from 'next'
import conf from '../../client/next.config'
const dev = process.env.NODE_ENV !== 'production'
const app = next({ dev, dir: './client', conf})
const handle = app.getRequestHandler()
const nextRouter = express.Router()
nextRouter.get('*', (req, res) => {
return handle(req, res)
})
export {
app,
nextRouter
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">express</span> <span class="pl-k">from</span> <span class="pl-s">'express'</span>
<span class="pl-k">import</span> <span class="pl-s1">next</span> <span class="pl-k">from</span> <span class="pl-s">'next'</span>
<span class="pl-k">import</span> <span class="pl-s1">conf</span> <span class="pl-k">from</span> <span class="pl-s">'../../client/next.config'</span>
<span class="pl-k">const</span> <span class="pl-s1">dev</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">NODE_ENV</span> <span class="pl-c1">!==</span> <span class="pl-s">'production'</span>
<span class="pl-k">const</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">{</span> dev<span class="pl-kos">,</span> <span class="pl-c1">dir</span>: <span class="pl-s">'./client'</span><span class="pl-kos">,</span> conf<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">handle</span> <span class="pl-c1">=</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">getRequestHandler</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-k">const</span> <span class="pl-s1">nextRouter</span> <span class="pl-c1">=</span> <span class="pl-s1">express</span><span class="pl-kos">.</span><span class="pl-en">Router</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-s1">nextRouter</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">handle</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">,</span> <span class="pl-s1">res</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span>
<span class="pl-s1">app</span><span class="pl-kos">,</span>
<span class="pl-s1">nextRouter</span>
<span class="pl-kos">}</span></pre></div>
<h2 dir="auto">Context</h2>
<p dir="auto">I am trying to use nextjs with backpackjs and I have been mostly successful. I am trying to separate out the nextjs app rendering into a separate express router file as that would allow me to better define route rendering on the server side</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>latest</td>
</tr>
<tr>
<td>node</td>
<td>8.2.1</td>
</tr>
<tr>
<td>OS</td>
<td>macOS 10.12.5</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">I am not able to push to GitHub from inside VS Code? The git output looks like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git push
remote: Anonymous access to rmaclean/Website_DevConf.git denied.
fatal: Authentication failed for 'https://github.com/rmaclean/Website_DevConf.git/'"><pre lang="text" class="notranslate"><code class="notranslate">git push
remote: Anonymous access to rmaclean/Website_DevConf.git denied.
fatal: Authentication failed for 'https://github.com/rmaclean/Website_DevConf.git/'
</code></pre></div>
<p dir="auto">The anonymous part is odd, since I am prompted for my credentials and they are correct (I can use the command line tools fine). I am not using credential helper at the moment.</p> | <p dir="auto">I have scm git installed and GitHub for Windows.</p>
<p dir="auto">When I try to push I get prompted for username/password then get "Authentication failed on the git remote."</p>
<p dir="auto">I am able to push from GitHub for Windows and command line using same credentials</p> | 1 |
<p dir="auto">All other bits come out 0:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [2]: a=numpy.array([0x1,0x3])
In [3]: numpy.bitwise_and.reduce(a)
Out[3]: 1
In [4]: a=numpy.array([0x2,0x3])
In [5]: numpy.bitwise_and.reduce(a)
Out[5]: 0"><pre class="notranslate"><code class="notranslate">In [2]: a=numpy.array([0x1,0x3])
In [3]: numpy.bitwise_and.reduce(a)
Out[3]: 1
In [4]: a=numpy.array([0x2,0x3])
In [5]: numpy.bitwise_and.reduce(a)
Out[5]: 0
</code></pre></div>
<p dir="auto">Surely this is because <code class="notranslate">bitwise_and.identity</code> is 1, when it should be -1 (i.e. all bits set).</p> | <p dir="auto">In numpy 1.9.0 I get the following</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> numpy.bitwise_and.identity
1"><pre class="notranslate"><code class="notranslate">>>> numpy.bitwise_and.identity
1
</code></pre></div>
<p dir="auto">But the correct identity should be a pattern of all 1's (for whatever the operation type is). This leads to bizarre results like the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> numpy.bitwise_and.reduce([4])
0"><pre class="notranslate"><code class="notranslate">>>> numpy.bitwise_and.reduce([4])
0
</code></pre></div> | 1 |
<h2 dir="auto">ℹ Computer information</h2>
<ul dir="auto">
<li>PowerToys version: v0.23.0</li>
<li>PowerToy Utility:</li>
<li>Running PowerToys as Admin: Yes</li>
<li>Windows build number: [run "winver"] 18363.1082</li>
</ul>
<h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3>
<p dir="auto">FancyZones should save my layout when I switch virtual desktops.</p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<p dir="auto">FancyZones is confusing the layout of Desktop A with Desktop B. If I reset it, it eventually flips them around again. This started in the most recent update. I think I updated PowerToys twice 2 days ago, so it was either this version or the version immediately prior.</p>
<p dir="auto"><em>What is the actual result of the above steps?</em></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"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p> | <p dir="auto">I use two 4k monitors in portrait mode; works great when coding or writing documents.</p>
<p dir="auto">I would like to see the <kbd>Windows</kbd>+<kbd>Left/Right</kbd> shortcuts altered when Windows detects the monitor is in portrait mode, and snap the windows to the top half, or bottom half, of the screen, similar to how it works in landscape mode.</p> | 0 |
<p dir="auto">I work with a byte stream (from Azure DataLake <a href="https://pypi.python.org/pypi/azure-datalake-store/0.0.19" rel="nofollow">https://pypi.python.org/pypi/azure-datalake-store/0.0.19</a> which only supports byte stream) that has a UTF-8 byte order mark, and want to read it into a data frame.</p>
<p dir="auto">pandas.read_json fails.<br>
For comparison, pd.read_csv(file, lines=True, encoding='utf-8-sig') works fine with a similar file</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
def skip_utf_8_bom(file):
bom = file.read(3)
# print(bom)
if bom != b'\xef\xbb\xbf': # undo read
file.seek(len(bom), 1)
path = 'sample-utf-8-sig.txt'
#works
with open(path, 'rb') as file:
skip_utf_8_bom(file)
df = pd.read_json(file, lines=True, encoding='utf-8-sig')
df
#fails
with open(path, 'rb') as file:
df = pd.read_json(file, lines=True, encoding='utf-8-sig')
df
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">def</span> <span class="pl-en">skip_utf_8_bom</span>(<span class="pl-s1">file</span>):
<span class="pl-s1">bom</span> <span class="pl-c1">=</span> <span class="pl-s1">file</span>.<span class="pl-en">read</span>(<span class="pl-c1">3</span>)
<span class="pl-c"># print(bom)</span>
<span class="pl-k">if</span> <span class="pl-s1">bom</span> <span class="pl-c1">!=</span> <span class="pl-s">b'<span class="pl-cce">\xef</span><span class="pl-cce">\xbb</span><span class="pl-cce">\xbf</span>'</span>: <span class="pl-c"># undo read</span>
<span class="pl-s1">file</span>.<span class="pl-en">seek</span>(<span class="pl-en">len</span>(<span class="pl-s1">bom</span>), <span class="pl-c1">1</span>)
<span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-s">'sample-utf-8-sig.txt'</span>
<span class="pl-c">#works</span>
<span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s1">path</span>, <span class="pl-s">'rb'</span>) <span class="pl-k">as</span> <span class="pl-s1">file</span>:
<span class="pl-en">skip_utf_8_bom</span>(<span class="pl-s1">file</span>)
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_json</span>(<span class="pl-s1">file</span>, <span class="pl-s1">lines</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">encoding</span><span class="pl-c1">=</span><span class="pl-s">'utf-8-sig'</span>)
<span class="pl-s1">df</span>
<span class="pl-c">#fails</span>
<span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s1">path</span>, <span class="pl-s">'rb'</span>) <span class="pl-k">as</span> <span class="pl-s1">file</span>:
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_json</span>(<span class="pl-s1">file</span>, <span class="pl-s1">lines</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">encoding</span><span class="pl-c1">=</span><span class="pl-s">'utf-8-sig'</span>)
<span class="pl-s1">df</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">pd.read_json seems not to be able to process the encoding='utf-8-sig' parameter.<br>
Expected behavior is that it allows to work with byte streams with an utf-8 byte order mark</p>
<p dir="auto"><a href="https://github.com/pandas-dev/pandas/files/1873467/sample-utf-8-sig.txt">sample-utf-8-sig.txt</a></p> | <p dir="auto">xref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158265190" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13351" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/13351/hovercard" href="https://github.com/pandas-dev/pandas/pull/13351">#13351</a></p>
<p dir="auto"><a href="https://github.com/pydata/pandas/commit/964b7bba7f5878c79130479f75461c58dd0c4b3e">Here's the test</a>, currently skipped</p> | 1 |
<p dir="auto">Hi, sorry but i couldn't find the language-yml repository, so i will post it here. Since the version 0.107.0 the yml syntax highlighting is not working anymore for me.</p>
<p dir="auto">The first line seems to be ok, the rest is just green.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5446019/3468224/50ef23aa-029b-11e4-92d5-7e2878182769.png"><img src="https://cloud.githubusercontent.com/assets/5446019/3468224/50ef23aa-029b-11e4-92d5-7e2878182769.png" alt="bildschirmfoto 2014-07-03 um 12 17 53" style="max-width: 100%;"></a></p>
<p dir="auto">Editor: React</p> | <p dir="auto">I've just updated to 0.10.0 and I think it broke the highlighting even in very simple files. <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/572843/3464854/d2c4b384-0257-11e4-9680-7457ff94b030.png"><img src="https://cloud.githubusercontent.com/assets/572843/3464854/d2c4b384-0257-11e4-9680-7457ff94b030.png" alt="captura de tela 2014-07-02 as 23 02 06" style="max-width: 100%;"></a></p>
<p dir="auto">Maybe something from <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/language-yaml/commit/5b4def5b9b5d540cc7f6ad98e1f10c83813ba0fa/hovercard" href="https://github.com/atom/language-yaml/commit/5b4def5b9b5d540cc7f6ad98e1f10c83813ba0fa"><tt>5b4def5</tt></a> is not quite right?</p>
<p dir="auto">I'll try to take a better look at it tomorrow.</p> | 1 |
<p dir="auto">Hi, all.<br>
i am new to tensorflow, and spent a lot of days to install tensorflow, but it didn't work. Need help</p>
<p dir="auto">sudo ./configure<br>
~/tensorflow ~/tensorflow<br>
Please specify the location of python. [Default is /usr/bin/python]:<br>
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] n<br>
No Google Cloud Platform support will be enabled for TensorFlow<br>
Found possible Python library paths:<br>
/usr/local/lib/python2.7/dist-packages<br>
/usr/lib/python2.7/dist-packages<br>
Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/dist-packages]</p>
<p dir="auto">/usr/local/lib/python2.7/dist-packages<br>
Do you wish to build TensorFlow with GPU support? [y/N] y<br>
GPU support will be enabled for TensorFlow<br>
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:<br>
Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: 8.0<br>
Please specify the location where CUDA 8.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:<br>
Please specify the Cudnn version you want to use. [Leave empty to use system default]: 4<br>
Please specify the location where cuDNN 4 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:<br>
Please specify a list of comma-separated Cuda compute capabilities you want to build with.<br>
You can find the compute capability of your device at: <a href="https://developer.nvidia.com/cuda-gpus" rel="nofollow">https://developer.nvidia.com/cuda-gpus</a>.<br>
Please note that each additional compute capability significantly increases your build time and binary size.</p>
<p dir="auto">Found stale PID file (pid=3471). Server probably died abruptly, continuing...<br>
..<br>
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.<br>
.<br>
ERROR: /home/keithyin/tensorflow/tensorflow/contrib/session_bundle/BUILD:134:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by /home/keithyin/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle_lite'.<br>
ERROR: /home/keithyin/tensorflow/tensorflow/core/platform/default/build_config/BUILD:56:1: no such package '@jpeg_archive//': Error downloading from <a href="http://www.ijg.org/files/jpegsrc.v9a.tar.gz" rel="nofollow">http://www.ijg.org/files/jpegsrc.v9a.tar.gz</a> to /home/keithyin/.cache/bazel/_bazel_root/9192340d7b606ddb9ea35b29a97154c1/external/jpeg_archive: Error downloading <a href="http://www.ijg.org/files/jpegsrc.v9a.tar.gz" rel="nofollow">http://www.ijg.org/files/jpegsrc.v9a.tar.gz</a> to /home/keithyin/.cache/bazel/_bazel_root/9192340d7b606ddb9ea35b29a97154c1/external/jpeg_archive/jpegsrc.v9a.tar.gz: Connection timed out and referenced by '//tensorflow/core/platform/default/build_config:platformlib'.<br>
ERROR: Evaluation of query "deps((//... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.<br>
Configuration finished</p> | <p dir="auto">I am having trouble configuring the latest master branch (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/dbe7ee0dfa9e5ab26284522379f2747510fc267b/hovercard" href="https://github.com/tensorflow/tensorflow/commit/dbe7ee0dfa9e5ab26284522379f2747510fc267b"><tt>dbe7ee0</tt></a>). When I run <code class="notranslate">./configure</code>, I get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:213:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:213:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:213:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: Evaluation of query "deps((//... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.
Configuration finished"><pre class="notranslate"><code class="notranslate">ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:213:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:213:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:213:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: [...]/tensorflow/tensorflow/contrib/session_bundle/BUILD:107:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by [...]/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:session_bundle'.
ERROR: Evaluation of query "deps((//... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.
Configuration finished
</code></pre></div>
<p dir="auto">To summarize, the dependencies that are included inside the <code class="notranslate">if_android</code> and <code class="notranslate">if_ios</code> are not found. They don't exist in the repository, so that is not that surprising. What is more surprising though is that my vanilla installation is not returning empty lists when <code class="notranslate">if_android</code> is called. I haven't looked into how those functions work, so not sure why that is happening.</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Setup: CentOS, Bazel 0.3.1, CUDA 7.5, CuDNN 5.1, Tensorflow master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/dbe7ee0dfa9e5ab26284522379f2747510fc267b/hovercard" href="https://github.com/tensorflow/tensorflow/commit/dbe7ee0dfa9e5ab26284522379f2747510fc267b"><tt>dbe7ee0</tt></a>)</p>
<p dir="auto">I run <code class="notranslate">configure</code> and set it up for GPU support. Actually, I don't think this is criticial, but first I had to open up <code class="notranslate">configure</code> and add <code class="notranslate">--output_base=...</code> on the two calls to <code class="notranslate">bazel</code>, since my setup requires a custom cache directory.</p>
<h3 dir="auto">Fix</h3>
<p dir="auto">The <code class="notranslate">if_...</code> lines were added in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/ed87884e50e1a50f7dc7b36dc7a7ff225442bee0/hovercard" href="https://github.com/tensorflow/tensorflow/commit/ed87884e50e1a50f7dc7b36dc7a7ff225442bee0"><tt>ed87884</tt></a>, so a fix that I know works is to use its parent commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/7705791619f5e851687e9a63b4315087e189f8be/hovercard" href="https://github.com/tensorflow/tensorflow/commit/7705791619f5e851687e9a63b4315087e189f8be"><tt>7705791</tt></a>.</p> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">Not a huge deal, but row_colors/col_colors are generally useful when plotting a heatmap. They are also undocumented in the API of clustermap:</p>
<p dir="auto"><a href="http://web.stanford.edu/~mwaskom/software/seaborn/generated/seaborn.clustermap.html" rel="nofollow">http://web.stanford.edu/~mwaskom/software/seaborn/generated/seaborn.clustermap.html</a></p>
<p dir="auto">I can work on a PR if <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/olgabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/olgabot">@olgabot</a> is ok with it, since it was her (awesome) work originally.</p> | <p dir="auto">As an example see the <a href="https://seaborn.pydata.org/generated/seaborn.FacetGrid.html?highlight=grid#seaborn.FacetGrid" rel="nofollow">docu about <code class="notranslate">FacetGrid</code></a>. There you don't see wich class it is inherited.</p>
<p dir="auto">It is <code class="notranslate">Grid</code>.</p>
<p dir="auto">That infos should be added somehow.</p> | 0 |
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>4.x, 3.x</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>macOS 10.13.5</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>:
<ul dir="auto">
<li>unknown</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Top area is always clickable no matter what window state is.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Top area is not clickable after BrowserWindow is maximized then restored when titleBar set to "hiddenInset"</p>
<h3 dir="auto">To Reproduce</h3>
<ol dir="auto">
<li>Create a simple electron app.</li>
<li>Set titleBarStyle of BrowserWindow to "hiddenInset"</li>
<li>put a button in the top area of the Window, give it a click handler</li>
<li>maximize then restored the Window, you will find the button is not clickable.</li>
</ol>
<p dir="auto">Or</p>
<p dir="auto">git clone <a href="https://github.com/circleapps/electron-quick-start">https://github.com/circleapps/electron-quick-start</a><br>
npm install<br>
npm start</p>
<ol dir="auto">
<li>Click the button in the middle of the top area of the Window, it is clickable</li>
<li>Maximize the Window.</li>
<li>Restore the Window to its normal size</li>
<li>Click the button again, the button is not clickable.</li>
</ol> | <ul dir="auto">
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code>: v4.0.1</li>
<li>Operating System (Platform and Version): macOS 10.14.2</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
The top of the window should continue responding to clicks after exiting from fullscreen.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
The top ~40px stops responding to clicks after exiting from fullscreen.</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<ol dir="auto">
<li>Clone and run <a href="https://github.com/javan/electron-quick-start/tree/hidden-inset-mojave">https://github.com/javan/electron-quick-start/tree/hidden-inset-mojave</a></li>
<li>Click the black bar at the top of the window. It should turn purple while the mouse is down.</li>
<li>Enter and exit fullscreen.</li>
<li>Click the top of the window and note that it no longer turns purple.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/javan/electron-quick-start.git -b hidden-inset-mojave
$ npm install
$ npm start"><pre class="notranslate"><code class="notranslate">$ git clone https://github.com/javan/electron-quick-start.git -b hidden-inset-mojave
$ npm install
$ npm start
</code></pre></div>
<p dir="auto"><strong>Screenshots</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5355/51252742-93e50b80-196a-11e9-977d-13da6324bf1a.gif"><img src="https://user-images.githubusercontent.com/5355/51252742-93e50b80-196a-11e9-977d-13da6324bf1a.gif" alt="electron-fullscreen-clicks" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Additional Information</strong><br>
This issue is quite similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="358724506" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/14529" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/14529/hovercard" href="https://github.com/electron/electron/issues/14529">#14529</a>.</p> | 1 |
<h1 dir="auto">🌟 New model addition</h1>
<p dir="auto">Funnel-Transformer</p>
<h2 dir="auto">Model description</h2>
<p dir="auto">Funnel-Transformer is a new self-attention model that gradually compresses the sequence of hidden states to a shorter one and hence reduces the computation cost. More importantly, by re-investing the saved FLOPs from length reduction in constructing a deeper or wider model, Funnel-Transformer usually has a higher capacity given the same FLOPs. In addition, with a decoder, Funnel-Transformer is able to recover the token-level deep representation for each token from the reduced hidden sequence, which enables standard pretraining.</p>
<h2 dir="auto">Open source status</h2>
<p dir="auto">Released.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model implementation is available: (give details)<br>
<a href="https://github.com/laiguokun/Funnel-Transformer">https://github.com/laiguokun/Funnel-Transformer</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model weights are available: (give details)<br>
<a href="https://github.com/laiguokun/Funnel-Transformer">https://github.com/laiguokun/Funnel-Transformer</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> who are the authors: (mention them, if possible by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gh-username/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gh-username">@gh-username</a>)<br>
Zihang Dai*, Guokun Lai*, Yiming Yang, Quoc V. Le</li>
</ul> | <h1 dir="auto">🌟 New model addition</h1>
<h2 dir="auto">Model description</h2>
<p dir="auto">The recently introduced Funnel-Transformer architecture and models would be a great feature for Transformers:</p>
<blockquote>
<p dir="auto">Funnel-Transformer is a new self-attention model that gradually compresses the sequence of hidden states to a shorter one and hence reduces the computation cost. More importantly, by re-investing the saved FLOPs from length reduction in constructing a deeper or wider model, Funnel-Transformer usually has a higher capacity given the same FLOPs. In addition, with a decoder, Funnel-Transformer is able to recover the token-level deep representation for each token from the reduced hidden sequence, which enables standard pretraining.</p>
</blockquote>
<p dir="auto">The paper can be found <a href="https://arxiv.org/abs/2006.03236" rel="nofollow">here</a>.</p>
<h2 dir="auto">Open source status</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model implementation is available: <a href="https://github.com/laiguokun/Funnel-Transformer">official GitHub repo</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model weights are available: <a href="https://github.com/laiguokun/Funnel-Transformer/blob/master/download_all_ckpts.sh">Google Cloud Bucket</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> who are the authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zihangdai/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zihangdai">@zihangdai</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/laiguokun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/laiguokun">@laiguokun</a></li>
</ul> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18363.448
Windows Terminal version (if applicable): 0.6.2951.0
Any other software? None"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.448
Windows Terminal version (if applicable): 0.6.2951.0
Any other software? None
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Run <code class="notranslate">sudo apt update</code>.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The line with <code class="notranslate">‘apt list --upgradable’</code> should display with the correct text size, as in Windows Console:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11819816/68539913-1856be00-03c5-11ea-9128-bd2e8afc835b.png"><img src="https://user-images.githubusercontent.com/11819816/68539913-1856be00-03c5-11ea-9128-bd2e8afc835b.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I'm using the Simplified Chinese language edition of Windows, and Windows Console uses SimSun, 12pt as default font.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The same line in Windows Terminal displays with the wrong text size:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11819816/68539917-2c9abb00-03c5-11ea-9050-c50e7fb808c6.png"><img src="https://user-images.githubusercontent.com/11819816/68539917-2c9abb00-03c5-11ea-9050-c50e7fb808c6.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The font I use is Noto Sans Mono CJK SC, 12pt.</p> | <p dir="auto">Right now I use cmder and I have a keyboard shortcut that can launch multiple tabs, like, one will start and run the local proxy, the other one for development and one for database</p>
<p dir="auto">I couldnt do that in current Windows Terminal, it would be nice to have that setup.</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>exec: <code class="notranslate">flutter run</code></li>
<li>change widget code</li>
<li>hot-reload,the application works correctly</li>
<li>leave behind for a while</li>
<li>active the application, touch the button to back to login page.</li>
<li>the application crash and the terminal show logs as below:</li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building TickerMode(mode: disabled):
flutter: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1744 pos 12:
flutter: '_elements.contains(element)': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix theunderlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2 _InactiveElements.remove (package:flutter/src/widgets/framework.dart:1744:12)
flutter: #3 Element._retakeInactiveElement (package:flutter/src/widgets/framework.dart:2915:29)
flutter: #4 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2938:32)
flutter: #5 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #6 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #7 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #8 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3701:5)
flutter: #9 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3696:5)
flutter: #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #11 _TheatreElement.mount (package:flutter/src/widgets/overlay.dart:497:32)
flutter: #12 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #13 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #15 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #16 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #17 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #18 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #19 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #20 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #21 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #22 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #26 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #28 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #30 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #31 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #32 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #33 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #34 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #35 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #36 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #37 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #38 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #39 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #40 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #42 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #43 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #44 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #46 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #47 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #48 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #50 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #51 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #52 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #54 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #55 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #56 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #57 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #58 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #59 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #60 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #62 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #66 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #68 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #69 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #70 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #71 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #72 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #73 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #74 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #78 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #79 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #80 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #81 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #82 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #83 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #84 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #85 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #86 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #87 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #88 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #89 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #90 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #91 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #92 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #93 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #94 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #98 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #99 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #100 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #101 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #102 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2286:33)
flutter: #103 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:676:20)
flutter: #104 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
flutter: #105 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #106 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #107 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
flutter: #109 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
flutter: #110 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
flutter: #111 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
flutter: (elided 3 frames from class _AssertionError and package dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Duplicate GlobalKeys detected in widget tree.
Reloaded 0 of 438 libraries in 2,527ms.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1744 pos 12: '_elements.contains(element)': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4954 pos 12: '_children.contains(child)': is not true.
flutter: Another exception was thrown: Duplicate GlobalKey detected in widget tree."><pre class="notranslate"><code class="notranslate">flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building TickerMode(mode: disabled):
flutter: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1744 pos 12:
flutter: '_elements.contains(element)': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix theunderlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2 _InactiveElements.remove (package:flutter/src/widgets/framework.dart:1744:12)
flutter: #3 Element._retakeInactiveElement (package:flutter/src/widgets/framework.dart:2915:29)
flutter: #4 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2938:32)
flutter: #5 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #6 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #7 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #8 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3701:5)
flutter: #9 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3696:5)
flutter: #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #11 _TheatreElement.mount (package:flutter/src/widgets/overlay.dart:497:32)
flutter: #12 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #13 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #15 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #16 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #17 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #18 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #19 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #20 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #21 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #22 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #26 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #28 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #30 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #31 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #32 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #33 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #34 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #35 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #36 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #37 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #38 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #39 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #40 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #42 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #43 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #44 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #46 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #47 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #48 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #50 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #51 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #52 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #54 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #55 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #56 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #57 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #58 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #59 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #60 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #62 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #66 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #68 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #69 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #70 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #71 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #72 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #73 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #74 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #78 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #79 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #80 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #81 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #82 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #83 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #84 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #85 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #86 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #87 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #88 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #89 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #90 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #91 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #92 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #93 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #94 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #98 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #99 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #100 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #101 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #102 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2286:33)
flutter: #103 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:676:20)
flutter: #104 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
flutter: #105 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #106 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #107 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
flutter: #109 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
flutter: #110 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
flutter: #111 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
flutter: (elided 3 frames from class _AssertionError and package dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Duplicate GlobalKeys detected in widget tree.
Reloaded 0 of 438 libraries in 2,527ms.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 1744 pos 12: '_elements.contains(element)': is not true.
flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4954 pos 12: '_children.contains(child)': is not true.
flutter: Another exception was thrown: Duplicate GlobalKey detected in widget tree.
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing material-components-flutter-Codelabs...
No issues found! (ran in 2.3s)"><pre class="notranslate"><code class="notranslate">Analyzing material-components-flutter-Codelabs...
No issues found! (ran in 2.3s)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Flutter (Channel unknown, v1.1.0, on Mac OS X 10.13.6 17G65, locale
zh-Hans-CN)
• Flutter version 1.1.0 at /Users/jiangxiaokun/projects/flutter
• Framework revision 3cca1a2ec3 (4 days ago), 2018-12-11 18:50:51 +0000
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)"><pre class="notranslate"><code class="notranslate">Flutter (Channel unknown, v1.1.0, on Mac OS X 10.13.6 17G65, locale
zh-Hans-CN)
• Flutter version 1.1.0 at /Users/jiangxiaokun/projects/flutter
• Framework revision 3cca1a2ec3 (4 days ago), 2018-12-11 18:50:51 +0000
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
</code></pre></div> | <h2 dir="auto">Issue</h2>
<p dir="auto">When you run hot reload and then start the application again, the changes are reverted.</p>
<p dir="auto">I think that the behaviour could be misleading if you come from Instant Run or JRebel for Android... I know this is the actual intended behaviour, but I'm afraid is not clear to all the potential users.</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Please check <a href="https://drive.google.com/file/d/0B77uAjKpun_RRTR1WW9WbW1iWnc/view?usp=sharing" rel="nofollow">this video</a> on steps to reproduce</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=goonie" rel="nofollow">Andreas Schildbach</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2299?redirect=false" rel="nofollow">SPR-2299</a></strong> and commented</p>
<p dir="auto">Please consider this code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<spring:bind path="command.rules">
<form:select path="rules">
<c:forEach var="rule" items="${rules}">
<spring:transform var="key" value="${rule}"/>
<fmt:message var="label" key="rules.${key}"/>
<form:option value="${rule}" label="${label}"/>
</c:forEach>
</form:select>
</spring:bind>"><pre class="notranslate"><code class="notranslate"><spring:bind path="command.rules">
<form:select path="rules">
<c:forEach var="rule" items="${rules}">
<spring:transform var="key" value="${rule}"/>
<fmt:message var="label" key="rules.${key}"/>
<form:option value="${rule}" label="${label}"/>
</c:forEach>
</form:select>
</spring:bind>
</code></pre></div>
<p dir="auto">As you can see, I need to duplicate the reference to the "rules" property in my command, just to be able to use the (very convenient) new form tags and still be able to convert my form objects to strings using the registered property editors with spring:transform. Spring:transform needs its own context, which is defined with spring:bind.</p>
<p dir="auto">I propose to add a form:transform tag with similar syntax to spring:transform, which uses the context of form:select (and similar) tags instead. This would reduce the code to something like</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<form:select path="rules">
<c:forEach var="rule" items="${rules}">
<form:transform var="key" value="${rule}"/>
<fmt:message var="label" key="rules.${key}"/>
<form:option value="${rule}" label="${label}"/>
</c:forEach>
</form:select>"><pre class="notranslate"><code class="notranslate"><form:select path="rules">
<c:forEach var="rule" items="${rules}">
<form:transform var="key" value="${rule}"/>
<fmt:message var="label" key="rules.${key}"/>
<form:option value="${rule}" label="${label}"/>
</c:forEach>
</form:select>
</code></pre></div>
<p dir="auto">which is much more readable and only has got one reference to the command property.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 RC2</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398077876" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8144" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8144/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8144">#8144</a> form:form should work like spring:nestedPath</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=outdooricon" rel="nofollow">Johnathon</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8355?redirect=false" rel="nofollow">SPR-8355</a></strong> and commented</p>
<p dir="auto">When sorting the following array: [/a/b/{c}/<strong>, /a/b/{c}/</strong>/, /<strong>, /</strong>/] with the current implementation of AntPathMatcher.AntPatternComparator, the sort order results in: [/<strong>/, /</strong>, /a/b/{c}/<strong>/, /a/b/{c}/</strong>] . In our case, this results in the wrong controller picking up the request.</p>
<p dir="auto">I believe the problem lies in this block:<br>
if (totalCount1 != totalCount2) {<br>
return totalCount1 - totalCount2;<br>
}<br>
and would be correct if instead it returned "totalCount2 - totalCount1;". However, I can't speak to how this may affect other use cases.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.4, 3.0.5</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398158936" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15181" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15181/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15181">#15181</a> Assign lowest priority to "/<strong>" in AntPathMatcher (_</strong>"duplicates"**_)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398114462" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13325" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13325/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13325">#13325</a> AntPathMatcher.AntPatternComparator algorithm wrong for hierarchical matches</li>
</ul>
<p dir="auto">3 votes, 3 watchers</p> | 0 |
<p dir="auto">Matlab has a function called complexrandn which generates a 2D complex matrix from uniform distribution. I need to use 2D complex number random matrix sometimes. Here is the code which I made to deal with it. It would be great if I could have it built in. You may like to also scale up to N dimensions as per the inputs given. Also, my code takes RandomState as an argument whereas you may like to do it like np.random.RandomState(513).conplexrandn()</p>
<p dir="auto">Thanks for your services to open source</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 numpy as np
def complexrandn(M,N,randomGen = np.random):
data = randomGen.randn(M,N,2).view(complex)
return np.array([ np.array([ complex(data[i][j]) for j in range(N) ]) for i in range(M) ] )
randomGen = p.random.RandomState(513)
x = complexrandn(2,2,randomGen) # To use a particular random stream
y = complexrandn(2,2) # To use global random stream
# You may like to do it as randomGen.complexrandn (It would be better for all)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">def</span> <span class="pl-en">complexrandn</span>(<span class="pl-v">M</span>,<span class="pl-v">N</span>,<span class="pl-s1">randomGen</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>):
<span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">randomGen</span>.<span class="pl-en">randn</span>(<span class="pl-v">M</span>,<span class="pl-v">N</span>,<span class="pl-c1">2</span>).<span class="pl-en">view</span>(<span class="pl-s1">complex</span>)
<span class="pl-k">return</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([ <span class="pl-s1">np</span>.<span class="pl-en">array</span>([ <span class="pl-en">complex</span>(<span class="pl-s1">data</span>[<span class="pl-s1">i</span>][<span class="pl-s1">j</span>]) <span class="pl-k">for</span> <span class="pl-s1">j</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-v">N</span>) ]) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-v">M</span>) ] )
<span class="pl-s1">randomGen</span> <span class="pl-c1">=</span> <span class="pl-s1">p</span>.<span class="pl-s1">random</span>.<span class="pl-v">RandomState</span>(<span class="pl-c1">513</span>)
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-en">complexrandn</span>(<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-s1">randomGen</span>) <span class="pl-c"># To use a particular random stream</span>
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-en">complexrandn</span>(<span class="pl-c1">2</span>,<span class="pl-c1">2</span>) <span class="pl-c"># To use global random stream</span>
<span class="pl-c"># You may like to do it as randomGen.complexrandn (It would be better for all)</span></pre></div>
<h3 dir="auto">Numpy/Python version information:</h3>
<p dir="auto">1.16.3 3.6.7 (default, Oct 22 2018, 11:32:17)<br>
[GCC 8.2.0]</p> | <p dir="auto"><strong>What's the need?</strong><br>
random.multivariate_normal works great for but is limited to sampling real vectors. Today, if ones would like to generate from complex multivariate distribution from (mu, Omega), sampling would need these steps:</p>
<ol dir="auto">
<li>get Omega^1/2 by cholesky decomposition (or svd)</li>
<li>generate a serie z of random complex gaussian numbers whose elements are in Nc(0, 1)</li>
<li>get the sample mu + Omega^1/2 * z</li>
</ol>
<p dir="auto"><strong>Featuring it? How?</strong><br>
Would it be possible to extend today's function to complex numbers? I imagine two possibilites<br>
for implementing that:</p>
<ol dir="auto">
<li>in the case where the given input mean array and covariance matrix are complex type, get the dtype of mu and Omega, and infer the right distribution to sample</li>
<li>add a kwarg or dtype in function to enforce if resulting sampling is real or complex</li>
</ol> | 1 |
<p dir="auto">I have created a very basic flutter plugin here:<br>
<a href="https://github.com/shehabic/dhplugin">https://github.com/shehabic/dhplugin</a><br>
and used it in this module:<br>
<a href="https://github.com/shehabic/flutter-test-module">https://github.com/shehabic/flutter-test-module</a><br>
this module is supposed to be the module that will have all the customer plugin we'll create in our company, we import this module into our existing apps and it'll grab all of our custom plugins with it.</p>
<p dir="auto">I've spent 5 days now having trouble with and I couldn't get it to work.<br>
here is the error:</p>
<h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Checkout the module above</li>
<li>Run <code class="notranslate">flutter packages get</code></li>
<li>Run <code class="notranslate">flutter build ios --debug</code></li>
</ol>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Building com.shehabic.module.mymodule for device (ios)...
Signing iOS app for device deployment using developer identity: "iPhone Developer: My Name (TeamNumber)"
Starting Xcode build...
Xcode build done. 9.1s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
dhplugin.xcconfig line 12: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
dhplugin.xcconfig line 13: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
=== BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/shehabic/development/flutter/.pub-cache/git/dhplugin-d25caf5fc30cf036675d3e2a4fab393243f112f2/ios/Classes/DhpluginPlugin.m:2:9: fatal error:
'dhplugin/dhplugin-Swift.h' file not found
#import <dhplugin/dhplugin-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
flutter_webview_plugin.xcconfig line 11: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
flutter_webview_plugin.xcconfig line 12: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
/Users/shehabic/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/ios/Classes/FlutterWebviewPlugin.m:71:22: warning: incompatible pointer
to integer conversion assigning to 'BOOL' (aka 'signed char') from 'id _Nullable' [-Wint-conversion]
_enableAppScheme = call.arguments[@"enableAppScheme"];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/shehabic/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/ios/Classes/FlutterWebviewPlugin.m:244:78: warning: values of type
'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
id data = [FlutterError errorWithCode:[NSString stringWithFormat:@"%ld", error.code]
~~~ ^~~~~~~~~~
%ld (long)
/Users/shehabic/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/ios/Classes/FlutterWebviewPlugin.m:254:102: warning: values of type
'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
[channel invokeMethod:@"onHttpError" arguments:@{@"code": [NSString stringWithFormat:@"%ld", response.statusCode], @"url": webView.URL.absoluteString}];
~~~ ^~~~~~~~~~~~~~~~~~~
%ld (long)
3 warnings generated."><pre class="notranslate"><code class="notranslate">Building com.shehabic.module.mymodule for device (ios)...
Signing iOS app for device deployment using developer identity: "iPhone Developer: My Name (TeamNumber)"
Starting Xcode build...
Xcode build done. 9.1s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
dhplugin.xcconfig line 12: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
dhplugin.xcconfig line 13: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
=== BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/shehabic/development/flutter/.pub-cache/git/dhplugin-d25caf5fc30cf036675d3e2a4fab393243f112f2/ios/Classes/DhpluginPlugin.m:2:9: fatal error:
'dhplugin/dhplugin-Swift.h' file not found
#import <dhplugin/dhplugin-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
flutter_webview_plugin.xcconfig line 11: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
flutter_webview_plugin.xcconfig line 12: Unable to find included file "../.ios/Flutter/Generated.xcconfig"
/Users/shehabic/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/ios/Classes/FlutterWebviewPlugin.m:71:22: warning: incompatible pointer
to integer conversion assigning to 'BOOL' (aka 'signed char') from 'id _Nullable' [-Wint-conversion]
_enableAppScheme = call.arguments[@"enableAppScheme"];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/shehabic/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/ios/Classes/FlutterWebviewPlugin.m:244:78: warning: values of type
'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
id data = [FlutterError errorWithCode:[NSString stringWithFormat:@"%ld", error.code]
~~~ ^~~~~~~~~~
%ld (long)
/Users/shehabic/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.2.1+2/ios/Classes/FlutterWebviewPlugin.m:254:102: warning: values of type
'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
[channel invokeMethod:@"onHttpError" arguments:@{@"code": [NSString stringWithFormat:@"%ld", response.statusCode], @"url": webView.URL.absoluteString}];
~~~ ^~~~~~~~~~~~~~~~~~~
%ld (long)
3 warnings generated.
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.10.1-pre.78, on Mac OS X 10.14 18A391, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
[✓] Android Studio (version 3.2)
[✓] IntelliJ IDEA Community Edition (version 2017.3.2)
[✓] VS Code (version 1.28.2)
[!] Connected device
! No devices available"><pre class="notranslate"><code class="notranslate">flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.10.1-pre.78, on Mac OS X 10.14 18A391, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
[✓] Android Studio (version 3.2)
[✓] IntelliJ IDEA Community Edition (version 2017.3.2)
[✓] VS Code (version 1.28.2)
[!] Connected device
! No devices available
</code></pre></div> | <p dir="auto">Hi,</p>
<p dir="auto">I’m struggling since the last few days to understand how I can build or use Flutter Platform channel plugins that are written in Swift for the iOS part.</p>
<p dir="auto">To my understanding plugins should not force you to set « use_frameworks! » in your PodFile, because, well, that’s make for example firebase_messaging not working (because this plugin force to comment use_frameworks).</p>
<p dir="auto">So I try to create a plug-in by my own with the Flutter CLI :<br>
<code class="notranslate">flutter create —template=plugins -ios-language swift sample</code></p>
<p dir="auto">The project is generated with the use_frameworks! In PodFile who makes it functionnal but incompatible with most from the start.</p>
<p dir="auto">I’m not an CocoaPods expert but is it still required for Swift Library to use this flag ? I thought that starting at <a href="http://blog.cocoapods.org/CocoaPods-1.5.0/" rel="nofollow">Cocoapod 1.5</a> you could remove the flag. But that’s not working at all.</p>
<p dir="auto">So is it possible to make Flutter Swift plugins who works with firebase plugins ?<br>
If so, can you point me to this direction ? Should the cli create command need to be updated to provide from the start the "good" example project ?</p>
<p dir="auto">If making swift plugins working with "first party" plugins is not possible, is it not wiser to remove the ability to create swift plugins since this is not "future proof" and can produce some awkward ecosystem of plugins.</p>
<p dir="auto">Sorry in advance if what I said is not really relevant, I'm trying to understand "the right way" to make iOS plugins...in Swift (Objective-C is not my cup of tea)</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Create a new Flutter plugin project :</p>
<ol dir="auto">
<li>
<p dir="auto"><code class="notranslate">flutter create --template=plugin -i swift sample</code></p>
</li>
<li>
<p dir="auto">In sample/example/ios/Podfile, Comment <code class="notranslate">use_frameworks!</code></p>
</li>
<li>
<p dir="auto">In sample/example run <code class="notranslate">flutter run</code> on iOS emulator</p>
</li>
<li></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal error: 'sample/sample-Swift.h' file not found
#import <sample/sample-Swift.h>"><pre class="notranslate"><code class="notranslate">fatal error: 'sample/sample-Swift.h' file not found
#import <sample/sample-Swift.h>
</code></pre></div>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale fr-FR)
• Flutter version 1.0.0 at /Users/romainpardon/Development/SDK/flutter
• Framework revision 5391447fae (3 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/romainpardon/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.30.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.21.1
[✓] Connected device (1 available)
• iPhone XR • DDB601C1-5AEC-47B3-999A-2D6E72FAF466 • ios • iOS 12.1 (simulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale fr-FR)
• Flutter version 1.0.0 at /Users/romainpardon/Development/SDK/flutter
• Framework revision 5391447fae (3 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/romainpardon/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.30.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.21.1
[✓] Connected device (1 available)
• iPhone XR • DDB601C1-5AEC-47B3-999A-2D6E72FAF466 • ios • iOS 12.1 (simulator)
• No issues found!
</code></pre></div> | 1 |
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">ctrl + w sometimes crash unnormally, ctrl + , is also</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">shortcut keyboard run proper</p>
<h1 dir="auto">Actual behavior</h1> | <p dir="auto">The windows will stay like this for a few seconds.It should close immediately.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/52039820/59959373-997de900-94e8-11e9-80db-630fc8bef244.png"><img src="https://user-images.githubusercontent.com/52039820/59959373-997de900-94e8-11e9-80db-630fc8bef244.png" alt="屏幕截图(59)" style="max-width: 100%;"></a><br>
What'more , I have found a closed issue which says that this bug should have been fixed.</p>
<p dir="auto">I'm now using 10.0.18362.175 ,and my copy of Terminal is from the Store.</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">Ansible core</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">ansible 2.2.1.0</p>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">deafult, installed from Ansible ppa</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Looks like new version of Ansible 2.2.1 fails in some cases when processing playbooks and templates<br>
that have quotation<br>
Previous version 2.2.0 works fine</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">this is from Kargo playbook, ansible playbook to install Kubernetes<br>
works with Ansible 2.2.0 and fails with 2.2.1</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Register docker images info
shell: "{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f {% raw %}'{{.RepoTags}},{{.RepoDigests}}'{% endraw %}"
register: docker_images_raw
failed_when: false
when: not download_always_pull|bool"><pre class="notranslate"><code class="notranslate">- name: Register docker images info
shell: "{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f {% raw %}'{{.RepoTags}},{{.RepoDigests}}'{% endraw %}"
register: docker_images_raw
failed_when: false
when: not download_always_pull|bool
</code></pre></div>
<p dir="auto">this works for 2.2.1</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Register docker images info
raw: >-
{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f "{{ '{{' }} .RepoTags {{ '}}' }},{{ '{{' }} .RepoDigests {{ '}}' }}"
register: docker_images_raw
failed_when: false
when: not download_always_pull|bool"><pre class="notranslate"><code class="notranslate">- name: Register docker images info
raw: >-
{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f "{{ '{{' }} .RepoTags {{ '}}' }},{{ '{{' }} .RepoDigests {{ '}}' }}"
register: docker_images_raw
failed_when: false
when: not download_always_pull|bool
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">At least some notes to Release Notes for 2.2.1 changes about quotation</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">I have automatic installation of Ansible from PPA, but with new version my roles are completely broken<br>
and need to be reviewed/refactored.<br>
Moreover, 2.2.0 is removed from PPA, so for me it is really disaster and work stopper.</p>
<p dir="auto">Can you please put 2.2.0 back in PPA and PLEASE note in case of such significant changes.</p>
<p dir="auto">Thanks!</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">shell module with {% raw %} tags</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.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">N/A</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A (CentOS 7.2 shouldn't be platform specific)</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">This is quite meta .. but I will try and explain.</p>
<p dir="auto">We use the ansible shell command to run some commands against docker hosts which uses dockers --format feature that feature relies on GO template engine. Naturally we see conflicting behaviour here due to both jinja2 and go using '{{' as delimeters. AFAIK neither of these tools currently support switching delimeters but I may be wrong as that would be one way we could work around this..</p>
<p dir="auto">We pass a {% raw %}{% endraw %} wrapped go template to a shell module calling docker like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - name: Count running images to check if down scaling is necessary
shell:
"docker ps -a --no-trunc --filter name=^/{{artifact.namespace}}-{{ artifact.name }} --format='{% raw %}{{.ID}},{{.Image}}{% endraw %}' | wc -l"
register: docker_container_count
- name: Debug the count
debug:
msg: "{{ docker_container_count }}" "><pre class="notranslate"><code class="notranslate"> - name: Count running images to check if down scaling is necessary
shell:
"docker ps -a --no-trunc --filter name=^/{{artifact.namespace}}-{{ artifact.name }} --format='{% raw %}{{.ID}},{{.Image}}{% endraw %}' | wc -l"
register: docker_container_count
- name: Debug the count
debug:
msg: "{{ docker_container_count }}"
</code></pre></div>
<p dir="auto">The command executes successfully in both Ansible 2.1.1.0 and Ansible 2.2.1.0<br>
<strong>however</strong><br>
The internal representation 'cmd' key representing the original command was stored using the jinja tags as '{#' and now it is being stored verbatim like '{{'. This is causing any further usage of this registered variable to fail as jinja is trying to parse the 'cmd' string.</p>
<p dir="auto">debug output before upgrade (v2.1.1.0):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="16:33:28 TASK [microservices : Debug the count] *************************
16:33:28 ok: [hostname.company.org] => {
16:33:28 "msg": {
16:33:28 "changed": true,
16:33:28 "cmd": "docker ps -a --no-trunc --filter name=^/edge-server--account-service --format='{#.ID#},{#.Image#}' | wc -l",
16:33:28 "delta": "0:00:00.025972",
16:33:28 "end": "2017-01-23 16:33:27.970780",
16:33:28 "rc": 0,
16:33:28 "start": "2017-01-23 16:33:27.944808",
16:33:28 "stderr": "",
16:33:28 "stdout": "1",
16:33:28 "stdout_lines": [
16:33:28 "1"
16:33:28 ],
16:33:28 "warnings": []
16:33:28 }
16:33:28 }
16:33:28 "><pre class="notranslate"><code class="notranslate">16:33:28 TASK [microservices : Debug the count] *************************
16:33:28 ok: [hostname.company.org] => {
16:33:28 "msg": {
16:33:28 "changed": true,
16:33:28 "cmd": "docker ps -a --no-trunc --filter name=^/edge-server--account-service --format='{#.ID#},{#.Image#}' | wc -l",
16:33:28 "delta": "0:00:00.025972",
16:33:28 "end": "2017-01-23 16:33:27.970780",
16:33:28 "rc": 0,
16:33:28 "start": "2017-01-23 16:33:27.944808",
16:33:28 "stderr": "",
16:33:28 "stdout": "1",
16:33:28 "stdout_lines": [
16:33:28 "1"
16:33:28 ],
16:33:28 "warnings": []
16:33:28 }
16:33:28 }
16:33:28
</code></pre></div>
<p dir="auto">debug output after upgrade (v2.2.1.0):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="16:07:24 TASK [microservices : Debug the count] ***********************************
16:07:24 fatal: [hostname.company.org]: FAILED! =>
{"failed": true,
"msg": "{
u'cmd': u\"docker ps -a --no-trunc --filter name=^/edge-server--account-service --format='{{.ID}},{{.Image}}' | wc -l\",
u'end': u'2017-01-23 16:07:24.798553',
u'stdout': u'1',
u'changed': True,
u'start': u'2017-01-23 16:07:24.763174',
u'delta': u'0:00:00.035379',
u'stderr': u'',
u'rc': 0,
'stdout_lines': [u'1'],
u'warnings': []}:
template error while templating string: unexpected '.'. String: docker ps -a --no-trunc --filter name=^/edge-server--account-service --format='{{.ID}},{{.Image}}' | wc -l"
}
16:07:24 to retry, use: --limit @/home/jenkins/workspace/DeploymentFolder/DeployEdgeServer/rolling_deployment.retry
16:07:24 "><pre class="notranslate"><code class="notranslate">16:07:24 TASK [microservices : Debug the count] ***********************************
16:07:24 fatal: [hostname.company.org]: FAILED! =>
{"failed": true,
"msg": "{
u'cmd': u\"docker ps -a --no-trunc --filter name=^/edge-server--account-service --format='{{.ID}},{{.Image}}' | wc -l\",
u'end': u'2017-01-23 16:07:24.798553',
u'stdout': u'1',
u'changed': True,
u'start': u'2017-01-23 16:07:24.763174',
u'delta': u'0:00:00.035379',
u'stderr': u'',
u'rc': 0,
'stdout_lines': [u'1'],
u'warnings': []}:
template error while templating string: unexpected '.'. String: docker ps -a --no-trunc --filter name=^/edge-server--account-service --format='{{.ID}},{{.Image}}' | wc -l"
}
16:07:24 to retry, use: --limit @/home/jenkins/workspace/DeploymentFolder/DeployEdgeServer/rolling_deployment.retry
16:07:24
</code></pre></div> | 1 |
<p dir="auto">A common pattern with signals like SIGHUP, SIGINT, and SIGTERM is to perform some cleanup and then invoke the default handler. For example, in C:</p>
<div class="highlight highlight-source-c notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="static void signal_handler(int signum) {
do_cleanup();
signal(signum, SIG_DFL);
raise(signum);
}"><pre class="notranslate"><span class="pl-k">static</span> <span class="pl-smi">void</span> <span class="pl-en">signal_handler</span>(<span class="pl-smi">int</span> <span class="pl-s1">signum</span>) {
<span class="pl-en">do_cleanup</span>();
<span class="pl-en">signal</span>(<span class="pl-s1">signum</span>, <span class="pl-c1">SIG_DFL</span>);
<span class="pl-en">raise</span>(<span class="pl-s1">signum</span>);
}</pre></div>
<p dir="auto">This is different from calling <code class="notranslate">exit</code> yourself. For one thing, <code class="notranslate">exit</code> is not async-signal-safe, so you'd actually need to call <code class="notranslate">_exit</code> or <code class="notranslate">abort</code>. But more importantly, the parent process (e.g. the shell) can tell from <code class="notranslate">wait</code> if a child was killed by a signal or exited normally. So even if you mimic the exit code:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="await Deno.signal(sig);
Deno.exit(128 + sig);"><pre class="notranslate"><span class="pl-k">await</span> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">signal</span><span class="pl-kos">(</span><span class="pl-s1">sig</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">exit</span><span class="pl-kos">(</span><span class="pl-c1">128</span> <span class="pl-c1">+</span> <span class="pl-s1">sig</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">it will not be the same as invoking the default handler.</p>
<p dir="auto">You can call <code class="notranslate">Deno.kill(Deno.pid, sig)</code>, but this requires the very broad permission <code class="notranslate">--allow-run</code>. It would be better if there was a <code class="notranslate">Deno.raise(sig)</code> function that did not require any permission.</p> | <p dir="auto">If this has already been discussed in another issue I'm sorry, I haven't found one.</p>
<p dir="auto">I'am working on cliffy and we are trying to improve the sigint handling of the prompt module, if a user hit's <code class="notranslate">ctrl+c</code>. The problem is, deno doesn't trigger the sigint signal automaticly, because we need to enable the raw mode with <code class="notranslate">Deno.setRaw</code>.</p>
<p dir="auto">Currently, the prompt module just exits if the user hit's <code class="notranslate">ctrl+c</code> by calling <code class="notranslate">Deno.exit</code>. But instead of just exiting the programm, we want to use the <code class="notranslate">Deno.kill</code> method to rise a sigint, so it's possible to run some cleanup operations if the user hit's <code class="notranslate">ctrl+c</code>.</p>
<p dir="auto">But currently it's not possible to rise a signal without the <code class="notranslate">--allow-run</code> permissions flag. And i don't want the prompt module to depend on the <code class="notranslate">--allow-run</code> flag.</p>
<p dir="auto">One option to improve this could be to allow a script to kill itself without the <code class="notranslate">--allow-run</code> flag. This could be done by checking the pid of the running script. If the pid passed to <code class="notranslate">Deno.kill</code> matches the pid of the running script, the <code class="notranslate">--allow-run</code> flag is not required.</p> | 1 |
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">I should be able to set <code class="notranslate">SESSION_COOKIE_SAMESITE</code> to "None" in order to explicitly set <code class="notranslate">SameSite=None</code> on my session cookie.</p>
<p dir="auto">This will allow my flask application to be loaded in an iframe with the session.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="app.config['SESSION_COOKIE_SAMESITE'] = "None""><pre class="notranslate"><span class="pl-s1">app</span>.<span class="pl-s1">config</span>[<span class="pl-s">'SESSION_COOKIE_SAMESITE'</span>] <span class="pl-c1">=</span> <span class="pl-s">"None"</span></pre></div>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Today I can only set <code class="notranslate">SESSION_COOKIE_SAMESITE</code> to "Strict", "Lax", or <code class="notranslate">None</code>.</p>
<p dir="auto">If set to <code class="notranslate">None</code>, it will actually <em>not</em> set a SameSite attribute at all on the session cookie, which Chrome will treat as <code class="notranslate">SameSite=Lax</code> <a href="https://web.dev/samesite-cookies-explained/" rel="nofollow">starting in Chrome 80</a>.</p>
<p dir="auto">I need to be able to set SESSION_COOKIE_SAMESITE to explicitly "None", thus causing <code class="notranslate">SameSite=None</code> to be set on the cookie, which in turn allows the cookie to be sent in cross-origin requests, such as when my flask application is loaded in an iframe.</p>
<p dir="auto">As it is, these applications load in an iframe without a session cookie, which breaks their functionality.</p>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Python version: 3.7.4</li>
<li>Flask version: 1.1.1</li>
<li>Werkzeug version: 0.16.0</li>
</ul>
<p dir="auto">Note related Werkzeug issue which is tied up with the 1.0 release: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="445714870" data-permission-text="Title is private" data-url="https://github.com/pallets/werkzeug/issues/1549" data-hovercard-type="issue" data-hovercard-url="/pallets/werkzeug/issues/1549/hovercard" href="https://github.com/pallets/werkzeug/issues/1549">pallets/werkzeug#1549</a></p>
<div class="highlight highlight-text-python-traceback notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="2020-01-14T20:33:48.807523+00:00 app[web.1]: Traceback (most recent call last):
2020-01-14T20:33:48.807525+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 135, in handle
2020-01-14T20:33:48.807528+00:00 app[web.1]: self.handle_request(listener, req, client, addr)
2020-01-14T20:33:48.807530+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
2020-01-14T20:33:48.807534+00:00 app[web.1]: respiter = self.wsgi(environ, resp.start_response)
2020-01-14T20:33:48.807536+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2463, in __call__
2020-01-14T20:33:48.807538+00:00 app[web.1]: return self.wsgi_app(environ, start_response)
2020-01-14T20:33:48.807540+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2449, in wsgi_app
2020-01-14T20:33:48.807542+00:00 app[web.1]: response = self.handle_exception(e)
2020-01-14T20:33:48.807544+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1866, in handle_exception
2020-01-14T20:33:48.807546+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2020-01-14T20:33:48.807548+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
2020-01-14T20:33:48.807549+00:00 app[web.1]: raise value
2020-01-14T20:33:48.807551+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
2020-01-14T20:33:48.807553+00:00 app[web.1]: response = self.full_dispatch_request()
2020-01-14T20:33:48.807554+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
2020-01-14T20:33:48.807556+00:00 app[web.1]: return self.finalize_request(rv)
2020-01-14T20:33:48.807557+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1969, in finalize_request
2020-01-14T20:33:48.807559+00:00 app[web.1]: response = self.process_response(response)
2020-01-14T20:33:48.807560+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2268, in process_response
2020-01-14T20:33:48.807562+00:00 app[web.1]: self.session_interface.save_session(self, ctx.session, response)
2020-01-14T20:33:48.807563+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/sessions.py", line 387, in save_session
2020-01-14T20:33:48.807565+00:00 app[web.1]: samesite=samesite,
2020-01-14T20:33:48.807567+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/werkzeug/wrappers/base_response.py", line 481, in set_cookie
2020-01-14T20:33:48.807568+00:00 app[web.1]: samesite=samesite,
2020-01-14T20:33:48.807570+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/werkzeug/http.py", line 1161, in dump_cookie
2020-01-14T20:33:48.807571+00:00 app[web.1]: raise ValueError("invalid SameSite value; must be 'Strict', 'Lax' or None")
2020-01-14T20:33:48.807573+00:00 app[web.1]: ValueError: invalid SameSite value; must be 'Strict', 'Lax' or None```"><pre class="notranslate">2020-01-14T20:33:48.807523+00:00 app[web.1]: Traceback (most recent call last):
2020-01-14T20:33:48.807525+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 135, in handle
2020-01-14T20:33:48.807528+00:00 app[web.1]: self.handle_request(listener, req, client, addr)
2020-01-14T20:33:48.807530+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
2020-01-14T20:33:48.807534+00:00 app[web.1]: respiter = self.wsgi(environ, resp.start_response)
2020-01-14T20:33:48.807536+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2463, in __call__
2020-01-14T20:33:48.807538+00:00 app[web.1]: return self.wsgi_app(environ, start_response)
2020-01-14T20:33:48.807540+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2449, in wsgi_app
2020-01-14T20:33:48.807542+00:00 app[web.1]: response = self.handle_exception(e)
2020-01-14T20:33:48.807544+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1866, in handle_exception
2020-01-14T20:33:48.807546+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2020-01-14T20:33:48.807548+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
2020-01-14T20:33:48.807549+00:00 app[web.1]: raise value
2020-01-14T20:33:48.807551+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
2020-01-14T20:33:48.807553+00:00 app[web.1]: response = self.full_dispatch_request()
2020-01-14T20:33:48.807554+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
2020-01-14T20:33:48.807556+00:00 app[web.1]: return self.finalize_request(rv)
2020-01-14T20:33:48.807557+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1969, in finalize_request
2020-01-14T20:33:48.807559+00:00 app[web.1]: response = self.process_response(response)
2020-01-14T20:33:48.807560+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2268, in process_response
2020-01-14T20:33:48.807562+00:00 app[web.1]: self.session_interface.save_session(self, ctx.session, response)
2020-01-14T20:33:48.807563+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/sessions.py", line 387, in save_session
2020-01-14T20:33:48.807565+00:00 app[web.1]: samesite=samesite,
2020-01-14T20:33:48.807567+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/werkzeug/wrappers/base_response.py", line 481, in set_cookie
2020-01-14T20:33:48.807568+00:00 app[web.1]: samesite=samesite,
2020-01-14T20:33:48.807570+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/werkzeug/http.py", line 1161, in dump_cookie
2020-01-14T20:33:48.807571+00:00 app[web.1]: raise ValueError("invalid SameSite value; must be 'Strict', 'Lax' or None")
2020-01-14T20:33:48.807573+00:00 app[web.1]: ValueError: invalid SameSite value; must be 'Strict', 'Lax' or None```</pre></div> | <p dir="auto">Google's recent <a href="https://blog.chromium.org/2019/05/improving-privacy-and-security-on-web.html" rel="nofollow">blog post</a> describes changes on how they will enforce Cookies with SameSite value. The referenced <a href="https://web.dev/samesite-cookies-explained/" rel="nofollow">samesite cookies explained article</a> and <a href="https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1" rel="nofollow">RFC</a> both describe the ability to specify a SameSite value of 'None' the string (as opposed to None, not set) for SameSite.</p>
<p dir="auto">The following today produces an error stating <em>invalid SameSite value; must be 'Strict', 'Lax' or None</em></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="resp.set_cookie('somekey', 'someval', domain='.mydomain.com', samesite='None')"><pre class="notranslate"><span class="pl-s1">resp</span>.<span class="pl-en">set_cookie</span>(<span class="pl-s">'somekey'</span>, <span class="pl-s">'someval'</span>, <span class="pl-s1">domain</span><span class="pl-c1">=</span><span class="pl-s">'.mydomain.com'</span>, <span class="pl-s1">samesite</span><span class="pl-c1">=</span><span class="pl-s">'None'</span>)</pre></div>
<p dir="auto">You would think setting <code class="notranslate">None</code> would work but instead it unsets the key and prevents the samesite attribute from being present with a None (string) value in the headers.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="resp.set_cookie('somekey', 'someval', domain='.mydomain.com', samesite=None)"><pre class="notranslate"><span class="pl-s1">resp</span>.<span class="pl-en">set_cookie</span>(<span class="pl-s">'somekey'</span>, <span class="pl-s">'someval'</span>, <span class="pl-s1">domain</span><span class="pl-c1">=</span><span class="pl-s">'.mydomain.com'</span>, <span class="pl-s1">samesite</span><span class="pl-c1">=</span><span class="pl-c1">None</span>)</pre></div> | 1 |
<p dir="auto">Nodes Network when a minion node becomes unreachable [replication controller] recreates pods scheduled on the unreachable minion node AND allows scheduling of pods on a minion after it rejoins the cluster(Failed 17 times in the last 30 runs. Stability: 43 %)Failed with 0 retries</p> | <p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto">No</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<p dir="auto">Docker privileged securitycontext</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto">BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto">1.4.1</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto">Linux m15 4.4.24-hypriotos-v7+ <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> SMP PREEMPT Tue Oct 11 17:15:58 UTC 2016 armv7l GNU/Linux</p>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">I have a Docker image that accesses /sys/devices. When I run the container by hand on that box using the following cmd, the application works as expected.</p>
<p dir="auto">docker run -it --privileged fred</p>
<p dir="auto">However is I set up the same image under kubernetes using the following yaml, the application fail on the very same box.</p>
<p dir="auto">kind: Deployment<br>
apiVersion: extensions/v1beta1<br>
metadata:<br>
name: fred<br>
spec:<br>
replicas: 1<br>
template:<br>
spec:<br>
containers:<br>
- name: fred<br>
securityContext:<br>
privileged: true<br>
image: fred</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">Setting the podSecurityContext privilege option works as if I ran the container with docker directly.</p>
<p dir="auto">Perhaps I am missing the intent here, but I was expecting this to work and if not what else do I need to specify to allow the container to access system level resources on the host machine. I have tried setting the runAsUser to root but to no avail.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto">Sadly not short way to repro + using private docker image</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">I need to tell kubernetes that this container needs to run with the docker --privileged argument. How does one achieve this behavior.</p> | 0 |
<h2 dir="auto">Feature request</h2>
<p dir="auto">webpack 5 currently makes <code class="notranslate">output.ecmaVersion</code> default to <code class="notranslate">6</code>. This can create issues for projects needing to support older browsers like IE 11.<br>
Many projects (including Babel's preset-env) have moved in the direction of relying on a shared browserslist config to avoid duplicating the browser support info. It would be great if webpack could rely this info as well, to select the <code class="notranslate">output.ecmaVersion</code> automatically by default</p>
<p dir="auto">Initially suggested in the beta feedback at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="505838433" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/9802" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/9802/hovercard?comment_id=588896560&comment_type=issue_comment" href="https://github.com/webpack/webpack/issues/9802#issuecomment-588896560">#9802 (comment)</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong></p>
<p dir="auto">Devs will get a working build by default without even having to know that the <code class="notranslate">output.ecmaVersion</code> config setting exists. This goes in the direction of 0-config.</p>
<p dir="auto"><strong>How should this be implemented in your opinion?</strong></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vankop/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vankop">@vankop</a> and @evilebottnawi have discussed some implementation suggestions in comments following the one I linked above.</p>
<p dir="auto"><strong>Are you willing to work on this yourself?</strong><br>
I don't really have time right now, so no guarantee.</p> | <h2 dir="auto">Feature request</h2>
<p dir="auto">Infer <code class="notranslate">output.ecmaVersion</code> from browserlist</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">By default, <code class="notranslate">output.ecmaVersion</code> should be getting by browserlist</p>
<p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong></p>
<p dir="auto">Automatization</p>
<p dir="auto"><strong>How should this be implemented in your opinion?</strong></p>
<p dir="auto">Add browserlist and use it when webpack starts</p>
<p dir="auto"><strong>Are you willing to work on this yourself?</strong></p>
<p dir="auto">yes</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Version 10.0.18363.449
Windows Terminal version (if applicable): Version: 0.6.2951.0
Any other software? Git for Windows 2.24.0
Powershell core 6.2.3"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Version 10.0.18363.449
Windows Terminal version (if applicable): Version: 0.6.2951.0
Any other software? Git for Windows 2.24.0
Powershell core 6.2.3
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">I am using WT with PSC. Inside it, I issue <code class="notranslate">git push</code> command. It require me to input account and password. Instead of typing them manually, I tried to paste the password.</p>
<p dir="auto">I tried two things:</p>
<ol dir="auto">
<li>using the right mouse button</li>
<li>using Ctrl-V</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">I expect that the password text would be pasted and accepted by <code class="notranslate">git</code> command</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Nothing happens. <code class="notranslate">git</code> does not receive the pasted text.</p>
<p dir="auto">Please note, I verified that I can paste text inside WT itself. Both right mouse button and Ctrl-V options worked. The issue is somewhere in the interaction of WT, PSC, and git. If I am using CMD only or PSC only, I can successfully paste the text and git accepts the input.</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.418
Windows Terminal version (if applicable): 0.6.2951.0
"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.418
Windows Terminal version (if applicable): 0.6.2951.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">I didn't do anything specific, left terminal running, when I tried to use it, the content of the tabs were gone and the minimize/maximize/close buttons on the terminal window were also gone.</p>
<p dir="auto">Potential things that did happen on the machine:</p>
<ul dir="auto">
<li>I have terminal running on Virtual Desktop 2</li>
<li>I have remoted in from another PC which has caused DPI changes</li>
<li>I have unplugged/plugged in a monitor multiple times</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20304470/68236069-4b5e1380-ffb9-11e9-9a4e-10d13b041b8b.png"><img src="https://user-images.githubusercontent.com/20304470/68236069-4b5e1380-ffb9-11e9-9a4e-10d13b041b8b.png" alt="terminal-screenshot" style="max-width: 100%;"></a></p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Show a display</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">No display for tabs</p> | 0 |
<p dir="auto">Hi!<br>
I just tried building TF 1.2.0-rc1 with MKL, using:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bazel build --config=opt --config=cuda --config=mkl --copt="-DEIGEN_USE_VML" -c opt //tensorflow/tools/pip_package:build_pip_package"><pre class="notranslate"><code class="notranslate">bazel build --config=opt --config=cuda --config=mkl --copt="-DEIGEN_USE_VML" -c opt //tensorflow/tools/pip_package:build_pip_package
</code></pre></div>
<p dir="auto">Where, in the <code class="notranslate">'./configure</code> step I said "yes" to both using MKL and to downloading it from the web. I get the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: /dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/BUILD:1544:1: undeclared inclusion(s) in rule '//tensorflow/core:core_cpu_base':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/graph/mkl_tfconversion_pass.cc':
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/function.h'
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/device_mgr.h'
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/optimization_registry.h'
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/device_set.h'.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps."><pre class="notranslate"><code class="notranslate">ERROR: /dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/BUILD:1544:1: undeclared inclusion(s) in rule '//tensorflow/core:core_cpu_base':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/graph/mkl_tfconversion_pass.cc':
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/function.h'
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/device_mgr.h'
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/optimization_registry.h'
'/dataSSD/untom/tmp/tensorflow-1.2.0-rc1/tensorflow/core/common_runtime/device_set.h'.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
</code></pre></div>
<p dir="auto">EDIT: I used bazel 0.4.5 and Python 3.6.1</p> | <p dir="auto">Building with config MKL with the current master fails with build rule error.</p>
<h3 dir="auto">System information:</h3>
<p dir="auto">(contents from tf_env.txt)<br>
== cat /etc/issue ===============================================<br>
Linux desktop 4.4.0-75-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116139237" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/96" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/96/hovercard" href="https://github.com/tensorflow/tensorflow/issues/96">#96</a>-Ubuntu SMP Thu Apr 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux<br>
VERSION="16.04.2 LTS (Xenial Xerus)"<br>
VERSION_ID="16.04"<br>
VERSION_CODENAME=xenial</p>
<p dir="auto">== are we in docker =============================================<br>
No</p>
<p dir="auto">== compiler =====================================================<br>
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609<br>
Copyright (C) 2015 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p dir="auto">== uname -a =====================================================<br>
Linux desktop 4.4.0-75-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116139237" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/96" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/96/hovercard" href="https://github.com/tensorflow/tensorflow/issues/96">#96</a>-Ubuntu SMP Thu Apr 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</p>
<p dir="auto">== check pips ===================================================<br>
numpy (1.12.1)<br>
protobuf (3.3.0)<br>
tensorflow (1.1.0)</p>
<p dir="auto">== check for virtualenv =========================================<br>
False</p>
<p dir="auto">== tensorflow import ============================================<br>
tf.VERSION = 1.1.0-rc2<br>
tf.GIT_VERSION = v1.1.0-rc2-1163-gcbe5eb4<br>
tf.COMPILER_VERSION = v1.1.0-rc2-1163-gcbe5eb4<br>
Sanity check: array([1], dtype=int32)</p>
<p dir="auto">== env ==========================================================<br>
LD_LIBRARY_PATH is unset<br>
DYLD_LIBRARY_PATH is unset</p>
<p dir="auto">== nvidia-smi ===================================================</p>
<p dir="auto">== cuda libs ===================================================</p>
<p dir="auto"><strong>Exact command to reproduce</strong>:</p>
<p dir="auto">bazel --output_user_root=/home/desktop/gtt/tfbuild_opt/ build --copt="-DEIGEN_USE_VML" --config=mkl -c opt //tensorflow/tools/pip_package:build_pip_package</p>
<h3 dir="auto">Describe the problem: Build with the above setup and following configure options fails with a build rule error.</h3>
<p dir="auto">$ ./configure<br>
Please specify the location of python. [Default is /usr/bin/python]:<br>
Found possible Python library paths:<br>
/usr/local/lib/python2.7/dist-packages<br>
/usr/lib/python2.7/dist-packages<br>
Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/dist-packages]</p>
<p dir="auto">Using python library path: /usr/local/lib/python2.7/dist-packages<br>
Do you wish to build TensorFlow with MKL support? [y/N] y<br>
MKL support will be enabled for TensorFlow<br>
Do you wish to download MKL LIB from the web? [Y/n]<br>
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:<br>
Do you wish to use jemalloc as the malloc implementation? [Y/n]<br>
jemalloc enabled<br>
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]<br>
No Google Cloud Platform support will be enabled for TensorFlow<br>
Do you wish to build TensorFlow with Hadoop File System support? [y/N]<br>
No Hadoop File System support will be enabled for TensorFlow<br>
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]<br>
No XLA support will be enabled for TensorFlow<br>
Do you wish to build TensorFlow with VERBS support? [y/N]<br>
No VERBS support will be enabled for TensorFlow<br>
Do you wish to build TensorFlow with OpenCL support? [y/N]<br>
No OpenCL support will be enabled for TensorFlow<br>
Do you wish to build TensorFlow with CUDA support? [y/N]<br>
No CUDA support will be enabled for TensorFlow<br>
Warning: ignoring http_proxy in environment.<br>
...<br>
.....................<br>
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.<br>
Configuration finished</p>
<p dir="auto">Build failed with following error:</p>
<p dir="auto"><code class="notranslate">ERROR: /home/desktop/gtt/tensorflow/core/BUILD:1544:1: undeclared inclusion(s) in rule '//tensorflow/core:core_cpu_base': this rule is missing dependency declarations for the following files included by 'tensorflow/core/graph/mkl_tfconversion_pass.cc': '/home/desktop/gtt/tensorflow/core/common_runtime/function.h' '/home/desktop/gtt/tensorflow/core/common_runtime/device_mgr.h' '/home/desktop/gtt/tensorflow/core/common_runtime/optimization_registry.h' '/home/desktop/gtt/tensorflow/core/common_runtime/device_set.h'. ____Building complete. Target //tensorflow/tools/pip_package:build_pip_package failed to build Use --verbose_failures to see the command lines of failed build steps. ____Elapsed time: 615.488s, Critical Path: 227.18s</code></p> | 1 |
<p dir="auto">MSVC has a max length of 260 chars for input/output paths, which is exceeded when using weave. A possible solution (which I tested and seems to work) is to modify the unique name generation algorithm by making it use md5 hex checksums instead of sha256 (which are 64 characters long). The places where I made the modifications are in catalog.expr_to_filename (<a href="https://github.com/scipy/scipy/blob/master/scipy/weave/catalog.py#L93">https://github.com/scipy/scipy/blob/master/scipy/weave/catalog.py#L93</a>) and platform_info.check_sum (<a href="https://github.com/scipy/scipy/blob/master/scipy/weave/platform_info.py#L99">https://github.com/scipy/scipy/blob/master/scipy/weave/platform_info.py#L99</a>). This is also caused by the fact that the path to the output obj also replicates the whole path of the cpp.</p> | <p dir="auto">The function inline() from scipy.weave store temporarily the compiled files with a filename consisting mainly of a sha256 hash. However Microsoft Visual C++ supports only filename of less than 258 characters including the extension for compilation. Hence the compilation fail. ( <a href="https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2156195-fix-260-character-file-name-length-limitation" rel="nofollow">https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2156195-fix-260-character-file-name-length-limitation</a> ).</p>
<p dir="auto">I can think of two easy solutions to fix the problem:</p>
<ol dir="auto">
<li>
<p dir="auto">Trunk the hash by changin the line<br>
catalog.py:95: return base + sha256(expr).hexdigest()<br>
to: return base + sha256(expr).hexdigest()[:100]</p>
</li>
<li>
<p dir="auto">Use another hash (md5?sha-1?sha-224?sha-3 224bits?)</p>
</li>
</ol> | 1 |
<pre class="notranslate">As of <a href="https://golang.org/cl/6454150/" rel="nofollow">https://golang.org/cl/6454150/</a> (rev a14ef77ab98c), this program no longer
parses correctly:
package x
import "time"
const μs = time.Microsecond
The "μs" is not present in the AST.
I'll have a quick dig into it, and punt to gri if I can't figure it out soon.</pre> | <pre class="notranslate">What steps will reproduce the problem?
1. Run the simple echo server here: <a href="http://pastie.org/783355" rel="nofollow">http://pastie.org/783355</a>
2. On a separate console, run the simple program that creates a new
throwaway connection to the server every second: <a href="http://pastie.org/783368" rel="nofollow">http://pastie.org/783368</a>
What is the expected output? What do you see instead?
The server will continue to print "client connected", but they are never
closed by the garbage collector. If this program keeps running, the system
will eventually run out of sockets.
I believe the garbage collector should call close() on sockets which are
garbage collected
What is your $GOOS? $GOARCH?
darwin/386
Which revision are you using? (hg identify)
7df3be16abbf tip
Please provide any additional information below.</pre> | 0 |
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 1.5</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">npm module won't install a package if it is installed as another package's dependency</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Install less compiler, css minifier
npm: name={{ item }}
with_items:
- less
- clean-css"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Install less compiler, css minifier</span>
<span class="pl-ent">npm</span>: <span class="pl-s">name={{ item }}</span>
<span class="pl-ent">with_items</span>:
- <span class="pl-s">less</span>
- <span class="pl-s">clean-css</span></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">clean-css should be installed, as it will be if you run:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# npm install less clean-css"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> npm install less clean-css</span></pre></div>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">clean-css is not installed.</p>
<p dir="auto">This is because the npm module is misinterpreting the results of npm list. If the less package is installed, <code class="notranslate">npm list --json clean-css</code> returns:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"dependencies": {
"less": {
"version": "1.7.0",
"from": "less@",
"dependencies": {
"clean-css": {
"version": "2.1.6",
"from": "[email protected]"
}
}
}
}
}"><pre class="notranslate">{
<span class="pl-ent">"dependencies"</span>: {
<span class="pl-ent">"less"</span>: {
<span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.7.0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"from"</span>: <span class="pl-s"><span class="pl-pds">"</span>less@<span class="pl-pds">"</span></span>,
<span class="pl-ent">"dependencies"</span>: {
<span class="pl-ent">"clean-css"</span>: {
<span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>2.1.6<span class="pl-pds">"</span></span>,
<span class="pl-ent">"from"</span>: <span class="pl-s"><span class="pl-pds">"</span>[email protected]<span class="pl-pds">"</span></span>
}
}
}
}
}</pre></div>
<p dir="auto">The npm module interprets this to mean that clean-css is installed.</p> | <p dir="auto"><strong>Scenario</strong>:</p>
<p dir="auto">Trying to install <code class="notranslate">uglify-js</code> (globally) because I need the <em>uglifyjs</em> executable. Unfortunately the <code class="notranslate">npm</code> Ansible module won't install it because it's already listed as a dependency of another nodejs package (this other package is installed earlier in my playbook and I can't really move it). But when installed as dependency, it didn't get installed with the executable.</p>
<p dir="auto"><strong>Possible solutions</strong>:</p>
<ul dir="auto">
<li>A 'force' option to install regardless. But that's against idempotency I suppose.</li>
<li>Make the <code class="notranslate">npm</code> Ansible module aware if a package is installed at top-level or not and allow installation is the package to be installed is strictly a dependency.</li>
</ul> | 1 |
<h4 dir="auto">Challenge Name</h4>
<p dir="auto"><a href="https://www.freecodecamp.com/challenges/clone-an-element-using-jquery#?solution=%0Afccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%20%0A%20%20%20%20%24%28%22%23target2%2C%20%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Clone an Element Using jQuery</a></p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">When I finish my code,it shows ok, but when I click the button of "Run tests", it appears different.</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name, Version: chrome 51.0.2704.103 m</li>
<li>Operating System: win10</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="
<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target2, #target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-c1"><</span><span class="pl-ent">script</span><span class="pl-c1">></span>
$(document).ready(function() <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2, #target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>);
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">script</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">Only</span> <span class="pl-s1">change</span> <span class="pl-s1">code</span> <span class="pl-s1">above</span> <span class="pl-s1">this</span> <span class="pl-s1">line</span><span class="pl-kos">.</span> <span class="pl-c1">--</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"container-fluid"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"text-primary text-center"</span><span class="pl-c1">></span>jQuery Playground<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h3</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"row"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"col-xs-6"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">h4</span><span class="pl-c1">></span>#left-well<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h4</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"well"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"left-well"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn btn-default target"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"target1"</span><span class="pl-c1">></span>#target1<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn btn-default target"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"target2"</span><span class="pl-c1">></span>#target2<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn btn-default target"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"target3"</span><span class="pl-c1">></span>#target3<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"col-xs-6"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">h4</span><span class="pl-c1">></span>#right-well<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h4</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"well"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"right-well"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn btn-default target"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"target4"</span><span class="pl-c1">></span>#target4<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn btn-default target"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"target5"</span><span class="pl-c1">></span>#target5<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn btn-default target"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"target6"</span><span class="pl-c1">></span>#target6<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span></pre></div>
<h4 dir="auto">Screenshot</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11610002/17329571/cf949282-58f5-11e6-98a3-5966c99118ab.png"><img src="https://cloud.githubusercontent.com/assets/11610002/17329571/cf949282-58f5-11e6-98a3-5966c99118ab.png" alt="before" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11610002/17329656/2ce4efcc-58f6-11e6-8ad8-b3fa4549e659.png"><img src="https://cloud.githubusercontent.com/assets/11610002/17329656/2ce4efcc-58f6-11e6-8ad8-b3fa4549e659.png" alt="after" style="max-width: 100%;"></a></p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<h2 dir="auto">Issue</h2>
<p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p>
<p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p>
<ul dir="auto">
<li>Waypoint: Target the Parent of an Element Using jQuery</li>
<li>Waypoint: Target the Children of an Element Using jQuery</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">My code:</h2>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 1 |
<p dir="auto">The websocket functionality from std/ws is awesome. However, when writing code that targets deno and browser, it doesn't fare as well. Wondering if RT should provide a browser compatible version that can be wrapped by std/ws or vice versa.</p>
<p dir="auto">This would allow us to have it both ways, and I for one am sold on it.</p> | <p dir="auto">Is this an intended behavior? I expected these properties to be filled with the actual file name and path.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ deno run --allow-read http://danoweb.site/stat_test.ts test.txt
Downloading http://danoweb.site/stat_test.ts
Compiling http://danoweb.site/stat_test.ts
stat null null
lstat null null"><pre class="notranslate">$ deno run --allow-read http://danoweb.site/stat_test.ts test.txt
Downloading http://danoweb.site/stat_test.ts
Compiling http://danoweb.site/stat_test.ts
stat null null
lstat null null</pre></div>
<p dir="auto">stat_test.ts looks like this:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try {
const stat = Deno.statSync(Deno.args[1]);
console.log("stat", stat.name, stat.path);
const lstat = Deno.lstatSync(Deno.args[1]);
console.log("lstat", lstat.name, lstat.path);
} catch (e) {
console.error("specified file not found");
}"><pre class="notranslate"><span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">stat</span> <span class="pl-c1">=</span> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">statSync</span><span class="pl-kos">(</span><span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-c1">args</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"stat"</span><span class="pl-kos">,</span> <span class="pl-s1">stat</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">,</span> <span class="pl-s1">stat</span><span class="pl-kos">.</span><span class="pl-c1">path</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">lstat</span> <span class="pl-c1">=</span> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">lstatSync</span><span class="pl-kos">(</span><span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-c1">args</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"lstat"</span><span class="pl-kos">,</span> <span class="pl-s1">lstat</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">,</span> <span class="pl-s1">lstat</span><span class="pl-kos">.</span><span class="pl-c1">path</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">e</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">error</span><span class="pl-kos">(</span><span class="pl-s">"specified file not found"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">test code is also available at: <a href="https://danoweb.site/stat_test.ts?mode=edit" rel="nofollow">https://danoweb.site/stat_test.ts?mode=edit</a></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">win_chocolatey</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible --version
ansible 2.3.0 (devel 01436cf186) last updated 2017/02/21 12:05:34 (GMT -500)
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">$ ansible --version
ansible 2.3.0 (devel 01436cf186) last updated 2017/02/21 12:05:34 (GMT -500)
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Ansible configuration from git clone</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Control host macOS 10.12.3<br>
Managed host Windows 7</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Attempting to upgrade powershell4 to powershell5 using the win_chocolatey module.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: install powershell5
win_chocolatey:
name: '{{ item }}'
state: 'present'
with_items:
- "powershell"
register: check_powershell5
when: "{{ ansible_PSVersionTable.Major|int < 5 }}"
tags: chocolatey"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">install powershell5</span>
<span class="pl-ent">win_chocolatey</span>:
<span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">'</span>{{ item }}<span class="pl-pds">'</span></span>
<span class="pl-ent">state</span>: <span class="pl-s"><span class="pl-pds">'</span>present<span class="pl-pds">'</span></span>
<span class="pl-ent">with_items</span>:
- <span class="pl-s"><span class="pl-pds">"</span>powershell<span class="pl-pds">"</span></span>
<span class="pl-ent">register</span>: <span class="pl-s">check_powershell5</span>
<span class="pl-ent">when</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ ansible_PSVersionTable.Major|int < 5 }}<span class="pl-pds">"</span></span>
<span class="pl-ent">tags</span>: <span class="pl-s">chocolatey</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Upgrade/install of powershell5</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Ansible/win_chocolatey error out.</p>
<p dir="auto"><a href="https://gist.github.com/basictheprogram/018789574e04104932c002777e5a3a76">https://gist.github.com/basictheprogram/018789574e04104932c002777e5a3a76</a></p> | <p dir="auto">As an alternative solution to bug <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="42095764" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/8904" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/8904/hovercard" href="https://github.com/ansible/ansible/issues/8904">#8904</a></p> | 0 |
<p dir="auto">Consider the following equivalent definitions of a function and the benchmarking</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mutable struct Agent
R::Float64
V::Float64
end
initi(n) = Agent.(1., zeros(n))
f1(arr) = mean((a->cis(getproperty(a, :R))).(arr))
f2(arr) = mean(cis.(getproperty.(arr,:R)))
agents = initi(10000)
fcompose = @benchmark f1($agents)
fchain = @benchmark f2($agents)
judge(median(fcompose), median(fchain))"><pre class="notranslate"><span class="pl-k">mutable struct</span> Agent
R<span class="pl-k">::</span><span class="pl-c1">Float64</span>
V<span class="pl-k">::</span><span class="pl-c1">Float64</span>
<span class="pl-k">end</span>
<span class="pl-en">initi</span>(n) <span class="pl-k">=</span> <span class="pl-c1">Agent</span>.(<span class="pl-c1">1.</span>, <span class="pl-c1">zeros</span>(n))
<span class="pl-en">f1</span>(arr) <span class="pl-k">=</span> <span class="pl-c1">mean</span>((a<span class="pl-k">-></span><span class="pl-c1">cis</span>(<span class="pl-c1">getproperty</span>(a, <span class="pl-c1">:R</span>)))<span class="pl-k">.</span>(arr))
<span class="pl-en">f2</span>(arr) <span class="pl-k">=</span> <span class="pl-c1">mean</span>(<span class="pl-c1">cis</span>.(<span class="pl-c1">getproperty</span>.(arr,<span class="pl-c1">:R</span>)))
agents <span class="pl-k">=</span> <span class="pl-c1">initi</span>(<span class="pl-c1">10000</span>)
fcompose <span class="pl-k">=</span> <span class="pl-c1">@benchmark</span> <span class="pl-c1">f1</span>(<span class="pl-k">$</span>agents)
fchain <span class="pl-k">=</span> <span class="pl-c1">@benchmark</span> <span class="pl-c1">f2</span>(<span class="pl-k">$</span>agents)
<span class="pl-c1">judge</span>(<span class="pl-c1">median</span>(fcompose), <span class="pl-c1">median</span>(fchain))</pre></div>
<p dir="auto">The output of the judge is this-</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="BenchmarkTools.TrialJudgement:
time: -71.13% => improvement (5.00% tolerance)
memory: -49.99% => improvement (1.00% tolerance)"><pre class="notranslate">BenchmarkTools<span class="pl-k">.</span>TrialJudgement<span class="pl-k">:</span>
time<span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">71.13</span><span class="pl-k">%</span> <span class="pl-k">=></span> improvement (<span class="pl-c1">5.00</span><span class="pl-k">%</span> tolerance)
memory<span class="pl-k">:</span> <span class="pl-k">-</span><span class="pl-c1">49.99</span><span class="pl-k">%</span> <span class="pl-k">=></span> improvement (<span class="pl-c1">1.00</span><span class="pl-k">%</span> tolerance)</pre></div>
<p dir="auto">Shouldn't both have equivalent performance? From what I understand, the chained version iterates through the array multiple times, whereas the composed version doesn't. Is this an expected thing? If so, then won't everyone just use for loops or maps instead?</p>
<h2 dir="auto">Version Info</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_REVISE_WORKER_ONLY = 1"><pre class="notranslate"><code class="notranslate">Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_REVISE_WORKER_ONLY = 1
</code></pre></div> | <p dir="auto">Consider two implementations of the same function</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> function foo2(T, c, f)
d = T.(c)
return sum(f .* d)
end
foo2 (generic function with 2 methods)
julia> bar2(T, c, f) = sum(f .* T.(c))
bar2 (generic function with 3 methods)"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-k">function</span> <span class="pl-en">foo2</span>(T, c, f)
d <span class="pl-k">=</span> <span class="pl-c1">T</span>.(c)
<span class="pl-k">return</span> <span class="pl-c1">sum</span>(f <span class="pl-k">.*</span> d)
<span class="pl-k">end</span>
foo2 (generic <span class="pl-k">function</span> with <span class="pl-c1">2</span> methods)
julia<span class="pl-k">></span> <span class="pl-en">bar2</span>(T, c, f) <span class="pl-k">=</span> <span class="pl-c1">sum</span>(f <span class="pl-k">.*</span> <span class="pl-c1">T</span>.(c))
bar2 (generic <span class="pl-k">function</span> with <span class="pl-c1">3</span> methods)</pre></div>
<p dir="auto"><code class="notranslate">bar2</code> seems like it is just better,<br>
it avoids creating the intermidairy variable, so allows the broadcase to fuse,<br>
and indeed with a plain vector it is:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> @btime foo2(Float32, [0.1,0.2], [1.0,2.0]);
473.802 ns (9 allocations: 512 bytes)
julia> @btime bar2(Float32, [0.1,0.2], [1.0,2.0]);
369.920 ns (8 allocations: 416 bytes)"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">@btime</span> <span class="pl-c1">foo2</span>(Float32, [<span class="pl-c1">0.1</span>,<span class="pl-c1">0.2</span>], [<span class="pl-c1">1.0</span>,<span class="pl-c1">2.0</span>]);
<span class="pl-c1">473.802</span> ns (<span class="pl-c1">9</span> allocations<span class="pl-k">:</span> <span class="pl-c1">512</span> bytes)
julia<span class="pl-k">></span> <span class="pl-c1">@btime</span> <span class="pl-c1">bar2</span>(Float32, [<span class="pl-c1">0.1</span>,<span class="pl-c1">0.2</span>], [<span class="pl-c1">1.0</span>,<span class="pl-c1">2.0</span>]);
<span class="pl-c1">369.920</span> ns (<span class="pl-c1">8</span> allocations<span class="pl-k">:</span> <span class="pl-c1">416</span> bytes)</pre></div>
<p dir="auto">But with a StaticArray <code class="notranslate">foo2</code> is much better.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> @btime foo2(Float32, @SVector[0.1,0.2], @SVector[1.0,2.0]);
0.031 ns (0 allocations: 0 bytes)
julia> @btime bar2(Float32, @SVector[0.1,0.2], @SVector[1.0,2.0]);
946.536 ns (22 allocations: 528 bytes)"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">@btime</span> <span class="pl-c1">foo2</span>(Float32, <span class="pl-c1">@SVector</span>[<span class="pl-c1">0.1</span>,<span class="pl-c1">0.2</span>], <span class="pl-c1">@SVector</span>[<span class="pl-c1">1.0</span>,<span class="pl-c1">2.0</span>]);
<span class="pl-c1">0.031</span> ns (<span class="pl-c1">0</span> allocations<span class="pl-k">:</span> <span class="pl-c1">0</span> bytes)
julia<span class="pl-k">></span> <span class="pl-c1">@btime</span> <span class="pl-c1">bar2</span>(Float32, <span class="pl-c1">@SVector</span>[<span class="pl-c1">0.1</span>,<span class="pl-c1">0.2</span>], <span class="pl-c1">@SVector</span>[<span class="pl-c1">1.0</span>,<span class="pl-c1">2.0</span>]);
<span class="pl-c1">946.536</span> ns (<span class="pl-c1">22</span> allocations<span class="pl-k">:</span> <span class="pl-c1">528</span> bytes)</pre></div>
<p dir="auto">I think what is happening is that something about <code class="notranslate">foo2</code> is constant fold-able for <code class="notranslate">StaticArray</code>s.<br>
and that <code class="notranslate">bar2</code> isn't.</p>
<p dir="auto">Those number were taken on 1.5., but i saw similar on master</p> | 1 |
<h1 dir="auto">🐛 Bug</h1>
<h2 dir="auto">Information</h2>
<p dir="auto">"mrm8488/bert-spanish-cased-finetuned-ner"</p>
<p dir="auto">Language I am using the model on (English, Chinese ...): Spanish</p>
<p dir="auto">The problem arises when using:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> the official example scripts: (give details below)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own modified scripts: (give details below)</li>
</ul>
<p dir="auto">The tasks I am working on is:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> an official GLUE/SQUaD task: (give the name)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own task or dataset: (give details below)</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>create a <code class="notranslate">ner</code> pipeline</li>
<li>pass flag <code class="notranslate">grouped_entities</code></li>
<li>entities are not grouped as expected see sample below</li>
</ol>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="NER_MODEL = "mrm8488/bert-spanish-cased-finetuned-ner"
nlp_ner = pipeline("ner", model=NER_MODEL,
grouped_entities=True,
tokenizer=(NER_MODEL, {"use_fast": False}))
t = """Consuelo Araújo Noguera, ministra de cultura del presidente Andrés Pastrana (1998.2002) fue asesinada por las Farc luego de haber permanecido secuestrada por algunos meses."""
ner(t)
>>>
[ {'entity_group': 'B-PER', 'score': 0.901019960641861, 'word': 'Consuelo'},
{'entity_group': 'I-PER', 'score': 0.9990904808044434, 'word': 'Araújo Noguera'},
{'entity_group': 'B-PER', 'score': 0.9998136162757874, 'word': 'Andrés'},
{'entity_group': 'I-PER', 'score': 0.9996985991795858, 'word': 'Pastrana'},
{'entity_group': 'B-ORG', 'score': 0.9989739060401917, 'word': 'Far'}]"><pre class="notranslate"><span class="pl-v">NER_MODEL</span> <span class="pl-c1">=</span> <span class="pl-s">"mrm8488/bert-spanish-cased-finetuned-ner"</span>
<span class="pl-s1">nlp_ner</span> <span class="pl-c1">=</span> <span class="pl-en">pipeline</span>(<span class="pl-s">"ner"</span>, <span class="pl-s1">model</span><span class="pl-c1">=</span><span class="pl-v">NER_MODEL</span>,
<span class="pl-s1">grouped_entities</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">tokenizer</span><span class="pl-c1">=</span>(<span class="pl-v">NER_MODEL</span>, {<span class="pl-s">"use_fast"</span>: <span class="pl-c1">False</span>}))
<span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-s">"""Consuelo Araújo Noguera, ministra de cultura del presidente Andrés Pastrana (1998.2002) fue asesinada por las Farc luego de haber permanecido secuestrada por algunos meses."""</span>
<span class="pl-en">ner</span>(<span class="pl-s1">t</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span>
[ {<span class="pl-s">'entity_group'</span>: <span class="pl-s">'B-PER'</span>, <span class="pl-s">'score'</span>: <span class="pl-c1">0.901019960641861</span>, <span class="pl-s">'word'</span>: <span class="pl-s">'Consuelo'</span>},
{<span class="pl-s">'entity_group'</span>: <span class="pl-s">'I-PER'</span>, <span class="pl-s">'score'</span>: <span class="pl-c1">0.9990904808044434</span>, <span class="pl-s">'word'</span>: <span class="pl-s">'Araújo Noguera'</span>},
{<span class="pl-s">'entity_group'</span>: <span class="pl-s">'B-PER'</span>, <span class="pl-s">'score'</span>: <span class="pl-c1">0.9998136162757874</span>, <span class="pl-s">'word'</span>: <span class="pl-s">'Andrés'</span>},
{<span class="pl-s">'entity_group'</span>: <span class="pl-s">'I-PER'</span>, <span class="pl-s">'score'</span>: <span class="pl-c1">0.9996985991795858</span>, <span class="pl-s">'word'</span>: <span class="pl-s">'Pastrana'</span>},
{<span class="pl-s">'entity_group'</span>: <span class="pl-s">'B-ORG'</span>, <span class="pl-s">'score'</span>: <span class="pl-c1">0.9989739060401917</span>, <span class="pl-s">'word'</span>: <span class="pl-s">'Far'</span>}]</pre></div>
<h2 dir="auto">Expected behavior</h2>
<h3 dir="auto">Inconsistent grouping</h3>
<p dir="auto">I expect the first two items of the given sample( <code class="notranslate">B-PER</code>, and <code class="notranslate">I-PER</code>) to be grouped. As they are contiguous tokens and correspond to a single entity spot. It seems the current code does not take into account <code class="notranslate">B</code> and <code class="notranslate">I</code> tokens.</p>
<p dir="auto">expected output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" {'entity_group': 'I-PER', 'score': 0.9990904808044434, 'word': ' Consuelo Araújo Noguera'},
{'entity_group': 'I-PER', 'score': 0.9998136162757874, 'word': 'Andrés Pastrana'},
{'entity_group': 'B-ORG', 'score': 0.9989739060401917, 'word': 'Farc'}]"><pre class="notranslate"><code class="notranslate"> {'entity_group': 'I-PER', 'score': 0.9990904808044434, 'word': ' Consuelo Araújo Noguera'},
{'entity_group': 'I-PER', 'score': 0.9998136162757874, 'word': 'Andrés Pastrana'},
{'entity_group': 'B-ORG', 'score': 0.9989739060401917, 'word': 'Farc'}]
</code></pre></div>
<h3 dir="auto">Lost tokens?</h3>
<p dir="auto">for the same input, passing <code class="notranslate">grouped_entities=False</code> generates the following output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[
{'word': 'Cons', 'score': 0.9994944930076599, 'entity': 'B-PER', 'index': 1},
{'word': '##uelo', 'score': 0.802545428276062, 'entity': 'B-PER', 'index': 2},
{'word': 'Ara', 'score': 0.9993102550506592, 'entity': 'I-PER', 'index': 3},
{'word': '##új', 'score': 0.9993743896484375, 'entity': 'I-PER', 'index': 4},
{'word': '##o', 'score': 0.9992871880531311, 'entity': 'I-PER', 'index': 5},
{'word': 'No', 'score': 0.9993029236793518, 'entity': 'I-PER', 'index': 6},
{'word': '##guera', 'score': 0.9981776475906372, 'entity': 'I-PER', 'index': 7},
{'word': 'Andrés', 'score': 0.9998136162757874, 'entity': 'B-PER', 'index': 15},
{'word': 'Pas', 'score': 0.999740719795227, 'entity': 'I-PER', 'index': 16},
{'word': '##tran', 'score': 0.9997414350509644, 'entity': 'I-PER', 'index': 17},
{'word': '##a', 'score': 0.9996136426925659, 'entity': 'I-PER', 'index': 18},
{'word': 'Far', 'score': 0.9989739060401917, 'entity': 'B-ORG', 'index': 28},
{'word': '##c', 'score': 0.7188423275947571, 'entity': 'I-ORG', 'index': 29}]"><pre class="notranslate"><code class="notranslate">[
{'word': 'Cons', 'score': 0.9994944930076599, 'entity': 'B-PER', 'index': 1},
{'word': '##uelo', 'score': 0.802545428276062, 'entity': 'B-PER', 'index': 2},
{'word': 'Ara', 'score': 0.9993102550506592, 'entity': 'I-PER', 'index': 3},
{'word': '##új', 'score': 0.9993743896484375, 'entity': 'I-PER', 'index': 4},
{'word': '##o', 'score': 0.9992871880531311, 'entity': 'I-PER', 'index': 5},
{'word': 'No', 'score': 0.9993029236793518, 'entity': 'I-PER', 'index': 6},
{'word': '##guera', 'score': 0.9981776475906372, 'entity': 'I-PER', 'index': 7},
{'word': 'Andrés', 'score': 0.9998136162757874, 'entity': 'B-PER', 'index': 15},
{'word': 'Pas', 'score': 0.999740719795227, 'entity': 'I-PER', 'index': 16},
{'word': '##tran', 'score': 0.9997414350509644, 'entity': 'I-PER', 'index': 17},
{'word': '##a', 'score': 0.9996136426925659, 'entity': 'I-PER', 'index': 18},
{'word': 'Far', 'score': 0.9989739060401917, 'entity': 'B-ORG', 'index': 28},
{'word': '##c', 'score': 0.7188423275947571, 'entity': 'I-ORG', 'index': 29}]
</code></pre></div>
<p dir="auto">when using <code class="notranslate">grouped_entities</code> the last entity <code class="notranslate">word</code> (<code class="notranslate">##c</code>) got lost, it is not even considered as a different group</p>
<p dir="auto"><code class="notranslate"> {'entity_group': 'B-ORG', 'score': 0.9989739060401917, 'word': 'Far'}]</code></p>
<h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: 2.11.0</li>
<li>Platform: OSX</li>
<li>Python version: 3.7</li>
<li>PyTorch version (GPU?): 1.5.0</li>
<li>Tensorflow version (GPU?):</li>
<li>Using GPU in script?: no</li>
<li>Using distributed or parallel set-up in script?: no</li>
</ul> | <h1 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature request</h1>
<p dir="auto">output probabilities of generated sequences in generate function (generation utils)</p>
<p dir="auto">thank you so much! :)</p> | 0 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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 Commits</h4>
<ul dir="auto">
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/0f37ba0faf0fae69cbcfe17a92e9311cd038cf95/hovercard" href="https://github.com/celery/celery/commit/0f37ba0faf0fae69cbcfe17a92e9311cd038cf95"><tt>0f37ba0</tt></a></li>
</ul>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</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>:</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=""><pre class="notranslate"><code class="notranslate"></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>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</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=""><pre class="notranslate"><code class="notranslate"></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>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import platform
>>> import pkg_resources
>>>
>>> your_python_requires_str = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*,"
>>> pkg_resources.Requirement.parse("python_version%s" % your_python_requires_str)
.....
pkg_resources.RequirementParseError: Invalid requirement, parse error at "','"
>>>
>>> valid_python_requires_str = your_python_requires_str.rstrip(',')
>>> pkg_resources.Requirement.parse("python_version%s" % valid_python_requires_str)
Requirement.parse('python_version!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7')"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">platform</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">pkg_resources</span>
<span class="pl-c1">>></span><span class="pl-c1">></span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">your_python_requires_str</span> <span class="pl-c1">=</span> <span class="pl-s">">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*,"</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pkg_resources</span>.<span class="pl-v">Requirement</span>.<span class="pl-en">parse</span>(<span class="pl-s">"python_version%s"</span> <span class="pl-c1">%</span> <span class="pl-s1">your_python_requires_str</span>)
.....
<span class="pl-s1">pkg_resources</span>.<span class="pl-v">RequirementParseError</span>: <span class="pl-v">Invalid</span> <span class="pl-s1">requirement</span>, <span class="pl-s1">parse</span> <span class="pl-s1">error</span> <span class="pl-s1">at</span> <span class="pl-s">"','"</span>
<span class="pl-c1">>></span><span class="pl-c1">></span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">valid_python_requires_str</span> <span class="pl-c1">=</span> <span class="pl-s1">your_python_requires_str</span>.<span class="pl-en">rstrip</span>(<span class="pl-s">','</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pkg_resources</span>.<span class="pl-v">Requirement</span>.<span class="pl-en">parse</span>(<span class="pl-s">"python_version%s"</span> <span class="pl-c1">%</span> <span class="pl-s1">valid_python_requires_str</span>)
<span class="pl-v">Requirement</span>.<span class="pl-en">parse</span>(<span class="pl-s">'python_version!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7'</span>)</pre></div>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto"><code class="notranslate">python_requires</code> string should be a valid python version specifier.<br>
The same applies to the <code class="notranslate">requires_python</code> attribute on <a href="https://pypi.org/pypi/celery/json" rel="nofollow">pypi.org</a></p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto"><code class="notranslate">pkg_resources.Requirement.parse</code> raises an Exception with the current provided string</p> | <p dir="auto">I was looking for the difference between <code class="notranslate">Celery.start</code> and <code class="notranslate">Celery.worker_main</code> (I've been using the former, but now see in the <a href="http://celery.readthedocs.org/en/latest/userguide/application.html" rel="nofollow">user guide</a> that the latter is recommended), but I found that neither has a docstring. Nor does the class and many other methods on it. Could you add some minimal docstrings to at least point out the difference?</p>
<p dir="auto">(I'm not sure why I picked <code class="notranslate">start</code> at first, was this recommended before or did I just guess wrongly?)</p> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald" rel="nofollow">Keith Donald</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9051?redirect=false" rel="nofollow">SPR-9051</a></strong> and commented</p>
<p dir="auto">When a <code class="notranslate">@ContextConfiguration</code> test class references a config class missing a <code class="notranslate">@Configuration</code> annotation, <code class="notranslate">@Bean</code> dependencies are wired successfully but the bean lifecycle is not applied (no init methods are invoked, for example). Adding the missing <code class="notranslate">@Configuration</code> annotation solves the problem, however the problem and solution isn't obvious since wiring/injection appeared to work.</p>
<p dir="auto">It would be better if an integration test failed-fast if you reference a config class with no <code class="notranslate">@Configuration</code> annotation.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 GA</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398151012" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14114" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14114/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14114">#14114</a> Missing <code class="notranslate">@Configuration</code> annotation will cause transaction not working (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398150646" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14061" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14061/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14061">#14061</a> Document <code class="notranslate">@Bean</code> 'lite' mode and annotated classes in the reference manual</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398157839" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15002" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15002/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15002">#15002</a> Log warning when using inner-bean referenced without <code class="notranslate">@Configuration</code></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398161996" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15599" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15599/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15599">#15599</a> Throw exception when <code class="notranslate">@ContextConfiguration</code>#classes are not annotated with <code class="notranslate">@Configuration</code></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398150475" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14037" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14037/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14037">#14037</a> Improve documentation for <code class="notranslate">@Bean</code> 'lite' mode and annotated class support in the TestContext Framework (<em><strong>"is superseded by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/500a4dd99579b00027918abda7d4d74f2a65b3a9/hovercard" href="https://github.com/spring-projects/spring-framework/commit/500a4dd99579b00027918abda7d4d74f2a65b3a9"><tt>500a4dd</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/2017b24867c6b009cad316960a84a7f55bec58c5/hovercard" href="https://github.com/spring-projects/spring-framework/commit/2017b24867c6b009cad316960a84a7f55bec58c5"><tt>2017b24</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/1cec0f9c6575edb9f81ef39a7019b5d3edc0d656/hovercard" href="https://github.com/spring-projects/spring-framework/commit/1cec0f9c6575edb9f81ef39a7019b5d3edc0d656"><tt>1cec0f9</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/78c6d70f0b3123d53708544324a8bbc734b81251/hovercard" href="https://github.com/spring-projects/spring-framework/commit/78c6d70f0b3123d53708544324a8bbc734b81251"><tt>78c6d70</tt></a></p>
<p dir="auto">0 votes, 5 watchers</p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cbeams" rel="nofollow">Chris Beams</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6922?redirect=false" rel="nofollow">SPR-6922</a></strong> and commented</p>
<p dir="auto">also add <code class="notranslate">public int[] batchUpdate(String sql, List<Object[]> batchArgs)</code> as well as any other methods that exist only on SimpleJdbcTemplate at that time.</p>
<hr>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398099878" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11106" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11106/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11106">#11106</a> Merge JdbcTemplate and SimpleJdbcTemplate, deprecate SimpleJdbcTemplate (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398118057" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13873" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13873/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13873">#13873</a> Deprecate SimpleJdbcTestUtils in favor of JdbcTestUtils</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398169177" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16514" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16514/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16514">#16514</a> Delete deprecated SimpleJdbc* classes</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398116434" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13630" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13630/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13630">#13630</a> Provide JdbcTemplate in abstract transactional base classes in the TestContext framework</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/f5f738f2b4978985287e42c7ca19b2284f7c1ba4/hovercard" href="https://github.com/spring-projects/spring-framework/commit/f5f738f2b4978985287e42c7ca19b2284f7c1ba4"><tt>f5f738f</tt></a></p> | 0 |
<p dir="auto">Windows 10 Version 1909</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [Version 10.0.18363.476]
PowerToys version: 0.14
PowerToy module for which you are reporting the bug (if applicable): FanzyZones"><pre class="notranslate"><code class="notranslate">Windows build number: [Version 10.0.18363.476]
PowerToys version: 0.14
PowerToy module for which you are reporting the bug (if applicable): FanzyZones
</code></pre></div>
<p dir="auto">Simply opening Store apps</p>
<p dir="auto">Expect these apps to remember their last location/FanzyZone and open there.</p>
<p dir="auto">All Store apps open in the same FanzyZone area even though they have been moved into other areas. Only seems to happen with Store apps.</p>
<h1 dir="auto">Screenshots</h1> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [Version 10.0.17134.1069]
PowerToys version: 0.13.0
PowerToy module for which you are reporting the bug (if applicable): FancyZone"><pre class="notranslate"><code class="notranslate">Windows build number: [Version 10.0.17134.1069]
PowerToys version: 0.13.0
PowerToy module for which you are reporting the bug (if applicable): FancyZone
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Have a two-monitor setup
<ul dir="auto">
<li>Primary monitor: on the left, 3840x2160, 150% scaling</li>
<li>Secondary monitor: on the right, 1920x1080, 100% scaling</li>
</ul>
</li>
<li>Choose (for example) three columns layout on primary screen</li>
<li>Set space around zones below 6</li>
<li>Drag Emacs window to rightmost column (adjacent to secondary screen)</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Emacs window is placed in rightmost column.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Emacs window spans across rightmost column and secondary screen.</p>
<p dir="auto"><strong>Note:</strong> A Powerpoint window gets placed in the rightmost column only, as expected.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1364031/69479381-cc603c00-0dfc-11ea-96bc-79f1346db79f.png"><img width="2000" alt="space_around_zones_is_6" src="https://user-images.githubusercontent.com/1364031/69479381-cc603c00-0dfc-11ea-96bc-79f1346db79f.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1364031/69479384-d5e9a400-0dfc-11ea-989e-fde74d4cc96b.png"><img width="2000" alt="space_around_zones_is_5" src="https://user-images.githubusercontent.com/1364031/69479384-d5e9a400-0dfc-11ea-989e-fde74d4cc96b.png" style="max-width: 100%;"></a></p> | 1 |
<h1 dir="auto">Question</h1>
<p dir="auto">How to get a list of all cached files in deno?</p>
<h1 dir="auto">If not</h1>
<p dir="auto">Maybe we need something like <code class="notranslate">deno cache --info</code> to get the cached paths as well as the download dates?</p> | <p dir="auto"><em>I'd like to take on this, if this proposal seems like a good idea to you</em></p>
<p dir="auto">A valid question came to me today. What if I'm not using a module I imported remotely anymore and want to delete it from my disk?</p>
<p dir="auto">Asking someone to delete it in their DENO_DIR folder seems like quite a hassle, and is not really intuitive. A module manager in Deno (<strong>not a package manager</strong>) that allow the users to list and delete the modules available for import in their system seems like a good idea.</p>
<p dir="auto">(Couple crazy ideas regarding a CLI app and an API to allow interop with possible GUI implementations to be discussed)</p> | 1 |
<blockquote>
<p dir="auto">python 3.5.3 (default, Jan 19 2017, 14:11:04)<br>
[GCC 6.3.0 20170118] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
import cv2<br>
import torch<br>
*** Error in `python3': free(): invalid pointer: 0x00007f15aad8cb80 ***<br>
======= Backtrace: =========<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f15bcbf008b]<br>
/lib/x86_64-linux-gnu/libc.so.6(+0x82c3a)[0x7f15bcbf9c3a]<br>
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f15bcbfdd2c]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so(_ZNSt6locale5_Impl16_M_install_facetEPKNS_2idEPKNS_5facetE+0x142)[0x7f15aab26802]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so(_ZNSt6locale5_ImplC2Em+0x1e3)[0x7f15aab28953]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so(_ZNSt6locale18_S_initialize_onceEv+0x15)[0x7f15aab298c5]<br>
/lib/x86_64-linux-gnu/libpthread.so.0(+0xec59)[0x7f15bcf4cc59]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so(_ZNSt6locale13_S_initializeEv+0x21)[0x7f15aab29911]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so(_ZNSt6localeC1Ev+0x13)[0x7f15aab29953]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so(_ZNSt8ios_base4InitC1Ev+0xb4)[0x7f15aaafb1b4]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18(+0x2a5a14)[0x7f15876d6a14]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18(+0x2a6aa3)[0x7f15876d7aa3]<br>
/usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18(+0x335026)[0x7f1587766026]<br>
======= Memory map: ========<br>
5568f000f000-5568f03fd000 r-xp 00000000 08:02 13894926 /usr/bin/python3.5<br>
5568f05fc000-5568f05ff000 r--p 003ed000 08:02 13894926 /usr/bin/python3.5<br>
5568f05ff000-5568f0695000 rw-p 003f0000 08:02 13894926 /usr/bin/python3.5<br>
5568f0695000-5568f06c6000 rw-p 00000000 00:00 0<br>
5568f0f39000-5568f156f000 rw-p 00000000 00:00 0 [heap]<br>
7f1580000000-7f1580021000 rw-p 00000000 00:00 0<br>
7f1580021000-7f1584000000 ---p 00000000 00:00 0<br>
7f1587431000-7f1589736000 r-xp 00000000 08:02 1314120 /usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18<br>
7f1589736000-7f1589935000 ---p 02305000 08:02 1314120 /usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18<br>
7f1589935000-7f158994d000 rw-p 02304000 08:02 1314120 /usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18<br>
7f158994d000-7f158995c000 rw-p 00000000 00:00 0<br>
7f158995c000-7f1589960000 rw-p 0231d000 08:02 1314120 /usr/local/lib/python3.5/dist-packages/torch/lib/libcusparse-652fe42d.so.7.5.18<br>
7f1589960000-7f158b6ed000 r-xp 00000000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b/hovercard" href="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b"><tt>1314115</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libcurand-5c46e900.so.7.5.18<br>
7f158b6ed000-7f158b8ed000 ---p 01d8d000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b/hovercard" href="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b"><tt>1314115</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libcurand-5c46e900.so.7.5.18<br>
7f158b8ed000-7f158ccbe000 rw-p 01d8d000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b/hovercard" href="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b"><tt>1314115</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libcurand-5c46e900.so.7.5.18<br>
7f158ccbe000-7f158d1c8000 rw-p 00000000 00:00 0<br>
7f158d1c8000-7f158d1c9000 rw-p 0315f000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b/hovercard" href="https://github.com/pytorch/pytorch/commit/1314115b05ae3aa7c56436fc5da4166f80e1575b"><tt>1314115</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libcurand-5c46e900.so.7.5.18<br>
7f158d1c9000-7f158e892000 r-xp 00000000 08:02 1314125 /usr/local/lib/python3.5/dist-packages/torch/lib/libcublas-74156a04.so.7.5.18<br>
7f158e892000-7f158ea91000 ---p 016c9000 08:02 1314125 /usr/local/lib/python3.5/dist-packages/torch/lib/libcublas-74156a04.so.7.5.18<br>
7f158ea91000-7f158ea9d000 rw-p 016c8000 08:02 1314125 /usr/local/lib/python3.5/dist-packages/torch/lib/libcublas-74156a04.so.7.5.18<br>
7f158ea9d000-7f158eaa8000 rw-p 00000000 00:00 0<br>
7f158eaa8000-7f158eaab000 rw-p 016d5000 08:02 1314125 /usr/local/lib/python3.5/dist-packages/torch/lib/libcublas-74156a04.so.7.5.18<br>
7f158eaab000-7f158eac0000 r-xp 00000000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/13141232d7dd4f0acba1b39ecc02dbc54ced91ab/hovercard" href="https://github.com/pytorch/pytorch/commit/13141232d7dd4f0acba1b39ecc02dbc54ced91ab"><tt>1314123</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libgomp-ae56ecdc.so.1.0.0<br>
7f158eac0000-7f158ecbf000 ---p 00015000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/13141232d7dd4f0acba1b39ecc02dbc54ced91ab/hovercard" href="https://github.com/pytorch/pytorch/commit/13141232d7dd4f0acba1b39ecc02dbc54ced91ab"><tt>1314123</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libgomp-ae56ecdc.so.1.0.0<br>
7f158ecbf000-7f158ecc2000 rw-p 00014000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/13141232d7dd4f0acba1b39ecc02dbc54ced91ab/hovercard" href="https://github.com/pytorch/pytorch/commit/13141232d7dd4f0acba1b39ecc02dbc54ced91ab"><tt>1314123</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libgomp-ae56ecdc.so.1.0.0<br>
7f158ecc2000-7f15915ae000 r-xp 00000000 08:02 1314122 /usr/local/lib/python3.5/dist-packages/torch/lib/libnccl.so.1<br>
7f15915ae000-7f15917ae000 ---p 028ec000 08:02 1314122 /usr/local/lib/python3.5/dist-packages/torch/lib/libnccl.so.1<br>
7f15917ae000-7f15917af000 rw-p 028ec000 08:02 1314122 /usr/local/lib/python3.5/dist-packages/torch/lib/libnccl.so.1<br>
7f15917af000-7f15917b1000 rw-p 028f8000 08:02 1314122 /usr/local/lib/python3.5/dist-packages/torch/lib/libnccl.so.1<br>
7f15917b1000-7f159456b000 r-xp 00000000 08:02 1314114 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCUNN.so.1<br>
7f159456b000-7f159476b000 ---p 02dba000 08:02 1314114 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCUNN.so.1<br>
7f159476b000-7f159477a000 rw-p 02dba000 08:02 1314114 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCUNN.so.1<br>
7f159477a000-7f159479a000 rw-p 00000000 00:00 0<br>
7f159479a000-7f1594a65000 rw-p 03078000 08:02 1314114 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCUNN.so.1<br>
7f1594a65000-7f1594bc4000 r-xp 00000000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50/hovercard" href="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50"><tt>1314110</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCS.so.1<br>
7f1594bc4000-7f1594dc4000 ---p 0015f000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50/hovercard" href="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50"><tt>1314110</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCS.so.1<br>
7f1594dc4000-7f1594dc6000 rw-p 0015f000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50/hovercard" href="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50"><tt>1314110</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCS.so.1<br>
7f1594dc6000-7f1594dc7000 rw-p 00000000 00:00 0<br>
7f1594dc7000-7f1594e13000 rw-p 0018d000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50/hovercard" href="https://github.com/pytorch/pytorch/commit/1314110c7068bd24d8f0a7680b40a0f1893dcd50"><tt>1314110</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHCS.so.1<br>
7f1594e13000-7f159f454000 r-xp 00000000 08:02 1314127 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHC.so.1<br>
7f159f454000-7f159f654000 ---p 0a641000 08:02 1314127 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHC.so.1<br>
7f159f654000-7f159f6af000 rw-p 0a641000 08:02 1314127 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHC.so.1<br>
7f159f6af000-7f159f717000 rw-p 00000000 00:00 0<br>
7f159f717000-7f15a10c7000 rw-p 0b2c7000 08:02 1314127 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHC.so.1<br>
7f15a10c7000-7f15a1313000 r-xp 00000000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d/hovercard" href="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d"><tt>1314118</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHD.so.1<br>
7f15a1313000-7f15a1513000 ---p 0024c000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d/hovercard" href="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d"><tt>1314118</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHD.so.1<br>
7f15a1513000-7f15a151d000 rw-p 0024c000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d/hovercard" href="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d"><tt>1314118</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHD.so.1<br>
7f15a151d000-7f15a155e000 rw-p 002bf000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d/hovercard" href="https://github.com/pytorch/pytorch/commit/131411893401aa009b56ed071aba38b299473f0d"><tt>1314118</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libTHD.so.1<br>
7f15a155e000-7f15a1aab000 r-xp 00000000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599/hovercard" href="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599"><tt>1314119</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libATen.so.1<br>
7f15a1aab000-7f15a1cab000 ---p 0054d000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599/hovercard" href="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599"><tt>1314119</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libATen.so.1<br>
7f15a1cab000-7f15a1ce9000 rw-p 0054d000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599/hovercard" href="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599"><tt>1314119</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libATen.so.1<br>
7f15a1ce9000-7f15a1e12000 rw-p 00681000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599/hovercard" href="https://github.com/pytorch/pytorch/commit/1314119178bdb6666023e963f0ce62bdd4ef2599"><tt>1314119</tt></a> /usr/local/lib/python3.5/dist-packages/torch/lib/libATen.so.1<br>
7f15a1e12000-7f15a1f29000 r-xp 00000000 08:02 1314121 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHNN.so.1<br>
7f15a1f29000-7f15a2129000 ---p 00117000 08:02 1314121 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHNN.so.1<br>
7f15a2129000-7f15a212a000 rw-p 00117000 08:02 1314121 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHNN.so.1<br>
7f15a212a000-7f15a2136000 rw-p 00127000 08:02 1314121 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHNN.so.1<br>
7f15a2136000-7f15a2398000 r-xp 00000000 08:02 1314116 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHPP.so.1<br>
7f15a2398000-7f15a2598000 ---p 00262000 08:02 1314116 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHPP.so.1<br>
7f15a2598000-7f15a25ac000 rw-p 00262000 08:02 1314116 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHPP.so.1<br>
7f15a25ac000-7f15a265c000 rw-p 00306000 08:02 1314116 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHPP.so.1<br>
7f15a265c000-7f15a268a000 r-xp 00000000 08:02 1314108 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHS.so.1<br>
7f15a268a000-7f15a288a000 ---p 0002e000 08:02 1314108 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHS.so.1<br>
7f15a288a000-7f15a288b000 rw-p 0002e000 08:02 1314108 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHS.so.1<br>
7f15a288b000-7f15a288f000 rw-p 00037000 08:02 1314108 /usr/local/lib/python3.5/dist-packages/torch/lib/libTHS.so.1<br>
7f15a288f000-7f15a4c8d000 r-xp 00000000 08:02 1314126 /usr/local/lib/python3.5/dist-packages/torch/lib/libTH.so.1<br>
7f15a4c8d000-7f15a4e8d000 ---p 023fe000 08:02 1314126 /usr/local/lib/python3.5/dist-packages/torch/lib/libTH.so.1<br>
7f15a4e8d000-7f15a4eb4000 rw-p 023fe000 08:02 1314126 /usr/local/lib/python3.5/dist-packages/torch/lib/libTH.so.1<br>
7f15a4eb4000-7f15a4efc000 rw-p 00000000 00:00 0<br>
7f15a4efc000-7f15a4f2b000 rw-p 02504000 08:02 1314126 /usr/local/lib/python3.5/dist-packages/torch/lib/libTH.so.1<br>
7f15a4f2b000-7f15aa3f5000 r-xp 00000000 08:02 1314107 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudnn-9c0f9a11.so.6.0.21<br>
7f15aa3f5000-7f15aa5f4000 ---p 054ca000 08:02 1314107 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudnn-9c0f9a11.so.6.0.21<br>
7f15aa5f4000-7f15aa611000 rw-p 054c9000 08:02 1314107 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudnn-9c0f9a11.so.6.0.21<br>
7f15aa611000-7f15aa643000 rw-p 00000000 00:00 0<br>
7f15aa643000-7f15aa645000 rw-p 054e7000 08:02 1314107 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudnn-9c0f9a11.so.6.0.21<br>
7f15aa645000-7f15aa64e000 r-xp 00000000 08:02 1314113 /usr/local/lib/python3.5/dist-packages/torch/lib/libnvToolsExt-b81aded0.so.1.0.0<br>
7f15aa64e000-7f15aa84d000 ---p 00009000 08:02 1314113 /usr/local/lib/python3.5/dist-packages/torch/lib/libnvToolsExt-b81aded0.so.1.0.0<br>
7f15aa84d000-7f15aa84e000 rw-p 00008000 08:02 1314113 /usr/local/lib/python3.5/dist-packages/torch/lib/libnvToolsExt-b81aded0.so.1.0.0<br>
7f15aa84e000-7f15aa84f000 rw-p 0000a000 08:02 1314113 /usr/local/lib/python3.5/dist-packages/torch/lib/libnvToolsExt-b81aded0.so.1.0.0<br>
7f15aa84f000-7f15aa8aa000 r-xp 00000000 08:02 1314111 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudart-e0aa9238.so.7.5.18<br>
7f15aa8aa000-7f15aaaa9000 ---p 0005b000 08:02 1314111 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudart-e0aa9238.so.7.5.18<br>
7f15aaaa9000-7f15aaaaf000 rw-p 0005a000 08:02 1314111 /usr/local/lib/python3.5/dist-packages/torch/lib/libcudart-e0aa9238.so.7.5.18<br>
7f15aaaaf000-7f15aab71000 r-xp 00000000 08:02 1314109 /usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so<br>
7f15aab71000-7f15aad71000 ---p 000c2000 08:02 1314109 /usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so<br>
7f15aad71000-7f15aad79000 rw-p 000c2000 08:02 1314109 /usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so<br>
7f15aad79000-7f15aad8d000 rw-p 00000000 00:00 0<br>
7f15aad8d000-7f15aadad000 rw-p 000fe000 08:02 1314109 /usr/local/lib/python3.5/dist-packages/torch/lib/libshm.so<br>
7f15aadad000-7f15abe38000 r-xp 00000000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe/hovercard" href="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe"><tt>1050863</tt></a> /usr/local/lib/python3.5/dist-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so<br>
7f15abe38000-7f15ac038000 ---p 0108b000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe/hovercard" href="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe"><tt>1050863</tt></a> /usr/local/lib/python3.5/dist-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac038000-7f15ac082000 rw-p 0108b000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe/hovercard" href="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe"><tt>1050863</tt></a> /usr/local/lib/python3.5/dist-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac082000-7f15ac085000 rw-p 00000000 00:00 0<br>
7f15ac085000-7f15ac370000 rw-p 067ab000 08:02 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe/hovercard" href="https://github.com/pytorch/pytorch/commit/1050863f317fe18f6851190a497b64b6eaf18efe"><tt>1050863</tt></a> /usr/local/lib/python3.5/dist-packages/torch/_C.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac370000-7f15ac430000 rw-p 00000000 00:00 0<br>
7f15ac430000-7f15ac4e9000 r-xp 00000000 08:02 3932516 /home/pierre/.local/lib/python3.5/site-packages/numpy/random/mtrand.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac4e9000-7f15ac6e9000 ---p 000b9000 08:02 3932516 /home/pierre/.local/lib/python3.5/site-packages/numpy/random/mtrand.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac6e9000-7f15ac70e000 rw-p 000b9000 08:02 3932516 /home/pierre/.local/lib/python3.5/site-packages/numpy/random/mtrand.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac70e000-7f15ac750000 rw-p 00000000 00:00 0<br>
7f15ac750000-7f15ac759000 r-xp 00000000 08:02 3932567 /home/pierre/.local/lib/python3.5/site-packages/numpy/fft/fftpack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac759000-7f15ac958000 ---p 00009000 08:02 3932567 /home/pierre/.local/lib/python3.5/site-packages/numpy/fft/fftpack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac958000-7f15ac959000 rw-p 00008000 08:02 3932567 /home/pierre/.local/lib/python3.5/site-packages/numpy/fft/fftpack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15ac959000-7f15aca1a000 rw-p 00000000 00:00 0<br>
7f15aca1a000-7f15aca43000 r-xp 00000000 08:02 3932454 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/_umath_linalg.cpython-35m-x86_64-linux-gnu.so<br>
7f15aca43000-7f15acc42000 ---p 00029000 08:02 3932454 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/_umath_linalg.cpython-35m-x86_64-linux-gnu.so<br>
7f15acc42000-7f15acc44000 rw-p 00028000 08:02 3932454 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/_umath_linalg.cpython-35m-x86_64-linux-gnu.so<br>
7f15acc44000-7f15acc47000 rw-p 000c6000 08:02 3932454 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/_umath_linalg.cpython-35m-x86_64-linux-gnu.so<br>
7f15acc47000-7f15acc4b000 r-xp 00000000 08:02 3932456 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/lapack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15acc4b000-7f15ace4b000 ---p 00004000 08:02 3932456 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/lapack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15ace4b000-7f15ace4c000 rw-p 00004000 08:02 3932456 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/lapack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15ace4c000-7f15ace4e000 rw-p 00019000 08:02 3932456 /home/pierre/.local/lib/python3.5/site-packages/numpy/linalg/lapack_lite.cpython-35m-x86_64-linux-gnu.so<br>
7f15ace4e000-7f15acf0e000 rw-p 00000000 00:00 0<br>
7f15acf0e000-7f15ad127000 r-xp 00000000 08:02 13504901 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0<br>
7f15ad127000-7f15ad327000 ---p 00219000 08:02 13504901 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0<br>
7f15ad327000-7f15ad343000 r--p 00219000 08:02 13504901 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0<br>
7f15ad343000-7f15ad34f000 rw-p 00235000 08:02 13504901 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0<br>
7f15ad34f000-7f15ad352000 rw-p 00000000 00:00 0<br>
7f15ad352000-7f15ad358000 r-xp 00000000 08:02 14159039 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad358000-7f15ad557000 ---p 00006000 08:02 14159039 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad557000-7f15ad558000 r--p 00005000 08:02 14159039 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad558000-7f15ad559000 rw-p 00006000 08:02 14159039 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad559000-7f15ad57d000 r-xp 00000000 08:02 13505049 /lib/x86_64-linux-gnu/liblzma.so.5.2.2<br>
7f15ad57d000-7f15ad77d000 ---p 00024000 08:02 13505049 /lib/x86_64-linux-gnu/liblzma.so.5.2.2<br>
7f15ad77d000-7f15ad77e000 r--p 00024000 08:02 13505049 /lib/x86_64-linux-gnu/liblzma.so.5.2.2<br>
7f15ad77e000-7f15ad77f000 rw-p 00025000 08:02 13505049 /lib/x86_64-linux-gnu/liblzma.so.5.2.2<br>
7f15ad77f000-7f15ad786000 r-xp 00000000 08:02 14159042 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad786000-7f15ad985000 ---p 00007000 08:02 14159042 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad985000-7f15ad986000 r--p 00006000 08:02 14159042 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad986000-7f15ad988000 rw-p 00007000 08:02 14159042 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so<br>
7f15ad988000-7f15ad997000 r-xp 00000000 08:02 13504983 /lib/x86_64-linux-gnu/libbz2.so.1.0.4<br>
7f15ad997000-7f15adb96000 ---p 0000f000 08:02 13504983 /lib/x86_64-linux-gnu/libbz2.so.1.0.4<br>
7f15adb96000-7f15adb97000 r--p 0000e000 08:02 13504983 /lib/x86_64-linux-gnu/libbz2.so.1.0.4Abandon (core dumped)</p>
</blockquote>
<p dir="auto">However importing cv2 after torch don't cause any bug.</p> | <p dir="auto">see the commit comment: <a class="commit-link" href="https://github.com/pytorch/pytorch/commit/1d9b10d312fe5e6325e399277e28aeb78fd2ddf7#commitcomment-23678756"><tt>1d9b10d</tt>#commitcomment-23678756</a></p>
<p dir="auto">To reproduce install ros-kinetic-tf 1.11.8-0xenial-20170613-200340-0800 package</p>
<p dir="auto">from the deb <a href="http://packages.ros.org/ros/ubuntu" rel="nofollow">http://packages.ros.org/ros/ubuntu</a> xenial main repository.</p>
<p dir="auto">my system is:</p>
<p dir="auto">lsb_release -a<br>
No LSB modules are available.<br>
Distributor ID: Ubuntu<br>
Description: Ubuntu 16.04.1 LTS<br>
Release: 16.04<br>
Codename: xenial</p>
<p dir="auto">cuda version is 8.0</p> | 1 |
<p dir="auto">If you create a MenuItem with a <code class="notranslate">role</code> it will not respect the <code class="notranslate">enabled</code> property.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="electronMenu.append(new electron.remote.MenuItem({
type: 'normal',
label: 'Cut',
role: 'cut',
accelerator: 'CommandOrControl+X',
enabled: false, // this does nothing
}));"><pre class="notranslate"><code class="notranslate">electronMenu.append(new electron.remote.MenuItem({
type: 'normal',
label: 'Cut',
role: 'cut',
accelerator: 'CommandOrControl+X',
enabled: false, // this does nothing
}));
</code></pre></div>
<p dir="auto">You can see that the Cut menu item is still enabled:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/62191/17564061/f856b37a-5ee6-11e6-9ba5-7c8c66a3d542.png"><img width="232" alt="screen shot 2016-08-10 at 10 40 52 am" src="https://cloud.githubusercontent.com/assets/62191/17564061/f856b37a-5ee6-11e6-9ba5-7c8c66a3d542.png" style="max-width: 100%;"></a></p>
<p dir="auto">Here it is without the role:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="electronMenu.append(new electron.remote.MenuItem({
type: 'normal',
label: 'Cut',
accelerator: 'CommandOrControl+X',
enabled: false, // this works now
}));"><pre class="notranslate"><code class="notranslate">electronMenu.append(new electron.remote.MenuItem({
type: 'normal',
label: 'Cut',
accelerator: 'CommandOrControl+X',
enabled: false, // this works now
}));
</code></pre></div>
<p dir="auto">And you can see it is now disabled:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/62191/17564083/16164182-5ee7-11e6-95b7-2b91dfc05bf5.png"><img width="229" alt="screen shot 2016-08-10 at 10 41 57 am" src="https://cloud.githubusercontent.com/assets/62191/17564083/16164182-5ee7-11e6-95b7-2b91dfc05bf5.png" style="max-width: 100%;"></a></p>
- Electron version: 1.3.3
- Operating system: macOS | <p dir="auto">Run the below and notice that the <code class="notranslate">Select All</code> menu item is enabled even though <code class="notranslate">enabled: false</code> is specified. Remove <code class="notranslate">role: 'selectall'</code> and it's correctly disabled. The <code class="notranslate">enabled</code> option should override the <code class="notranslate">role</code>. I need this so I can enable some role based menu items only in some cases.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const electron = require('electron');
electron.app.on('ready', () => {
electron.Menu.setApplicationMenu(electron.Menu.buildFromTemplate([{
submenu: [{
label: 'Select All',
role: 'selectall',
enabled: false
}]
}]));
(new electron.BrowserWindow())
.loadURL(`https://github.com`);
});"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">electron</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">app</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'ready'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">Menu</span><span class="pl-kos">.</span><span class="pl-en">setApplicationMenu</span><span class="pl-kos">(</span><span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">Menu</span><span class="pl-kos">.</span><span class="pl-en">buildFromTemplate</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-c1">submenu</span>: <span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-c1">label</span>: <span class="pl-s">'Select All'</span><span class="pl-kos">,</span>
<span class="pl-c1">role</span>: <span class="pl-s">'selectall'</span><span class="pl-kos">,</span>
<span class="pl-c1">enabled</span>: <span class="pl-c1">false</span>
<span class="pl-kos">}</span><span class="pl-kos">]</span>
<span class="pl-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">new</span> <span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-kos">.</span><span class="pl-en">loadURL</span><span class="pl-kos">(</span><span class="pl-s">`https://github.com`</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>
<h2 dir="auto"></h2>
<ul dir="auto">
<li>Electron version: 1.2.0</li>
<li>Operating system: OS X 10.11.5</li>
</ul> | 1 |
<p dir="auto">I have the following navbar on my website:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div class="navbar navbar-inverse">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="index.php">Home</a></li>
<li><a href="one2one.php">One to One</a></li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" id="dLabel">Classes <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a href="classes.php">Classes</a></li>
<li><a href="online-yoga-classes.php">Online Yoga Classes</a></li>
<li><a href="free-downloads.php">Free Downloads</a></li>
<li><a href="gallery.php">Gallery</a></li>
</ul>
</li>
<li><a href="retreats-workshops.php">Retreats &amp; Workshops</a></li>
<li><a href="pregnancy-mums.php">Pregnancy Mums</a></li>
<li><a href="treatments.php">Treatments</a></li>
<li><a href="about-me.php">About Me</a></li>
<li><a href="testimonials.php">Testimonials</a></li>
<li><a href="about-yoga.php">About Yoga</a></li>
</ul>
</div>
</div>
</div>"><pre class="notranslate"><code class="notranslate"><div class="navbar navbar-inverse">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="index.php">Home</a></li>
<li><a href="one2one.php">One to One</a></li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" id="dLabel">Classes <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a href="classes.php">Classes</a></li>
<li><a href="online-yoga-classes.php">Online Yoga Classes</a></li>
<li><a href="free-downloads.php">Free Downloads</a></li>
<li><a href="gallery.php">Gallery</a></li>
</ul>
</li>
<li><a href="retreats-workshops.php">Retreats &amp; Workshops</a></li>
<li><a href="pregnancy-mums.php">Pregnancy Mums</a></li>
<li><a href="treatments.php">Treatments</a></li>
<li><a href="about-me.php">About Me</a></li>
<li><a href="testimonials.php">Testimonials</a></li>
<li><a href="about-yoga.php">About Yoga</a></li>
</ul>
</div>
</div>
</div>
</code></pre></div>
<p dir="auto">The issue I am having is that when the navbar is collapsed on mobile devices (it works correctly when collapsed using a desktop computer), the links within my dropdown do not navigate to the new page, selecting a link within the dropdown just closes the dropdown as though the click is being registered on the dropdown parent li, not the link itself.</p>
<p dir="auto">As I say when the navbar is expanded, or is collapsed on a device which uses a mouse the link navigates to the new page correctly, it seems to be when I press a link using a touch device that I have issues, you can view the problem live on <a href="http://yogarelax.harpoonmysite.com" rel="nofollow">http://yogarelax.harpoonmysite.com</a></p>
<p dir="auto">Any assistance with this would be much appreciated, thank you</p> | <p dir="auto">I had a project using more or less the same menu and it worked. Found out it was using Bootstrap version 2.3.1. Compared version 2.3.2 and 2.3.1 and found that in version 2.3.2 there's this snippet of CSS that reads:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".dropdown-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 990;
}"><pre class="notranslate"><code class="notranslate">.dropdown-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 990;
}
</code></pre></div>
<p dir="auto">and the rule: <code class="notranslate">position: fixed;</code> seems to cause all the problems.</p>
<p dir="auto">I still don't undertand the point of the markup that is added by the bootstrap dropdown plugin:</p>
<p dir="auto"><code class="notranslate"><div class="dropdown-backdrop"></div></code></p>
<p dir="auto">So I've temporarily fixed the bug on my end by adding a style to override the style causing the problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".dropdown-backdrop {
position: static;
}"><pre class="notranslate"><code class="notranslate">.dropdown-backdrop {
position: static;
}
</code></pre></div>
<p dir="auto">To me this looks like a bug introduced from version 2.3.1 to 2.3.2. Maybe I'm wrong. If someone could explain the purpose of the empty div, it would be helpful.</p> | 1 |
<h3 dir="auto">Body</h3>
<p dir="auto">We have a kind request for all the contributors to the latest <a href="https://pypi.org/project/apache-airflow/2.3.3rc1/" rel="nofollow">Apache Airflow RC 2.3.3rc1</a>.</p>
<p dir="auto">Could you please help us to test the RC versions of Airflow?</p>
<p dir="auto">Please let us know in the comment if the issue is addressed in the latest RC.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/19702" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/19702/hovercard">Switch Markdown engine to markdown-it-py (#19702)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/torbjornvatn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/torbjornvatn">@torbjornvatn</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/16435" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/16435/hovercard">Switch Markdown engine to markdown-it-py (#16435)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23071" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23071/hovercard">Parse error for task added to multiple groups (#23071)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wolfier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wolfier">@wolfier</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/14864" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/14864/hovercard">Using TaskGroup without context manager (Graph view visual bug) (#14864)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23113" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23113/hovercard">Check bag DAG schedule_interval match tiemtable (#23113)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdebruyn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdebruyn">@sdebruyn</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/23087" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/23087/hovercard">Show DAG parse error if 'timetable' and 'schedule_interval' are set together (#23087)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/23360" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23360/hovercard">Allow for LOGGING_LEVEL=DEBUG (#23360)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GApfel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GApfel">@GApfel</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23452" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23452/hovercard">Fix closing connection dbapi.get_pandas_df (#23452)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hubert-pietron/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hubert-pietron">@hubert-pietron</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bauerfranz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bauerfranz">@bauerfranz</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/22947" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/22947/hovercard">closing connection chunks in DbApiHook.get_pandas_df (#22947)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23510" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23510/hovercard">Fix permission issue for dag that has dot in name (#23510)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23667" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23667/hovercard">Fix mapped task immutability after clear (#23667)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/23779" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23779/hovercard">Maintain grid view selection on filtering upstream (#23779)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23797" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23797/hovercard">Add TaskInstance State 'REMOVED' to finished states and success states (#23797)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23846" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23846/hovercard">Do not fail requeued TIs (#23846)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tanelk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tanelk">@tanelk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/23824" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/23824/hovercard">Race condition between Triggerer and Scheduler (#23824)</a></li>
<li><a href="https://github.com/apache/airflow/pull/21316" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21316/hovercard">Fix race condition between triggerer and scheduler (#21316)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23934" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23934/hovercard">Grid fix details button truncated and small UI tweaks (#23934)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pierrejeambrun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pierrejeambrun">@pierrejeambrun</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/23983" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23983/hovercard">Replace <code class="notranslate">use_task_execution_date</code> with <code class="notranslate">use_task_logical_date</code> (#23983)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24050" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24050/hovercard">Removing magic numbers from api_connecxion (#24050)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bernardocouto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bernardocouto">@bernardocouto</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24065" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24065/hovercard">Rename Permissions to Permission Pairs. (#24065)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jhtimmins/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jhtimmins">@jhtimmins</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zachliu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zachliu">@zachliu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gbonazzoli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gbonazzoli">@gbonazzoli</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/23512" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/23512/hovercard">Random "duplicate key value violates unique constraint" errors when initializing the postgres database (#23512)</a></li>
<li><a href="https://github.com/apache/airflow/issues/23926" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/23926/hovercard">Airflow 2.3.1 - gunicorn keeps removing and adding Permission menu access on Permissions to role Admin (#23926)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24083" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24083/hovercard">Reduce grid view API calls (#24083)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24114" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24114/hovercard">Refactor <code class="notranslate">DagRun.verify_integrity</code> (#24114)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24117" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24117/hovercard">Don't crash scheduler if exec config has old k8s objects (#24117)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patryk126p/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patryk126p">@patryk126p</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/23727" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/23727/hovercard">Airflow 2.3 scheduler error: 'V1Container' object has no attribute '_startup_probe' (#23727)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24152" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24152/hovercard">Fix useTasks crash on error (#24152)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24153" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24153/hovercard">Apply per-run log templates to log handlers (#24153)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24166" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24166/hovercard">Prevent dag dependencies page from crashing (#24166)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24186" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24186/hovercard">Update 'rich' to latest version across the board. (#24186)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24260" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24260/hovercard">Use <code class="notranslate">get_hostname</code> instead of <code class="notranslate">socket.getfqdn</code> (#24260)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24262" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24262/hovercard">Optimize calendar view for cron scheduled DAGs (#24262)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/23602" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/23602/hovercard">Calendar view is taking too long to load in airflow 2.3.0 (#23602)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24284" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24284/hovercard">Speed up grid_data endpoint by 10x (#24284)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24327" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24327/hovercard">Check for run_id for grid task groups (#24327)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/pull/23947" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23947/hovercard">Fix and speed up grid view (#23947)</a></li>
<li><a href="https://github.com/apache/airflow/pull/23813" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23813/hovercard">Grid data: do not load all mapped instances (#23813)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24335" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24335/hovercard"><code class="notranslate">TI.log_url</code> fix for <code class="notranslate">map_index</code> (#24335)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fritz-astronomer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fritz-astronomer">@fritz-astronomer</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/24328" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/24328/hovercard"><code class="notranslate">TI.log_url</code> is incorrect with mapped tasks (#24328)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24337" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24337/hovercard">Add typescript (#24337)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24375" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24375/hovercard">Add tests for the grid_data endpoint (#24375)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24386" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24386/hovercard">Fix links to sources for examples (#24386)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24399" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24399/hovercard">Upgrade FAB to 4.1.1 (#24399)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24405" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24405/hovercard">Fix flaky order of returned dag runs (#24405)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24417" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24417/hovercard">Improve grid rendering performance with a custom tooltip (#24417)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24430" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24430/hovercard">Upgrade to react 18 and chakra 2 (#24430)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24449" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24449/hovercard">Remove framer-motion from custom tooltip (#24449)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24478" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24478/hovercard">Return empty dict if Pod JSON encoding fails (#24478)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24485" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24485/hovercard">Upgrade to webpack 5 (#24485)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24488" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24488/hovercard">Add indexes for CASCADE deletes for task_instance (#24488)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wolfier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wolfier">@wolfier</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/24484" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/24484/hovercard"><code class="notranslate">airflow db clean task_instance</code> takes a long time (#24484)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24495" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24495/hovercard">Remove internet explorer support (#24495)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24505" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24505/hovercard">Fix toast messages (#24505)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24506" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24506/hovercard">Fix deprecated log_id_template value (#24506)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24509" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24509/hovercard">Migrate jsx files that affect run/task selection to tsx (#24509)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24511" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24511/hovercard">Seed log_template table (#24511)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24516" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24516/hovercard">Update flask-appbuilder authlib/oauth dependency (#24516)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24519" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24519/hovercard">Get rid of TimedJSONWebSignatureSerializer (#24519)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/issues/22397" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/22397/hovercard">Upgrade to FlaskAppBuilder 4.0.* (#22397)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24528" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24528/hovercard">Do not calculate grid root instances (#24528)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24569" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24569/hovercard">Patch sql_alchemy_conn if old Postgres schemes used (#24569)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/slyapustin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/slyapustin">@slyapustin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/pull/22333" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/22333/hovercard">Patch sql_alchemy_conn if old postgres scheme used (#22333)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24585" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24585/hovercard">Fix migration 0080_2_0_2 - Replace null values before setting column not null (#24585)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tm-drtina/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tm-drtina">@tm-drtina</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/pull/20962" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/20962/hovercard">Support generating SQL script for upgrades (#20962)</a></li>
<li><a href="https://github.com/apache/airflow/issues/24566" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/24566/hovercard">Migration changes column to NOT NULL without updating NULL data first (#24566)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24619" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24619/hovercard">Upgrade FAB to 4.1.2 (#24619)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24621" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24621/hovercard">We now need at least Flask-WTF 0.15 (#24621)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/pull/24399" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24399/hovercard">Upgrade FAB to 4.1.1 (#24399)</a></li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24637" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24637/hovercard">Don't render child rows for closed groups (#24637)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24684" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24684/hovercard">Fix Grid vertical scrolling (#24684)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24710" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24710/hovercard">Debounce status highlighting in Grid view (#24710)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/apache/airflow/pull/24722" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24722/hovercard">Address all yarn test warnings (#24722)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/apache/airflow/pull/24738" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24738/hovercard">Fix grid date ticks (#24738)</a>: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a><br>
Linked issues:
<ul dir="auto">
<li><a href="https://github.com/apache/airflow/pull/24684" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/24684/hovercard">Fix Grid vertical scrolling (#24684)</a></li>
</ul>
</li>
</ul>
<p dir="auto">Thanks to all who contributed to the release (probably not a complete list!):<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jhtimmins/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jhtimmins">@jhtimmins</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GApfel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GApfel">@GApfel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gbonazzoli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gbonazzoli">@gbonazzoli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uranusjr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uranusjr">@uranusjr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bauerfranz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bauerfranz">@bauerfranz</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sdebruyn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sdebruyn">@sdebruyn</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patryk126p/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patryk126p">@patryk126p</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hubert-pietron/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hubert-pietron">@hubert-pietron</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fritz-astronomer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fritz-astronomer">@fritz-astronomer</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/eladkal/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eladkal">@eladkal</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/torbjornvatn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/torbjornvatn">@torbjornvatn</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dstandish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dstandish">@dstandish</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/slyapustin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/slyapustin">@slyapustin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ashb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ashb">@ashb</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tanelk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tanelk">@tanelk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jedcunningham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jedcunningham">@jedcunningham</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zachliu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zachliu">@zachliu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/potiuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/potiuk">@potiuk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bernardocouto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bernardocouto">@bernardocouto</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bbovenzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bbovenzi">@bbovenzi</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ephraimbuddy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ephraimbuddy">@ephraimbuddy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wolfier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wolfier">@wolfier</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/malthe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/malthe">@malthe</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pierrejeambrun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pierrejeambrun">@pierrejeambrun</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tm-drtina/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tm-drtina">@tm-drtina</a></p>
<h3 dir="auto">Committer</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li>
</ul> | <p dir="auto">We agreed that provider package versioning needs to be done with semver. We need to work out the way on how this automated versioning would work from those perspectives:</p>
<ul dir="auto">
<li>contributor</li>
<li>maintainer</li>
<li>release manager</li>
</ul>
<p dir="auto">Short documentation about this would be great, before we implement that, so that we know what could be automated and what should be manual work.</p>
<p dir="auto">We need to agree on:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> how to increment the values when we release each package</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> based on what criteria</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> how the contributors should mark the PRs as bugfixes/features (needed for automation)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> how maintainers should verify it</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> whether release manager needs to do some verification</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> decide how we release sources - all together or as separate set of sources per package : Separate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> manage cross provider dependencies</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> tagging mechanism: separate tag per providers</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> how we approach relating patchlevels for minor versions and minor versions for major ones (say we have 2.0.0 and 1.1.0 of providers out there - how do we approach relating 1.1.1 with bugfixes).</li>
</ul> | 0 |
<p dir="auto">I apologise if I'm using this incorrectly, but I could not find anything relevant in the issue list, and as far as I can work out, this really should work.</p>
<p dir="auto">If I pass an array with unicode objects (instead of 'string' objects) into savetxt, it bombs out, trying to run the unicode object through the 'asbytes' function.</p>
<p dir="auto">It does not change things if the dtype of the array is 'U' instead of 'S'.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> import numpy as np; np.savetxt('test.csv', np.array(['this wörks', u'this dös not']), fmt=['%s'])
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipython-input-5-6a3125624190> in <module>()
----> 1 import numpy as np; np.savetxt('test.csv', np.array(['this wörks', u'this dös not']), fmt=['%s'])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)'"><pre class="notranslate"><code class="notranslate">>>> import numpy as np; np.savetxt('test.csv', np.array(['this wörks', u'this dös not']), fmt=['%s'])
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipython-input-5-6a3125624190> in <module>()
----> 1 import numpy as np; np.savetxt('test.csv', np.array(['this wörks', u'this dös not']), fmt=['%s'])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)'
</code></pre></div> | <p dir="auto"><strong>numpy.savetxt</strong> uses under the hood <em>the numpy.compat.py3k.asbytes</em> utility function. In python 3 and above the function forces decoding of the data into 'latin1'.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "C:\Python33\lib\site-packages\numpy\lib\npyio.py", line 1073, in savetxt
fh.write(asbytes(format % tuple(row) + newline))
File "C:\Python33\lib\site-packages\numpy\compat\py3k.py", line 31, in asbytes
return str(s).encode('latin1')
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2009' in position 12: ordinal not in range(256)"><pre class="notranslate"><code class="notranslate"> File "C:\Python33\lib\site-packages\numpy\lib\npyio.py", line 1073, in savetxt
fh.write(asbytes(format % tuple(row) + newline))
File "C:\Python33\lib\site-packages\numpy\compat\py3k.py", line 31, in asbytes
return str(s).encode('latin1')
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2009' in position 12: ordinal not in range(256)
</code></pre></div>
<p dir="auto">It would be better to allow overriding the default encoding for the function (or even default it to 'utf-8').</p> | 1 |
<p dir="auto">Instead of going to the "NEXT" challenge when we click the green box "Submit and go to the next challenge", the page should go to the "NEXT UNSOLVED" challenge.</p>
<p dir="auto">I know this is really a cherry on the cake type of issue but in major updates such as the last one, it is really annoying to go through each challenge even though I've already completed it.</p> | <p dir="auto">Hello,</p>
<p dir="auto">I would like to suggest that FCC defaults to "Go to next undone challenge" once a challenge is done.</p>
<p dir="auto">Mentioned it on Gitter and some people liked it.</p>
<p dir="auto">Thank you for all the great work.</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.5.3</li>
<li>Operating System version: mac</li>
<li>Java version: 1.8.0_202</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>java编码方式重复初始化一个没有服务提供者的consumer</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="while (true) {
try {
ReferenceConfig<INoProvider> reference = new ReferenceConfig<>(); // #1
reference.setApplication(new ApplicationConfig("first-dubbo-client")); // #2
reference.setRegistry(new RegistryConfig("zookeeper://127.0.0.1:2181")); // #3
reference.setInterface(INoProvider.class); // #4
INoProvider noProvider = reference.get(); // #5
noProvider.say(); // #6
Thread.sleep(10);
} catch (Exception e) {
e.printStackTrace();
}
}"><pre class="notranslate"><code class="notranslate">while (true) {
try {
ReferenceConfig<INoProvider> reference = new ReferenceConfig<>(); // #1
reference.setApplication(new ApplicationConfig("first-dubbo-client")); // #2
reference.setRegistry(new RegistryConfig("zookeeper://127.0.0.1:2181")); // #3
reference.setInterface(INoProvider.class); // #4
INoProvider noProvider = reference.get(); // #5
noProvider.say(); // #6
Thread.sleep(10);
} catch (Exception e) {
e.printStackTrace();
}
}
</code></pre></div>
<p dir="auto">AbstractRegistry方法</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public void register(URL url) {
if (url == null) {
throw new IllegalArgumentException("register url == null");
}
if (logger.isInfoEnabled()){
logger.info("Register: " + url);
}
registered.add(url);
}
"><pre class="notranslate"><code class="notranslate">public void register(URL url) {
if (url == null) {
throw new IllegalArgumentException("register url == null");
}
if (logger.isInfoEnabled()){
logger.info("Register: " + url);
}
registered.add(url);
}
</code></pre></div>
<p dir="auto">AbstractRegistry内部的registered,subscribed,notified,都有重复添加的情况,因为URL的参数中带有timestamp key,每次的timestamp不同,URL的hashCode()方法并没有排除timestamp,导致能一直重复add</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.4</li>
<li>Operating System version: Window7</li>
<li>Java version: jdk8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>Using the quick start example</li>
<li><a href="https://dubbo.apache.org/en-us/docs/user/quick-start.html" rel="nofollow">https://dubbo.apache.org/en-us/docs/user/quick-start.html</a></li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<p dir="auto">No dependence on zkclient test success</p>
<p dir="auto">What do you expected from the above steps?</p>
<p dir="auto">Test failure<br>
Consumer cannot call provider interface</p>
<p dir="auto">provider start log:<br>
十月 27, 2019 6:36:21 下午 org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh<br>
信息: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1e397ed7: startup date [Sun Oct 27 18:36:21 CST 2019]; root of context hierarchy<br>
十月 27, 2019 6:36:21 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions<br>
信息: Loading XML bean definitions from class path resource [provider.xml]<br>
十月 27, 2019 6:36:21 下午 org.apache.dubbo.common.logger.LoggerFactory info<br>
信息: using logger: org.apache.dubbo.common.logger.jcl.JclLoggerAdapter<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.config.AbstractConfig info<br>
信息: [DUBBO] The service ready on spring started. service: com.bessky.demo.DemoService, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.config.AbstractConfig warn<br>
警告: [DUBBO] There's no valid metadata config found, if you are using the simplified mode of registry url, please make sure you have a metadata address configured properly., dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.config.AbstractConfig info<br>
信息: [DUBBO] No valid ip found from environment, try to find valid host from DNS., dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.config.AbstractConfig info<br>
信息: [DUBBO] Export dubbo service com.bessky.demo.DemoService to local registry url : injvm://127.0.0.1/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&bind.ip=192.168.98.1&bind.port=20880&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&qos.enable=false&release=2.7.4&side=provider&timestamp=1572172582429, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.config.AbstractConfig info<br>
信息: [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.config.AbstractConfig info<br>
信息: [DUBBO] Register dubbo service com.bessky.demo.DemoService url dubbo://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&bind.ip=192.168.98.1&bind.port=20880&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&qos.enable=false&release=2.7.4&side=provider&timestamp=1572172582429 to registry registry://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?application=hello-world-app&dubbo=2.0.2&pid=8792&qos.enable=false&registry=multicast&release=2.7.4&timestamp=1572172582421, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:22 下午 org.apache.dubbo.qos.protocol.QosProtocolWrapper info<br>
信息: [DUBBO] qos won't be started because it is disabled. Please check dubbo.application.qos.enable is configured either in system property, dubbo.properties or XML/spring-boot configuration., dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.remoting.transport.AbstractServer info<br>
信息: [DUBBO] Start NettyServer bind /0.0.0.0:20880, export /192.168.98.1:20880, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.registry.multicast.MulticastRegistry info<br>
信息: [DUBBO] Register: dubbo://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&release=2.7.4&side=provider&timestamp=1572172582429, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.registry.multicast.MulticastRegistry info<br>
信息: [DUBBO] Send multicast message: register dubbo://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&release=2.7.4&side=provider&timestamp=1572172582429 to /224.5.6.7:1234, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.registry.multicast.MulticastRegistry info<br>
信息: [DUBBO] Subscribe: provider://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&bind.ip=192.168.98.1&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&qos.enable=false&release=2.7.4&side=provider&timestamp=1572172582429, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.registry.multicast.MulticastRegistry info<br>
信息: [DUBBO] Send multicast message: subscribe provider://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&bind.ip=192.168.98.1&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&qos.enable=false&release=2.7.4&side=provider&timestamp=1572172582429 to /224.5.6.7:1234, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.registry.multicast.MulticastRegistry info<br>
信息: [DUBBO] Receive multicast message: register dubbo://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&release=2.7.4&side=provider&timestamp=1572172582429 from /127.0.0.1:1234, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:23 下午 org.apache.dubbo.registry.multicast.MulticastRegistry info<br>
信息: [DUBBO] Receive multicast message: subscribe provider://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&bind.ip=192.168.98.1&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&qos.enable=false&release=2.7.4&side=provider&timestamp=1572172582429 from /127.0.0.1:1234, dubbo version: 2.7.4, current host: 192.168.98.1<br>
十月 27, 2019 6:36:24 下午 org.apache.dubbo.registry.multicast.MulticastRegistry warn<br>
警告: [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.98.1:20880/com.bessky.demo.DemoService?anyhost=true&application=hello-world-app&bean.name=com.bessky.demo.DemoService&bind.ip=192.168.98.1&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.bessky.demo.DemoService&methods=sayHello&pid=8792&qos.enable=false&release=2.7.4&side=provider&timestamp=1572172582429, dubbo version: 2.7.4, current host: 192.168.98.1</p> | 0 |
<p dir="auto">I’m trying to convert my model to ONNX format for further deployment in TensorRT. Here is a sample code to illustrate my problem in layer_norm here.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch
from torch import nn
class ExportModel(nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
# n, c, h, w = x.shape
# y = nn.functional.layer_norm(x, [c, h, w]) # not working
# y = nn.functional.layer_norm(x, x.size()[1:]) # not working
y = nn.functional.layer_norm(x, [16, 32, 128])
return y
def main():
model = ExportModel()
dummy_input = torch.randn(64, 16, 32, 128)
input_names = [ "input" ]
output_names = [ "output" ]
with torch.no_grad():
torch.onnx.export(
model, dummy_input, "sample.onnx", verbose=True,
input_names=input_names, output_names=output_names
)
return
if __name__ == '__main__':
main()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span>
<span class="pl-k">from</span> <span class="pl-s1">torch</span> <span class="pl-k">import</span> <span class="pl-s1">nn</span>
<span class="pl-k">class</span> <span class="pl-v">ExportModel</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>):
<span class="pl-en">super</span>().<span class="pl-en">__init__</span>()
<span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>):
<span class="pl-c"># n, c, h, w = x.shape</span>
<span class="pl-c"># y = nn.functional.layer_norm(x, [c, h, w]) # not working</span>
<span class="pl-c"># y = nn.functional.layer_norm(x, x.size()[1:]) # not working</span>
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">nn</span>.<span class="pl-s1">functional</span>.<span class="pl-en">layer_norm</span>(<span class="pl-s1">x</span>, [<span class="pl-c1">16</span>, <span class="pl-c1">32</span>, <span class="pl-c1">128</span>])
<span class="pl-k">return</span> <span class="pl-s1">y</span>
<span class="pl-k">def</span> <span class="pl-en">main</span>():
<span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">ExportModel</span>()
<span class="pl-s1">dummy_input</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">randn</span>(<span class="pl-c1">64</span>, <span class="pl-c1">16</span>, <span class="pl-c1">32</span>, <span class="pl-c1">128</span>)
<span class="pl-s1">input_names</span> <span class="pl-c1">=</span> [ <span class="pl-s">"input"</span> ]
<span class="pl-s1">output_names</span> <span class="pl-c1">=</span> [ <span class="pl-s">"output"</span> ]
<span class="pl-k">with</span> <span class="pl-s1">torch</span>.<span class="pl-en">no_grad</span>():
<span class="pl-s1">torch</span>.<span class="pl-s1">onnx</span>.<span class="pl-en">export</span>(
<span class="pl-s1">model</span>, <span class="pl-s1">dummy_input</span>, <span class="pl-s">"sample.onnx"</span>, <span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">input_names</span><span class="pl-c1">=</span><span class="pl-s1">input_names</span>, <span class="pl-s1">output_names</span><span class="pl-c1">=</span><span class="pl-s1">output_names</span>
)
<span class="pl-k">return</span>
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-en">main</span>()</pre></div>
<p dir="auto">It could only work when the parameter of layer_norm is constant number. If not, the following error will occur.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "sample.py", line 31, in <module>
main()
File "sample.py", line 26, in main
verbose=True, input_names=input_names, output_names=output_names
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/__init__.py", line 148, in export
strip_doc_string, dynamic_axes, keep_initializers_as_inputs)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py", line 66, in export
dynamic_axes=dynamic_axes, keep_initializers_as_inputs=keep_initializers_as_inputs)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py", line 409, in _export
fixed_batch_size=fixed_batch_size)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py", line 289, in _model_to_graph
fixed_batch_size=fixed_batch_size)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py", line 132, in _optimize_graph
graph = torch._C._jit_pass_onnx(graph, operator_export_type)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/__init__.py", line 179, in _run_symbolic_function
return utils._run_symbolic_function(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py", line 647, in _run_symbolic_function
return op_fn(g, *inputs, **attrs)
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_helper.py", line 128, in wrapper
args = [_parse_arg(arg, arg_desc) for arg, arg_desc in zip(args, arg_descriptors)]
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_helper.py", line 128, in <listcomp>
args = [_parse_arg(arg, arg_desc) for arg, arg_desc in zip(args, arg_descriptors)]
File "/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_helper.py", line 81, in _parse_arg
"', since it's not constant, please try to make "
RuntimeError: Failed to export an ONNX attribute 'onnx::Gather', since it's not constant, please try to make things (e.g., kernel size) static if possible"><pre class="notranslate">Traceback (most recent call last):
File <span class="pl-s"><span class="pl-pds">"</span>sample.py<span class="pl-pds">"</span></span>, line 31, <span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
<span class="pl-en">main</span>()
File <span class="pl-s"><span class="pl-pds">"</span>sample.py<span class="pl-pds">"</span></span>, line 26, <span class="pl-k">in</span> main
verbose=True, input_names=input_names, output_names=output_names
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/__init__.py<span class="pl-pds">"</span></span>, line 148, <span class="pl-k">in</span> <span class="pl-k">export</span>
strip_doc_string, dynamic_axes, keep_initializers_as_inputs)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py<span class="pl-pds">"</span></span>, line 66, <span class="pl-k">in</span> <span class="pl-k">export</span>
dynamic_axes=dynamic_axes, keep_initializers_as_inputs=keep_initializers_as_inputs)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py<span class="pl-pds">"</span></span>, line 409, <span class="pl-k">in</span> _export
fixed_batch_size=fixed_batch_size)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py<span class="pl-pds">"</span></span>, line 289, <span class="pl-k">in</span> _model_to_graph
fixed_batch_size=fixed_batch_size)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py<span class="pl-pds">"</span></span>, line 132, <span class="pl-k">in</span> _optimize_graph
graph = torch._C._jit_pass_onnx(graph, operator_export_type)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/__init__.py<span class="pl-pds">"</span></span>, line 179, <span class="pl-k">in</span> _run_symbolic_function
<span class="pl-k">return</span> utils._run_symbolic_function(<span class="pl-k">*</span>args, <span class="pl-k">**</span>kwargs)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py<span class="pl-pds">"</span></span>, line 647, <span class="pl-k">in</span> _run_symbolic_function
<span class="pl-k">return</span> op_fn(g, <span class="pl-k">*</span>inputs, <span class="pl-k">**</span>attrs)
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_helper.py<span class="pl-pds">"</span></span>, line 128, <span class="pl-k">in</span> wrapper
args = [_parse_arg(arg, arg_desc) <span class="pl-k">for</span> <span class="pl-smi">arg, arg_desc</span> <span class="pl-k">in</span> zip(args, arg_descriptors)]
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_helper.py<span class="pl-pds">"</span></span>, line 128, <span class="pl-k">in</span> <span class="pl-k"><</span>listcomp<span class="pl-k">></span>
args = [_parse_arg(arg, arg_desc) <span class="pl-k">for</span> <span class="pl-smi">arg, arg_desc</span> <span class="pl-k">in</span> zip(args, arg_descriptors)]
File <span class="pl-s"><span class="pl-pds">"</span>/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_helper.py<span class="pl-pds">"</span></span>, line 81, <span class="pl-k">in</span> _parse_arg
<span class="pl-s"><span class="pl-pds">"</span>', since it's not constant, please try to make <span class="pl-pds">"</span></span>
RuntimeError: Failed to <span class="pl-k">export</span> an ONNX attribute <span class="pl-s"><span class="pl-pds">'</span>onnx::Gather<span class="pl-pds">'</span></span>, since it<span class="pl-s"><span class="pl-pds">'</span>s not constant, please try to make things (e.g., kernel size) static if possible</span></pre></div>
<p dir="auto">I have few code blocks in my model have layer_norm op. It would turn into some ugly code if I explicitly mark all parameters constant number. Is there any “best practice” of how to use dynamic shape for this kind of use case?</p>
<p dir="auto">Also, I have posted the same issue on <a href="https://discuss.pytorch.org/t/how-to-convert-layer-norm-layer-to-onnx/66841" rel="nofollow">forum</a>. I'm not sure where is the better place for this kind of quesion, so I duplicate the issue here.</p>
<p dir="auto">Thanks in advance.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/houseroad/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/houseroad">@houseroad</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/spandantiwari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/spandantiwari">@spandantiwari</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lara-hdr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lara-hdr">@lara-hdr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BowenBao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BowenBao">@BowenBao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/neginraoof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/neginraoof">@neginraoof</a></p> | <h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">I have encountered the following error in the backward pass of a simple 2 convolution layer model using nn.Conv3d.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="torch.Size([1, 1, 256, 256, 256])
torch.Size([1, 1, 256, 256, 256])
Forward pass successful
Loss computed successfully
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-1-04985c43e191> in <module>
28 loss = criterion(output, y)
29 optimizer.zero_grad()
---> 30 loss.backward()
/home/software/miniconda3/envs/torch_gpu/lib/python3.7/site-packages/torch/tensor.py in backward(self, gradient, retain_graph, create_graph)
164 products. Defaults to ``False``.
165 """
--> 166 torch.autograd.backward(self, gradient, retain_graph, create_graph)
167
168 def register_hook(self, hook):
/home/software/miniconda3/envs/torch_gpu/lib/python3.7/site-packages/torch/autograd/__init__.py in backward(tensors, grad_tensors, retain_graph, create_graph, grad_variables)
97 Variable._execution_engine.run_backward(
98 tensors, grad_tensors, retain_graph, create_graph,
---> 99 allow_unreachable=True) # allow_unreachable flag
100
101
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input."><pre class="notranslate"><code class="notranslate">torch.Size([1, 1, 256, 256, 256])
torch.Size([1, 1, 256, 256, 256])
Forward pass successful
Loss computed successfully
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-1-04985c43e191> in <module>
28 loss = criterion(output, y)
29 optimizer.zero_grad()
---> 30 loss.backward()
/home/software/miniconda3/envs/torch_gpu/lib/python3.7/site-packages/torch/tensor.py in backward(self, gradient, retain_graph, create_graph)
164 products. Defaults to ``False``.
165 """
--> 166 torch.autograd.backward(self, gradient, retain_graph, create_graph)
167
168 def register_hook(self, hook):
/home/software/miniconda3/envs/torch_gpu/lib/python3.7/site-packages/torch/autograd/__init__.py in backward(tensors, grad_tensors, retain_graph, create_graph, grad_variables)
97 Variable._execution_engine.run_backward(
98 tensors, grad_tensors, retain_graph, create_graph,
---> 99 allow_unreachable=True) # allow_unreachable flag
100
101
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input.
</code></pre></div>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">This error is encountered when executing the following code for a simple 2 layer 3D convolutional neural network. An input tensor of size [1, 1, 256, 256, 256] is passed into the network. The first layer performs a 3D convolution with a 3x3x3 filter and padding=1, and the second layer performs a dilated 3D convolution with a 3x3x3 filter, dilation=2 and padding=2. The output tensors of the two layers are also of size [1, 1, 256, 256, 256].</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch
from torch import nn
class Simple2Conv(nn.Module):
def __init__(self):
super(Simple2Conv, self).__init__()
self.layer_1 = nn.Conv3d(1, 1, 3, padding=1)
self.layer_2 = nn.Conv3d(1, 1, 3, padding=2, dilation=2)
def forward(self, x):
layer_1 = self.layer_1(x)
layer_2 = self.layer_2(layer_1)
print(layer_1.shape)
print(layer_2.shape)
return layer_2
model = Simple2Conv().cuda()
isize = 256
osize = isize
x = torch.FloatTensor(1,1,isize,isize,isize).cuda()
y = torch.LongTensor(1,osize ,osize ,osize).cuda()
criterion = nn.CrossEntropyLoss().cuda()
optimizer = torch.optim.Adam(model.parameters(), lr=0.1)
output = model(x)
print('Forward pass successful')
loss = criterion(output, y)
print('Loss computed successfully')
optimizer.zero_grad()
loss.backward()
print('Backward pass successful')"><pre class="notranslate"><code class="notranslate">import torch
from torch import nn
class Simple2Conv(nn.Module):
def __init__(self):
super(Simple2Conv, self).__init__()
self.layer_1 = nn.Conv3d(1, 1, 3, padding=1)
self.layer_2 = nn.Conv3d(1, 1, 3, padding=2, dilation=2)
def forward(self, x):
layer_1 = self.layer_1(x)
layer_2 = self.layer_2(layer_1)
print(layer_1.shape)
print(layer_2.shape)
return layer_2
model = Simple2Conv().cuda()
isize = 256
osize = isize
x = torch.FloatTensor(1,1,isize,isize,isize).cuda()
y = torch.LongTensor(1,osize ,osize ,osize).cuda()
criterion = nn.CrossEntropyLoss().cuda()
optimizer = torch.optim.Adam(model.parameters(), lr=0.1)
output = model(x)
print('Forward pass successful')
loss = criterion(output, y)
print('Loss computed successfully')
optimizer.zero_grad()
loss.backward()
print('Backward pass successful')
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">The expected output of the code snippet without the error is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="torch.Size([1, 1, 256, 256, 256])
torch.Size([1, 1, 256, 256, 256])
Forward pass successful
Loss computed successfully
Backward pass successful"><pre class="notranslate"><code class="notranslate">torch.Size([1, 1, 256, 256, 256])
torch.Size([1, 1, 256, 256, 256])
Forward pass successful
Loss computed successfully
Backward pass successful
</code></pre></div>
<p dir="auto">Any of the following changes will resolve the error:</p>
<ol dir="auto">
<li>replace the dilated convolution layer with a regular convolution layer (i.e. duplicate the first layer)</li>
<li>swap the order of the two convolution layers (i.e. place the dilated convolution layer first)</li>
<li>Having only a single (dilated) convolution layer (i.e. remove either convolution layer)</li>
<li>for the dilated convolution layer, change padding=2 to padding=1 (note: this requires modification of <code class="notranslate">osize = isize</code> to <code class="notranslate">osize=isize-2</code>)</li>
<li>use CPU instead of GPU (by removing .cuda() throughout)</li>
<li>reduce isize to any number <=255</li>
</ol>
<h2 dir="auto">Environment</h2>
<p dir="auto">(from running python collect_env.py)</p>
<p dir="auto">PyTorch version: 1.3.1<br>
Is debug build: No<br>
CUDA used to build PyTorch: 10.1.243</p>
<p dir="auto">OS: CentOS Linux 7 (Core)<br>
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)<br>
CMake version: Could not collect (manually added from <code class="notranslate">cmake --version</code>: 3.14.6)</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: Yes<br>
CUDA runtime version: Could not collect (manually added from <code class="notranslate">nvidia-smi</code>: 10.1)<br>
GPU models and configuration:<br>
GPU 0: Tesla V100-SXM2-32GB</p>
<p dir="auto">Nvidia driver version: 418.87.01<br>
cuDNN version: Could not collect (manually added from <code class="notranslate">numba -s | grep cudnn</code>: 7.6.3)</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip3] numpy==1.16.5<br>
[conda] _pytorch_select 0.2 gpu_0<br>
[conda] blas 1.0 mkl<br>
[conda] mkl 2019.4 243<br>
[conda] mkl-service 2.3.0 py37he904b0f_0<br>
[conda] mkl_fft 1.0.15 py37ha843d7b_0<br>
[conda] mkl_random 1.1.0 py37hd6b4f25_0<br>
[conda] pytorch 1.3.1 py3.7_cuda10.1.243_cudnn7.6.3_0 pytorch<br>
[conda] pytorch-gpu 1.3.1 0<br>
[conda] torchsummary 1.5.1 pypi_0 pypi<br>
[conda] torchvision 0.4.2 py37_cu101 pytorch</p>
<h2 dir="auto">Additional context</h2>
<p dir="auto">Note in relation to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="463904135" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/22496" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/22496/hovercard" href="https://github.com/pytorch/pytorch/issues/22496">#22496</a>, tensor sizes in this example are only 256^3 = 2^24, i.e. < 2^31, thus do not violate the cudnn limit of 2^31. This error has been replicated on other systems with different versions of CUDA and PyTorch.</p> | 0 |
<p dir="auto">These links are misrepresented as <code class="notranslate">/#</code>.</p>
<p dir="auto">Repro:</p>
<ol dir="auto">
<li><a href="http://localhost:4200/guide/setup" rel="nofollow">http://localhost:4200/guide/setup</a></li>
<li>Examine the link within "You <a href="http://localhost:4200/#why-locally" rel="nofollow">should develop locally</a> on your own machine ... "</li>
<li>It is <code class="notranslate">http://localhost:4200/#why-locally</code> which yields doc-not-found</li>
</ol>
<p dir="auto">Should be <code class="notranslate">http://localhost:4200/guide/setup.html#why-locally</code>.</p> | <p dir="auto">Hi, I just updated my starter project to <strong>[email protected]</strong> and when running in development, it was okay, but when I run production build and serve it, it showed error as follows:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7658554/12212459/3275147c-b69d-11e5-9540-f7123cbeb031.png"><img width="1280" alt="screen shot 2016-01-09 at 6 46 17 am" src="https://cloud.githubusercontent.com/assets/7658554/12212459/3275147c-b69d-11e5-9540-f7123cbeb031.png" style="max-width: 100%;"></a><br>
<strong>It's not happening in [email protected]</strong></p>
<p dir="auto">you can reproduce it by cloning my <a href="https://github.com/antonybudianto/angular2-starter">repo</a> using <code class="notranslate">repro-mangle-error</code> branch, then run <code class="notranslate">gulp serve-build</code></p>
<p dir="auto">I'm using <a href="https://github.com/systemjs/builder">SystemJS builder</a> for bundling, thanks!</p> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.